Forum cleanup
92
forum.php
@ -41,7 +41,7 @@ if (isset($_GET['topic']) && is_numeric($_GET['topic']) && $_GET['topic'] == 228
|
|||||||
<!DOCTYPE HTML>
|
<!DOCTYPE HTML>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>Форум Бойцовского клуба</title>
|
<title>Форум</title>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<link rel="stylesheet" href="css/forum.css"/>
|
<link rel="stylesheet" href="css/forum.css"/>
|
||||||
<link rel="stylesheet" href="css/wysibb/theme/default/wbbtheme.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>
|
<script type='text/javascript' src='js/contact.js'></script>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
<h1>Форум</h1>
|
||||||
|
<a href="/">← на главную</a>
|
||||||
|
|
||||||
<table width="100%" border="0" cellpadding="0" cellspacing="0">
|
<table width="100%" border="0" bgcolor="#3D3D3B">
|
||||||
<tr valign=top>
|
|
||||||
<td align="center">
|
|
||||||
<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>
|
|
||||||
|
|
||||||
<tr valign="top">
|
<tr valign="top">
|
||||||
<td width="29" rowspan="2">
|
<td width="200">
|
||||||
<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">
|
|
||||||
<br/>
|
<br/>
|
||||||
<?php
|
<?php
|
||||||
if (!$user['id']) {
|
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 />";
|
echo "Игрок : " . nick::id($user['id'])->full(1) . "<br />";
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
<br/>
|
<p><b><span style="color: #8f0000;">Конференции</span></b></p>
|
||||||
<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>
|
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
if (isset($_POST['selectt'], $_POST['numt']) && $_POST['selectt'] != '' && $_POST['numt'] != '') {
|
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();
|
$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']);
|
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>
|
||||||
<td rowspan="2" style="padding-left: 10px;">
|
<td rowspan="2" style="padding-left: 10px;">
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
function parse_bb_code($text)
|
function parse_bb_code($text)
|
||||||
{
|
{
|
||||||
$bbCodes = array(
|
$bbCodes = array(
|
||||||
@ -425,9 +374,9 @@ if (isset($_GET['topic']) && is_numeric($_GET['topic']) && $_GET['topic'] == 228
|
|||||||
if ($user['invis'] == 1) {
|
if ($user['invis'] == 1) {
|
||||||
$addText = "<br /><b>Невидимка</b>: " . $_GET['cpr'];
|
$addText = "<br /><b>Невидимка</b>: " . $_GET['cpr'];
|
||||||
} else {
|
} else {
|
||||||
$addText = nick::id($user['id'])->full(1). ": " . $_GET['cpr'];
|
$addText = nick::id($user['id'])->full(1) . ": " . $_GET['cpr'];
|
||||||
}
|
}
|
||||||
db::c()->query('UPDATE `forum` SET `text` = CONCAT(`text`,"?s") WHERE `id` = ?i',$addText,$_GET['com']);
|
db::c()->query('UPDATE `forum` SET `text` = CONCAT(`text`,"?s") WHERE `id` = ?i', $addText, $_GET['com']);
|
||||||
echo "<script>window.location='?topic=" . $_GET['topic'] . "&rnd'</script>";
|
echo "<script>window.location='?topic=" . $_GET['topic'] . "&rnd'</script>";
|
||||||
exit();
|
exit();
|
||||||
}
|
}
|
||||||
@ -839,31 +788,6 @@ if (isset($_GET['topic']) && is_numeric($_GET['topic']) && $_GET['topic'] == 228
|
|||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
<!-- End of text -->
|
<!-- 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"> </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"> </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>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
|
Before Width: | Height: | Size: 6.8 KiB |
Before Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 2.1 KiB |
Before Width: | Height: | Size: 340 B |
Before Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 352 B |
Before Width: | Height: | Size: 954 B |