One Hat Cyber Team
Your IP :
3.15.0.242
Server IP :
192.185.194.254
Server :
Linux raider.websitewelcome.com 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64
Server Software :
Apache
PHP Version :
7.4.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
home2
/
glenar
/
www
/
web
/
Panel
/
Pages
/
Blog
/
View File Name :
blog_list.php
<?php ob_start(); session_start(); include("../../fanction.php"); $General->AjaxCheckLogin('1'); ?> <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <link rel="stylesheet" href="../../css/bootstrap.min.css"> <link rel="stylesheet" href="../../css/bootstrap-rtl.min.css"> <link rel="stylesheet" href="../../css/reset.css"> <link rel="stylesheet" href="../../css/dataTables.bootstrap.min.css"> <link rel="stylesheet" href="../../css/bootstrap-datepicker.min.css" /> <link rel="stylesheet" href="../../css/index.css"> <link rel="stylesheet" href="../../css/font-awesome.css" media="screen"> <title>Vblog - Blog list</title> </head> <body> <?php include("../../header.php"); ?> <div class="container" style="width: 100%; min-height: 100%;"> <div class="row" style="border-right: 72px solid #383A3F;"> <!-- tools start --> <?php include("../../menu.php"); ?> <!-- tools end --> <!-- main start --> <div class="pull-left main-content"> <div class="clear" style="padding-bottom: 20px;"></div> <div class="col-md-12"> <div class="panel panel-default"> <div class="panel-heading"> Blog List </div> <div class="panel-body"> <!-- --> <?php if(isset($_GET['action'],$_GET['CID']) && $_GET['CID'] != "" && $_GET['action'] == "del"){ $result = $Website->DeletBlog($_GET['CID']); $array = json_decode($result,true); echo $array['message']; } ?> <div id="w1" class="grid-view"> <div class="col-md-12"> <table id="example" class="table table-striped table-bordered" style="width:100%"> <thead> <tr> <th>عنوان</th> <th>دسته بندی</th> <th>عکس</th> <th>سریالی</th> <th>زبان</th> <th>وضعیت</th> <th>عملیات</th> </tr> </thead> <tbody> <?php $list_Blog = $Website->SelectBlog('','','','','','','','','','','0','','','','','','','',''); $i = 0; while ($row_Blog = mysqli_fetch_assoc($list_Blog)){ $i++;?> <tr> <td> <?php echo $row_Blog['Titile']; ?> </td> <td> <?php $CatID = $row_Blog['CatID']; $get_Category = $Website->SelectCategory($CatID, '', '','', '', '', '', '', '', '', ''); $row_Category_get = mysqli_fetch_assoc($get_Category); echo $row_Category_get['Name']; ?> </td> <td> <img src="../../../upload/<?php echo $row_Blog['Image']; ?>" alt="" width="80" height="80" class="avatar photo"> </td> <td><?php if($row_Blog['IsSerial'] == 1) { echo "بله"; }else{ echo "خیر"; } ?></td> <td> <?php if($row_Blog['Lang'] == 1) { echo "English"; }else{ echo "فارسی"; } ?> </td> <td> <?php if($row_Blog['Status'] == 1) { echo "فعال"; }else{ echo "غیرفعال"; } ?> </td> <td> <a href="https://glenar.com/web/page-<?php echo $row_Blog['Slug']; ?>" target="_blank"> <button type="button" class="btn btn-danger">مشاهده در سایت</button></a> <a href="?action=del&CID=<?php echo $row_Blog['ID']; ?>" > <button type="button" class="btn btn-danger">حذف</button></a> <a href="blog_edit.php?CID=<?php echo $row_Blog['ID']; ?>" > <button type="button" class="btn btn-info">ویرایش</button></a> </td> </tr> <?php } ?> </tfoot> </table> </div> </div> <!-- --> </div> </div> </div> </div> </div> <!-- main end --> </div> </div> <?php include('../../footer.php'); ?> <script src="../../js/jquery-2.2.3.min.js"></script> <script src="../../js/bootstrap.min.js"></script> <script src="../../js/chart.bundle.min.js"></script> <!-- <script src="js/chart_config.js"></script> --> <script src="../../js/mycode.js"></script> <script src="../../js/jquery.dataTables.min.js"></script> <script src="../../js/dataTables.bootstrap.min.js"></script> <script> $(document).ready(function() { $('#example').DataTable(); } ); $(document).ready(function() { $(".datepicker0").datepicker(); }); $(document).ready(function () { var counter = 1; var datecounter = 5; $("#addrow").on("click", function () { var newRow = $("<tr>"); var cols = ""; cols += '<td></td>'; cols += '<td><input type="text" class="form-control" name="sessions['+counter+'][]"/></td>'; cols += '<td><input type="number" class="form-control" name="sessions['+counter+'][]"/></td>'; cols += '<td><input type="button" class="ibtnDel btn btn-md btn-danger" value=" - "></td>'; newRow.append(cols); $("table.order-list").append(newRow); counter++; datecounter++; $(".datepicker1").datepicker(); }); $("table.order-list").on("click", ".ibtnDel", function (event) { $(this).closest("tr").remove(); counter -= 1 }); }); function calculateRow(row) { var price = +row.find('input[name^="price"]').val(); } function calculateGrandTotal() { var grandTotal = 0; $("table.order-list").find('input[name^="price"]').each(function () { grandTotal += +$(this).val(); }); $("#grandtotal").text(grandTotal.toFixed(2)); } </script> </body> </html>