/home3/vehiclea/public_html/mamacloud/sidelinks.php
<aside class="main-sidebar hidden-print ">
<section class="sidebar" id="sidebar-scroll">
<?php
if ($_SESSION['loginType'] == 'super admin') {
?>
<ul class="sidebar-menu">
<li class="nav-level">--- Masters</li>
<li <?php if($_SESSION['active'] == 'dashboard') { ?> class="active treeview" <?php } else { ?> class="treeview" <?php } ?>>
<a class="waves-effect waves-dark" href="index.php">
<i class="icon-speedometer"></i><span> Dashboard</span>
</a>
</li>
<li class="nav-level">--- Components</li>
<li <?php if($_SESSION['active'] == 'createAdmin') { ?> class="active treeview" <?php } else { ?> class="treeview" <?php } ?>>
<a class="waves-effect waves-dark" href="addAdmin.php">
<i class="icofont icofont-user-suited"></i><span> Create Admin</span>
</a>
</li>
<li <?php if($_SESSION['active'] == 'createPartner') { ?> class="active treeview" <?php } else { ?> class="treeview" <?php } ?>>
<a class="waves-effect waves-dark" href="addPartner.php">
<i class="icofont icofont-user-suited"></i><span> Create Partner</span>
</a>
</li>
<li <?php if($_SESSION['active'] == 'createUser') { ?> class="active treeview" <?php } else { ?> class="treeview" <?php } ?>>
<a class="waves-effect waves-dark" href="addUser.php">
<i class="icofont icofont-users-social"></i><span> Create User</span>
</a>
</li>
<!-- <li <?php //if($_SESSION['active'] == 'addInstance') { ?> class="active treeview" <?php //} else { ?> class="treeview" <?php //} ?>>
<a class="waves-effect waves-dark" href="addInstance.php">
<i class="icofont icofont-company"></i><span> Add Instance</span>
</a>
</li> -->
<li <?php if($_SESSION['active'] == 'userLog' || $_SESSION['active'] == 'backupLog') { ?> class="active treeview" <?php } else { ?> class="treeview" <?php } ?>><a class="waves-effect waves-dark" href="#"><i class="icon-book-open"></i><span> Logs</span><i class="icon-arrow-down"></i></a>
<ul class="treeview-menu">
<li <?php if($_SESSION['active'] == 'userLog') { ?> class="active" <?php } ?>><a class="waves-effect waves-dark" href="logReport.php"><i class="icon-arrow-right"></i>User Logs</a></li>
</ul>
</li>
<li <?php if($_SESSION['active'] == 'downloadSetup') { ?> class="active treeview" <?php } else { ?> class="treeview" <?php } ?>>
<a class="waves-effect waves-dark" href="downloadSetup.php">
<i class="icon-briefcase"></i><span> Download Setup </span>
</a>
</li>
<li <?php if($_SESSION['active'] == 'knowledgeSetup') { ?> class="active treeview" <?php } else { ?> class="treeview" <?php } ?>>
<a class="waves-effect waves-dark" href="knowledgeSetup.php">
<i class="icon-docs"></i><span> Knowledge Setup </span>
</a>
</li>
<li class="nav-level">--- Reports</li>
<li <?php if($_SESSION['active'] == 'partnerReport') { ?> class="active treeview" <?php } else { ?> class="treeview" <?php } ?>>
<a class="waves-effect waves-dark" href="partnerReport.php">
<i class="icon-list"></i><span> Partner Report </span>
</a>
</li>
<li <?php if($_SESSION['active'] == 'userReport') { ?> class="active treeview" <?php } else { ?> class="treeview" <?php } ?>>
<a class="waves-effect waves-dark" href="userList.php">
<i class="icon-list"></i><span> User Report </span>
</a>
</li>
<li <?php if($_SESSION['active'] == 'instanceReport') { ?> class="active treeview" <?php } else { ?> class="treeview" <?php } ?>>
<a class="waves-effect waves-dark" href="instance.php">
<i class="icon-list"></i><span> Instance </span>
</a>
</li>
<li <?php if($_SESSION['active'] == 'profile') { ?> class="active treeview" <?php } else { ?> class="treeview" <?php } ?>>
<a class="waves-effect waves-dark" href="profile.php">
<i class="icon-list"></i><span> Profile </span>
</a>
</li>
<li class="treeview">
<a class="waves-effect waves-dark" href="logout.php">
<i class="icon-logout"></i><span> Logout </span>
</a>
</li>
</ul>
<?php
} else if ($_SESSION['loginType'] == 'admin') {
?>
<ul class="sidebar-menu">
<li class="nav-level">--- Masters</li>
<li <?php if($_SESSION['active'] == 'dashboard') { ?> class="active treeview" <?php } else { ?> class="treeview" <?php } ?>>
<a class="waves-effect waves-dark" href="index.php">
<i class="icon-speedometer"></i><span> Dashboard</span>
</a>
</li>
<li class="nav-level">--- Components</li>
<li <?php if($_SESSION['active'] == 'createPartner') { ?> class="active treeview" <?php } else { ?> class="treeview" <?php } ?>>
<a class="waves-effect waves-dark" href="addPartner.php">
<i class="icofont icofont-user-suited"></i><span> Create Partner</span>
</a>
</li>
<li <?php if($_SESSION['active'] == 'createUser') { ?> class="active treeview" <?php } else { ?> class="treeview" <?php } ?>>
<a class="waves-effect waves-dark" href="addUser.php">
<i class="icofont icofont-users-social"></i><span> Create User</span>
</a>
</li>
<!-- <li <?php //if($_SESSION['active'] == 'addInstance') { ?> class="active treeview" <?php //} else { ?> class="treeview" <?php //} ?>>
<a class="waves-effect waves-dark" href="addInstance.php">
<i class="icofont icofont-company"></i><span> Instance </span>
</a>
</li> -->
<li <?php if($_SESSION['active'] == 'userLog' || $_SESSION['active'] == 'backupLog') { ?> class="active treeview" <?php } else { ?> class="treeview" <?php } ?>><a class="waves-effect waves-dark" href="#"><i class="icon-book-open"></i><span> Logs</span><i class="icon-arrow-down"></i></a>
<ul class="treeview-menu">
<li <?php if($_SESSION['active'] == 'userLog') { ?> class="active" <?php } ?>><a class="waves-effect waves-dark" href="logReport.php"><i class="icon-arrow-right"></i>User Logs</a></li>
</ul>
</li>
<li <?php if($_SESSION['active'] == 'downloadSetup') { ?> class="active treeview" <?php } else { ?> class="treeview" <?php } ?>>
<a class="waves-effect waves-dark" href="downloadSetup.php">
<i class="icon-briefcase"></i><span> Download Setup </span>
</a>
</li>
<li <?php if($_SESSION['active'] == 'knowledgeSetup') { ?> class="active treeview" <?php } else { ?> class="treeview" <?php } ?>>
<a class="waves-effect waves-dark" href="knowledgeSetup.php">
<i class="icon-docs"></i><span> Knowledge Setup </span>
</a>
</li>
<li class="nav-level">--- Reports</li>
<li <?php if($_SESSION['active'] == 'partnerReport') { ?> class="active treeview" <?php } else { ?> class="treeview" <?php } ?>>
<a class="waves-effect waves-dark" href="partnerReport.php">
<i class="icon-list"></i><span> Partner Report </span>
</a>
</li>
<li <?php if($_SESSION['active'] == 'userReport') { ?> class="active treeview" <?php } else { ?> class="treeview" <?php } ?>>
<a class="waves-effect waves-dark" href="userList.php">
<i class="icon-list"></i><span> User Report </span>
</a>
</li>
<li <?php if($_SESSION['active'] == 'instanceReport') { ?> class="active treeview" <?php } else { ?> class="treeview" <?php } ?>>
<a class="waves-effect waves-dark" href="instance.php">
<i class="icon-list"></i><span> Instance List </span>
</a>
</li>
<li <?php if($_SESSION['active'] == 'profile') { ?> class="active treeview" <?php } else { ?> class="treeview" <?php } ?>>
<a class="waves-effect waves-dark" href="profile.php">
<i class="icon-list"></i><span> Profile </span>
</a>
</li>
<li class="treeview">
<a class="waves-effect waves-dark" href="logout.php">
<i class="icon-logout"></i><span> Logout </span>
</a>
</li>
</ul>
<?php
} elseif ($_SESSION['loginType'] == 'partner') {
?>
<ul class="sidebar-menu">
<li class="nav-level">--- Masters</li>
<li <?php if($_SESSION['active'] == 'dashboard') { ?> class="active treeview" <?php } else { ?> class="treeview" <?php } ?>>
<a class="waves-effect waves-dark" href="index.php">
<i class="icon-speedometer"></i><span> Dashboard</span>
</a>
</li>
<li class="nav-level">--- Components</li>
<li <?php if($_SESSION['active'] == 'createUser') { ?> class="active treeview" <?php } else { ?> class="treeview" <?php } ?>>
<a class="waves-effect waves-dark" href="addUser.php">
<i class="icofont icofont-users-social"></i><span> Create User</span>
</a>
</li>
<!-- <li <?php //if($_SESSION['active'] == 'addInstance') { ?> class="active treeview" <?php //} else { ?> class="treeview" <?php //} ?>>
<a class="waves-effect waves-dark" href="addInstance.php">
<i class="icofont icofont-company"></i><span> Instance </span>
</a>
</li> -->
<li <?php if($_SESSION['active'] == 'userLog' || $_SESSION['active'] == 'backupLog') { ?> class="active treeview" <?php } else { ?> class="treeview" <?php } ?>><a class="waves-effect waves-dark" href="#"><i class="icon-book-open"></i><span> Logs</span><i class="icon-arrow-down"></i></a>
<ul class="treeview-menu">
<li <?php if($_SESSION['active'] == 'userLog') { ?> class="active" <?php } ?>><a class="waves-effect waves-dark" href="logReport.php"><i class="icon-arrow-right"></i>User Logs</a></li>
</ul>
</li>
<li <?php if($_SESSION['active'] == 'downloadSetup') { ?> class="active treeview" <?php } else { ?> class="treeview" <?php } ?>>
<a class="waves-effect waves-dark" href="downloadSetup.php">
<i class="icon-briefcase"></i><span> Download Setup </span>
</a>
</li>
<li <?php if($_SESSION['active'] == 'knowledgeSetup') { ?> class="active treeview" <?php } else { ?> class="treeview" <?php } ?>>
<a class="waves-effect waves-dark" href="knowledgeSetup.php">
<i class="icon-docs"></i><span> Knowledge Setup </span>
</a>
</li>
<li class="nav-level">--- Reports</li>
<li <?php if($_SESSION['active'] == 'userReport') { ?> class="active treeview" <?php } else { ?> class="treeview" <?php } ?>>
<a class="waves-effect waves-dark" href="userList.php">
<i class="icon-list"></i><span> User Report </span>
</a>
</li>
<li <?php if($_SESSION['active'] == 'instanceReport') { ?> class="active treeview" <?php } else { ?> class="treeview" <?php } ?>>
<a class="waves-effect waves-dark" href="instance.php">
<i class="icon-list"></i><span> Instance List </span>
</a>
</li>
<li <?php if($_SESSION['active'] == 'profile') { ?> class="active treeview" <?php } else { ?> class="treeview" <?php } ?>>
<a class="waves-effect waves-dark" href="profile.php">
<i class="icon-list"></i><span> Profile Update </span>
</a>
</li>
<li class="treeview">
<a class="waves-effect waves-dark" href="logout.php">
<i class="icon-logout"></i><span> Logout </span>
</a>
</li>
</ul>
<?php } elseif ($_SESSION['loginType'] == 'user') { ?>
<ul class="sidebar-menu">
<li class="nav-level">--- Masters</li>
<li <?php if($_SESSION['active'] == 'dashboard') { ?> class="active treeview" <?php } else { ?> class="treeview" <?php } ?>>
<a class="waves-effect waves-dark" href="index.php">
<i class="icon-speedometer"></i><span> Dashboard</span>
</a>
</li>
<li class="nav-level">--- Components</li>
<!-- <li <?php //if($_SESSION['active'] == 'addInstance') { ?> class="active treeview" <?php // } else { ?> class="treeview" <?php //} ?>>
<a class="waves-effect waves-dark" href="addInstance.php">
<i class="icofont icofont-company"></i><span> Instance </span>
</a>
</li> -->
<li <?php if($_SESSION['active'] == 'userLog' || $_SESSION['active'] == 'backupLog') { ?> class="active treeview" <?php } else { ?> class="treeview" <?php } ?>><a class="waves-effect waves-dark" href="#"><i class="icon-book-open"></i><span> Logs</span><i class="icon-arrow-down"></i></a>
<ul class="treeview-menu">
<li <?php if($_SESSION['active'] == 'userLog') { ?> class="active" <?php } ?>><a class="waves-effect waves-dark" href="logReport.php"><i class="icon-arrow-right"></i>User Logs</a></li>
</ul>
</li>
<li <?php if($_SESSION['active'] == 'downloadSetup') { ?> class="active treeview" <?php } else { ?> class="treeview" <?php } ?>>
<a class="waves-effect waves-dark" href="downloadSetup.php">
<i class="icon-briefcase"></i><span> Download Setup </span>
</a>
</li>
<li <?php if($_SESSION['active'] == 'knowledgeSetup') { ?> class="active treeview" <?php } else { ?> class="treeview" <?php } ?>>
<a class="waves-effect waves-dark" href="knowledgeSetup.php">
<i class="icon-docs"></i><span> Knowledge Setup </span>
</a>
</li>
<li class="nav-level">--- Reports</li>
<li <?php if($_SESSION['active'] == 'profile') { ?> class="active treeview" <?php } else { ?> class="treeview" <?php } ?>>
<a class="waves-effect waves-dark" href="profile.php">
<i class="icon-list"></i><span> Profile Update </span>
</a>
</li>
<li class="treeview">
<a class="waves-effect waves-dark" href="logout.php">
<i class="icon-logout"></i><span> Logout </span>
</a>
</li>
</ul>
<?php } else { ?>
<ul class="sidebar-menu">
<li class="nav-level">--- Masters</li>
<li <?php if($_SESSION['active'] == 'dashboard') { ?> class="active treeview" <?php } else { ?> class="treeview" <?php } ?>>
<a class="waves-effect waves-dark" href="index.php">
<i class="icon-speedometer"></i><span> Dashboard</span>
</a>
</li>
<li class="nav-level">--- Components</li>
<li <?php if($_SESSION['active'] == 'userLog' || $_SESSION['active'] == 'backupLog') { ?> class="active treeview" <?php } else { ?> class="treeview" <?php } ?>><a class="waves-effect waves-dark" href="#"><i class="icon-book-open"></i><span> Logs</span><i class="icon-arrow-down"></i></a>
<ul class="treeview-menu">
<li <?php if($_SESSION['active'] == 'userLog') { ?> class="active" <?php } ?>><a class="waves-effect waves-dark" href="logReport.php"><i class="icon-arrow-right"></i>User Logs</a></li>
</ul>
</li>
<li <?php if($_SESSION['active'] == 'downloadSetup') { ?> class="active treeview" <?php } else { ?> class="treeview" <?php } ?>>
<a class="waves-effect waves-dark" href="downloadSetup.php">
<i class="icon-briefcase"></i><span> Download Setup </span>
</a>
</li>
<li <?php if($_SESSION['active'] == 'knowledgeSetup') { ?> class="active treeview" <?php } else { ?> class="treeview" <?php } ?>>
<a class="waves-effect waves-dark" href="knowledgeSetup.php">
<i class="icon-docs"></i><span> Knowledge Setup </span>
</a>
</li>
<li class="nav-level">--- Reports</li>
<li <?php if($_SESSION['active'] == 'profile') { ?> class="active treeview" <?php } else { ?> class="treeview" <?php } ?>>
<a class="waves-effect waves-dark" href="profile.php">
<i class="icon-list"></i><span> Profile Update </span>
</a>
</li>
<li class="treeview">
<a class="waves-effect waves-dark" href="logout.php">
<i class="icon-logout"></i><span> Logout </span>
</a>
</li>
</ul>
<?php } ?>
</section>
</aside>
@LwBee Strong Bypass
Upload File
Create New File