|
Server : Apache System : Linux 8.167.178.68.host.secureserver.net 4.18.0-553.158.1.el8_10.x86_64 #1 SMP Wed Aug 26 03:18:33 EDT 2026 x86_64 User : avscylinder ( 1028) PHP Version : 8.1.34 Disable Function : NONE Directory : /home/avscylinder/public_html/admin/admin/ |
<?php include('site-header.php'); ?>
<!-- end of LOGO CONTAINER -->
<!-- - - - - - - - - - - - - -->
<!-- start of SIDEBAR -->
<!-- - - - - - - - - - - - - -->
<?php include('left-nevigation.php'); ?>
<!-- - - - - - - - - - - - - -->
<!-- end of SIDEBAR -->
<!-- - - - - - - - - - - - - -->
<?php
extract($_POST);
if(isset($Updt)){
$sqlUp = "UPDATE `tbl_social_media` SET
`fb_add`='$fb_add',
`twitter_add`='$twitter_add',
`linkdn_add`='$linkdn_add'
WHERE social_id='1'";
mysqli_query($link,$sqlUp);
}
?>
<?php
$sql="select * from tbl_social_media where social_id='1'";
$data=mysqli_query($link,$sql);
$result=mysqli_fetch_array($data);
?>
<main id="playground">
<!-- - - - - - - - - - - - - -->
<!-- start of TOP NAVIGATION -->
<!-- - - - - - - - - - - - - -->
<?php include('site-top-header.php'); ?>
<!-- - - - - - - - - - - - - -->
<!-- end of TOP NAVIGATION -->
<!-- - - - - - - - - - - - - -->
<!-- PAGE TITLE -->
<section id="page-title" class="row">
<div class="col-md-8">
<h1>Social Media</h1>
<p class="lead">Update your social media links</strong>.</p>
</div>
<div class="col-md-4">
<!-- <ol class="breadcrumb pull-right no-margin-bottom">
<li><a href="dashboard.html">Dashboard</a></li>
<li class="active">Update Social Media</li>
</ol> -->
</div>
</section>
<!-- / PAGE TITLE -->
<div class="container-fluid">
<div class="row">
<div class="col-md-6">
<div class="panel-body">
<form method="post">
<div class="form-group">
<label for="">Facebook</label>
<input type="text" class="form-control" id="" name="fb_add" value="<?php echo $result['fb_add']; ?>" placeholder="Enter Your Facebook Link">
</div>
<div class="form-group">
<label for="">Twitter</label>
<input type="text" class="form-control" id="" name="twitter_add" value="<?php echo $result['twitter_add']; ?>" placeholder="Enter Your Twitter Link">
</div>
<div class="form-group">
<label for="">Linked IN</label>
<input type="text" class="form-control" id="" name="linkdn_add" value="<?php echo $result['linkdn_add']; ?>" placeholder="Enter Your Linked IN Link">
</div>
<!--<div class="form-group">
<label for="">instagram</label>
<input type="text" class="form-control" id="" name="instagram_add" value="<?php echo $result['instagram_add']; ?>" placeholder="Enter Your Instagram Link">
</div>-->
</div>
</div>
<div class="col-md-6">
<div class="panel-body">
<!--<div class="form-group">
<label for="">Google+</label>
<input type="text" class="form-control" id="" name="google_add" value="<?php echo $result['google_add']; ?>" placeholder="Enter Your Google+ Link">
</div>-->
<!--
<div class="form-group">
<label for="">pinterest</label>
<input type="text" class="form-control" id="" name="pinterest_add" value="<?php echo $result['pinterest_add']; ?>" placeholder="Enter Your Pinterest Link">
</div>-->
</div>
</div>
</div>
<div class="panel-footer text-center"> <button class="btn btn-primary" name="Updt">Submit</button> </div>
</form>
</div>
<!-- / container-fluid -->
<?php include('site-footer.php'); ?>