1 | <?php $this->_tpl_include('overall_header.html'); ?>
|
---|
2 |
|
---|
3 | <a name="maincontent"></a>
|
---|
4 |
|
---|
5 | <h1><?php echo ((isset($this->_rootref['L_TITLE'])) ? $this->_rootref['L_TITLE'] : ((isset($user->lang['TITLE'])) ? $user->lang['TITLE'] : '{ TITLE }')); ?></h1>
|
---|
6 |
|
---|
7 | <p><?php echo ((isset($this->_rootref['L_EXPLAIN'])) ? $this->_rootref['L_EXPLAIN'] : ((isset($user->lang['EXPLAIN'])) ? $user->lang['EXPLAIN'] : '{ EXPLAIN }')); ?></p>
|
---|
8 |
|
---|
9 | <form id="list" method="post" action="<?php echo (isset($this->_rootref['U_ACTION'])) ? $this->_rootref['U_ACTION'] : ''; ?>">
|
---|
10 |
|
---|
11 | <?php if ($this->_rootref['PAGINATION']) { ?>
|
---|
12 | <div class="pagination">
|
---|
13 | <a href="#" onclick="jumpto(); return false;" title="<?php echo ((isset($this->_rootref['L_JUMP_TO_PAGE'])) ? $this->_rootref['L_JUMP_TO_PAGE'] : ((isset($user->lang['JUMP_TO_PAGE'])) ? $user->lang['JUMP_TO_PAGE'] : '{ JUMP_TO_PAGE }')); ?>"><?php echo (isset($this->_rootref['S_ON_PAGE'])) ? $this->_rootref['S_ON_PAGE'] : ''; ?></a> • <span><?php echo (isset($this->_rootref['PAGINATION'])) ? $this->_rootref['PAGINATION'] : ''; ?></span>
|
---|
14 | </div>
|
---|
15 | <?php } if (sizeof($this->_tpldata['log'])) { ?>
|
---|
16 | <table cellspacing="1">
|
---|
17 | <thead>
|
---|
18 | <tr>
|
---|
19 | <th><?php echo ((isset($this->_rootref['L_USERNAME'])) ? $this->_rootref['L_USERNAME'] : ((isset($user->lang['USERNAME'])) ? $user->lang['USERNAME'] : '{ USERNAME }')); ?></th>
|
---|
20 | <th><?php echo ((isset($this->_rootref['L_IP'])) ? $this->_rootref['L_IP'] : ((isset($user->lang['IP'])) ? $user->lang['IP'] : '{ IP }')); ?></th>
|
---|
21 | <th><?php echo ((isset($this->_rootref['L_TIME'])) ? $this->_rootref['L_TIME'] : ((isset($user->lang['TIME'])) ? $user->lang['TIME'] : '{ TIME }')); ?></th>
|
---|
22 | <th><?php echo ((isset($this->_rootref['L_ACTION'])) ? $this->_rootref['L_ACTION'] : ((isset($user->lang['ACTION'])) ? $user->lang['ACTION'] : '{ ACTION }')); ?></th>
|
---|
23 | <th><?php echo ((isset($this->_rootref['L_MARK'])) ? $this->_rootref['L_MARK'] : ((isset($user->lang['MARK'])) ? $user->lang['MARK'] : '{ MARK }')); ?></th>
|
---|
24 | </tr>
|
---|
25 | </thead>
|
---|
26 | <tbody>
|
---|
27 | <?php $_log_count = (isset($this->_tpldata['log'])) ? sizeof($this->_tpldata['log']) : 0;if ($_log_count) {for ($_log_i = 0; $_log_i < $_log_count; ++$_log_i){$_log_val = &$this->_tpldata['log'][$_log_i]; if (!($_log_val['S_ROW_COUNT'] & 1) ) { ?><tr class="row1"><?php } else { ?><tr class="row2"><?php } ?>
|
---|
28 |
|
---|
29 | <td>
|
---|
30 | <?php echo $_log_val['USERNAME']; ?>
|
---|
31 | <?php if ($_log_val['REPORTEE_USERNAME']) { ?>
|
---|
32 | <br />» <?php echo $_log_val['REPORTEE_USERNAME']; ?>
|
---|
33 | <?php } ?>
|
---|
34 | </td>
|
---|
35 | <td style="text-align: center;"><?php echo $_log_val['IP']; ?></td>
|
---|
36 | <td style="text-align: center;"><?php echo $_log_val['DATE']; ?></td>
|
---|
37 | <td><?php echo $_log_val['ACTION']; if ($_log_val['DATA']) { ?><br /><span><?php echo $_log_val['DATA']; ?></span><?php } ?></td>
|
---|
38 | <td style="text-align: center;"><input type="checkbox" class="radio" name="mark[]" value="<?php echo $_log_val['ID']; ?>" /></td>
|
---|
39 | </tr>
|
---|
40 | <?php }} ?>
|
---|
41 | </tbody>
|
---|
42 | </table>
|
---|
43 |
|
---|
44 | <?php } else { ?>
|
---|
45 |
|
---|
46 | <div class="errorbox">
|
---|
47 | <p><?php echo ((isset($this->_rootref['L_NO_ENTRIES'])) ? $this->_rootref['L_NO_ENTRIES'] : ((isset($user->lang['NO_ENTRIES'])) ? $user->lang['NO_ENTRIES'] : '{ NO_ENTRIES }')); ?></p>
|
---|
48 | </div>
|
---|
49 |
|
---|
50 | <?php } ?>
|
---|
51 |
|
---|
52 |
|
---|
53 | <fieldset class="display-options">
|
---|
54 | <?php echo ((isset($this->_rootref['L_DISPLAY_LOG'])) ? $this->_rootref['L_DISPLAY_LOG'] : ((isset($user->lang['DISPLAY_LOG'])) ? $user->lang['DISPLAY_LOG'] : '{ DISPLAY_LOG }')); ?>: <?php echo (isset($this->_rootref['S_LIMIT_DAYS'])) ? $this->_rootref['S_LIMIT_DAYS'] : ''; ?> <?php echo ((isset($this->_rootref['L_SORT_BY'])) ? $this->_rootref['L_SORT_BY'] : ((isset($user->lang['SORT_BY'])) ? $user->lang['SORT_BY'] : '{ SORT_BY }')); ?>: <?php echo (isset($this->_rootref['S_SORT_KEY'])) ? $this->_rootref['S_SORT_KEY'] : ''; ?> <?php echo (isset($this->_rootref['S_SORT_DIR'])) ? $this->_rootref['S_SORT_DIR'] : ''; ?>
|
---|
55 | <input class="button2" type="submit" value="<?php echo ((isset($this->_rootref['L_GO'])) ? $this->_rootref['L_GO'] : ((isset($user->lang['GO'])) ? $user->lang['GO'] : '{ GO }')); ?>" name="sort" />
|
---|
56 | <?php echo (isset($this->_rootref['S_FORM_TOKEN'])) ? $this->_rootref['S_FORM_TOKEN'] : ''; ?>
|
---|
57 | </fieldset>
|
---|
58 | <hr />
|
---|
59 | <?php if ($this->_rootref['PAGINATION']) { ?>
|
---|
60 | <div class="pagination">
|
---|
61 | <a href="#" onclick="jumpto(); return false;" title="<?php echo ((isset($this->_rootref['L_JUMP_TO_PAGE'])) ? $this->_rootref['L_JUMP_TO_PAGE'] : ((isset($user->lang['JUMP_TO_PAGE'])) ? $user->lang['JUMP_TO_PAGE'] : '{ JUMP_TO_PAGE }')); ?>"><?php echo (isset($this->_rootref['S_ON_PAGE'])) ? $this->_rootref['S_ON_PAGE'] : ''; ?></a> • <span><?php echo (isset($this->_rootref['PAGINATION'])) ? $this->_rootref['PAGINATION'] : ''; ?></span>
|
---|
62 | </div>
|
---|
63 | <?php } if ($this->_rootref['S_SHOW_FORUMS']) { ?>
|
---|
64 | <fieldset class="quick">
|
---|
65 | <?php echo ((isset($this->_rootref['L_SELECT_FORUM'])) ? $this->_rootref['L_SELECT_FORUM'] : ((isset($user->lang['SELECT_FORUM'])) ? $user->lang['SELECT_FORUM'] : '{ SELECT_FORUM }')); ?>: <select name="f" onchange="if(this.options[this.selectedIndex].value != -1){ this.form.submit(); }"><?php echo (isset($this->_rootref['S_FORUM_BOX'])) ? $this->_rootref['S_FORUM_BOX'] : ''; ?></select>
|
---|
66 | <input class="button2" type="submit" value="<?php echo ((isset($this->_rootref['L_GO'])) ? $this->_rootref['L_GO'] : ((isset($user->lang['GO'])) ? $user->lang['GO'] : '{ GO }')); ?>" />
|
---|
67 | </fieldset>
|
---|
68 | <?php } if ($this->_rootref['S_CLEARLOGS']) { ?>
|
---|
69 | <fieldset class="quick">
|
---|
70 | <input class="button2" type="submit" name="delall" value="<?php echo ((isset($this->_rootref['L_DELETE_ALL'])) ? $this->_rootref['L_DELETE_ALL'] : ((isset($user->lang['DELETE_ALL'])) ? $user->lang['DELETE_ALL'] : '{ DELETE_ALL }')); ?>" />
|
---|
71 | <input class="button2" type="submit" name="delmarked" value="<?php echo ((isset($this->_rootref['L_DELETE_MARKED'])) ? $this->_rootref['L_DELETE_MARKED'] : ((isset($user->lang['DELETE_MARKED'])) ? $user->lang['DELETE_MARKED'] : '{ DELETE_MARKED }')); ?>" /><br />
|
---|
72 | <p class="small"><a href="#" onclick="marklist('list', 'mark', 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('list', 'mark', 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></p>
|
---|
73 | </fieldset>
|
---|
74 | <?php } ?>
|
---|
75 |
|
---|
76 |
|
---|
77 | </form>
|
---|
78 |
|
---|
79 | <?php $this->_tpl_include('overall_footer.html'); ?>
|
---|