Parašė E01· 2010 Bal. 4 22:04:17
#5
<?php
if (!defined("IN_FUSION")) { header("Location: ../../index.php"); exit; }
require_once INCLUDES."theme_functions_include.php";
// theme settings
$body_text = "#D7D7D7";
$body_bg = "#181818";
$theme_width = "835";
$theme_width_l = "175";
$theme_width_r = "175";
function render_header($header_content) {
global $theme_width,$aidlink,$userdata,$msg_count,$settings,$db_prefix,$uidlink,$result;
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>
<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td class='full-header'></td>
</tr>
</table>
</td>
</tr>
</table><br><br>\n";
echo "<table align='center' cellpadding='0' cellspacing='0' width='834' class='narys'>\n<tr>
<td align='left' width='0'>";
include THEME."narys.php";
echo "</td>
</tr>
</table>\n";
echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>
<td class='sub-header' align='center'>";
echo"<a href='".BASEDIR."index.php' class='sub' >Pagrindinis</a> <a href='".BASEDIR."forum/index.php' class='sub' >Forumas</a> <a href='".BASEDIR."downloads.php' class='sub'>Siuntiniai</a> <a href='".BASEDIR."articles.php' class='sub' >Straipsniai</a> <a href='".BASEDIR."index.php' class='sub' >Reklama</a> <a href='".BASEDIR."index.php' class='sub' >Taisyklės</a> <a href='".BASEDIR."contact.php' class='sub' >Kontaktai</a></td>
</tr>
</table>\n";
Dalis kodo kur yra includintas narys.php :)