HEX
Server: Apache
System: Linux www3.pit.tblive.com 5.14.0-687.38.1.el9_8.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Aug 12 17:19:12 EDT 2026 x86_64
User: awaldron (1020)
PHP: 8.1.34
Disabled: exec,passthru,shell_exec,system
Upload Files
File: /home/awaldron/public_html/archive/demo/admin/index.php
<?php
session_start();
include("../_functions.php");
dbconnect();
if (!is_logged()) auto_login();

echo "<html>\n";
echo "<head>\n";
echo "<title>".COMPANY_NAME." : Administration Panel</title>\n";
echo "</head>\n";
echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"../default.css\">\n";

if (isset($_GET["p"]) && ($_GET["p"] == "styleok")) $main = "style.php?ok=1";
else if (isset($_GET["p"]) && ($_GET["p"] == "confirm")) $main = "employee_confirm.php";
else $main = "stats.php";

if (!admin_panel($_SESSION["auth_user"])) {
	echo "<br><br><br><br>".error("You must be logged in to access the administration panel!");
	echo "<form action=\"../login.php\" method=\"post\" name=\"loginmain\">\n";
	echo "<input type=\"hidden\" name=\"refer\" value=\"".self()."\">\n";
	echo "<input type=\"hidden\" name=\"force\" value=\"1\">\n";
	echo "<center>\n";
	echo "<div style=\"width:25%;border:solid 2px #".COLOR_TBAR.";padding:25px;background:url('gui/disbg.gif');\"><table class=\"textdn\" border=0 cellspacing=6>\n";
	echo "<tr><td><b>Username:</b></td><td><input type=\"text\" name=\"username\" style=\"width:100px\" maxlength=32></td></tr>\n";
	echo "<tr><td><b>Password:</b></td><td><input type=\"password\" name=\"password\" style=\"width:100px\" maxlength=32></td></tr>\n";
	echo "<tr><td colspan=2 align=center><input type=\"submit\" value=\" Login \"></td></tr>\n";
	echo "</form>\n";
	echo "</table></div><br><br><br>\n</center>\n";
} else {
	echo "<frameset cols=\"200,*\" frameborder=\"NO\" border=\"0\" framespacing=\"0\">\n";
	echo "	<frame name=\"nav\" border=0 scrolling=\"auto\" src=\"nav.php\">\n";
	echo "	<frame name=\"main\" border=0 scrolling=\"auto\" src=\"".$main."\">\n";
	echo "</frameset>\n";
	echo "<noframes><body bgcolor=\"#FFFFFF\"></body></noframes>\n";
}

echo "</html>\n";

?>