Баннер справа от лого

<!--QuoteBegin-•$EGUR@•+8.11.2006, 19:05--><div class='quotetop'>Цитата(•$EGUR@• @ 8.11.2006, 19:05)</div><div class='quotemain'><!--QuoteEBegin-->два файла удобнее...
<div align="right">[snapback]41839[/snapback]</div><!--QuoteEnd--></div><!--QuoteEEnd-->
Кому как... лично мне удобнее один раз отредактировать !!! :bleh:
 
ну правлень.. легко когда обыкновенный баннер весит, а вот когда баннерки разные то легче 2 файла и редактировать уже потом легче будет
 
помогите вставить меню справа от логотипа в шапке сайта

файл темы

<?

/*--------------------------------------------+
| Fusion 6 Theme for PHP-Fusion v6 |
|---------------------------------------------|
| author: Nebo |
| web: <a href="http://neznaika.org/" target="_blank">http://neznaika.org/</a> |
| email: ufaclub@gmail.com |
|---------------------------------------------|
| Released under the terms and conditions of |
| the GNU General Public License (Version 2) |
+--------------------------------------------*/

if (!defined("IN_FUSION")) { header("Location: ../../index.php"); exit; }
require_once INCLUDES."theme_functions_include.php";

// theme settings
$body_text = "#555555";
$body_bg = "#ffffff";
$theme_width = "100%";
$theme_width_l = "175";
$theme_width_r = "175";

function render_header($header_content) {

global $theme_width;

echo "<table align='center' cellspacing='0' cellpadding='0' width='$theme_width' class='outer-border'>
<tr>
<td>
<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td class='full-header'>
<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td>$header_content</td>
</tr>
</table>
</td>
</tr>
</table>\n";

echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>
<td class='white-header'>".showsublinks("&middot;")."</td>
<td align='right' class='white-header'>".showsubdate()."</td>
</tr>
</table>\n";

echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";

}

function render_footer($license=false) {

global $theme_width,$settings;

echo "</tr>\n</table>\n";
echo "<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td align='center' class='footer'>".stripslashes($settings['footer'])."<br>\n";
if (!$license) { echo showcopyright("white")."<br><br>\n"; } echo showcounter()."<br><br>Neznaika Corporation 2007<a href='http://neznaika.org/' class='white'>www.neznaika.org</a><br>
</td>
</tr>
</table>
</td>
</tr>
</table>\n";

}

function render_news($subject, $news, $info) {

echo "<table cellpadding='0' cellspacing='0' width='100%' class='border'>
<tr>
<td class='capmain'>$subject</td>
</tr>
<tr>
<td class='main-body'>$news</td>
</tr>
<tr>
<td align='center' class='news-footer'>\n";
echo openform("N",$info['news_id']).newsposter($info,"<br>").newsopts($info,"&middot;").closeform("N",$info['news_id']);
echo "</td>
</tr>
</table>\n";

}

function render_article($subject, $article, $info) {

echo "<table width='100%' cellpadding='0' cellspacing='0' class='border'>
<tr>
<td class='capmain'>$subject</td>
</tr>
<tr>
<td class='main-body'>
".($info['article_breaks'] == "y" ? nl2br($article) : $article)."
</td>
</tr>
<tr>
<td align='center' class='news-footer'>\n";
echo openform("A",$info['article_id']).articleposter($info,"<br>").articleopts($info,"&middot;").closeform("A",$info['article_id']);
echo "</td>
</tr>
</table>\n";

}

function opentable($title) {

echo "<table cellpadding='0' cellspacing='0' width='100%' class='border'>
<tr>
<td class='capmain'>$title</td>
</tr>
<tr>
<td class='main-body'>\n";

}

function closetable() {

echo "</td>
</tr>
</table>\n";

}

function openside($title) {

echo "<table cellpadding='0' cellspacing='0' width='100%' class='border'>
<tr>
<td class='scapmain'>$title</td>
</tr>
<tr>
<td class='side-body'>\n";

}

function closeside() {

echo "</td>
</tr>
</table>\n";
tablebreak();

}

