Просто битнер...


Зарегистрирован: Aug 2002
Место проживания: Севастополь
Публикаций: 154
Статус:  |
Смотри как это делаеться....
шаг 1. создаешь файлик с названием rules.php (ну или еще что-то) с таким содержанием:
<?php
error_reporting(7);
require('./global.php');
eval("dooutput(\"".gettemplate('rules')."\");");
?>
шаг 2. Создаешь новый темплайт с названием rules и со следующим содержанием:
{htmldoctype}
<html>
<head>
<title>$bbtitle - Правила</title>
$headinclude
</head>
<body>
$header
<table cellpadding="{tableouterborderwidth}" cellspacing="0" border="0" bgcolor="{tablebordercolor}" {tableouterextra} width="{contenttablewidth}" align="center"><tr><td>
<table cellpadding="4" cellspacing="{tableinnerborderwidth}" border="0" {tableinnerextra} width="100%">
<tr>
<td bgcolor="{tableheadbgcolor}" align="center"><normalfont color="{tableheadtextcolor}" class="thtcolor"><b>$bbtitle - Правила</b></normalfont></td>
</tr>
<tr>
<td bgcolor="{firstaltcolor}">
------ТУТ ПИШЕШЬ СВОИ ПÐ_АВИЛА-------
</td>
</tr>
</table>
</td></tr></table>
$footer
</body>
</html>
Вот и все... вставляешь ссылку на rules.php (или как ты его назвал) куда тебе вздумаеться и наслаждаешься правилами!
__________________
-----
http://webta.net
Сообщить модератору об этом сообщении | Предупреждение | IP: определен
|