%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'){
$address_id = $_POST['selected-address'];
}else{
$address_id = $_GET['selected-address'];
}
$address_result = $ceha->query("SELECT * FROM tbl_address WHERE id='$address_id' AND active='1'");
$address = $address_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">İletişim</h4>
<p class="card-description">
Düzenle
</p>
<form action="dba/address-update.php?selected-address=<?php echo $address_id; ?>" method="post" enctype="multipart/form-data" class="forms-sample">
<div class="form-group">
<label>Başlık</label>
<input type="text" class="form-control" name="title" value="<?php echo $address['title']; ?>">
</div>
<div class="form-group">
<label>Adres</label>
<input type="text" class="form-control" name="address" value="<?php echo $address['address']; ?>">
</div>
<div class="form-group">
<label>EPosta 1</label>
<input type="text" class="form-control" name="email1" value="<?php echo $address['email1']; ?>">
</div>
<div class="form-group">
<label>EPosta 2</label>
<input type="text" class="form-control" name="email2" value="<?php echo $address['email2']; ?>">
</div>
<div class="form-group">
<label>Telefon</label>
<input type="text" class="form-control" name="phone" value="<?php echo $address['phone']; ?>">
</div>
<div class="form-group">
<label>Faks</label>
<input type="text" class="form-control" name="fax" value="<?php echo $address['fax']; ?>">
</div>
<div class="form-group">
<label>Harita iFrame</label>
<input type="text" class="form-control" name="map_url" value="<?php echo htmlspecialchars($address['map_url']); ?>">
</div>
<button type="submit" class="btn btn-primary mr-2">Kaydet</button>
</form>
</div>
</div>
</div>
</div>
<?php include 'footer.php'; ?>