Parašė Fr3eDoM· 2009 Bir. 12 12:06:21
#1
sveiki ,
parsisiunciau alldesingBIZ tema, ir man nerodo header per ie.
kame problema? per mozilla rodo o per ie ne.
yra puslapis lpi.lt kuriame tapati tema, bet pas ji ir per ie tas headeris veikia ir per mozilla.
mano puslapis
http://lppt.getenjoyment.net pabandykit su ie ir mozilla pamatysit ka turiu omeny
jei galit pakeiskit kad per abu veiktu
dekui ;) duosiu +10
theme.php :
<?php
if (!defined("IN_FUSION")) { header("Location: ../../index.php"); exit; }
require_once INCLUDES."theme_functions_include.php";
// theme settings
$body_text = "#000000";
$body_bg = "#FFFFFF";
$theme_width = "1000";
$theme_width_l = "216";
$theme_width_r = "216";
function render_header($header_content) {
global $theme_width;
echo "
<tr>
<td><table border='0' align='center' cellpadding='0' cellspacing='0'>
<tr>
<td width='354' align='center'><img src='".THEME."images/none.jpg' border=0' alt='Pagrindinis'></a></td>
<td width='84' align='center'><a href='".BASEDIR."index.php'><img src='".THEME."images/pagrindinis.jpg' border=0' alt='Pagrindinis'></a></td>
<td width='82' align='center'><a href='".BASEDIR."zaidimai.php'><img src='".THEME."images/forumas.jpg' border=0' alt='Zaidimai'></td>
<td width='81' align='center'><a href='".BASEDIR."downloads.php'><img src='".THEME."images/straipsniai.jpg' border=0' alt='Muzika'></td>
<td width='86' align='center'><a href='".BASEDIR."programos.php'><img src='".THEME."images/galerija.jpg' border=0' alt='Programos'></td>
<td width='310' align='center'><img src='".THEME."images/none1.jpg' border=0' alt='Forumas'></td>
</tr>
</table></td>
</tr>
</table>\n";
echo "<table align='center' cellspacing='0' cellpadding='0' width='1000'>
<tr>
<td>
<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td class='full-header'>
<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td <img src='".THEME."images/header.jpg'></td>
</tr>
</table>
</td>
</tr>
</table>\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>
<td width='247' align='left' class='f_text'> <a style='color:#000;'>(c) Copyright</a></td>
<td width='247' align='center' class='f_text'> <a style='color:#000;'>Visos Teises Saugomos</a></td>
<td width='247' align='right' class='f_text'> <a href='http://lppt.getenjoyment.net' style='color:#000;'>LPPT Laisvalaikio ir Pramogu Portalas TAU!</a></td>
</tr>
</table>
</td>
</tr>
</table>\n";
}
function render_news($subject, $news, $info) {
echo "<table cellpadding='0' cellspacing='0' width='520'>
<tr>
<td align='center' class='capmain'>$subject</td>
</tr>
<tr>
<td class='main-body'>$news</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>\n";
}
function render_article($subject, $article, $info) {
echo "<table width='520' cellpadding='0' cellspacing='0'>
<tr>
<td align='center' class='capmain'>$subject</td>
</tr>
<tr>
<td class='main-body'>
".($info['article_breaks'] == "y" ? nl2br($article) : $article)."
</td>
</tr>
<tr>
<td align='center' class='news-footer'>\n";
echo openform("A",$info['article_id']).articleposter($info," ·").articleopts($info,"·").closeform("A",$info['article_id']);
echo "</td>
</tr>
</table>\n";
}
function opentable($title) {
echo "<table cellpadding='0' cellspacing='0' width='520'>
<tr>
<td align='center' class='capmain'>$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'>$title</td>
</tr>
<tr>
<td class='side-body'>\n";
}
function closeside() {
echo "</td>
</tr>
<tr><td><img src='".THEME."images/paneles_apacia.gif'></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'>$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";
}
?>
Redagavo Fr3eDoM· 2009 Bir. 12 12:06:45
Parašė Fr3eDoM· 2009 Bir. 12 15:06:44
#9
neripinu as nieko, as net nemoku ripint parsisiunciau is kaskokio puslapio ir taip gavos...