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 / spor2.snrsoft.com.tr / trex / | Server Ip : 104.21.78.54 |
Filename | |
Size | 3.24 kb |
Permission | rw-r--r-- |
Owner | |
Create time | 02-Mar-2025 05:46 |
Last modified | 02-Jun-2019 13:06 |
Last accessed | 05-Apr-2025 09:53 |
Actions | edit | rename | delete | download (gzip) |
View | text | code | image |
<?php
include 'header.php';
include 'topbar.php';
include 'sidebar.php';
$fmenu=$db->prepare("SELECT * from fmenu order by fmenu_sira ASC");
$fmenu->execute(array(0));
?>
<!-- ============================================================== -->
<!-- Content Start -->
<!-- ============================================================== -->
<section class="main-content container">
<div class="page-header">
<h2>Footer Menü İşlemleri</h2>
</div>
<div class="row">
<div class="col-sm-12">
<div class="card">
<div class="card-heading card-default">
Alt Menü Düzenle
</div>
<div class="card-block">
<h5 style="color: green;">Yeni Alt Menü Ekle</h5>
<form method="POST" action="controller/function.php" class="form-horizontal">
<div class="form-group">
<div class="row">
<div class="col-md-4">
<label>Menü Adı</label>
<input type="text" name="fmenu_ad" placeholder="Menü adı giriniz." class="form-control">
</div>
<div class="col-md-4">
<label>Menü Link</label>
<input type="text" name="fmenu_link" placeholder="Menü linki giriniz." class="form-control">
</div><div class="col-md-2">
<label>Menü Sıra</label>
<input type="text" name="fmenu_sira" placeholder="Menü sıra giriniz." class="form-control">
</div>
<div class="col-md-2">
<label>*İşlem</label><div>
<button style="cursor: pointer;" type="submit" name="fmenuekle" class="btn btn-success btn-icon"><i class="fa fa-floppy-o "></i>Ekle</button>
</div>
</div>
</div>
</div>
</form>
<br />
<hr>
<br />
<h5 style="color: green;">Var Olan Alt Menüler</h5>
<?php
while ($fmenuprint=$fmenu->fetch(PDO::FETCH_ASSOC)) {
?>
<form method="POST" action="controller/function.php" class="form-horizontal">
<div class="form-group">
<div class="row">
<input type="hidden" name="fmenu_id" value="<?php echo $fmenuprint['fmenu_id']; ?>" class="form-control">
<div class="col-md-4">
<label>Menü Adı</label>
<input type="text" name="fmenu_ad" value="<?php echo $fmenuprint['fmenu_ad']; ?>" class="form-control">
</div>
<div class="col-md-4">
<label>Menü Link</label>
<input type="text" name="fmenu_link" value="<?php echo $fmenuprint['fmenu_link']; ?>" class="form-control">
</div><div class="col-md-2">
<label>Menü Sıra</label>
<input type="text" name="fmenu_sira" value="<?php echo $fmenuprint['fmenu_sira']; ?>" class="form-control">
</div>
<div class="col-md-2">
<label>*İşlem</label><div>
<button style="cursor: pointer;" type="submit" name="fmenuduzenle" class="btn btn-success btn-icon"><i class="fa fa-floppy-o "></i>Kaydet</button>
<a href="controller/function.php?fmenusil=ok&fmenu_id=<?php echo $fmenuprint['fmenu_id']; ?>" style="cursor: pointer;" type="submit" name="fmenusil" class="btn btn-danger btn-icon"><i class="fa fa-trash-o"></i>Sil</a>
</div>
</div>
</div>
</div>
</form>
<?php } ?>
</div>
</div>
</div>
</div>
<?php include 'footer.php'; ?>
include 'header.php';
include 'topbar.php';
include 'sidebar.php';
$fmenu=$db->prepare("SELECT * from fmenu order by fmenu_sira ASC");
$fmenu->execute(array(0));
?>
<!-- ============================================================== -->
<!-- Content Start -->
<!-- ============================================================== -->
<section class="main-content container">
<div class="page-header">
<h2>Footer Menü İşlemleri</h2>
</div>
<div class="row">
<div class="col-sm-12">
<div class="card">
<div class="card-heading card-default">
Alt Menü Düzenle
</div>
<div class="card-block">
<h5 style="color: green;">Yeni Alt Menü Ekle</h5>
<form method="POST" action="controller/function.php" class="form-horizontal">
<div class="form-group">
<div class="row">
<div class="col-md-4">
<label>Menü Adı</label>
<input type="text" name="fmenu_ad" placeholder="Menü adı giriniz." class="form-control">
</div>
<div class="col-md-4">
<label>Menü Link</label>
<input type="text" name="fmenu_link" placeholder="Menü linki giriniz." class="form-control">
</div><div class="col-md-2">
<label>Menü Sıra</label>
<input type="text" name="fmenu_sira" placeholder="Menü sıra giriniz." class="form-control">
</div>
<div class="col-md-2">
<label>*İşlem</label><div>
<button style="cursor: pointer;" type="submit" name="fmenuekle" class="btn btn-success btn-icon"><i class="fa fa-floppy-o "></i>Ekle</button>
</div>
</div>
</div>
</div>
</form>
<br />
<hr>
<br />
<h5 style="color: green;">Var Olan Alt Menüler</h5>
<?php
while ($fmenuprint=$fmenu->fetch(PDO::FETCH_ASSOC)) {
?>
<form method="POST" action="controller/function.php" class="form-horizontal">
<div class="form-group">
<div class="row">
<input type="hidden" name="fmenu_id" value="<?php echo $fmenuprint['fmenu_id']; ?>" class="form-control">
<div class="col-md-4">
<label>Menü Adı</label>
<input type="text" name="fmenu_ad" value="<?php echo $fmenuprint['fmenu_ad']; ?>" class="form-control">
</div>
<div class="col-md-4">
<label>Menü Link</label>
<input type="text" name="fmenu_link" value="<?php echo $fmenuprint['fmenu_link']; ?>" class="form-control">
</div><div class="col-md-2">
<label>Menü Sıra</label>
<input type="text" name="fmenu_sira" value="<?php echo $fmenuprint['fmenu_sira']; ?>" class="form-control">
</div>
<div class="col-md-2">
<label>*İşlem</label><div>
<button style="cursor: pointer;" type="submit" name="fmenuduzenle" class="btn btn-success btn-icon"><i class="fa fa-floppy-o "></i>Kaydet</button>
<a href="controller/function.php?fmenusil=ok&fmenu_id=<?php echo $fmenuprint['fmenu_id']; ?>" style="cursor: pointer;" type="submit" name="fmenusil" class="btn btn-danger btn-icon"><i class="fa fa-trash-o"></i>Sil</a>
</div>
</div>
</div>
</div>
</form>
<?php } ?>
</div>
</div>
</div>
</div>
<?php include 'footer.php'; ?>