|
25.10.2005, 17:17
Проблема в том что там все блоки отображаются с права а мне надо чтобы и справа и с лева... как не парился не смог ничего сделать или криво выходит всё... или вообще ничего не показывает, помогите пожалусто. Я этот
blocks(left); куда токо не ставил... вот код
PHP код:
/************************************************** **********/ /* Function themeheader() */ /************************************************** **********/ function themeheader() { global $banners, $user, $cookie, $prefix, $dbi, $index, $db, $user_prefix, $sitekey, $module_name; cookiedecode($user); $username = $cookie[1]; if ($username == "") { $username = "Anonymous"; } echo "<SCRIPT language=Javascript src=\"themes/RusNuke2003-2/scripts.js\" type=text/javascript></SCRIPT>"; echo "<body topmargin=\"0\" leftmargin=\"0\">"; ?> <table border="0" cellpadding="0" cellspacing="0" width="100%" bgcolor="#55637f" height="60"> <tr> <td width="70%"><a href="http://rus-phpnuke.com" title="PHP-Nuke по-русски"><img border="0" src="themes/RusNuke2003-2/images/logo.gif" width="175" height="50"></a></td> <td><a href="index.php" title="На главную" onmouseover="SetImg('PIC1','I1_1')" onmouseout="SetImg('PIC1','I1')"><img border="0" src="themes/RusNuke2003-2/images/menu-home.gif" width="43" height="48" name="PIC1"></a></td> <td><img border="0" src="themes/RusNuke2003-2/images/separatorm.gif" width="8" height="48"></td> <td><a href="modules.php?name=Forums" title="Форумы поддержки" onmouseover="SetImg('PIC3','I3_1')" onmouseout="SetImg('PIC3','I3')"><img border="0" src="themes/RusNuke2003-2/images/menu-forum.gif" width="43" height="48" name="PIC3"></a></td> <td><img border="0" src="themes/RusNuke2003-2/images/separatorm.gif" width="8" height="48"></td> <td><a href="modules.php?name=FAQ" title="Вопросы и ответы" onmouseover="SetImg('PIC6','I6_1')" onmouseout="SetImg('PIC6','I6')"><img border="0" src="themes/RusNuke2003-2/images/menu-faq.gif" width="43" height="48" name="PIC6"></a></td> <td><img border="0" src="themes/RusNuke2003-2/images/separatorm.gif" width="8" height="48"></td> <td><a href="modules.php?name=Topics" title="Тематические разделы" onmouseover="SetImg('PIC7','I7_1')" onmouseout="SetImg('PIC7','I7')"><img border="0" src="themes/RusNuke2003-2/images/menu-topic.gif" width="43" height="48" name="PIC7"></a></td> <td><img border="0" src="themes/RusNuke2003-2/images/separatorm.gif" width="8" height="48"></td> <td><a href="modules.php?name=Web_Links" title="Каталог ссылок" onmouseover="SetImg('PIC8','I8_1')" onmouseout="SetImg('PIC8','I8')"><img border="0" src="themes/RusNuke2003-2/images/menu-links.gif" width="43" height="48" name="PIC8"></a></td> <td><img border="0" src="themes/RusNuke2003-2/images/separatorm.gif" width="8" height="48"></td> <td><a href="modules.php?name=Downloads" title="Каталог программ" onmouseover="SetImg('PIC9','I9_1')" onmouseout="SetImg('PIC9','I9')"><img border="0" src="themes/RusNuke2003-2/images/menu-files.gif" width="43" height="48" name="PIC9"></a></td> </tr> </table> <table border="0" cellpadding="0" cellspacing="0" width="100%" bgcolor="#55637F" background="themes/RusNuke2003-2/images/lt02.gif"> <tr> <td><img border="0" src="themes/RusNuke2003-2/images/lt02.gif"></td> <td width="30%"> <? if ($username == "Anonymous") { echo "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\">\n" ."<tr><td width=\"100%\">\n" ."<img border=\"0\" src=\"themes/RusNuke2003-2/images/lb.gif\" width=\"17\" height=\"8\"><font class=\"links\">Здравствуйте Гость !</font>\n" ."<br><img border=\"0\" src=\"themes/RusNuke2003-2/images/lb.gif\" width=\"17\" height=\"8\"><A class=\"links\" HREF=\"modules.php?name=Your_Account&op=new_user\" CLASS=A_black>Регистрация</A>\n" ."<br><img border=\"0\" src=\"themes/RusNuke2003-2/images/lb.gif\" width=\"17\" height=\"8\"><A class=\"links\" HREF=\"modules.php?name=Your_Account\" CLASS=A_black>Авторизоваться</A>\n" ."<br><img border=\"0\" src=\"themes/RusNuke2003-2/images/lb.gif\" width=\"17\" height=\"8\"><A class=\"links\" HREF=\"modules.php?name=Your_Account&op=pass_lost\" CLASS=A_black>Забыли пароль?</A>\n" ."</td></tr></table>\n"; } else { echo "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\">\n" ."<tr><td width=\"100%\">\n" ."<img border=\"0\" src=\"themes/RusNuke2003-2/images/lb.gif\" width=\"17\" height=\"8\"><font class=\"links\">Здравствуйте $username !</font>\n" ."<br><img border=\"0\" src=\"themes/RusNuke2003-2/images/lb.gif\" width=\"17\" height=\"8\"><A class=\"links\" HREF=\"modules.php?name=Your_Account\" CLASS=A_black>Ваш аккаунт</A>\n" ."<br><img border=\"0\" src=\"themes/RusNuke2003-2/images/lb.gif\" width=\"17\" height=\"8\"><A class=\"links\" HREF=\"modules.php?name=Private_Messages\" CLASS=A_black>Приватные сообщения</A>\n"; if (is_active("Private_Messages")) { $sql = "SELECT user_id FROM ".$user_prefix."_users WHERE username='$username'"; $result = $db->sql_query($sql); $row = $db->sql_fetchrow($result); $uid = $row[user_id]; $numrow = $db->sql_numrows($db->sql_query("SELECT privmsgs_to_userid FROM ".$prefix."_bbprivmsgs WHERE privmsgs_to_userid='$uid' AND (privmsgs_type='1' OR privmsgs_type='5' OR privmsgs_type='0')")); $newpm = $db->sql_numrows($db->sql_query("SELECT * FROM ".$prefix."_bbprivmsgs WHERE privmsgs_to_userid='$uid' AND (privmsgs_type='5' OR privmsgs_type='1')")); if ($newpm > 0) { echo "<img border=\"0\" src=\"images/pm.gif\" align=\"absmiddle\" width=\"16\" height=\"15\"><font class=\"links\">( $newpm )</font>"; } else { echo "<font class=\"links\">( $newpm )</font>"; } } echo "<br><img border=\"0\" src=\"themes/RusNuke2003-2/images/lb.gif\" width=\"17\" height=\"8\"><A class=\"links\" HREF=\"modules.php?name=Your_Account&op=logout\" CLASS=A_black>Выход</A>\n" ."</td></tr></table>\n"; } ?> </td> <td><img border="0" src="themes/RusNuke2003-2/images/separatoric.gif"></td> <td width="70%" align="center"> <? if ($banners) { include("banners.php"); } else { ?> <script src="http://sweb.ru/cgi-bin/groupref.cgi?id=3&pin=681"></script> <? } ?> </td> </tr> </table> <? $public_msg = public_message(); echo "<center>$public_msg</center>"; ?> <table border="0" cellpadding="0" cellspacing="0" width="100%"> <tr> <td width="100%"><img border="0" src="themes/RusNuke2003-2/images/pixel.gif" width="1" height="10"></td> </tr> </table> <table border="0" cellpadding="0" cellspacing="0" width="100%"> <tr> <td><img border="0" src="themes/RusNuke2003-2/images/pixel.gif" width="5" height="1"></td> <td width="100%" valign="top"> <? } /************************************************** **********/ /* Function themefooter() */ /************************************************** **********/
Последний раз редактировалось Soniks, 26.10.2005 в 02:07.
|
|