Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: Reiktų rimtos pagalbos

Parašė mindoza· 2011 Vas. 22 19:02:50
#1

Sveiki taigi prireikė paredaguot theme.php kad horizantalioj navigacijoj dadėt viena skyriu ir kad iš ju islystu po 9 stulpelius, gali but uzrasyta betkas su betkokia nuoroda, bet ar kas taip sugebat? Cia greita foto gal labiau suprastumet.


http://img641.imageshack.us/i/on...ariux.png/

Theme.php kodas
<?php
// Author: Alex Unknown
// WebSite: http://creativethemes.org
// E-mail: info@creativethemes.org

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

require_once INCLUDES."theme_functions_include.php";

define("THEME_BULLET", "<img src='".THEME."images/bullet.gif' width='4' height='6' alt='' class='bullet' />");

function render_page($license=false) {

global $settings, $main_style;

// Header
echo "<div class='wrapper'>\n";
echo "<div class='toolbar'>\n";

echo "<div class='navi'>\n";
echo "<span>".showsublinks("")."</span>\n";
echo "</div>\n";

echo "<div class='icons'>\n";
echo "<a href='".BASEDIR."index.php' title='Home'><img src='".THEME."images/home.gif' width='14' height='11' alt='Home' /></a>";
if (file_exists(INFUSIONS.'site_map/site_map.php')) { echo "<a href='".BASEDIR."infusions/site_map/site_map.php' title='Site Map'><img src='".THEME."images/site_map.gif' width='14' height='10' alt='Site Map' /></a>"; }
echo "<a href='".BASEDIR."contact.php' title='Contact'><img src='".THEME."images/contact.gif' width='14' height='9' alt='Contact' /></a>";
echo "</div>\n";

echo "</div>\n"; // end of toolbar class

echo "<div class='header'>\n";

// Header Banners
echo "<div class='banner-1'>\n";
echo "<!-- 120x120 Banner Code -->";
echo "\n</div>\n";
echo "<div class='banner-2'>\n";
echo "<!-- 120x120 Banner Code -->";
echo "\n</div>\n";

// Theme logotype
echo "<a href='".BASEDIR."index.php' title='".$settings['sitename']."'><img src='".THEME."images/blank.gif' width='358' height='91' alt='".$settings['sitename']."' class='logotype' /></a>\n";
// System logotype (need to edit position)
// echo "<div style='margin-left: 55px; padding-top: 43px;'>".showbanners()."</div>";

echo "</div>\n"; // end of header class

// Content
echo "<div class='container'>\n";
echo "<div class='left_panel'>".LEFT."</div>\n";
echo "<div class='right_panel'>".RIGHT."</div>\n";
if ($main_style == "side-both")
{ echo "<div class='content'>".U_CENTER.CONTENT.L_CENTER."</div>\n"; }
else
{ echo "<div class='admin_content'>".CONTENT."</div>\n"; }
echo "</div>\n";

echo "</div>\n"; // end of wrapper class

// Footer Banner
if ($main_style == "side-both") { echo "<div class='footer_banner'>\n";
echo "<!-- 468x60 Banner Code -->";
echo "\n</div>\n"; }

// Footer
echo "<div class='footer_top'></div>\n";
echo "<div class='footer_line'>".stripslashes($settings['footer'])."</div>\n";
echo "<div class='footer_bottom'>\n";
if (!$license) { echo showcopyright()."<br /><br />"; }
// Don't change or delete this string!
echo "Designed by <a href='skype:mindaskinassss?' title='Creative Themes for PHP-Fusion CMS' target='_blank'>Mindaugas G</a>";
if (!$license) { echo "<div style='padding-bottom: 17px;'></div>"; }
echo "</div>\n";
}

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

echo "<div class='title'>".$subject."</div>\n";
echo "<div>".$news."</div>\n";
echo "<div class='info'>\n";
echo "<div class='info-l'>".newsposter($info,"")."</div><div class='info-r'>".newsopts($info,"&middot;").itemoptions("N",$info['news_id'])."</div>\n";
echo "</div>\n";
}

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

echo "<div class='title'>$subject</div>\n";
echo "<div>".($info['article_breaks'] == "y" ? nl2br($article) : $article)."</div>\n";
echo "<div class='info'>\n";
echo "<div class='info-l'>".articleposter($info,"")."</div><div class='info-r'>".articleopts($info,"&middot;").itemoptions("A",$info['article_id'])."</div>\n";
echo "</div>\n";
}

function opentable($title) {

global $main_style;

echo "<div class='center_panel'>\n";
if ($main_style == "side-both")
{ echo "<div class='title'>$title</div>\n"; }
else
{ echo "<div class='admin_title'>$title</div>\n"; }
echo "<div>\n";
}

