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: //proc/self/root/home/awaldron/public_html/archive/demo/content.php
<?php
session_start();
include("_functions.php");
dbconnect();
//
	$sql = "SELECT * FROM tbl_pages WHERE page_id=".$_GET["p"];
	$result = mysql_query($sql);
	$p = mysql_fetch_array($result);
	extract($p);
//

//
$lnav_mods = get_layout($_GET["p"],1);
$rnav_mods = get_layout($_GET["p"],3);

//
$is_content = 1;
$display = TRUE;
include("_pagestart.php");

if (!zero($page_access)) {
	if (!check_pgroup($_SESSION["auth_user"],$page_access)) {
		$display = FALSE;
		echo "<center><br><br><br>".error("You do not have permission to view this page.")."<br><br><br></center>\n";
	}
} 

if ($display) {

	//if ($_GET["p"] == 1) {
	//	include("home".(MOBILE?"_mobile":"").".php");
	//}
	
	if (trim($page_title) == "Social") {
		include("social.php");
	} else {
		if ($page_body_display != 0) {
		
			if (MOBILE) $print = "";
			else $print = "<div style=\"float:right;margin-top:5px;\"><table border=0 cellspacing=0 cellpadding=0><tr><td><a href=\"/content_pf.php?p=".$_GET["p"]."\" target=\"pf\">Print</a> &nbsp; </td><td><a href=\"/content_pf.php?p=".$_GET["p"]."\" target=\"pf\"><img src=\"gui/icons/print.gif\" border=0 align=middle></a></td></tr></table></div>";	
			
			echo "<P><div class=\"headline\">".($_GET["p"]!=1?$print:"")."<b>".$page_title."</b></div><br>\n";
			echo "<div class=\"pagebody\">".format_body($page_body,0)."</div>\n";
			echo "<br><br><div class=\"pagefoot\" style=\"border-width:1px 0px 0px 0px;\"><div style=\"float:right\">Last Updated: ".date("F j, Y",$page_updated)." by <a href=\"/profile.php?u=".$username."\">".$username."</a></div>".owners($_GET["p"])."</div>\n";
		
		}
        $main_mods = get_layout($_GET["p"],2);
	}
}

include("_pageend.php");
?>