if(!defined('IN_DISCUZ')) exit('Access Denied'); include template('header'); if(!$inajax) { ?>
} else { ?>=$show_message?> if($extra == 'HALTED' || $extra == 'NOPERM' || $extra == 'AJAXERROR') { ?> } } include template('footer'); ?>
if(!defined('IN_DISCUZ')) exit('Access Denied'); global $tid, $fid, $thisgid, $catlist, $advitems, $postlist; if(CURSCRIPT == 'forumdisplay' && $queryfloat) { ?>
} ?>
if(!empty($advlist['text'])) { ?>
} if(CURSCRIPT == 'index' && !empty($advlist['intercat'])) { if(is_array($catlist)) { foreach($catlist as $key => $cat) { if($advlist['intercat'][$key] = array_merge(($advlist['intercat']['0'] ? $advlist['intercat']['0'] : array()), ($advlist['intercat'][$key] ? $advlist['intercat'][$key] : array()))) { ?>
echo $advitems[$advlist['intercat'][$key][array_rand($advlist['intercat'][$key])]]; ?>
} } } } if(CURSCRIPT == 'viewthread') { ?>
if(!$thread['special']) { if(is_array($postlist)) { foreach($postlist as $post) { ?> if($post['count'] > 0) { ?>
if(!empty($advlist['thread1'][$post['count']])) { ?>
=$advlist['thread1'][$post['count']]?>
} ?>
if(!empty($advlist['thread2'][$post['count']])) { ?>
=$advlist['thread2'][$post['count']]?>
} ?>
if(!empty($advlist['thread3'][$post['count']])) { ?>
=$advlist['thread3'][$post['count']]?>
} ?>
} else { ?>
=$advlist['thread1']['0']?>
=$advlist['thread2']['0']?>
=$advlist['thread3']['0']?>
} ?>
} } } ?>
if(!empty($advlist['interthread']) && $thread['replies']) { ?>=$advlist['interthread']?> } ?>
} ?>
if(!empty($insenz['hardadstatus'])) { ?> } ?>
if(CURSCRIPT == 'viewthread' && $insenz['topicrelatedad'] && !$thread['special']) { ?>
echo stripslashes($insenz['topicrelatedad']); } if(!empty($advlist['float']) || !empty($advlist['couplebanner'])) { ?>