суть проблемы ---> <img src="http://resident.on.ufanet.ru/demo.gif" border="0" class="linked-image" />
файлы темы -----> <!--sizeo:4--><span style="font-size:14pt;line-height:100%"><!--/sizeo--> theme.php<!--sizec--></span><!--/sizec-->
<!--c1--><div class='codetop'>Код</div><div class='codemain'><!--ec1--><?
/*--------------------------------------------+
| Fusion 6 Theme for PHP-Fusion v6 |
|---------------------------------------------|
| author: Nebo |
| web: http://neznaika.org/ |
| 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 = "80%";
$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("·")."</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,"·").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,"·").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";
}
?><!--c2--></div><!--ec2-->
Горизонтальное меню которое прям под шапкой выводиться из файла <!--sizeo:4--><span style="font-size:14pt;line-height:100%"><!--/sizeo-->theme_functions_include.php<!--sizec--></span><!--/sizec-->
<!--quoteo--><div class='quotetop'>Цитата</div><div class='quotemain'><!--quotec--><?php
/*---------------------------------------------------+
| PHP-Fusion 6 Content Management System
+----------------------------------------------------+
| Copyright © 2002 - 2006 Nick Jones
| <a href="http://www.php-fusion.co.uk/" target="_blank">http://www.php-fusion.co.uk/</a>
+----------------------------------------------------+
| Released under the terms & conditions of v2 of the
| GNU General Public License. For details refer to
| the included gpl.txt file or visit <a href="http://gnu.org" target="_blank">http://gnu.org</a>
+----------------------------------------------------+
| Modified by PHP-Fusion SF Group
| Copyright © 2007 by SF
| <a href="http://www.rus-phpfusion.com/" target="_blank">http://www.rus-phpfusion.com/</a>
+----------------------------------------------------*/
if (!defined("IN_FUSION")) { header("Location:../index.php"); exit; }
function showsublinks($sep="·",$class="") {
$i = 0; $res = "";
$sres = dbquery("SELECT * FROM ".DB_PREFIX."site_links WHERE link_position>='2' ORDER BY link_order");
if (dbrows($sres) != 0) {
while($sdata = dbarray($sres)) {
if (checkgroup($sdata['link_visibility'])) {
if ($sdata['link_url']!="---") {
if ($i != 0) { $res .= " ".$sep."\n"; } else { $res .= "\n"; }
$link_target = $sdata['link_window'] == "1" ? " target='_blank'" : "";
$link_class = $class ? " class='$class'" : "";
if (strstr($sdata['link_url'], "http://") || strstr($sdata['link_url'], "https://")) {
$res .= "<a href='".$sdata['link_url']."'".$link_target.$link_class.">".$sdata['link_name']."</a>";
} else {
$res .= "<a href='".BASEDIR.$sdata['link_url']."'".$link_target.$link_class.">".$sdata['link_name']."</a>";
}
}
$i++;
}
}
}
if ($i != 0) { return $res; } else { return " "; }
}
function showsubdate() {
global $settings;
return ucwords(showdate($settings['subheaderdate'], time()));
}
function newsposter($info,$sep="",$class="") {
global $locale; $res = "";
$link_class = $class ? " class='$class' " : "";
$res = "<img src='".THEME."images/bullet.gif' alt=''> ";
$res .= "<a href='profile.php?lookup=".$info['user_id']."'".$link_class.">".$info['user_name']."</a> ";
$res .= $locale['041'].showdate("longdate", $info['news_date']);
$res .= $info['news_ext'] == "y" || $info['news_allow_comments'] ? $sep."\n" : "\n";
return $res;
}
function newsopts($info,$sep,$class="") {
global $locale; $res = "";
$link_class = $class ? " class='$class' " : "";
if (!isset($_GET['readmore']) && $info['news_ext'] == "y") $res = "<a href='news.php?readmore=".$info['news_id']."'".$link_class.">".$locale['042']."</a> ".$sep." ";
if ($info['news_allow_comments']) $res .= "<a href='news.php?readmore=".$info['news_id']."'".$link_class.">".$info['news_comments'].$locale['043']."</a> ".$sep." ";
if ($info['news_ext'] == "y" || $info['news_allow_comments']) $res .= $info['news_reads'].$locale['044']."\n";
$res .= $sep." <a href='print.php?type=N&item_id=".$info['news_id']."'><img src='".THEME."images/printer.gif' alt='".$locale['045']."' style='vertical-align:middle;border:0px;'></a>\n";
return $res;
}
function articleposter($info,$sep="",$class="") {
global $locale; $res = "";
$link_class = $class ? " class='$class' " : "";
$res = "<img src='".THEME."images/bullet.gif' alt=''>\n";
$res .= $locale['040']."<a href='profile.php?lookup=".$info['user_id']."'".$link_class.">".$info['user_name']."</a>\n";
$res .= $locale['041'].showdate("longdate", $info['article_date']);
$res .= $info['article_allow_comments'] ? $sep."\n" : "\n";
return $res;
}
function articleopts($info,$sep) {
global $locale; $res = "";
if ($info['article_allow_comments']) $res = $info['article_comments'].$locale['043']." ".$sep."\n";
$res .= $info['article_reads'].$locale['044']." ".$sep."\n";
$res .= "<a href='print.php?type=A&item_id=".$info['article_id']."'><img src='".THEME."images/printer.gif' alt='".$locale['045']."' style='vertical-align:middle;border:0px;'></a>\n";
return $res;
}
function openform($item_type,$item_id) {
global $aidlink;
$res = "";
if ($item_type == "N") {
if (iADMIN && checkrights($item_type)) $res .= "<form name='editnews".$item_id."' method='post' action='".ADMIN."news.php".$aidlink."&news_id=".$item_id."'>\n";
} elseif ($item_type == "A") {
if (iADMIN && checkrights($item_type)) $res .= "<form name='editarticle".$item_id."' method='post' action='".ADMIN."articles.php".$aidlink."&article_id=".$item_id."'>\n";
}
return $res;
}
function closeform($item_type,$item_id) {
global $locale; $res = "";
if ($item_type == "N") {
if (iADMIN && checkrights($item_type)) $res .= "· <input type='hidden' name='edit' value='edit'><a href='java script:document.editnews".$item_id.".submit();'><img src='".IMAGES."edit.gif' alt='".$locale['048']."' title='".$locale['048']."' style='vertical-align:middle;border:0px;'></a>\n</form>\n";
} elseif ($item_type == "A") {
if (iADMIN && checkrights($item_type)) $res .= " · <input type='hidden' name='edit' value='edit'><a href='java script:document.editarticle".$item_id.".submit();'><img src='".IMAGES."edit.gif' alt='".$locale['048']."' title='".$locale['048']."' style='vertical-align:middle;border:0px;'></a>\n</form>\n";
}
return $res;
}
function showcopyright($class="") {
global $settings;
$date = date(Y);
$link_class = $class ? " class='$class' " : "";
$res = "Powered by <a href='http://www.neznaika.org'".$link_class."target='_blank'>Neznaika CMS</a> copyright © 2003-".$date." bу Neznaika.<br>\n";
$res .= "Специально для <a href='http://www.ufaskidki.ru'".$link_class."target='_blank'>Журнал скидок и распродаж города</a> copyright © 2007 by <a href='mailto:legal@ufaskidki.ru'>legal@ufaskidki.ru</a>.<br>\n";
$res .= "Телефон для заказов + 79174453222,так же вы можете заполнить форму заказа обратного звонка,и с вами свяжуться течении 15 минут.<br>\n";
return $res;
}
function showcounter() {
global $locale,$settings;
return number_format($settings['counter'])." ".($settings['counter'] == 1 ? $locale['140'] : $locale['141']);
}
function panelbutton($state,$bname) {
return "<img src='".THEME."images/panel_".($state == "on" ? "off" : "on").".gif' name='b_$bname' alt='' onclick=\"java script:flipBox('$bname')\">";
}
?><!--QuoteEnd--></div><!--QuoteEEnd-->
надо убрать вывод этого меню в теме <!--sizeo:4--><span style="font-size:14pt;line-height:100%"><!--/sizeo-->theme.php<!--sizec--></span><!--/sizec-->
и вставить свое (чтоб было меню+ выпадающие списки)
кто может помочь ...напишите че делать..
файлы темы -----> <!--sizeo:4--><span style="font-size:14pt;line-height:100%"><!--/sizeo--> theme.php<!--sizec--></span><!--/sizec-->
<!--c1--><div class='codetop'>Код</div><div class='codemain'><!--ec1--><?
/*--------------------------------------------+
| Fusion 6 Theme for PHP-Fusion v6 |
|---------------------------------------------|
| author: Nebo |
| web: http://neznaika.org/ |
| 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 = "80%";
$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("·")."</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,"·").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,"·").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";
}
?><!--c2--></div><!--ec2-->
Горизонтальное меню которое прям под шапкой выводиться из файла <!--sizeo:4--><span style="font-size:14pt;line-height:100%"><!--/sizeo-->theme_functions_include.php<!--sizec--></span><!--/sizec-->
<!--quoteo--><div class='quotetop'>Цитата</div><div class='quotemain'><!--quotec--><?php
/*---------------------------------------------------+
| PHP-Fusion 6 Content Management System
+----------------------------------------------------+
| Copyright © 2002 - 2006 Nick Jones
| <a href="http://www.php-fusion.co.uk/" target="_blank">http://www.php-fusion.co.uk/</a>
+----------------------------------------------------+
| Released under the terms & conditions of v2 of the
| GNU General Public License. For details refer to
| the included gpl.txt file or visit <a href="http://gnu.org" target="_blank">http://gnu.org</a>
+----------------------------------------------------+
| Modified by PHP-Fusion SF Group
| Copyright © 2007 by SF
| <a href="http://www.rus-phpfusion.com/" target="_blank">http://www.rus-phpfusion.com/</a>
+----------------------------------------------------*/
if (!defined("IN_FUSION")) { header("Location:../index.php"); exit; }
function showsublinks($sep="·",$class="") {
$i = 0; $res = "";
$sres = dbquery("SELECT * FROM ".DB_PREFIX."site_links WHERE link_position>='2' ORDER BY link_order");
if (dbrows($sres) != 0) {
while($sdata = dbarray($sres)) {
if (checkgroup($sdata['link_visibility'])) {
if ($sdata['link_url']!="---") {
if ($i != 0) { $res .= " ".$sep."\n"; } else { $res .= "\n"; }
$link_target = $sdata['link_window'] == "1" ? " target='_blank'" : "";
$link_class = $class ? " class='$class'" : "";
if (strstr($sdata['link_url'], "http://") || strstr($sdata['link_url'], "https://")) {
$res .= "<a href='".$sdata['link_url']."'".$link_target.$link_class.">".$sdata['link_name']."</a>";
} else {
$res .= "<a href='".BASEDIR.$sdata['link_url']."'".$link_target.$link_class.">".$sdata['link_name']."</a>";
}
}
$i++;
}
}
}
if ($i != 0) { return $res; } else { return " "; }
}
function showsubdate() {
global $settings;
return ucwords(showdate($settings['subheaderdate'], time()));
}
function newsposter($info,$sep="",$class="") {
global $locale; $res = "";
$link_class = $class ? " class='$class' " : "";
$res = "<img src='".THEME."images/bullet.gif' alt=''> ";
$res .= "<a href='profile.php?lookup=".$info['user_id']."'".$link_class.">".$info['user_name']."</a> ";
$res .= $locale['041'].showdate("longdate", $info['news_date']);
$res .= $info['news_ext'] == "y" || $info['news_allow_comments'] ? $sep."\n" : "\n";
return $res;
}
function newsopts($info,$sep,$class="") {
global $locale; $res = "";
$link_class = $class ? " class='$class' " : "";
if (!isset($_GET['readmore']) && $info['news_ext'] == "y") $res = "<a href='news.php?readmore=".$info['news_id']."'".$link_class.">".$locale['042']."</a> ".$sep." ";
if ($info['news_allow_comments']) $res .= "<a href='news.php?readmore=".$info['news_id']."'".$link_class.">".$info['news_comments'].$locale['043']."</a> ".$sep." ";
if ($info['news_ext'] == "y" || $info['news_allow_comments']) $res .= $info['news_reads'].$locale['044']."\n";
$res .= $sep." <a href='print.php?type=N&item_id=".$info['news_id']."'><img src='".THEME."images/printer.gif' alt='".$locale['045']."' style='vertical-align:middle;border:0px;'></a>\n";
return $res;
}
function articleposter($info,$sep="",$class="") {
global $locale; $res = "";
$link_class = $class ? " class='$class' " : "";
$res = "<img src='".THEME."images/bullet.gif' alt=''>\n";
$res .= $locale['040']."<a href='profile.php?lookup=".$info['user_id']."'".$link_class.">".$info['user_name']."</a>\n";
$res .= $locale['041'].showdate("longdate", $info['article_date']);
$res .= $info['article_allow_comments'] ? $sep."\n" : "\n";
return $res;
}
function articleopts($info,$sep) {
global $locale; $res = "";
if ($info['article_allow_comments']) $res = $info['article_comments'].$locale['043']." ".$sep."\n";
$res .= $info['article_reads'].$locale['044']." ".$sep."\n";
$res .= "<a href='print.php?type=A&item_id=".$info['article_id']."'><img src='".THEME."images/printer.gif' alt='".$locale['045']."' style='vertical-align:middle;border:0px;'></a>\n";
return $res;
}
function openform($item_type,$item_id) {
global $aidlink;
$res = "";
if ($item_type == "N") {
if (iADMIN && checkrights($item_type)) $res .= "<form name='editnews".$item_id."' method='post' action='".ADMIN."news.php".$aidlink."&news_id=".$item_id."'>\n";
} elseif ($item_type == "A") {
if (iADMIN && checkrights($item_type)) $res .= "<form name='editarticle".$item_id."' method='post' action='".ADMIN."articles.php".$aidlink."&article_id=".$item_id."'>\n";
}
return $res;
}
function closeform($item_type,$item_id) {
global $locale; $res = "";
if ($item_type == "N") {
if (iADMIN && checkrights($item_type)) $res .= "· <input type='hidden' name='edit' value='edit'><a href='java script:document.editnews".$item_id.".submit();'><img src='".IMAGES."edit.gif' alt='".$locale['048']."' title='".$locale['048']."' style='vertical-align:middle;border:0px;'></a>\n</form>\n";
} elseif ($item_type == "A") {
if (iADMIN && checkrights($item_type)) $res .= " · <input type='hidden' name='edit' value='edit'><a href='java script:document.editarticle".$item_id.".submit();'><img src='".IMAGES."edit.gif' alt='".$locale['048']."' title='".$locale['048']."' style='vertical-align:middle;border:0px;'></a>\n</form>\n";
}
return $res;
}
function showcopyright($class="") {
global $settings;
$date = date(Y);
$link_class = $class ? " class='$class' " : "";
$res = "Powered by <a href='http://www.neznaika.org'".$link_class."target='_blank'>Neznaika CMS</a> copyright © 2003-".$date." bу Neznaika.<br>\n";
$res .= "Специально для <a href='http://www.ufaskidki.ru'".$link_class."target='_blank'>Журнал скидок и распродаж города</a> copyright © 2007 by <a href='mailto:legal@ufaskidki.ru'>legal@ufaskidki.ru</a>.<br>\n";
$res .= "Телефон для заказов + 79174453222,так же вы можете заполнить форму заказа обратного звонка,и с вами свяжуться течении 15 минут.<br>\n";
return $res;
}
function showcounter() {
global $locale,$settings;
return number_format($settings['counter'])." ".($settings['counter'] == 1 ? $locale['140'] : $locale['141']);
}
function panelbutton($state,$bname) {
return "<img src='".THEME."images/panel_".($state == "on" ? "off" : "on").".gif' name='b_$bname' alt='' onclick=\"java script:flipBox('$bname')\">";
}
?><!--QuoteEnd--></div><!--QuoteEEnd-->
надо убрать вывод этого меню в теме <!--sizeo:4--><span style="font-size:14pt;line-height:100%"><!--/sizeo-->theme.php<!--sizec--></span><!--/sizec-->
и вставить свое (чтоб было меню+ выпадающие списки)
кто может помочь ...напишите че делать..