?
Path : /home/enviro777/public_html/admin/ |
Current File : /home/enviro777/public_html/admin/leftmenu.php |
<?php $sql1 = "select * from admin"; $res=$obj->query($sql1); $row1 = $obj->fetch_query($res); ?> <h1> Admin Panel </h1> <div id="profile-links"> Hello, <?=$row1->name?><br > <a href="change.php" title="Change Password">Change Password</a> <br> <br> <a href="http://envirotechindustrialproduct.net" title="View the Site" target="_blank">View the Site</a> | <a href="logout.php" title="Log Out">Log Out</a> </div> <div class="main-nav"> <div class="menuheader"><a href="banner2.php" class="nav-top-item no-submenu" style="padding-right: 15px;">Banner</a></div> <div class="menuheader"><a href="videos2.php" class="nav-top-item no-submenu" style="padding-right: 15px;">Videos</a></div> <div class="menuheader"><a href="client2.php" class="nav-top-item no-submenu" style="padding-right: 15px;">Client</a></div> <div class="menuheader"><a href="category2.php?id=2" class="nav-top-item no-submenu" style="padding-right: 15px;">Category</a></div> <div class="menuheader expandable"><a class="nav-top-item no-submenu" style="padding-right: 15px;">Products</a></div> <ul class="categoryitems"> <?php $sql="select * from category where `status`='1' and type='2'"; $result=$obj->query($sql); while($row=$obj->fetch_query($result)) { ?> <li><a href="producti.php?id=<?= $row->catId?>" ><?= $row->catName?> </a></li> <?php } ?> </ul> <div class="menuheader"><a href="logout.php" class="nav-top-item no-submenu" style="padding-right: 15px;">LogOut</a></div> <div> </div> </div> <p> </p> </p>