Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: Kaip pakeisti navigacijos (žemiau header) nuorodas?

Parašė cztz360· 2010 Gru. 11 20:12:27
#1


<?php
if (!defined("IN_FUSION")) { die("Access Denied"); }
 
$showLogInForm = TRUE;
$showBanner = false;
$logo = TRUE;	//FALSE for site logo, TRUE for theme logo
define("THEME_WIDTH", "1050px");		//site width!!!
define("NAVIGATION_WIDTH", "100%");	//set the navigation width!!!
define("THEME_BULLET", "<img src='".THEME."images/bullet.png' alt='' style='border:0' />");
 
require_once INCLUDES."theme_functions_include.php";
require_once THEME."core.php";
 
function render_page($license=false) {
 
	global $settings, $main_style, $logo, $showLogInForm, $showBanner, $locale;
/******MAIN*FRAME*******************************************/
echo "<table cellpadding='0' cellspacing='0' width='".THEME_WIDTH."' align='center' border='0px'>
<tr>
	<td colspan='3'>
		<table cellpadding='0' cellspacing='0' width='100%' >
		<tr>
			<td class='left_top' align='left'>
				<div id='info'>".returnDate(mktime(),2)." &nbsp;&nbsp;&nbsp;<a href='http://www.solofm.too.lt' class='infol'>SoloFM</a> | <a href='".BASEDIR."news.php' class='infol'>Naujienos</a> | <a href='".BASEDIR."viewpage.php?page_id=5' class='infol'>Komanda</a></div>
			</td>
			<td class='top'><img src='".THEME."images/blank.png' width='10px' height='70px' alt='' style='border: 0px;'></td>
			<td class='right_top' align='right'>".showTools()."</td>
		</tr>
		</table>
	</td>
</tr>
<tr>
	<td valign='top' width='88px' height='530px' class='left_one_bg'>
		<table cellpadding='0' cellspacing='0' width='100%'>
		<tr>
			<td class='left_one'><img src='".THEME."images/blank.png' width='88px' height='430px' alt='' style='border: 0px;'></td>
		</tr>
		</table>
	</td>
	<td rowspan='2' class='main_content' valign='top'>";
/******MAIN*FRAME*******************************************/
 
/******HEADER*******************************************/
echo "<table cellpadding='0' cellspacing='0' width='100%' class='header'>
<tr>
	<td><a href='".BASEDIR."index.php' style='border: 0px;' alt='".$settings['sitename']."' title='".$settings['sitename']."'>".($logo ? "<img src='".THEME."logo.png' alt='' style='border: 0px;'>" : "<img src='".BASEDIR.$settings['sitebanner']."' alt='' style='border: 0px;'>")."</a></td><td> </td>
	".showBanner($showBanner).showForm($showLogInForm)."
</tr>
</table>";
/******HEADER*******************************************/
 
/******NAVIGATION*******************************************/
echo "<table cellpadding='0' cellspacing='0' width='100%' class='navigation'>
<tr>
	<td class='navi_l'></td>
	<td width='".NAVIGATION_WIDTH."' class='navi'>".navigacija()."</td>
	<td class='navi_k'></td>
	<td class='naviend'><img src='".THEME."images/blank.png' width='10px' height='30px' alt='' style='border: 0px;'></td>
</tr>
</table><p>";
/******NAVIGATION*******************************************/
 
/******CONTENT*******************************************/
echo "<table cellpadding='0' cellspacing='0' width='100%' class='$main_style'>\n<tr>\n";
if (LEFT) { echo "<td class='side-border-left' valign='top'>".LEFT."</td>"; }
echo "<td class='main-bg' valign='top'>".U_CENTER.CONTENT.L_CENTER."</td>";
if (RIGHT) { echo "<td class='side-border-right' valign='top'>".RIGHT."</td>"; }
echo "</tr>\n</table>\n";
/******CONTENT*******************************************/
 
/******FOOTER*******************************************/
echo "<div id='nogatop'>".showcounter()."<br>".showcopyright()."<br>Theme <i>Ambient</i> designed by <a href='http://www.solofm.too.lt'>Si Fusion</a>.</div>";
/******FOOTER*******************************************/
 
/******MAIN*FRAME*******************************************/
echo "</td>
	<td valign='top' width='88px' height='530px' class='right_one_bg'>
		<table cellpadding='0' cellspacing='0' width='100%'>
		<tr>
			<td class='right_one'><img src='".THEME."images/blank.png' width='88px' height='530px' alt='' style='border: 0px;'></td>
		</tr>
		</table>
	</td>
</tr>
<tr>
	<td valign='bottom' width='88px' class='left_half'>
		<table cellpadding='0' cellspacing='0' width='88px'>
		<tr>
			<td class='left_second' height='90px'><img src='".THEME."images/blank.png' width='88px' height='90px' alt='' style='border: 0px;'></td>
		</tr>
		</table>
	</td>
	<td valign='bottom' width='88px' class='right_half'>
		<table cellpadding='0' cellspacing='0' width='88px'>
		<tr>
			<td class='right_second' height='90px'><img src='".THEME."images/blank.png' width='88px' height='90px' alt='' style='border: 0px;'></td>
		</tr>
		</table>
	</td>
</tr>
<tr>
	<td colspan='3'>
		<table cellpadding='0' cellspacing='0' width='100%'>
		<tr>
			<td class='left_bottom' align='left'><img src='".THEME."images/blank.png' width='500px' height='100px' alt='' style='border: 0px;'></td>
			<td class='bottom'><img src='".THEME."images/blank.png' width='10px' height='88px' alt='' style='border: 0px;'></td>
			<td class='right_bottom' align='right'><img src='".THEME."images/blank.png' width='300px' height='100px' alt='' style='border: 0px;'></td>
		</tr>
		</table>
	</td>
</tr>
</table>";
/******MAIN*FRAME*******************************************/
}
 
