Fehlermeldung Moderationsprotokoll
Verfasst: 21.12.2010 16:52
Einer meiner Moderatoren hat soeben folgenden Fehler gefunden, wenn man im Moderationsbereich auf Moderationsprotokoll klickt kommt folgende Fehlermeldung :
Kann mir jemand erklären wo hier der Fehler ist ?
im Quelltext steht das dies hier :Parse error: syntax error, unexpected T_ELSE in /var/www/globale-evolution.de/Forum/cache/tpl_skymiles_mcp_logs.html.php on line 30
und hier die Datei /var/www/globale-evolution.de/Forum/cache/tpl_skymiles_mcp_logs.html.php<br />
<b>Parse error</b>: syntax error, unexpected T_ELSE in <b>/var/www/globale-evolution.de/Forum/cache/tpl_skymiles_mcp_logs.html.php</b> on line <b>30</b><br />
Code: Alles auswählen
<?php if (!defined('IN_PHPBB')) exit; $this->_tpl_include('mcp_header.html'); ?>
<form method="post" name="mcp" action="<?php echo (isset($this->_rootref['U_POST_ACTION'])) ? $this->_rootref['U_POST_ACTION'] : ''; ?>">
<table width="100%" cellpadding="3" cellspacing="1" border="0" class="tablebg">
<tr>
<th><?php echo ((isset($this->_rootref['L_USERNAME'])) ? $this->_rootref['L_USERNAME'] : ((isset($user->lang['USERNAME'])) ? $user->lang['USERNAME'] : '{ USERNAME }')); ?></th>
<th><?php echo ((isset($this->_rootref['L_IP'])) ? $this->_rootref['L_IP'] : ((isset($user->lang['IP'])) ? $user->lang['IP'] : '{ IP }')); ?></th>
<th><?php echo ((isset($this->_rootref['L_TIME'])) ? $this->_rootref['L_TIME'] : ((isset($user->lang['TIME'])) ? $user->lang['TIME'] : '{ TIME }')); ?></th>
<th><?php echo ((isset($this->_rootref['L_ACTION'])) ? $this->_rootref['L_ACTION'] : ((isset($user->lang['ACTION'])) ? $user->lang['ACTION'] : '{ ACTION }')); ?></th>
<?php if ($this->_rootref['S_CLEAR_ALLOWED']) { ?><th><?php echo ((isset($this->_rootref['L_MARK'])) ? $this->_rootref['L_MARK'] : ((isset($user->lang['MARK'])) ? $user->lang['MARK'] : '{ MARK }')); ?></th><?php } ?>
</tr>
<?php if ($this->_rootref['S_LOGS']) { $_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 } ?>
<td class="genmed"><?php echo $_log_val['USERNAME']; ?></td>
<td class="genmed" style="text-align: center;"><?php echo $_log_val['IP']; ?></td>
<tr align="center">
<td class="row3" colspan="<?php if ($this->_rootref['S_CLEAR_ALLOWED']) { ?>5<?php } else { ?>4<?php } ?>"><span class="gensmall"><?php echo ((isset($this->_rootref['L_SEARCH_KEYWORDS'])) ? $this->_rootref['L_SEARCH_KEYWORDS'] : ((isset($user->lang['SEARCH_KEYWORDS'])) ? $user->lang['SEARCH_KEYWORDS'] : '{ SEARCH_KEYWORDS }')); ?>:</span> <input type="text" name="keywords" value="<?php echo (isset($this->_rootref['S_KEYWORDS'])) ? $this->_rootref['S_KEYWORDS'] : ''; ?>" /> <input type="submit" class="button2" name="filter" value="<?php echo ((isset($this->_rootref['L_SEARCH'])) ? $this->_rootref['L_SEARCH'] : ((isset($user->lang['SEARCH'])) ? $user->lang['SEARCH'] : '{ SEARCH }')); ?>" /></td>
</tr>
<tr align="center">
<td class="row3" colspan="<?php if ($this->_rootref['S_CLEAR_ALLOWED']) { ?>5<?php } else { ?>4<?php } ?>"><span class="gensmall"><?php echo ((isset($this->_rootref['L_DISPLAY_LOG'])) ? $this->_rootref['L_DISPLAY_LOG'] : ((isset($user->lang['DISPLAY_LOG'])) ? $user->lang['DISPLAY_LOG'] : '{ DISPLAY_LOG }')); ?>:</span> <?php echo (isset($this->_rootref['S_SELECT_SORT_DAYS'])) ? $this->_rootref['S_SELECT_SORT_DAYS'] : ''; ?> <span class="gensmall"><?php echo ((isset($this->_rootref['L_SORT_BY'])) ? $this->_rootref['L_SORT_BY'] : ((isset($user->lang['SORT_BY'])) ? $user->lang['SORT_BY'] : '{ SORT_BY }')); ?></span> <?php echo (isset($this->_rootref['S_SELECT_SORT_KEY'])) ? $this->_rootref['S_SELECT_SORT_KEY'] : ''; ?> <?php echo (isset($this->_rootref['S_SELECT_SORT_DIR'])) ? $this->_rootref['S_SELECT_SORT_DIR'] : ''; ?> <input class="btnlite" type="submit" value="<?php echo ((isset($this->_rootref['L_GO'])) ? $this->_rootref['L_GO'] : ((isset($user->lang['GO'])) ? $user->lang['GO'] : '{ GO }')); ?>" name="sort" /></td>
</tr>
<?php if ($this->_rootref['S_CLEAR_ALLOWED']) { ?>
<tr>
<td class="cat" colspan="5" align="center"><input class="btnlite" type="submit" name="action[del_all]" 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 }')); ?>" /> <input class="btnlite" type="submit" name="action[del_marked]" 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 }')); ?>" /></td>
</tr>
<?php } } else { ?>
<?php } ?>
<tr>
<td class="row1" colspan="<?php if ($this->_rootref['S_CLEAR_ALLOWED']) { ?>5<?php } else { ?>4<?php } ?>" align="center"><span class="gen"><?php echo ((isset($this->_rootref['L_NO_ENTRIES'])) ? $this->_rootref['L_NO_ENTRIES'] : ((isset($user->lang['NO_ENTRIES'])) ? $user->lang['NO_ENTRIES'] : '{ NO_ENTRIES }')); ?></span></td>
</tr>
</table>
<?php echo (isset($this->_rootref['S_FORM_TOKEN'])) ? $this->_rootref['S_FORM_TOKEN'] : ''; ?>
</form>
<br clear="all" /><br />
<?php $this->_tpl_include('mcp_footer.html'); ?>