UnknownSec Bypass
403
:
/
var
/
www
/
cotutilitydash
/ [
drwxrwxr-x
]
Menu
Upload
Mass depes
Mass delete
Terminal
Info server
About
name :
sidemenu.php
<div class="navbar-default sidebar" role="navigation"> <div class="sidebar-nav navbar-collapse"> <ul class="nav" id="side-menu"> <li> <a href="dashboard.php"><i class="fa fa-dashboard fa-fw nav_icon"></i>Dashboard</a> </li> <?php $query = " select * from permissiontb where formname='manage_consumption_entry.php' and userid='".$_SESSION['userid']."' and isdeleted=0"; $result = mysqli_query($conn, $query); while ($row=mysqli_fetch_array($result)) { $data["show"] = $row["pshow"]; } if($data["show"]==1) { ?> <li> <a href="manage_consumption_entry.php"><i class="fa fa-edit fa-fw nav_icon"></i>Manage Consumption Entry</a> </li> <?php } ?> <?php $query = " select * from permissiontb where formname='upload_excelfile.php' and userid='".$_SESSION['userid']."' and isdeleted=0"; $result = mysqli_query($conn, $query); while ($row=mysqli_fetch_array($result)) { $data["show"] = $row["pshow"]; } if($data["show"]==1) { ?> <li> <a href="upload_excelfile.php"><i class="fa fa-file fa-fw nav_icon"></i>Upload Excel File</a> </li> <?php } ?> <li> <a href="#"><i class="fa fa-laptop nav_icon"></i>Master<span class="fa arrow"></span></a> <ul class="nav nav-second-level"> <?php $query = " select * from permissiontb where formname='manage_area.php' and userid='".$_SESSION['userid']."' and isdeleted=0"; $result = mysqli_query($conn, $query); while ($row=mysqli_fetch_array($result)) { $data["show"] = $row["pshow"]; } if($data["show"]==1) { ?> <li> <a href="manage_area.php">Manage Area</a> </li> <?php } ?> <?php $query = " select * from permissiontb where formname='Equipment.php' and userid='".$_SESSION['userid']."' and isdeleted=0"; $result = mysqli_query($conn, $query); while ($row=mysqli_fetch_array($result)) { $data["show"] = $row["pshow"]; } if($data["show"]==1) { ?> <li> <a href="Equipment.php">Manage Equipment</a> </li> <?php } ?> <?php $query = " select * from permissiontb where formname='manage_subarea.php' and userid='".$_SESSION['userid']."' and isdeleted=0"; $result = mysqli_query($conn, $query); while ($row=mysqli_fetch_array($result)) { $data["show"] = $row["pshow"]; } if($data["show"]==1) { ?> <li> <a href="manage_subarea.php">Manage Sub Area</a> </li> <?php } ?> </ul> <!-- /.nav-second-level --> </li> <li> <a href="#"><i class="fa fa-users nav_icon"></i>Manage Users<span class="fa arrow"></span></a> <ul class="nav nav-second-level"> <?php $query = " select * from permissiontb where formname='manage_user.php' and userid='".$_SESSION['userid']."' and isdeleted=0"; $result = mysqli_query($conn, $query); while ($row=mysqli_fetch_array($result)) { $data["show"] = $row["pshow"]; } if($data["show"]==1) { ?> <li> <a href="manage_user.php">Manage User</a> </li> <?php } ?> <?php $query = " select * from permissiontb where formname='user_permission.php' and userid='".$_SESSION['userid']."' and isdeleted=0"; $result = mysqli_query($conn, $query); while ($row=mysqli_fetch_array($result)) { $data["show"] = $row["pshow"]; } if($data["show"]==1) { ?> <li> <a href="user_permission.php">Manage User Permission</a> </li> <li> <a href="areawise_permission.php">Manage Area Wise Permission</a> </li> <?php } ?> </ul> <!-- /.nav-second-level --> </li> <li> <a href="#"><i class="fa fa-check-square-o nav_icon"></i>Reports<span class="fa arrow"></span></a> <ul class="nav nav-second-level"> <?php $query = " select * from permissiontb where formname='consumption_report.php' and userid='".$_SESSION['userid']."' and isdeleted=0"; $result = mysqli_query($conn, $query); while ($row=mysqli_fetch_array($result)) { $data["show"] = $row["pshow"]; } if($data["show"]==1) { ?> <li> <a href="consumption_report.php">Consumption Report</a> </li> <?php } ?> <?php $query = " select * from permissiontb where formname='userwise_consumption_report.php' and userid='".$_SESSION['userid']."' and isdeleted=0"; $result = mysqli_query($conn, $query); while ($row=mysqli_fetch_array($result)) { $data["show"] = $row["pshow"]; } if($data["show"]==1) { ?> <li> <a href="userwise_consumption_report.php">Userwise Consumption Report</a> </li> <?php } ?> <?php $query = " select * from permissiontb where formname='graphical_consumption_report.php' and userid='".$_SESSION['userid']."' and isdeleted=0"; $result = mysqli_query($conn, $query); while ($row=mysqli_fetch_array($result)) { $data["show"] = $row["pshow"]; } if($data["show"]==1) { ?> <li> <a href="graphical_consumption_report.php">Grapical Consumption Report</a> </li> <?php } ?> <?php $query = " select * from permissiontb where formname='Cross_Table_Consumption_Report.php' and userid='".$_SESSION['userid']."' and isdeleted=0"; $result = mysqli_query($conn, $query); while ($row=mysqli_fetch_array($result)) { $data["show"] = $row["pshow"]; } if($data["show"]==1) { ?> <li> <a href="Cross_Table_Consumption_Report.php">Month Wise Consumption Report</a> </li> <?php } ?> <li> <a href="subarea_comparison_report.php">Month Wise Comparison Report</a> </li> <li> <a href="datewise_comparison.php">Date Wise Comparison Report</a> </li> </ul> <!-- /.nav-second-level --> </li> <!-- <li> <a href="#"><i class="fa fa-table nav_icon"></i>Tables<span class="fa arrow"></span></a> <ul class="nav nav-second-level"> <li> <a href="basic_tables.html">Basic Tables</a> </li> </ul> </li> <li> <a href="#"><i class="fa fa-sitemap fa-fw nav_icon"></i>Css<span class="fa arrow"></span></a> <ul class="nav nav-second-level"> <li> <a href="media.html">Media</a> </li> <li> <a href="login.html">Login</a> </li> </ul> </li> --> <li> <a class="btn btn-primary" href="logout.php" style="margin: 5px; color: white;"><i class="fa fa-lock"></i> Logout</a> </li> </ul> </div> <!-- /.sidebar-collapse --> </div> <!-- /.navbar-static-side --> </nav>
Copyright © 2025 - UnknownSec