function opensidex($title,$state="on") {

$boxname = str_replace(" ", "", $title);
echo "<table cellpadding='0' cellspacing='0' width='100%' class='border'>
<tr>
<td class='scapmain'>$title</td>
<td class='scapmain' align='right'>".panelbutton($state,$boxname)."</td>
</tr>
<tr>
<td colspan='2' class='side-body'>
<div id='box_$boxname'".($state=="off"?" style='display:none'":"").">\n";

}

function closesidex() {

echo "</div>
</td>
</tr>
</table>\n";
tablebreak();

}

function tablebreak() {

echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n<td height='5'></td>\n</tr>\n</table>\n";

}
?>

и вставить надо джава скрипт справа от логотипа

<script type="text/javascript" language="JavaScript1.2" src="stm31.js"></script>

<script type="text/javascript" language="JavaScript1.2">
<!--
stm_bm(["menu5174",430,"","blank.gif",0,"","",0,0,250,0,1000,1,0,0,"","",0],this);
stm_bp("p0",[0,4,0,0,1,2,0,7,100,"",-2,"",-2,90,0,0,"#000000","#3399ff","",3,0,0,"#ffffff"]);
stm_ai("p0i0",[0,"Развлечения","","",-1,-1,0,"","_self","","","","",0,0,0,"arrow_r.gif","arrow_r.gif",7,7,0,0,1,"#3399ff",0,"#3399ff",0,"","",3,3,0,0,"#ffffff","#ffffff","#ffffff","#ff0000","bold 8pt Arial","bold 8pt Arial",0,0]);
stm_bpx("p1","p0",[1,4,0,0,1,2,0,0,100,"progid:DXImageTransform.Microsoft.Wipe(GradientSize=1.0,wipeStyle=1,motion=forward,enabled=0,Duration=1.00)",5,"progid:DXImageTransform.Microsoft.Wipe(GradientSize=1.0,wipeStyle=1,motion=reverse,enabled=0,Duration=1.00)",4,10]);
stm_aix("p1i0","p0i0",[0,"Рестораны","","",-1,-1,0,"","_self","","","","",0,0,0,"","",0,0]);
stm_aix("p1i1","p1i0",[0,"Бистро"]);
stm_aix("p1i2","p1i0",[0,"Кофейни"]);
stm_aix("p1i3","p1i0",[0,"Кинотеатры "]);
stm_aix("p1i4","p1i0",[0,"Театры"]);
stm_aix("p1i5","p1i0",[0,"Развлекательные комплексы"]);
stm_aix("p1i6","p1i0",[0,"Ночные клубы"]);
stm_aix("p1i7","p1i0",[0,"Игры"]);
stm_aix("p1i8","p1i0",[0,"КВН"]);
stm_aix("p1i9","p1i0",[0,"Comedy Club"]);
stm_aix("p1i10","p1i0",[0,"Группы"]);
stm_aix("p1i11","p1i0",[0,"Dj"]);
stm_ep();
stm_aix("p0i1","p0i0",[0,"Покупки"]);
stm_bpx("p2","p1",[]);
stm_aix("p2i0","p1i0",[0,"Одежда"]);
stm_aix("p2i1","p1i0",[0,"Обувь"]);
stm_aix("p2i2","p1i0",[0,"Аудио"]);
stm_aix("p2i3","p1i0",[0,"Видио"]);
stm_aix("p2i4","p1i0",[0,"Книги"]);
stm_aix("p2i5","p1i0",[0,"Двери"]);
stm_aix("p2i6","p1i0",[0,"Окна"]);
stm_aix("p2i7","p1i0",[0,"Автомобили"]);
stm_aix("p2i8","p1i0",[0,"Для детей"]);
stm_aix("p2i9","p1i0",[0,"Электроника"]);
stm_aix("p2i10","p1i0",[0,"Компьютеры"]);
stm_aix("p2i11","p1i0",[0,"Спорт"]);
stm_aix("p2i12","p1i0",[0,"Туризм"]);
stm_aix("p2i13","p1i0",[0,"Ювелирные изделия"]);
stm_aix("p2i14","p1i0",[0,"Мебель"]);
stm_aix("p2i15","p1i0",[0,"Всё для дома"]);
stm_aix("p2i16","p1i0",[0,"Все для дачи"]);
stm_ep();
stm_aix("p0i2","p0i0",[0,"Услуги"]);
stm_bpx("p3","p1",[]);
stm_aix("p3i0","p1i0",[0,"Салоны красоты"]);
stm_aix("p3i1","p1i0",[0,"Компьтерные"]);
stm_aix("p3i2","p1i0",[0,"Здоровье"]);
stm_aix("p3i3","p1i0",[0,"Фитнес"]);
stm_aix("p3i4","p1i0",[0,"Банки"]);
stm_aix("p3i5","p1i0",[0,"Стоматология"]);
stm_aix("p3i6","p1i0",[0,"Погрузо-перевозки "]);
stm_aix("p3i7","p1i0",[0,"Недвижимость"]);
stm_aix("p3i8","p1i0",[0,"Юридические"]);
stm_aix("p3i9","p1i0",[0,"Организация праздников "]);
stm_aix("p3i10","p1i0",[0,"Такси "]);
stm_aix("p3i11","p1i0",[0,"СМИ"]);
stm_aix("p3i12","p1i0",[0,"Размещение рекламы"]);
stm_aix("p3i13","p1i0",[0,"Автоуслуги"]);
stm_aix("p3i14","p1i0",[0,"Сотовая связь"]);
stm_aix("p3i15","p1i0",[0,"Интернет"]);
stm_aix("p3i16","p1i0",[0,"Сауны "]);
stm_ep();
stm_ep();
stm_em();
//-->
</script>
 
