DiscuzX/upload/source/archiver/forum/forumdisplay.php

35 lines
1.4 KiB
PHP

<?php
if(!defined('IN_DISCUZ')) {
exit('Access Denied');
}
include loadarchiver('common/header');
?>
<div id="nav">
<a href="./"><?php echo $_G['setting']['navs'][2]['navname']; ?></a> &rsaquo; <?php echo $_G['forum']['name']; ?>
</div>
<div id="content">
<?php if(count($sublist)): ?>
<ul>
<?php foreach($sublist as $sub): ?>
<li><a href="?fid-<?php echo $sub['fid']; ?>.html"><?php echo dhtmlspecialchars($sub['name']); ?></a></li>
<?php endforeach; ?>
</ul>
<?php endif; ?>
<ul type="1" start="1">
<?php foreach($_G['forum_threadlist'] as $thread): ?>
<?php if($thread['isgroup'] == 0): ?>
<li><a href="?tid-<?php echo $thread['tid']; ?>.html"><?php echo $thread['subject']; ?></a> (<?php echo $thread['replies'] . lang('forum/archiver', 'replies'); ?>)
<?php endif; ?>
<?php endforeach; ?>
</ul>
<div class="page">
<?php echo arch_multi($_G['forum_threadcount'], $_G['tpp'], $page, "?fid-$_G[fid].html"); ?>
</div>
</div>
<div id="end">
<?php echo lang('forum/archiver', 'full_version'); ?>:
<a href="../<?php echo in_array('forum_forumdisplay', $_G['setting']['rewritestatus']) ? rewriteoutput('forum_forumdisplay', 1, '', $_G['fid'], $page) : 'forum.php?mod=forumdisplay&fid='.$_G['fid'].'&page='.$page; ?>" target="_blank"><strong><?php echo $_G['forum']['name']; ?></strong></a>
</div>
<?php include loadarchiver('common/footer'); ?>