$top_id = $DATA["id"]; $date_news = $DATA["date"]; $auth_name = $DATA["creator"]; $auth_clan = $DATA["clan"]; $auth_clan_s = $DATA["clan_s"]; $auth_orden = $DATA["orden"]; $auth_dealer = $DATA["dealer"]; $auth_admin_level = $DATA["admin_level"]; $auth_level = $DATA["level"]; $last_reply = $DATA["last_post"]; $pieces = explode("-", $last_reply); $locked = $DATA["locked"]; $author = "<script>drwfl('{$auth_name}', '1', '{$auth_level}', '{$auth_dealer}', '{$auth_orden}', '{$auth_admin_level}', '{$auth_clan_s}', '{$auth_clan}');</script>"; echo "<tr bgcolor=" . ($n ? '#e0eee0' : '#d0f5d0') . " onMouseOver='this.bgColor=\"#e6f3e6\";' onMouseOut='this.bgColor=\"" . ($n ? '#e0eee0' : '#d0f5d0') . "\";'>"; echo "<td valign=middle nowrap>"; echo ($locked == 1 ? "<img src='img/locked.gif' border=0 alt='Тема закрыта'>" : ($today == $pieces[0] ? "<img src='img/new.gif' border=0 alt='Новые сообщения'>" : "<img src='img/read.gif' border=0 alt='Нет новых сообщений'>")) . "</td><td> <a href='messages.php?fid={$fid}&tid={$top_id}&rnd=" . md5(time()) . "' style='text-decoration: none;'>" . $top_head . "</a></b></td>\n\t\t\t<td align=center valign=middle><nobr>" . $date_news . "</nobr></td>\n\t\t\t<td align=center valign=middle> " . BoardCountMsg($top_id) . " </td>\n\t\t\t<td valign=middle><nobr><b>" . $author . "</b></nobr></td>\n\t\t\t<td valign=middle><nobr><a>" . $last_reply . "</a></nobr></td>"; echo $USER_DATA["admin_level"] >= 4 ? "<td style='color: #990000' nowrap><img src='img/delete.gif' border=0 title='Удалить тему' onClick=\"document.location='?action=del&fid={$fid}&tid={$top_id}&page={$page}'\" style='cursor:hand'> <img src='img/move.gif' border=0 title='Переместить тему' onClick=\"move('Переместит тему', '?fid={$fid}&move={$top_id}', 'move');\" style='cursor:hand'>" . ($USER_DATA["admin_level"] >= 9 ? " <img src='img/quick_lock.gif' border=0 title='Закрыт доступ' onClick=\"document.location='?fid={$fid}&action=lock&tid={$top_id}'\" style='cursor:hand'> <img src='img/unlock.gif' border=0 title='Открыт доступ' onClick=\"document.location='?fid={$fid}&action=unlock&tid={$top_id}'\" style='cursor:hand'></td>" : "") . "</td>" : ""; echo "</tr>"; } echo "</table>"; } if (isset($_SESSION["login"]) && $USER_DATA['forum_shut'] < time() && $USER_DATA["level"] >= 4) { include_once "inc.php"; } else { if (!isset($_SESSION["login"])) { echo "<center><i>Вы не авторизованы</i></center>"; } else { if ($USER_DATA['forum_shut'] > time()) { echo "<center><small>Персонаж бедет молчать на форуме ещё " . convert_time($USER_DATA['forum_shut']) . " </small></center>"; } }
$date_news = $DATA["date"]; $auth_name = $DATA["creator"]; $auth_clan = $DATA["clan"]; $auth_clan_s = $DATA["clan_s"]; $auth_orden = $DATA["orden"]; $auth_dealer = $DATA["dealer"]; $auth_admin_level = $DATA["admin_level"]; $auth_level = $DATA["level"]; $last_reply = $DATA["last_post"]; $pieces = explode("-", $last_reply); $locked = $DATA["locked"]; $fid = $DATA["thr"]; $del_user = $DATA["del_user"]; $author = "<script>drwfl('{$auth_name}', '1', '{$auth_level}', '{$auth_dealer}', '{$auth_orden}', '{$auth_admin_level}', '{$auth_clan_s}', '{$auth_clan}');</script>"; echo "<tr title='Удален персонажем {$del_user}' bgcolor=" . ($n ? '#e0eee0' : '#d0f5d0') . " onMouseOver='this.bgColor=\"#e6f3e6\";' onMouseOut='this.bgColor=\"" . ($n ? '#e0eee0' : '#d0f5d0') . "\";'>"; echo "<td valign=middle nowrap width=20><img src='img/read.gif' border=0 alt='Нет новых сообщений'></td>\r\r\n\t<td width=100%><a href='messages.php?fid={$fid}&tid={$top_id}&rnd=" . md5(time()) . "' style='text-decoration: none;'>" . $top_head . "</a></b></td>\r\r\n\t<td align=center valign=middle><nobr>" . $date_news . "</nobr></td>\r\r\n\t<td align=center valign=middle> " . BoardCountMsg($top_id) . " </td>\r\r\n\t<td valign=middle><nobr><b>" . $author . "</b></nobr></td>\r\r\n\t<td valign=middle><nobr><a>" . $last_reply . "</a></nobr></td>\r\r\n\t<td style='color: #990000' nowrap>\r\r\n\t\t<img src='img/unlock.gif' border=0 title='Вернут тему' onClick=\"document.location='?undo_id={$top_id}&page={$page}'\" style='cursor:hand'>\r\r\n\t\t<img src='img/delete.gif' border=0 title='Удалить тему' onClick=\"document.location='?del_id={$top_id}&page={$page}'\" style='cursor:hand'>\r\r\n\t</td>\r\r\n\t</tr>"; } echo "<tr bgcolor=#ffffff></tr>"; echo "</table>"; ?> <table border=0 cellspacing=0 cellpadding=0 bgcolor=#d0eed0 width=100%> <tr><td bgcolor=#003300></td></tr> <tr><td width=30% align=right> <?php include "../counter.php"; ?> </td></tr> <tr><td bgcolor=#003300></td></tr> </table>