Parašė zDon· 2009 Gru. 29 21:12:16
#1
Sveiki. Susigalvojau persidaryt dizainą iš v7 į v6.
Viskas veikia gerai tik iškilo problema.
Panelių išdėstymas ne toks koks turi būt.
Dabar yra taip :
Kairės pusės panelės
Centrinės panelės
Dešinės pusės panelės
Footeris
O reikia kad būtų :
Kairės pusės panelės Centrinės panelės Dešinės pusės panelės
Footeris
Theme.php :
<?php
if (!defined("IN_FUSION")) { die("Access Denied"); }
require_once INCLUDES."theme_functions_include.php";
function render_header() {
echo "<table cellpadding='0' cellspacing='0' class='glava'>\n";
echo "<tr>\n";
echo "<td class='glava_zgoraj'></td>\n";
echo "<td class='glava_zgoraj logo'><img src='".THEME."images/{$logo}' /></td>\n";
echo "<td class='glava_zgoraj'></td>\n";
echo "</tr>\n";
echo "<tr>\n";
echo "<td class='menu'><div class='menu_levo'></div></td>\n";
echo "<td>\n";*/
echo "<table cellpadding='0' cellspacing='0' class='glava'>\n";
echo "<tr>\n";
echo "<td class='glava_zgoraj'></a></td>\n";
echo "<td class='ozadje_zgoraj'>\n";
echo "<table class='zgoraj' cellpadding='0' cellspacing='0'>\n";
echo "<tr>\n";
echo "<td><img src='".THEME."images/bg.jpg'></td>\n";
echo "</tr>\n";
echo "</table>\n";
echo "</td>\n";
echo "<td class='glava_zgoraj'></td>\n";
echo "</tr>\n";
echo "<tr>\n";
echo "<td class='menu'><div class='menu_levo'></div></td>\n";
echo "<td>\n";
echo "<table cellpadding='0' cellspacing='0' class='menu_center'>\n";
echo "<tr>\n";
echo "<td class='prazno_levo'></td>\n";
echo "<td class='prazno'>\n";
echo "<div id='navigacija'>\n";
echo "<ul>\n";
echo "<li><span><center>Navigacija :)</center></span></li>\n";
echo "</ul>\n";
echo "</div>\n";
echo "</td>\n";
echo "<td class='prazno_desno'></td>\n";
echo "</tr>\n";
echo "</table>\n";
echo "</td>\n";
echo "<td class='menu'><div class='menu_desno'></div></td>\n";
echo "</tr>\n";
echo "<tr>\n";
echo "<td colspan='3' class='glava_spodaj'></td>\n";
echo "</tr>\n";
echo "</table>\n";
echo "</tr>\n</table>\n";
}
function render_news($subject, $news, $info) {
echo "<table cellpadding='0' cellspacing='0' width='100%' style='margin-top: 10px;'>\n<tr>\n";
echo "<td class='capmain'>".$subject."</td>\n";
echo "</tr>\n<tr>\n";
echo "<td class='main-body'>".$news."\n";
echo "<div class='news-footer'>xuj !</div>\n";
echo "</td>\n";
echo "</td>\n</tr>\n</table>\n";
}
function render_article($subject, $article, $info) {
echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
echo "<td class='capmain'>".$subject."</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'>\n piss off";
echo "</td>\n</tr>\n</table>\n";
}
function render_footer(){
echo "<table cellpadding='0' cellspacing='0' class='noga'>\n";
echo "<tr>\n";
echo "<td class='noga_ozadje'></td>\n";
echo "<td class='noga_sredina' valign='top'><div class='noga_vsebina'>© Si-fusion. Vse pravice pridr˛ane. Powered by <a href='http://www.php-fusion.co.uk/'>PHP-fusion</a>.\n";
echo "Designed by <a href='http://www.phpfusion-si.com/'>Si-Fusion</a>.</div></td>\n";
echo "<td class='noga_ozadje'></td>\n";
echo "</tr>\n";
echo "</table>\n";
}
function opentable($title) {
echo "<table cellpadding='0' cellspacing='0' width='100%' style='margin-top: 10px;'>\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";
}
function openside($title) {
echo "<table cellpadding='0' cellspacing='0' width='100%' class='border'>\n<tr>\n";
echo "<td><div class='scapmain'>".$title."</div></td>\n";
echo "</tr>\n<tr>\n";
echo "<td><div class='side-body'>\n";
}
function closeside(){
echo "</td>\n</tr>\n</table>\n";
}
?>
Dėkui kas padėsit :)
Redagavo zDon· 2009 Gru. 29 21:12:28