function closetable() {

global $main_style;

echo "</div>\n</div>\n";
echo "<div class='shadow'></div>\n";
}

function openside($title) {

echo "<div class='panel'><div><div><div>\n";
echo "<div class='panel_title'>".$title."</div>\n";
echo "<div class='panel_body'>\n";
}

function closeside() {

echo "</div>\n</div></div></div></div>\n";
}

// IN GOD WE TRUST
?>


Dekui is anksto , bus +11 ;)

Redagavo mindoza· 2011 Vas. 27 13:02:58

Parašė manex· 2011 Vas. 22 20:02:50
#2

Nieko pas tave nereikia redaguot, pas tave atvaizduoja:

include THEME."nuorodos.php";
faile nuorodos.

Tik dėl to išskleidimo jau reikia show kodo, jis naudojamas šiame portalo dizaine, tad gali iš jo išsiimti.

http://themes.php-fusion.co.uk/i...view=theme

Redagavo manex· 2011 Vas. 22 20:02:51

Parašė mindoza· 2011 Vas. 26 20:02:03
#3

Deja naujas theme.php nes keiciau tema :? gal kas moketumet taip ? :?

Parašė mindoza· 2011 Vas. 26 23:02:42
#4

Tai nėra pro iš 16k narių :O

Parašė Grafikietis· 2011 Vas. 27 00:02:18
#5

Iš to 16k narių. 100 tai moka. Ir 0 prisijungusių :)

Parašė minimukas· 2011 Vas. 27 01:02:39
#6

http://www.cssmenumaker.com/

Parašė mindoza· 2011 Vas. 27 10:02:30
#7

minimukas dekui už naudinga nuorodą.

Parašė mindoza· 2011 Vas. 27 13:02:34
#8

Turiu visa reikiama navigacija..Gal kas iterptumet? :?

Navigacijos kodas :

<style media="all" type="text/css">@import "/menu/menu_style.css";</style>
<div>
<ul class="menu">
<li class="top"><a href="www.naujienos.lt" target="_self" class="top_link"><span>Naujienos</span></a>
<ul class="sub">
<li><a href="" target="_self">k</a></li>
<li><a href="" target="_self">k</a></li>
<li><a href="" target="_self">k</a></li>
<li><a href="" target="_self">k</a></li>
<li><a href="" target="_self">k</a></li>
</ul>
</li>
<li class="top"><a href="www.reklama.lt" target="_self" class="top_link"><span>Reklama</span></a>
<ul class="sub">
<li><a href="" target="_self">j</a></li>
<li><a href="" target="_self">j</a></li>
<li><a href="" target="_self">j</a></li>
<li><a href="" target="_self">j</a></li>
<li><a href="" target="_self">j</a></li>
<li><a href="" target="_self">j</a></li>
</ul>
</li>
<li class="top"><a href="www.skundai.lt" target="_self" class="top_link"><span>Skundai</span></a>
<ul class="sub">
<li><a href="" target="_self">f</a></li>
<li><a href="" target="_self">f</a></li>
<li><a href="" target="_self">f</a></li>
<li><a href="" target="_self">f</a></li>
<li><a href="" target="_self">f</a></li>
<li><a href="" target="_self">f</a></li>
<li><a href="" target="_self">f</a></li>
<li><a href="" target="_self">f</a></li>
<li><a href="" target="_self">f</a></li>
</ul>
</li>
<li class="top"><a href="www.parrama.lr" target="_self" class="top_link"><span>Parama</span></a>
<ul class="sub">
<li><a href="" target="_self">e</a></li>
<li><a href="" target="_self">e</a></li>
<li><a href="" target="_self">e</a></li>
<li><a href="" target="_self">e</a></li>
</ul>
</li>
<li class="top"><a href="www.kontaktai.lt" target="_self" class="top_link"><span>Kontaktai</span></a>
<ul class="sub">
<li><a href="" target="_self">e</a></li>
<li><a href="" target="_self">e</a></li>
<li><a href="" target="_self">e</a></li>
<li><a href="" target="_self">e</a></li>
</ul>
</li>
<li class="top"><a href="www.apiesmus.lt" target="_self" class="top_link"><span>Apie mus</span></a>
</li>
</ul>
</div>

Redagavo mindoza· 2011 Vas. 27 14:02:24

Parašė weberiz· 2011 Vas. 27 14:02:01
#9

kaškada buvau pasidares va jimk gal tiks tau ikelk i tos temos folderi

Parašė mindoza· 2011 Vas. 27 14:02:11
#10

WEberiz i theme neiterptum?

Parašė mindoza· 2011 Vas. 27 15:02:48
#11

Padaryta, rakinkit tema