function render_news($subject, $news, $info) {
 
	echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
	echo "<td class='news'>".$subject."</td>\n";
	echo "<td class='newsr' align='right'>".avtornovice($info)."</td>\n";
	echo "</tr>\n<tr>\n";
	echo "<td class='main-body' colspan='2'>".$news."</td>\n";
	echo "</tr>\n<tr>\n";
	echo "<td align='center' class='news-footer' colspan='2'>\n";
	echo opcijenovice($info).dodatno("N",$info['news_id']);
	echo "</td>\n</tr>\n</table>\n";
	echo hr();
}
 
function render_article($subject, $article, $info) {
 
	echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
	echo "<td class='news'>".$subject."</td>\n";
	echo "<td class='newsr'></td>\n";
	echo "</tr>\n<tr>\n";
	echo "<td class='main-body'>".($info['article_breaks'] == "y" ? nl2br($article) : $article)."</td>\n";
	echo "</tr>\n<tr>\n";
	echo "<td align='center' class='news-footer' colspan='2'>\n";
	echo articleposter($info," &middot;").articleopts($info,"&middot;").itemoptions("A",$info['article_id']);
	echo "</td>\n</tr>\n</table>\n";
	echo hr();
}
 
function opentable($title) {
 
	echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
	echo "<td class='capmain'>".$title."</td>\n";
	echo "</tr>\n<tr>\n";
	echo "<td class='main-body'>\n";
 
}
 
function closetable() {
 
	echo "</td>\n</tr>\n</table>\n";
	echo hr();
 
}
 
function openside($title, $collapse = false, $state = "on") {
 
	global $panel_collapse; $panel_collapse = $collapse;
	echo "<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
	<td class='l_z'><img src='".THEME."images/blank.png' width='7px' height='25px' alt='' style='border: 0px;'></td>
	<td class='z'>".$title."</td><td class='z' align='right'>";
	if ($collapse == true){
		$boxname = str_replace(" ", "", $title);
		echo panelbutton($state,$boxname);
	}
	echo "</td>
	<td class='d_z'><img src='".THEME."images/blank.png' width='7px' height='25px' alt='' style='border: 0px;'></td>
</tr>
<tr>
	<td class='l'></td>
	<td colspan='2' class='side-body'>";	
	if ($collapse == true) { echo panelstate($state, $boxname); }
 
}
 
function closeside($collapse = false) {
	global $panel_collapse;
	if ($panel_collapse == true) { echo "</div>\n"; }	
	echo "</td>
	<td class='d'></td>
</tr>
<tr>
	<td class='l_s'><img src='".THEME."images/blank.png' width='7px' height='7px' alt='' style='border: 0px;'></td>
	<td colspan='2' class='s'></td>
	<td class='d_s'><img src='".THEME."images/blank.png' width='7px' height='7px' alt='' style='border: 0px;'></td>
</tr>
</table>";
	echo hr();
}
?>


čia theme.php failas, nerandu kur pakeisti navigacijos nuorodas. :?