exit; include("includes_custom/settings.php"); $page_id = mysql_real_escape_string($page_id); $jock_id = mysql_real_escape_string($jock_id); //check to see if this person has clicked the logout link if($logout=="y") { //get the logout page id session_destroy(); header("Location: $PHP_SELF?page_id=$page_id"); exit; } if($page_id!="") { $page_query="select jock_id, blank_page from pages where page_id='$page_id'"; $page_result=mysql_query($page_query); $page_row=mysql_fetch_array($page_result); if($page_row["jock_id"]!=0) $jock_id=$page_row["jock_id"]; } if($gallery_id!="") { $page_query="select page_id from stack_items where station_id='$station_id' && item_type_id='23' limit 1"; $page_result=mysql_query($page_query); $page_row=mysql_fetch_array($page_result); $page_id=$page_row["page_id"]; } if($form_id!="") { $page_query="select page_id from stack_items where station_id='$station_id' && item_type_id='18' limit 1"; $page_result=mysql_query($page_query); $page_row=mysql_fetch_array($page_result); $page_id=$page_row["page_id"]; include("includes/form_top.php"); } if($jock_id!="" && $page_id=="") { $page_query="select page_id from pages where jock_id='$jock_id' order by sort_order limit 1"; $page_result=mysql_query($page_query); $page_row=mysql_fetch_array($page_result); $page_id=$page_row["page_id"]; } ?>
| width=" echo $station_row["middle_width"]; ?>" valign="top" align="center"> include("includes/stack.php"); ?> | width=" echo $station_row["right_width"]; ?>" valign="top"> $side="r"; include("includes/stack.php"); ?> |