Sveiki visi , norejau jūsų paprašyti pagalbos man nerodo headerio norėjau padaryti kad tie myktukai butu virš headerio bet dabar man rodo tik juos (pamatysit screene) gal kas mokat sutvarkyti:
theme.php:
<?php
if (!defined("IN_FUSION")) { header("Location: ../../index.php"); exit; }
require_once INCLUDES."theme_functions_include.php";
// theme settings
$body_text = "#FFFFFF";
$body_bg = "#ffffff";
$theme_width = "1000";
$theme_width_l = "175";
$theme_width_r = "175";
function render_header($header_content) {
global $theme_width,$settings,$locale,$userdata,$aidlink;
echo "<table class='forumline' align='center' width='$theme_width' cellspacing='0' cellpadding='0' style='border:1px solid #999999; margin-top:-10px;'>";
echo "<tr><td><table align='center' width='100%' cellspacing='0' cellpadding='0'>";
echo "<tr><td><table align='center' width='100%' cellspacing='0' cellpadding='0'>";
echo "<tr><td class='header' width='100%'>";
// Start banner code / Banerio kodas
echo "<table width='100%' cellspacing='0' cellpadding='0'>";
echo "<tr><td height='25' background='".THEME."images/jou.jpg' align='center' valign='middle'>
<table width='95%' border='0' cellspacing='0' cellpadding='0'><tr>
<td width='95%' align='center'style='padding-right: 0px; padding-top: 0px;'>";
echo"
<tr>
<td><table border='0' align='center' cellpadding='0' cellspacing='0'>
<tr>
<td width='100' align='center'><a href='".BASEDIR."news.php'><img src='".THEME."images/namai.jpg' border=0' alt='Pradinis'></a></td>
<td width='100' align='center'><a href='".FORUM."index.php'><img src='".THEME."images/forumas.jpg' border=0' alt='Diskusijos'></td>
<td width='100' align='center'><a href='".BASEDIR."downloads.php'><img src='".THEME."images/siuntiniai.jpg' border=0' alt='Siuntiniai'></td>
<td width='100' align='center'><a href='".BASEDIR."viewpage.php?page_id=5'><img src='".THEME."images/reklama.jpg' border=0' alt='Reklama'></td>
</tr>
</table></td>
</tr>
</table>\n";
echo "<table width='100%' cellspacing='0' cellpadding='0'>";
echo "<tr><td height='300' background='".THEME."images/headeris.jpg' align='left' valign='middle'>
<table width='1000' border='0' cellspacing='0' cellpadding='0'><tr>
</table>\n";
echo "<table width='100%' cellpadding='4' bgcolor='#F8F8F8' cellspacing='0' border='0'><tr>";
}
function render_footer($license=false) {
global $theme_width,$locale,$settings;
echo "</tr>\n</table>\n";
echo "<table cellSpacing='0' cellPadding='2' width='100%' border='0' bgcolor='#45566f'' style='padding-left: 50px;'><tr><td height='20' class='white' align='center'><b>Dizainas pagal: <a href='http://115.xz.lt'>115.xz.lt</a></b></td></tr></table>";
}
function render_news($subject, $news, $info) {
echo "<table cellpadding='0' cellspacing='0' width='100%' class='border'>
<tr>
<td>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='capmain' align='center'>$subject</td>
</tr>
<tr>
<td class='main-body'>$news</td>
</td>
</tr>
<tr>
<td align='center' class='news-footer'>\n";
echo openform("N",$info['news_id']).newsposter($info," ").newsopts($info," ").closeform("N",$info['news_id']);
echo "</td>
</tr>
</table>
</td>
</tr>
</table>\n";
}
function render_article($subject, $article, $info) {
echo "<table cellpadding='0' cellspacing='0' width='100%' class='border'>
<tr>
<td>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='capmain' align='center'>$subject</td>
</tr>
<tr>
<td class='main-body'>
".($info['article_breaks'] == "y" ? nl2br($article) : $article)."
</td>
</tr>
<tr>
<td class='news-footer'>\n";
echo openform("A",$info['article_id']).articleposter($info," ·").articleopts($info,"·").closeform("A",$info['article_id']);
echo "</td>
</tr>
</table>
</td>
</tr>
</table>\n";
}
function opentable($title) {
echo "<table cellpadding='0' cellspacing='0' width='100%' class='border'>
<tr>
<td class='capmain' align='center'>$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' align='center'>$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' align='center'>$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";
}
?>
Screenas:
http://www.failai.in/P/121491454...aderis.jpg
code and design solutions tinklalapių kūrimas
Redagavo ozzWANTED 2008 Lie. 1 16:07:07 |