Forum cleanup

This commit is contained in:
Igor Barkov [iwork] 2018-10-31 20:34:20 +02:00
parent 31d559aae5
commit 845a59b230
9 changed files with 8 additions and 84 deletions

View File

@ -41,7 +41,7 @@ if (isset($_GET['topic']) && is_numeric($_GET['topic']) && $_GET['topic'] == 228
<!DOCTYPE HTML>
<html>
<head>
<title>Форум Бойцовского клуба</title>
<title>Форум</title>
<meta charset="utf-8">
<link rel="stylesheet" href="css/forum.css"/>
<link rel="stylesheet" href="css/wysibb/theme/default/wbbtheme.css"/>
@ -53,35 +53,12 @@ if (isset($_GET['topic']) && is_numeric($_GET['topic']) && $_GET['topic'] == 228
<script type='text/javascript' src='js/contact.js'></script>
</head>
<body>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr valign=top>
<td align="center">
<h1>Форум</h1>
<a href="/"> на главную</a>
</td>
</tr>
</table>
<table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#3D3D3B">
<tr valign=top>
<td align=center>
<script type="text/javascript">
var $wsize = document.body.clientWidth;
if ($wsize >= 800) $wsize = Math.floor($wsize * 0.8);
document.write('<table cellspacing="0" cellpadding="0" bgcolor="#f2e5b1" border="0" width="' + ($wsize - 20) + '">');
$(function () {
$("a.cite").show();
return false;
});
</script>
</td>
</tr>
<table width="100%" border="0" bgcolor="#3D3D3B">
<tr valign="top">
<td width="29" rowspan="2">
<p><img src="i/register/fr_08.jpg" width="29" height="256" alt=""/></p>
</td>
<td style="background: url('i/register/fr_04.jpg') left top no-repeat;" width="200">
<td width="200">
<br/>
<?php
if (!$user['id']) {
@ -90,22 +67,8 @@ if (isset($_GET['topic']) && is_numeric($_GET['topic']) && $_GET['topic'] == 228
echo "Игрок : " . nick::id($user['id'])->full(1) . "<br />";
}
?>
<br/>
<b><span style="color: #8f0000;font-family: arial,serif;font-size: 10pt;">Конференции</span></b>
<br/>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td align="left" scope="col">
<img src="i/register/ram12_33.gif" width="12" height="11" alt=""/>
</td>
<td scope="col"></td>
<td width="18" align="right" scope="col">
<img src="i/register/ram12_35.gif" width="13" height="11" alt=""/>
</td>
</tr>
</table>
<p><b><span style="color: #8f0000;">Конференции</span></b></p>
<?php
if (isset($_POST['selectt'], $_POST['numt']) && $_POST['selectt'] != '' && $_POST['numt'] != '') {
$AlignTop = db::c()->query('SELECT `min_align`, `max_align` FROM `forum` WHERE `id` = ?i', $_POST['selectt'])->fetch_assoc();
db::c()->query('UPDATE `forum` SET `parent` = ?i, `min_align` = "?s", `max_align` = "?s" WHERE `id` = ?i', $_POST['selectt'], $AlignTop['min_align'], $AlignTop['max_align'], $_POST['numt']);
@ -141,23 +104,9 @@ if (isset($_GET['topic']) && is_numeric($_GET['topic']) && $_GET['topic'] == 228
}
}
?>
<br/>
<table width="100%" border="0" cellpadding="0" cellspacing="0" background="i/register/ram12_34.gif">
<tr>
<td align="left" scope="col">
<img src="i/register/ram12_33.gif" width="12" height="11"/>
</td>
<td scope="col"></td>
<td width="18" align="right" scope="col">
<img src="i/register/ram12_35.gif" width="13" height="11"/>
</td>
</tr>
</table>
<br/>
</td>
<td rowspan="2" style="padding-left: 10px;">
<?php
function parse_bb_code($text)
{
$bbCodes = array(
@ -839,31 +788,6 @@ if (isset($_GET['topic']) && is_numeric($_GET['topic']) && $_GET['topic'] == 228
}
?>
<!-- End of text -->
<td style='padding-left: 3px' align="right"><img src="i/register/forumru_03.jpg" width="139" height="144"
border="0"></td>
<td valign="top" background="i/register/nnn21_03_1.jpg">&nbsp;&nbsp;&nbsp;&nbsp;</td>
</tr>
<tr valign="top">
<td></td>
<td align="right" valign="center" style="padding-bottom:50px"><img src="i/register/fr_15.jpg" width="128"
height="236" border="0"></td>
<td width="23" valign="top" background="i/register/nnn21_03_1.jpg">&nbsp;</td>
</tr>
</table>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td colspan=3 width="100%" height=13 background="i/register/sitebk_07.jpg"></td>
</tr>
<tr valign=top>
<td width="20%">
<div align="center"></div>
</td>
<td align=center valign=middle>
<div align="center">
<span class="style6" style="padding-bottom: 15px; font-size: 12px;">(c) Ещё один клон БК... </span><br/>
</div>
</td>
<td width="20%"></td>
</tr>
</table>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 340 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 352 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 954 B