Ну зачем-же так много кода? С ума можно сойти... :pod_stolom:

Найди в своем файле theme.php строчку:<!--c1--><div class='codetop'>Код</div><div class='codemain'><!--ec1--><td>$header_content</td><!--c2--></div><!--ec2-->
Добавь выше:
<!--c1--><div class='codetop'>Код</div><div class='codemain'><!--ec1--><td>";
echo <<<EOF
ЗДЕСЬ ТВОЙ КОД JAVASCRIPT
EOF;
echo "</td><!--c2--></div><!--ec2-->
 
<!--quoteo(post=70186:date=22.10.2007, 23:48:name=Vladiger)--><div class='quotetop'>Цитата(Vladiger @ 22.10.2007, 23:48) [snapback]70186[/snapback]</div><div class='quotemain'><!--quotec-->Ну зачем-же так много кода? С ума можно сойти... :pod_stolom:

Найди в своем файле theme.php строчку:<!--c1--><div class='codetop'>Код</div><div class='codemain'><!--ec1--><td>$header_content</td><!--c2--></div><!--ec2-->
Добавь выше:
<!--c1--><div class='codetop'>Код</div><div class='codemain'><!--ec1--><td>";
echo <<<EOF
ЗДЕСЬ ТВОЙ КОД JAVASCRIPT
EOF;
echo "</td><!--c2--></div><!--ec2--><!--QuoteEnd--></div><!--QuoteEEnd-->
*******
:topic:

*******


<!--coloro:#FF0000--><span style="color:#FF0000"><!--/coloro-->1<!--colorc--></span><!--/colorc--> нашел в своем файле theme.php строчку: <!--coloro:#FF0000--><span style="color:#FF0000"><!--/coloro--><td>$header_content</td><!--colorc--></span><!--/colorc-->
2 добавил выше код
<!--coloro:#0000FF--><span style="color:#0000FF"><!--/coloro-->3<!--colorc--></span><!--/colorc--> <!--sizeo:2--><span style="font-size:10pt;line-height:100%"><!--/sizeo--><!--coloro:#0000FF--><span style="color:#0000FF"><!--/coloro-->вставил джаву (меню)<!--colorc--></span><!--/colorc--><!--sizec--></span><!--/sizec-->
<td>";
echo <<<EOF
<!--coloro:#0000FF--><span style="color:#0000FF"><!--/coloro--><script type="text/javascript" language="JavaScript1.2" src="stm31.js"></script><!--colorc--></span><!--/colorc-->
EOF;
echo "</td>
<!--coloro:#FF0000--><span style="color:#FF0000"><!--/coloro--><td>$header_content</td><!--colorc--></span><!--/colorc-->
</tr>
</table>
</td>
</tr>
</table>\n";


и ни че не появилась! :worthy: че делать? :unsure:
 
Сверху