Показать сообщение отдельно
isic вне форума      Старый #8  
isic
Участник
Регистрация: 01.02.2007
Сообщения: 76


Пожаловаться на это сообщениеОтветить с цитированием

Посмотреть профиль Отправить персональное сообщение для isic Найти все сообщения от isic Добавить isic в список друзей  
09.03.2007, 13:58

Подскажите пожалуйста что делать но у меня не получаеться сделать так что бы правые блоки на форуме не отоброжались
Цитата ************************************************** *********/
/* Function themeheader() */
/* */
/* Control the header for your site. You need to define the */
/* BODY tag and in some part of the code call the blocks */
/* function for left side with: blocks(left); */
/************************************************** **********/

function themeheader() {
global $dbi, $startdate, $user_prefix, $prefix, $thewidth, $thename, $bgcolor5, $user, $banners, $sitename, $slogan, $cookie;
cookiedecode($user);
$username = $cookie[1];
if ($username == "") {
$username = $anonymous;
}
echo "<body topmargin=\"2\" leftmargin=\"0\" marginwidth=\"0\" marginheight=\"0\" bgcolor=\"#FFFFFF\" text=\"#000000\" link=\"#000000\" vlink=\"#000000\" alink=\"#000000\">\n";
if ($banners) {
include("banners.php");
}
echo "<center>\n"
."<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"$thewidth\">\n"
." <tr>\n"
." <td width=\"4\"><img border=\"0\" src=\"themes/$thename/images/toplefti.gif\" width=\"4\" height=\"4\"></td>\n"
." <td background=\"themes/$thename/images/topi.gif\"><img border=\"0\" src=\"themes/$thename/images/topi.gif\" width=\"152\" height=\"4\"></td>\n"
." <td width=\"4\"><img border=\"0\" src=\"themes/$thename/images/toprighti.gif\" width=\"4\" height=\"4\"></td>\n"
."</tr>\n<tr>\n"
." <td background=\"themes/$thename/images/midlefti.gif\" width=\"4\"><img border=\"0\" src=\"themes/$thename/images/midlefti.gif\" width=\"4\" height=\"30\"></td>\n"
." <td width=\"100%\" class=\"blockitem\" align=\"center\" ><a href=\"http://www.gadjiev.com\"> <img border=\"0\" src=\"themes/$thename/images/logo.jpg\"></td></a>\n"
." <td background=\"themes/$thename/images/midrighti.gif\" width=\"4\"><img border=\"0\" src=\"themes/$thename/images/midrighti.gif\" width=\"4\" height=\"30\"></td>\n"
."</tr>\n<tr>\n"
." <td width=\"4\"><img border=\"0\" src=\"themes/$thename/images/botlefti.gif\" width=\"4\" height=\"4\"></td>\n"
." <td background=\"themes/$thename/images/boti.gif\"><img border=\"0\" src=\"themes/$thename/images/boti.gif\" width=\"152\" height=\"4\"></td>\n"
." <td width=\"4\"><img border=\"0\" src=\"themes/$thename/images/botrighti.gif\" width=\"4\" height=\"4\"></td>\n"
."</tr>\n"
."</table>\n</center>\n"
."<table width=\"$thewidth\" cellpadding=\"0\" cellspacing=\"0\" border=\"0\" bgcolor=\"$bgcolor5\" align=\"center\"><tr valign=top>\n"
."<td bgcolor=\"$bgcolor5\"><img src=\"themes/$thename/images/pixel.gif\" width=\"1\" height=\"10\" border=\"0\"></td></tr></table>\n"
."<center>\n<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"$thewidth\">\n"
." <tr>\n"
." <td width=\"20\"><img border=\"0\" src=\"themes/$thename/images/toplefta.gif\" width=\"20\" height=\"4\"></td>\n"
." <td background=\"themes/$thename/images/top.gif\"><img border=\"0\" src=\"themes/$thename/images/top.gif\" width=\"136\" height=\"4\"></td>\n"
." <td background=\"themes/$thename/images/top.gif\"><img border=\"0\" src=\"themes/$thename/images/top.gif\" width=\"136\" height=\"4\"></td>\n"
." <td background=\"themes/$thename/images/top.gif\"><img border=\"0\" src=\"themes/$thename/images/top.gif\" width=\"136\" height=\"4\"></td>\n"
." <td width=\"20\"><img border=\"0\" src=\"themes/$thename/images/toprighta.gif\" width=\"20\" height=\"4\"></td>\n"
." </tr>\n"
." <tr>\n"
." <td background=\"themes/$thename/images/midlefta.gif\" width=\"20\"><img border=\"0\" src=\"themes/$thename/images/midlefta.gif\" width=\"20\" height=\"14\"></td>\n"
." <td align=\"left\" class=\"boxtitle\" width=\"33%\"><b>\n";
if ($username == $anonymous) {
echo "&nbsp;<a href=\"modules.php?name=Your_Account&op=new_user\" class=\"header\">"._NEWUSER."</a></b> / <b><a href=\"modules.php?name=Your_Account\" class=\"header\">"._LOGIN."</a>\n";
} else {
echo "&nbsp;"._TWELCOME." $username: <a href=\"modules.php?name=Your_Account\" class=\"header\">".Âàø_Àêóàíò."</a> | <a href=\"modules.php?name=Your_Account&op=logout\" class=\"header\">"._LOGOUT."</a>";
}
echo "</b></td>\n"
." <td align=\"center\" class=\"boxtitle\" width=\"34%\"><b>\n";
$result = sql_query("select type, var, count from $prefix"._counter." order by type desc", $dbi);
while(list($type, $var, $count) = sql_fetch_row($result, $dbi)) {
if(($type == "total") && ($var == "hits")) {
$total = $count;
echo "<marquee scrollamount=\"10\" scrolldelay=\"200\" width=\"100%\" height=\"50%\" direction=\"left\" behavior=\"scroll\" >Àññàëàìó Àëëàéêóì âà ðàõìàòyëëàhè óà áàðàêààòyh.Äîðîãèå Áðàòüÿ è Ѹñòðû.Àóçó áèëëÿhè ìèíàøøàéòààíè ð-ðàäæèì.Áèñìèëëÿhè ð-ðàhìààíè ð-ðàhèì </marquee>";

/* echo ""._WERECEIVED." $total "._PAGESVIEWS." $startdate\n";
*/ }
}
echo "</b></td>\n"
."<td align=\"right\" class=\"boxtitle\" width=\"33%\"><b>\n";
$numrows = sql_num_rows(sql_query("select uid from $user_prefix"._users."", $dbi), $dbi);
echo "".Äîáðî." $numrows ".Ïîæàëîâàòü."&nbsp;</b></td>\n"
."<td background=\"themes/$thename/images/midrighta.gif\" width=\"20\"><img border=\"0\" src=\"themes/$thename/images/midrighta.gif\" width=\"20\" height=\"14\"></td>\n"
."</tr>\n"
."<tr>\n"
." <td width=\"20\"><img border=\"0\" src=\"themes/$thename/images/botlefta.gif\" width=\"20\" height=\"4\"></td>\n"
." <td background=\"themes/$thename/images/bot.gif\"><img border=\"0\" src=\"themes/$thename/images/bot.gif\" width=\"136\" height=\"4\"></td>\n"
." <td background=\"themes/$thename/images/bot.gif\"><img border=\"0\" src=\"themes/$thename/images/bot.gif\" width=\"136\" height=\"4\"></td>\n"
." <td background=\"themes/$thename/images/bot.gif\"><img border=\"0\" src=\"themes/$thename/images/bot.gif\" width=\"136\" height=\"4\"></td>\n"
." <td width=\"20\"><img border=\"0\" src=\"themes/$thename/images/botrighta.gif\" width=\"20\" height=\"4\"></td>\n"
."</tr>\n"
."</table>\n"
."</center>\n"
."<!-- END HEADER -->\n"
."<table width=\"$thewidth\" cellpadding=\"0\" cellspacing=\"0\" border=\"0\" bgcolor=\"$bgcolor5\" align=\"center\"><tr valign=top>\n"
."<td bgcolor=\"$bgcolor5\"><img src=\"themes/$thename/images/pixel.gif\" width=\"1\" height=\"10\" border=\"0\"></td></tr></table>\n"
."<table width=\"$thewidth\" cellpadding=\"0\" cellspacing=\"0\" border=\"0\" bgcolor=\"$bgcolor5\" align=\"center\"><tr valign=top>\n"
."<td bgcolor=\"$bgcolor5\" width=\"160\" valign=\"top\">\n";
blocks(left);


echo "</td><td><img src=themes/$thename/images/pixel.gif width=15 height=1 border=0></td><td width=100%>\n";


}

