Revonzy Mini Shell
<?php
require_once(PATH_ADMIN_INCLUDE.'/head.php');
//Check Here If Admin is authorised or not
if(empty($_SESSION['admin']))
{?>
<script>
window.location.href = '<?php echo LINK_CONTROL.'/login/index.php'; ?>';
</script>
<?php } ?>
<script>
$(document).ready(function() {
$("#logoff").click(function(){
$.ajax(
{
url:'<?php echo LINK_CONTROL.'/login/logout.php'; ?>',
type:'POST',
data:{},
async:false,
success:function(data){
if (data=="true")
{
document.location.href='<?php echo LINK_CONTROL.'/login/index.php'; ?>';
}
}
});//eof ajax
});// eof click function
});// eof ready function
</script>
<style>
#loading img
{
width:60px;
}
#loading
{
text-align:center;
}
</style>
<div class="col-md-3 left_col">
<div class="left_col scroll-view">
<div class="navbar nav_title" style="border: 0;"> <a href="index.php" class="site_title"><i class="fa fa-laptop"></i> <span>Admin</span></a> </div>
<div class="clearfix"></div>
<!-- menu prile quick info -->
<div class="profile">
<div class="profile_pic"> <img src="<?php echo PATH_IMAGE?>/img.jpg" alt="..." class="img-circle profile_img"> </div>
<div class="profile_info"> <span>Welcome,</span>
<h2><?php echo $_SESSION['admin_name']?></h2>
</div>
</div>
<!-- /menu prile quick info -->
<br />
<!-- sidebar menu -->
<div id="sidebar-menu" class="main_menu_side hidden-print main_menu">
<div class="menu_section">
<div> </div>
<ul class="nav side-menu">
<li><a href="<?php echo LINK_CONTROL?>/index.php"><i class="fa fa-home"></i> Dashboard</a></li>
<li><a href="<?php echo LINK_CONTROL?>/clients/list.php"><i class="fa fa-users"></i> Clients</a></li>
<li><a><i class="fa fa-picture-o"></i> Project <span class="fa fa-chevron-down"></span></a>
<ul class="nav child_menu" style="display: none">
<li><a href="<?php echo LINK_CONTROL?>/gallery/category/list.php">Category</a></li>
<li><a href="<?php echo LINK_CONTROL?>/gallery/sub-category/list.php">Subcategory</a></li>
<li><a href="<?php echo LINK_CONTROL?>/gallery/image-upload/index.php">Image Gallery</a></li>
</ul>
</li>
<li><a href="<?php echo LINK_CONTROL?>/team/list.php"><i class="fa fa-users"></i> Team</a></li>
<!--<li><a><i class="fa fa-magnet"></i> Material Catelogue <span class="fa fa-chevron-down"></span></a>
<ul class="nav child_menu" style="display: none">
<li><a href="<?php echo LINK_CONTROL?>/catelog/category/list.php">Category </a> </li>
<li><a href="<?php echo LINK_CONTROL?>/catelog/sub-category/list.php">Subcategory</a> </li>
<li><a href="<?php echo LINK_CONTROL?>/catelog/material/index.php">Material</a> </li>
</ul>
</li>
<li><a><i class="fa fa-edit"></i> Category <span class="fa fa-chevron-down"></span></a>
<ul class="nav child_menu" style="display: none">
<li><a href="<?php echo LINK_CONTROL?>/category/index.php">Add New </a> </li>
<li><a href="<?php echo LINK_CONTROL?>/category/list.php">View List</a> </li>
</ul>
</li>
<li><a><i class="fa fa-edit"></i>Sub - Category <span class="fa fa-chevron-down"></span></a>
<ul class="nav child_menu" style="display: none">
<li><a href="<?php echo LINK_CONTROL?>/sub-category/index.php">Add New </a> </li>
<li><a href="<?php echo LINK_CONTROL?>/sub-category/list.php">View List</a> </li>
<li><a href="<?php echo LINK_CONTROL?>/image-upload/index.php">Image Upload</a> </li>
</ul>
</li>-->
<!-- <li><a><i class="fa fa-edit"></i>Project <span class="fa fa-chevron-down"></span></a>
<ul class="nav child_menu" style="display: none">
<li><a href="<?php echo LINK_CONTROL?>/project/architecture/ongoing/list.php">Architecture Projects</a> </li>
<li><a href="<?php echo LINK_CONTROL?>/project/interior/ongoing/list.php">Interior Projects</a> </li>
<?php /* ?> <li><a href="<?php echo LINK_CONTROL?>/project/upcoming/list.php">Up Coming Projects </a> </li>
<li><a href="<?php echo LINK_CONTROL?>/project/ongoing/list.php">On Going Projects</a> </li>
<?php */ ?>
</ul>
</li> -->
<!--<li><a><i class="fa fa-file-excel-o"></i>News & Updates <span class="fa fa-chevron-down"></span></a>
<ul class="nav child_menu" style="display: none">
<li><a href="<?php echo LINK_CONTROL?>/news/index.php">Add New</a> </li>
<li><a href="<?php echo LINK_CONTROL?>/news/list.php">View List</a> </li>
</ul>
</li>
<li><a><i class="fa fa-trophy"></i>Awards <span class="fa fa-chevron-down"></span></a>
<ul class="nav child_menu" style="display: none">
<li><a href="<?php echo LINK_CONTROL?>/awards/index.php">Add New</a> </li>
<li><a href="<?php echo LINK_CONTROL?>/awards/list.php">View List</a> </li>
</ul>
</li>
<li><a><i class="fa fa-comments"></i>Testimonials <span class="fa fa-chevron-down"></span></a>
<ul class="nav child_menu" style="display: none">
<li><a href="<?php echo LINK_CONTROL?>/testimonial/index.php">Add New</a> </li>
<li><a href="<?php echo LINK_CONTROL?>/testimonial/list.php">View List</a> </li>
</ul>
</li>-->
<!-- <li><a><i class="fa fa-user"></i>Our Clients <span class="fa fa-chevron-down"></span></a>
<ul class="nav child_menu" style="display: none">
<li><a href="<?php echo LINK_CONTROL?>/our-clients/index.php">Add New</a> </li>
<li><a href="<?php echo LINK_CONTROL?>/our-clients/list.php">View List</a> </li>
</ul>
</li> -->
<li><a><i class="fa fa-sliders"></i>Slider <span class="fa fa-chevron-down"></span></a>
<ul class="nav child_menu" style="display: none">
<li><a href="<?php echo LINK_CONTROL?>/slider/index.php">Add New</a> </li>
<li><a href="<?php echo LINK_CONTROL?>/slider/list.php">View List</a> </li>
</ul>
</li>
<li><a href="<?php echo LINK_CONTROL?>/video/index.php"><i class="fa fa-file-video-o"></i>Video</a></li>
<li><a href="<?php echo LINK_CONTROL?>/aboutus/index.php"><i class="fa fa-picture-o"></i>About Us Slider Images</a></li>
<li><a href="<?php echo LINK_CONTROL?>/our-works/index.php"><i class="fa fa-picture-o"></i>Our Works Images</a></li>
<!-- <li><a><i class="fa fa-sliders"></i>Meta Tag <span class="fa fa-chevron-down"></span></a>
<ul class="nav child_menu" style="display: none">
<li><a href="<?php echo LINK_CONTROL?>/meta-tag/index.php">Add New</a> </li>
<li><a href="<?php echo LINK_CONTROL?>/meta-tag/list.php">View List</a> </li>
</ul>
</li> -->
<!-- <li><a href="<?php echo LINK_CONTROL?>/image-upload/index.php"><i class="fa fa-edit"></i>Upload Image </a>
</li>
<li><a href="<?php echo LINK_CONTROL?>/message/list.php"><i class="fa fa-envelope-o"></i>Contact Enquiry </a></li>
<li><a href="<?php echo LINK_CONTROL?>/pages/index.php"><i class="fa fa-file-text-o"></i>Pages </a>
</li> -->
</ul>
</div>
<div class="clearfix"></div>
</div>
<!-- /sidebar menu -->
<!-- /menu footer buttons -->
<div class="sidebar-footer hidden-small"> <a data-toggle="tooltip" data-placement="top" title="Settings"> <span class="glyphicon glyphicon-cog" aria-hidden="true"></span> </a> <a data-toggle="tooltip" data-placement="top" title="FullScreen"> <span class="glyphicon glyphicon-fullscreen" aria-hidden="true"></span> </a> <a data-toggle="tooltip" data-placement="top" title="Lock"> <span class="glyphicon glyphicon-eye-close" aria-hidden="true"></span> </a> <a data-toggle="tooltip" data-placement="top" title="Logout"> <span class="glyphicon glyphicon-off" aria-hidden="true"></span> </a> </div>
<!-- /menu footer buttons -->
</div>
</div>
<!-- top navigation -->
<div class="top_nav">
<div class="nav_menu">
<nav class="" role="navigation">
<div class="nav toggle"> <a id="menu_toggle"><i class="fa fa-bars"></i></a> </div>
<ul class="nav navbar-nav navbar-right">
<li class=""> <a href="javascript:;" class="user-profile dropdown-toggle" data-toggle="dropdown" aria-expanded="false"> <img src="<?php echo PATH_IMAGE?>/img.jpg" alt=""><?php echo $_SESSION['admin_name']?><span class=" fa fa-angle-down"></span> </a>
<ul class="dropdown-menu dropdown-usermenu animated fadeInDown pull-right">
<!-- <li><a href="javascript:;"> Profile</a> </li>
<li> <a href="javascript:;"> <span class="badge bg-red pull-right">50%</span> <span>Settings</span> </a> </li>
<li> <a href="javascript:;">Help</a> </li>-->
<li><a href="#" id="logoff"><i class="fa fa-sign-out pull-right"></i> Log Out</a> </li>
</ul>
</li>
</ul>
</li>
</ul>
</nav>
</div>
</div>
<!-- /top navigation -->
<!-- page content -->
<div class="right_col" role="main">
EliteHackz.ORG
Revonzy Mini Shell
root@revonzy.com