06.04.2010, 21:00
спасибо. А вот еще вопрос. Заполнил файл блокс html. Но при обновлнеии, не выводиться блоки
<!-- Начало Блока-->
<table border="0" cellpadding="0" cellspacing="0" width="192">
<tr>
<td width="192" background="themes/$ThemeSel/images/layout_14.gif" height="39" colspan="3"><centr>$title</centr></td>
</tr>
<tr>
<td width="17" background="themes/$ThemeSel/images/layout_17.gif"> </td>
<td bgcolor="#f2f2f2" valign="top" width="161">
<table border="0" cellpadding="8" cellspacing="0" width="100%">
<tr>
<td width="100%">
$content
</td>
</tr>
</table>
</td>
<td background="themes/$ThemeSel/images/layout_19.gif" width="14"> </td>
</tr>
<tr>
<td colspan="3"><img src="themes/$ThemeSel/images/layout_26.gif" width="192" height="18"></td>
</tr>
</table>
Function themecenterbox()
if (!function_exists("themecenterbox")) {
function themecenterbox($title, $content, $blocktemplate="") {
echo "
<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\">
<tr>
<td width=\"100%\" bgcolor=\"#EEEEE4\"><p align=\"right\" class=menu>".$title." </td>
</tr>
<tr>
<td width=\"100%\"><img border=\"0\" src=\"themes/RusNuke2003/images/pixel.gif\" width=\"1\" height=\"1\" alt=\"\"></td>
</tr>
<tr>
<td width=\"100%\" bgcolor=\"#2D496E\"><img border=\"0\" src=\"themes/RusNuke2003/images/pixel.gif\" width=\"1\" height=\"3\" alt=\"\"></td>
</tr>
<tr>
<td width=\"100%\"><img border=\"0\" src=\"themes/RusNuke2003/images/pixel.gif\" width=\"1\" height=\"3\" alt=\"\"></td>
</tr>
<tr>
<td width=\"100%\" class=\"block\">".$content."</td>
</tr>
</table>
<br>
";
}
}
добавлять ее без изменений?
Fatal error: Call to undefined function get_author() in S:\home\helpmen\www\themes\themes_designer\theme.p hp on line 168
новая проблема.
зы. Блоки так и не появились(
|