/************************************************** **********/
/* Function themefooter() */
/* */
/* Control the footer for your site. You don't need to */
/* close BODY and HTML tags at the end. In some part call */
/* the function for right blocks with: blocks(right); */
/* Also, $index variable need to be global and is used to */
/* determine if the page your're viewing is the Homepage or */
/* and internal one. */
/************************************************** **********/

function themefooter() {
global $thename, $thewidth, $index, $bgcolor5;

echo "</td><td><img src=themes/$thename/images/pixel.gif width=15 height=1 border=0></td><td align=\"right\" valign=\"top\" bgcolor=\"$bgcolor5\">";

blocks(right);
echo "</td></tr></table></td></tr></table>"
."<table width=\"$thewidth\" cellpadding=\"0\" cellspacing=\"0\" border=\"0\" bgcolor=\"$bgcolor5\" align=\"center\"><tr valign=top>\n"
."<td bgcolor=\"$bgcolor5\"><img src=\"themes/$thename/images/pixel.gif\" width=\"1\" height=\"10\" border=\"0\"></td></tr></table>\n"
."<center>"
."<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"$thewidth\">"
." <tr>"
." <td width=\"20\"><img border=\"0\" src=\"themes/$thename/images/toplefta.gif\" width=\"20\" height=\"4\"></td>"
." <td background=\"themes/$thename/images/top.gif\"><img border=\"0\" src=\"themes/$thename/images/top.gif\" width=\"136\" height=\"4\"></td>"
." <td width=\"4\"><img border=\"0\" src=\"themes/$thename/images/toprighta.gif\" width=\"20\" height=\"4\"></td>"
." </tr>"
." <tr>"
." <td background=\"themes/$thename/images/midlefta.gif\" width=\"20\"><img border=\"0\" src=\"themes/$thename/images/midlefta.gif\" width=\"20\" height=\"14\"></td>"
." <td align=\"center\" class=\"boxtitle\">&nbsp;</td>"
." <td background=\"themes/$thename/images/midrighta.gif\" width=\"4\"><img border=\"0\" src=\"themes/$thename/images/midrighta.gif\" width=\"20\" height=\"14\"></td>"
." </tr>"
." <tr>"
." <td width=\"20\"><img border=\"0\" src=\"themes/$thename/images/botlefta.gif\" width=\"20\" height=\"4\"></td>"
." <td background=\"themes/$thename/images/bot.gif\"><img border=\"0\" src=\"themes/$thename/images/bot.gif\" width=\"136\" height=\"4\"></td>"
." <td width=\"4\"><img border=\"0\" src=\"themes/$thename/images/botrighta.gif\" width=\"20\" height=\"4\"></td>"
." </tr>"
."</table>"
."</center>"
."<table width=\"$thewidth\" cellpadding=\"0\" cellspacing=\"0\" border=\"0\" bgcolor=\"$bgcolor5\" align=\"center\"><tr valign=top>\n"
."<td bgcolor=\"$bgcolor5\"><img src=\"themes/$thename/images/pixel.gif\" width=\"1\" height=\"10\" border=\"0\"></td></tr></table>\n"
."<center><table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"$thewidth\">\n"

." <tr>\n"
." <td width=\"4\"><img border=\"0\" src=\"themes/$thename/images/toplefti.gif\" width=\"4\" height=\"4\"></td>\n"
." <td background=\"themes/$thename/images/topi.gif\"><img border=\"0\" src=\"themes/$thename/images/topi.gif\" width=\"152\" height=\"4\"></td>\n"
." <td width=\"4\"><img border=\"0\" src=\"themes/$thename/images/toprighti.gif\" width=\"4\" height=\"4\"></td>\n"
."</tr>\n"




}

Ну у меня выводить белый экран когда я делаю как написано подскажите что я не так делаю может Вы напишете куда что ставить.