LiteSpeed Linux server2.poyrazhosting.com 3.10.0-962.3.2.lve1.5.77.el7.x86_64 #1 SMP Mon Dec 12 07:06:14 EST 2022 x86_64 safemode : OFF MySQL: OFF | Perl: OFF | cURL: ON | WGet: OFF > / home / cuneytsener53 / rentacar3.snrsoft.com.tr / xpanel / | Server Ip : 104.21.78.54 |
Filename | /home/cuneytsener53/rentacar3.snrsoft.com.tr/xpanel/sozlesme-duzenle.php |
Size | 3.33 kb |
Permission | rw-r--r-- |
Owner | |
Create time | 02-Mar-2025 05:46 |
Last modified | 13-Jun-2021 10:33 |
Last accessed | 05-Apr-2025 10:11 |
Actions | edit | rename | delete | download (gzip) |
View | text | code | image |
<?php include 'inc/header.php';?>
<?php include 'inc/sidebar.php';?>
<?php include 'inc/navbar.php';?>
<?php
if(!empty($_POST)){
$description = $_POST['description'];
/* katalog bitiş */
$update = $dbh->prepare("UPDATE document SET description = '".$description."' WHERE id = 1 " );
$update->execute();
$id=1;
}
?>
<?php
$ayar = $dbh->query("SELECT * FROM document WHERE id = 1 ", PDO::FETCH_ASSOC);
if ($ayar->rowCount()) {
foreach ($ayar as $ayar) {
}
}
$sonucen = cevir("about_us",$ayar,"en");
?>
<!-- Page Content-->
<div class="page-content">
<div class="container-fluid">
<!-- Page-Title -->
<form method="post" action="" enctype="multipart/form-data">
<div class="row">
<div class="col-sm-12">
<div class="page-title-box">
<div class="row">
<div class="col">
<h4 class="page-title">Sözleşme Sayfası</h4>
<ol class="breadcrumb">
<li class="breadcrumb-item"><a href="index.php">Anasayfa</a></li>
<li class="breadcrumb-item active">Sözleşme Sayfası</li>
</ol>
</div><!--end col-->
</div><!--end row-->
</div><!--end page-title-box-->
</div><!--end col-->
</div><!--end row-->
<!-- end page title end breadcrumb -->
<div class="row">
<div class="col-lg-12">
<div class="card">
<div class="card-header">
<h4 class="card-title">Sözleşme Sayfası</h4>
<p class="text-muted mb-0">Değerli kullanıcı, bu alan sayesinde sözleşme sayfasının içeriğini güncelleyebilirsiniz.</p>
</div><!--end card-header-->
<div class="card-body">
<div class="row">
<div class="col-xl-12">
<div class="form-group">
<label for="exampleInputEmail1">Sözleşme Açıklaması </label>
<textarea name="description" id="icerik" class="ckeditor"><?=$ayar['description'];?></textarea>
</div>
</div>
</div>
<!-- dil bitişi -->
<br>
<button class="btn btn-primary btn-block" type="submit">
<span class="spinner-border spinner-border-sm" role="status" aria-hidden="true"></span>
GÜNCELLE
</button>
</form>
</div><!--end card-body-->
</div><!--end card-->
</div><!--end col-->
</div><!--end row-->
</div><!-- container -->
<?php include 'inc/footer.php';?>
<?php include 'inc/sidebar.php';?>
<?php include 'inc/navbar.php';?>
<?php
if(!empty($_POST)){
$description = $_POST['description'];
/* katalog bitiş */
$update = $dbh->prepare("UPDATE document SET description = '".$description."' WHERE id = 1 " );
$update->execute();
$id=1;
}
?>
<?php
$ayar = $dbh->query("SELECT * FROM document WHERE id = 1 ", PDO::FETCH_ASSOC);
if ($ayar->rowCount()) {
foreach ($ayar as $ayar) {
}
}
$sonucen = cevir("about_us",$ayar,"en");
?>
<!-- Page Content-->
<div class="page-content">
<div class="container-fluid">
<!-- Page-Title -->
<form method="post" action="" enctype="multipart/form-data">
<div class="row">
<div class="col-sm-12">
<div class="page-title-box">
<div class="row">
<div class="col">
<h4 class="page-title">Sözleşme Sayfası</h4>
<ol class="breadcrumb">
<li class="breadcrumb-item"><a href="index.php">Anasayfa</a></li>
<li class="breadcrumb-item active">Sözleşme Sayfası</li>
</ol>
</div><!--end col-->
</div><!--end row-->
</div><!--end page-title-box-->
</div><!--end col-->
</div><!--end row-->
<!-- end page title end breadcrumb -->
<div class="row">
<div class="col-lg-12">
<div class="card">
<div class="card-header">
<h4 class="card-title">Sözleşme Sayfası</h4>
<p class="text-muted mb-0">Değerli kullanıcı, bu alan sayesinde sözleşme sayfasının içeriğini güncelleyebilirsiniz.</p>
</div><!--end card-header-->
<div class="card-body">
<div class="row">
<div class="col-xl-12">
<div class="form-group">
<label for="exampleInputEmail1">Sözleşme Açıklaması </label>
<textarea name="description" id="icerik" class="ckeditor"><?=$ayar['description'];?></textarea>
</div>
</div>
</div>
<!-- dil bitişi -->
<br>
<button class="btn btn-primary btn-block" type="submit">
<span class="spinner-border spinner-border-sm" role="status" aria-hidden="true"></span>
GÜNCELLE
</button>
</form>
</div><!--end card-body-->
</div><!--end card-->
</div><!--end col-->
</div><!--end row-->
</div><!-- container -->
<?php include 'inc/footer.php';?>