Witam.
Chcialbym zmienic kolor pomiedzy panelami po lewej i prawej stronie, a panelem powitalnym i newsami. Na mojej stronie jest to kolor bialy, a chcialbym, zeby bylo widac tlo, czyli przezroczysty.
Moja strona to: www.blobby.ugu.pl
Moj theme to CMS_NoLimits po lekkiej tuningacji.
Ponizej wrzucam zawartosc mojego pliku theme.php:
<?
$body_text = "#000000";
$body_bg = "#1A769F";
$theme_width = "100%";
$theme_width_l = "160";
$theme_width_r = "160";
function render_header($header_content) {
global $theme_width,$settings;
echo "<br><center><font color='#186BAD' size='1'>Blobby Volley liga, Blobby Volley 1.8, Blobby Volley 2, Blobby Volley</font></center><table class='bodyline' align=center width='850' cellspacing='0' cellpadding='0' border='0'>";
echo "<tr><td align='center' valign='top'>";
echo "<table background='".THEME."images/logo.jpg' width='100%' border='0' cellspacing='0' cellpadding='0'><tr>";
echo "<td width='100%' height='135'>";
echo "</td>";
echo "</td></tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='0' border='0' align='center'>";
echo "</tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='0' border='0' align='center'>";
echo "<tr valign='top'>";
echo "<td valign='middle' align='right'>";
echo "<table width='100%' cellpadding='4' bgcolor='#FFFAF0' cellspacing='0' border='0'>";
}
function render_footer($license=false) {
global $theme_width,$settings,$locale;
echo "</tr>\n</table>\n";
echo "<div align='center'>";
echo "<table cellpadding='3' cellspacing='0' width='98%'>";
echo "<tr><td align='center' >";
echo "".stripslashes($settings['footer'])."";
if ($license == false) {
echo "Copyr<a href='http://blobby.ugu.pl/mapa.php' target='_blank'>i</a>ght © by <a href='mailto:'>Syber</a> & <a href='http://php-fusion.pl/' target='_blank'>PHP-Fusion</a> 2007 :: Zanotowano";
}
echo " ".$settings['counter']." ".($settings['counter'] == 1 ? $locale['140']."\n" : $locale['141']." :: Zapraszam na <a href='http://sws.ugu.pl' target='_blank'>http://www.SWS.ugu.pl</a>\n");
echo "</td></tr></table></td></tr></table></center></div><br> \n";
}
function render_news($subject, $news, $info) {
global $locale;
echo "<table border='0' style='border: 1px solid #ffffff' cellspacing='0' width='100%' cellpadding='0'><tr>";
echo "<td background='".THEME."images/tabpic2.gif' height='18'> <font class='block-title'>$subject</font></td>";
echo "</tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='0' class='border'><tr>";
echo "<td><table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='main-body'>$news</td></tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='news-footer'> ";
echo "<i>".$locale['040']."<a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a> ";
echo "".$locale['041'].showdate("longdate", $info['news_date'])." </i></td>";
echo "<td height='18' align='right' class='news-footer'>";
echo "".($info['news_ext'] == "y" ? "<a href='news.php?readmore=".$info['news_id']."'>".$locale['042']."</a> \n" : "")."";
if ($info['news_allow_comments'])
echo "";
echo "</td></tr></table></td></tr></table>\n";
}
function render_article($subject, $article, $info) {
global $locale;
echo "<table border='0' style='border: 1px solid #c0c0c0' cellspacing='0' width='100%' cellpadding='0'><tr>";
echo "<td background='".THEME."images/tabpic2.gif' height='18'><img border='0' src='".THEME."images/arrow.gif'> <font class='block-title'>$subject</font></td>";
echo "</td></tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='0' class='border'><tr>";
echo "<td><table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='main-body'>".($info['article_breaks'] == "y" ? nl2br($article) : $article)."";
echo "</td></tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='news-footer'>";
echo "<center>".$locale['040']."<a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a> ";
echo "".$locale['041'].showdate("longdate", $info['article_date'])."</center></td>";
echo "</td></tr></table></td></tr></table>\n";
}
// Open table begins
function opentable($title) {
echo "<table width='100%' cellpadding='2' cellspacing='1' style='border: 1px solid #c0c0c0'>";
echo "<tr><td background='".THEME."images/tabpic2.gif' width='100%' border='0' height='18'><font class='head-title'> $title</font></td>";
echo "</tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='0' class='border'><tr>";
echo "<td class='main-body'>\n";
}
// Close table end
function closetable() {
echo "</td></tr></table>\n";
}
function openside($title) {
echo "<table border='0' style='border: 1px solid #c0c0c0' cellspacing='1' width='100%' cellpadding='3'><tr>";
echo "<td height='18' width='100%' background='".THEME."images/tabpic.gif'>";
echo "<font class='block-title2'> $title</font>";
echo "</td></tr>";
echo "<tr><td bgcolor='#ffffff' class='side-body' width='100%'>";
}
function closeside() {
echo "</td></tr></table>";
tablebreak();
}
function opensidex($title,$open="on") {
$box_img = ($open=="on" ? "off" : "on");
echo "<table border='0' style='border: 1px solid #c0c0c0' cellspacing='1' width='100%' cellpadding='3'><tr>";
echo "<td height='18' width='100%' background='".THEME."images/tabpic.gif'>";
echo "<img align='left'onclick=\"javascript:flipBox('$title')\" name='b_$title' alt='$box_img' border='0' src='".THEME."images/panel_$box_img.gif'><font class='block-title'>$title</font>";
echo "</td></tr>";
echo "<tr><td bgcolor='#ffffff' class='side-body'width='100%' '".THEME."images/back1.gif'>";
echo "<div id='box_$title'".($open=="off" ? "style='display:none'" : "").">\n";
}
function closesidex() {
echo "</div></td></tr></table>";
tablebreak();
}
// Table functions
function tablebreak() {
echo "<table width='100%' cellspacing='0' cellpadding='0'><tr><td height='8'></td></tr></table>\n";
}
?>
Pozdrawiam!
Edytowane przez Pieka dnia 23.11.2007 23:22:12
|