1 | <?php $this->_tpl_include('ucp_header.html'); ?>
|
---|
2 |
|
---|
3 | <table class="tablebg" width="100%" cellspacing="1">
|
---|
4 | <tr>
|
---|
5 | <th colspan="4"><?php echo ((isset($this->_rootref['L_UCP'])) ? $this->_rootref['L_UCP'] : ((isset($user->lang['UCP'])) ? $user->lang['UCP'] : '{ UCP }')); ?></th>
|
---|
6 | </tr>
|
---|
7 | <tr>
|
---|
8 | <td class="row1" colspan="4" align="center"><span class="genmed"><?php echo ((isset($this->_rootref['L_WATCHED_EXPLAIN'])) ? $this->_rootref['L_WATCHED_EXPLAIN'] : ((isset($user->lang['WATCHED_EXPLAIN'])) ? $user->lang['WATCHED_EXPLAIN'] : '{ WATCHED_EXPLAIN }')); ?></span></td>
|
---|
9 | </tr>
|
---|
10 | <?php if ($this->_rootref['S_FORUM_NOTIFY']) { ?>
|
---|
11 | <tr>
|
---|
12 | <th colspan="4"><?php echo ((isset($this->_rootref['L_WATCHED_FORUMS'])) ? $this->_rootref['L_WATCHED_FORUMS'] : ((isset($user->lang['WATCHED_FORUMS'])) ? $user->lang['WATCHED_FORUMS'] : '{ WATCHED_FORUMS }')); ?></th>
|
---|
13 | </tr>
|
---|
14 |
|
---|
15 | <?php $_forumrow_count = (isset($this->_tpldata['forumrow'])) ? sizeof($this->_tpldata['forumrow']) : 0;if ($_forumrow_count) {for ($_forumrow_i = 0; $_forumrow_i < $_forumrow_count; ++$_forumrow_i){$_forumrow_val = &$this->_tpldata['forumrow'][$_forumrow_i]; if (!($_forumrow_val['S_ROW_COUNT'] & 1) ) { ?><tr class="row1"><?php } else { ?><tr class="row2"><?php } ?>
|
---|
16 | <td style="padding: 4px;" width="20" align="center" valign="middle"><?php echo $_forumrow_val['FORUM_FOLDER_IMG']; ?></td>
|
---|
17 | <td style="padding: 4px;" width="100%"><p class="topictitle"><a href="<?php echo $_forumrow_val['U_VIEWFORUM']; ?>"><?php echo $_forumrow_val['FORUM_NAME']; ?></a></p></td>
|
---|
18 | <td class="gensmall" style="padding: 4px;" align="center" valign="middle" nowrap="nowrap"><?php if ($_forumrow_val['LAST_POST_TIME']) { echo $_forumrow_val['LAST_POST_TIME']; ?><br /><?php echo $_forumrow_val['LAST_POST_AUTHOR_FULL']; ?> <a href="<?php echo $_forumrow_val['U_LAST_POST']; ?>"><?php echo (isset($this->_rootref['LAST_POST_IMG'])) ? $this->_rootref['LAST_POST_IMG'] : ''; ?></a><?php } else { echo ((isset($this->_rootref['L_NO_POSTS'])) ? $this->_rootref['L_NO_POSTS'] : ((isset($user->lang['NO_POSTS'])) ? $user->lang['NO_POSTS'] : '{ NO_POSTS }')); } ?></td>
|
---|
19 | <td style="padding: 4px;"> <input type="checkbox" class="radio" name="f[<?php echo $_forumrow_val['FORUM_ID']; ?>]" /> </td>
|
---|
20 | </tr>
|
---|
21 | <?php }} else { ?>
|
---|
22 | <tr class="row1">
|
---|
23 | <td colspan="4" align="center"><b class="genmed"><?php echo ((isset($this->_rootref['L_NO_WATCHED_FORUMS'])) ? $this->_rootref['L_NO_WATCHED_FORUMS'] : ((isset($user->lang['NO_WATCHED_FORUMS'])) ? $user->lang['NO_WATCHED_FORUMS'] : '{ NO_WATCHED_FORUMS }')); ?></b></td>
|
---|
24 | </tr>
|
---|
25 | <?php } } if ($this->_rootref['S_TOPIC_NOTIFY']) { ?>
|
---|
26 | <tr>
|
---|
27 | <th colspan="4"><?php echo ((isset($this->_rootref['L_WATCHED_TOPICS'])) ? $this->_rootref['L_WATCHED_TOPICS'] : ((isset($user->lang['WATCHED_TOPICS'])) ? $user->lang['WATCHED_TOPICS'] : '{ WATCHED_TOPICS }')); ?></th>
|
---|
28 | </tr>
|
---|
29 |
|
---|
30 | <?php if ($this->_rootref['TOTAL_TOPICS']) { ?>
|
---|
31 | <tr>
|
---|
32 | <td class="row3" colspan="4">
|
---|
33 | <table width="100%" cellspacing="1">
|
---|
34 | <tr>
|
---|
35 | <td class="nav" valign="middle" nowrap="nowrap"> <?php echo (isset($this->_rootref['PAGE_NUMBER'])) ? $this->_rootref['PAGE_NUMBER'] : ''; ?><br /></td>
|
---|
36 | <td class="gensmall" nowrap="nowrap"> [ <?php echo (isset($this->_rootref['TOTAL_TOPICS'])) ? $this->_rootref['TOTAL_TOPICS'] : ''; ?> ] </td>
|
---|
37 | <td class="gensmall" width="100%" align="<?php echo (isset($this->_rootref['S_CONTENT_FLOW_END'])) ? $this->_rootref['S_CONTENT_FLOW_END'] : ''; ?>" nowrap="nowrap"><?php $this->_tpl_include('pagination.html'); ?></td>
|
---|
38 | </tr>
|
---|
39 | </table>
|
---|
40 | </td>
|
---|
41 | </tr>
|
---|
42 | <?php } $_topicrow_count = (isset($this->_tpldata['topicrow'])) ? sizeof($this->_tpldata['topicrow']) : 0;if ($_topicrow_count) {for ($_topicrow_i = 0; $_topicrow_i < $_topicrow_count; ++$_topicrow_i){$_topicrow_val = &$this->_tpldata['topicrow'][$_topicrow_i]; if (!($_topicrow_val['S_ROW_COUNT'] & 1) ) { ?><tr class="row1"><?php } else { ?><tr class="row2"><?php } ?>
|
---|
43 | <td style="padding: 4px;" width="20" align="center" valign="middle"><?php echo $_topicrow_val['TOPIC_FOLDER_IMG']; ?></td>
|
---|
44 | <td style="padding: 4px;" width="100%" valign="top">
|
---|
45 | <p class="topictitle"><?php if ($_topicrow_val['S_UNREAD_TOPIC']) { ?><a href="<?php echo $_topicrow_val['U_NEWEST_POST']; ?>"><?php echo (isset($this->_rootref['NEWEST_POST_IMG'])) ? $this->_rootref['NEWEST_POST_IMG'] : ''; ?></a> <?php } echo $_topicrow_val['ATTACH_ICON_IMG']; ?> <a href="<?php echo $_topicrow_val['U_VIEW_TOPIC']; ?>"><?php echo $_topicrow_val['TOPIC_TITLE']; ?></a></p>
|
---|
46 | <?php if ($_topicrow_val['S_GLOBAL_TOPIC']) { ?><span class="gensmall"><?php echo ((isset($this->_rootref['L_GLOBAL_ANNOUNCEMENT'])) ? $this->_rootref['L_GLOBAL_ANNOUNCEMENT'] : ((isset($user->lang['GLOBAL_ANNOUNCEMENT'])) ? $user->lang['GLOBAL_ANNOUNCEMENT'] : '{ GLOBAL_ANNOUNCEMENT }')); ?></span><?php } else { ?><span class="gensmall"><b><?php echo ((isset($this->_rootref['L_FORUM'])) ? $this->_rootref['L_FORUM'] : ((isset($user->lang['FORUM'])) ? $user->lang['FORUM'] : '{ FORUM }')); ?>: </b><a href="<?php echo $_topicrow_val['U_VIEW_FORUM']; ?>"><?php echo $_topicrow_val['FORUM_NAME']; ?></a></span><?php } if ($_topicrow_val['PAGINATION']) { ?>
|
---|
47 | <p class="gensmall"> [ <?php echo (isset($this->_rootref['GOTO_PAGE_IMG'])) ? $this->_rootref['GOTO_PAGE_IMG'] : ''; echo ((isset($this->_rootref['L_GOTO_PAGE'])) ? $this->_rootref['L_GOTO_PAGE'] : ((isset($user->lang['GOTO_PAGE'])) ? $user->lang['GOTO_PAGE'] : '{ GOTO_PAGE }')); ?>: <?php echo $_topicrow_val['PAGINATION']; ?> ] </p>
|
---|
48 | <?php } ?>
|
---|
49 | </td>
|
---|
50 | <td style="padding: 4px;" align="<?php echo (isset($this->_rootref['S_CONTENT_FLOW_BEGIN'])) ? $this->_rootref['S_CONTENT_FLOW_BEGIN'] : ''; ?>" valign="top" nowrap="nowrap">
|
---|
51 | <p class="topicdetails"><?php echo $_topicrow_val['LAST_POST_TIME']; ?></p>
|
---|
52 | <p class="topicdetails"><?php echo $_topicrow_val['LAST_POST_AUTHOR_FULL']; ?>
|
---|
53 | <a href="<?php echo $_topicrow_val['U_LAST_POST']; ?>"><?php echo (isset($this->_rootref['LAST_POST_IMG'])) ? $this->_rootref['LAST_POST_IMG'] : ''; ?></a>
|
---|
54 | </p>
|
---|
55 | </td>
|
---|
56 | <td style="padding: 4px;"> <input type="checkbox" class="radio" name="t[<?php echo $_topicrow_val['TOPIC_ID']; ?>]" /> </td>
|
---|
57 | </tr>
|
---|
58 | <?php }} else { ?>
|
---|
59 | <tr class="row1">
|
---|
60 | <td colspan="4" align="center"><b class="genmed"><?php echo ((isset($this->_rootref['L_NO_WATCHED_TOPICS'])) ? $this->_rootref['L_NO_WATCHED_TOPICS'] : ((isset($user->lang['NO_WATCHED_TOPICS'])) ? $user->lang['NO_WATCHED_TOPICS'] : '{ NO_WATCHED_TOPICS }')); ?></b></td>
|
---|
61 | </tr>
|
---|
62 | <?php } } if (sizeof($this->_tpldata['topicrow']) || sizeof($this->_tpldata['forumrow'])) { ?>
|
---|
63 | <tr>
|
---|
64 | <td class="cat" colspan="4" align="<?php echo (isset($this->_rootref['S_CONTENT_FLOW_END'])) ? $this->_rootref['S_CONTENT_FLOW_END'] : ''; ?>"><input class="btnlite" type="submit" name="unwatch" value="<?php echo ((isset($this->_rootref['L_UNWATCH_MARKED'])) ? $this->_rootref['L_UNWATCH_MARKED'] : ((isset($user->lang['UNWATCH_MARKED'])) ? $user->lang['UNWATCH_MARKED'] : '{ UNWATCH_MARKED }')); ?>" /> </td>
|
---|
65 | </tr>
|
---|
66 | <?php } ?>
|
---|
67 | </table>
|
---|
68 | <?php if (sizeof($this->_tpldata['topicrow']) || sizeof($this->_tpldata['forumrow'])) { ?>
|
---|
69 | <div class="gensmall" style="float: <?php echo (isset($this->_rootref['S_CONTENT_FLOW_END'])) ? $this->_rootref['S_CONTENT_FLOW_END'] : ''; ?>; padding-top: 2px;"><b><a href="#" onclick="marklist('ucp', 't', true); return false;"><?php echo ((isset($this->_rootref['L_MARK_ALL'])) ? $this->_rootref['L_MARK_ALL'] : ((isset($user->lang['MARK_ALL'])) ? $user->lang['MARK_ALL'] : '{ MARK_ALL }')); ?></a> :: <a href="#" onclick="marklist('ucp', 't', false); return false;"><?php echo ((isset($this->_rootref['L_UNMARK_ALL'])) ? $this->_rootref['L_UNMARK_ALL'] : ((isset($user->lang['UNMARK_ALL'])) ? $user->lang['UNMARK_ALL'] : '{ UNMARK_ALL }')); ?></a></b></div>
|
---|
70 | <?php } $this->_tpl_include('ucp_footer.html'); ?>
|
---|