Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: navigacija headeryje

Parašė Meskis· 2008 Gru. 22 22:12:14
#3

aciu kad padedi, bet nelabai zinau kur iterpti, meta error tai duosiu theme.php gal padesit kas nors

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

// theme settings
$body_text = "#555555";
$body_bg = "#010101";
$theme_width = "766";
$theme_width_l = "181";
$theme_width_r = "181";

function render_header($header_content) {

global $theme_width;

echo "<table align='center' cellspacing='0' cellpadding='0' width='$theme_width'>
<tr>
<td>

<table align='center' cellspacing='0' cellpadding='0' width='$theme_width'>
<tr>
<td>
<table align='left' cellspacing='0' cellpadding='0' width='340'>
<tr>
<td align='left' class='h_DJ'></td>
</tr>
</table>
<table align='right' cellspacing='0' cellpadding='0' width='426'>
<tr>
<td><img src='".THEME."images/h_logo.png' usemap='#logo' width='426' height='223' border='0'></td>
<map id='logo' name='logo'>
<area shape='rect' coords='35,187,75,199' href='".BASEDIR."index.php'>
<area shape='rect' coords='103,185,142,197' href='".BASEDIR."laidos.php'>
<area shape='rect' coords='170,179,213,194' href='".BASEDIR."top20.php'>
<area shape='rect' coords='241,171,302,183' href='".BASEDIR."komanda.php'>
<area shape='rect' coords='329,156,384,168' href='".BASEDIR."contact.php'>
</map>
</tr>
<tr>
</tr>
</table>
</td>
</tr>\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%' class='footer'>
<tr>
</tr>
</table>
</td>
</tr>
</table>\n";

}

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

echo "<table align='center' cellpadding='0' cellspacing='0' width='475'>
<tr>
<td class='capmain'>$subject</td>
</tr>
<tr>
<td class='info'>".showdate("shortdate", $info['news_date'])."<br>Parašė: <a href='profile.php?lookup=".$info['user_id']."' style='color:#76100E;'>".$info['user_name']."</a></td>
</tr>
<tr>
<td class='main-body'>$news</td>
</tr>
</table>\n";

}

function render_article($subject, $article, $info) {
   
echo "<table align='center' cellpadding='0' cellspacing='0' width='475' >
<tr>
<td class='capmain'>$subject</td>
</tr>
<tr>
<td class='info'>".showdate("shortdate", $info['article_date'])."<br>Parašė: <a href='profile.php?lookup=".$info['user_id']."' style='color:#76100E;'>".$info['user_name']."</a></td>
</tr>
<tr>
<td class='main-body'>
".($info['article_breaks'] == "y" ? nl2br($article) : $article)."
</td>
</tr>
</table>\n";

}

function opentable($title) {

echo "<table align='center' cellpadding='0' cellspacing='0' width='475'>
<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 align='center' cellpadding='0' cellspacing='0' width='181'>
<tr>
<td class='scapmain'>$title</td>
</tr>
<tr>
<td class='side-body'>\n";

}

function closeside() {

echo "</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";

}
?>



Redagavo Meskis· 2008 Gru. 23 13:12:11