Witam.
Zrobiłem logo o wym 1100x360. Aby strona była dopasowana pod logo lecz subheader ucina część.
Oto logo: http://f1pitstop....ages/3.png
A tak wygląda strona z logiem
Przy okazji zapytam gdzie zmienić w subheaderze te "Strona główna, forum download, kat. newsów" ?? W pliku theme.php niema tego.
Edit\\
Oto kod pliku theme.php
<?php
if (!defined("IN_FUSION")) { die("Access Denied"); }
define("THEME_BULLET", "<img class='bullet' src='".THEME."images/bullet.gif' alt='bullet.gif' border='0'/>");
define("THEME_WIDTH", "1100px");
require_once INCLUDES."theme_functions_include.php";
function render_page($license=false) {
global $settings, $main_style, $locale;
//Header
echo "<table cellspacing='0' cellpadding='0' class='center' width='".THEME_WIDTH."' style='height:180px;'>";
echo "<tr>";
echo "<td class='sidess' width='".THEME_WIDTH."'>\n".showbanners()."</td>";
echo "</tr>";
echo "</table>\n";
echo "<table cellpadding='0' cellspacing='0' class='center' width='".THEME_WIDTH."' style='height:41px;'>";
echo "<tr>";
echo "<td class='sub-header' align='left'>".showsublinks(" ", "white")."</td>\n";
echo "</tr>\n</table>\n";
//Content
echo "<table cellpadding='0' cellspacing='0' width='".THEME_WIDTH."' class='center'>";
echo "<tr>";
echo "<td class='main-bg' valign='top'>".U_CENTER.CONTENT.L_CENTER."</td>";
if (LEFT) { echo "<td class='side-border-left' valign='top'>".LEFT."</td>"; }
if (RIGHT) { echo "<td class='side-border-right' valign='top'>".RIGHT."</td>"; }
echo "</tr>\n";
echo "</table>\n";
//Footer
echo "<table cellpadding='0' cellspacing='0' width='".THEME_WIDTH."' class='center'>";
echo "<tr>";
echo "<td align='left' class='main-footer'>".showcounter()."</td>";
echo "<td align='right' class='main-footer'>Theme <b>FusionCamp</b> by <a href='http://php-fusion.openworld.dk/' target='blank'>Harly</a></td>";
echo "</tr>\n";
echo "</table>\n";
echo "<table cellpadding='0' cellspacing='0' width='".THEME_WIDTH."' class='center'>";
echo "<tr>";
echo "<td class='bottom-footer'>".stripslashes($settings['footer']);
echo "<br />";
if (!$license) { echo "\n".showcopyright(); }
echo "</td>\n";
echo "</tr>\n";
echo "</table>\n";
}
function render_news($subject, $news, $info) {
global $locale;
echo "<table cellpadding='0' cellspacing='0' width='100%' class='border'>\n<tr>\n";
echo "<td class='capmain'>".$subject."<br />";
echo "<span class='news-footer' style='font-weight:normal;background-color:#FAF7E8;'>".$locale['global_070']." ".newsposter($info)."</span>";
echo "</td>\n</tr>\n<tr>\n";
echo "<td class='main-body' style='padding-left:8px;'>".$news."</td>\n";
echo "</tr>\n<tr>\n";
echo "<td align='right' class='news-footer'>\n";
echo newsopts($info,"·").itemoptions("N",$info['news_id']);
echo "</td>\n";
echo "</tr>\n";
echo "</table>\n";
}
function render_article($subject, $article, $info) {
echo "<table cellpadding='0' cellspacing='0' width='100%' class='border'>\n<tr>\n";
echo "<td class='capmain'>".$subject."<br />";
echo "<span class='news-footer' style='font-weight:normal;background-color:#FAF7E8;'>".articleposter($info)."</span>";
echo "</td>\n</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='right' class='news-footer'>\n";
echo articleopts($info,"·").itemoptions("A",$info['article_id']);
echo "</td>\n";
echo "</tr>\n";
echo "</table>\n";
}
function opentable($title, $collapse = false, $state = "on") {
global $panel_collapse; $panel_collapse = $collapse;
echo "<table cellpadding='0' cellspacing='0' style='width:100%;'>\n<tr>\n";
echo "<td align='left' class='capmain'>$title</td>\n";
if ($collapse == true) {
$boxname = str_replace(" ", "", $title);
echo "<td class='capmain' align='right'>".panelbutton($state, $boxname)."</td>\n";
}
echo "</tr>\n</table>\n";
echo "<table cellpadding='0' cellspacing='0' style='width:100%;'>\n<tr>\n";
echo "<td class='main-body'>\n";
if ($collapse == true) { echo panelstate($state, $boxname); }
}
function closetable() {
global $panel_collapse;
if ($panel_collapse == true) { echo "</div>\n"; }
echo "</td>\n";
echo "</tr>\n</table>\n";
}
function openside($title, $collapse = false, $state = "on") {
global $panel_collapse; $panel_collapse = $collapse;
echo "<table cellpadding='0' cellspacing='0' style='width:100%;'>\n<tr>\n";
echo "<td align='center' class='scapmain'>$title</td>\n";
if ($collapse == true) {
$boxname = str_replace(" ", "", $title);
echo "<td class='scapmain' align='right'>".panelbutton($state, $boxname)."</td>\n";
}
echo "</tr>\n</table>\n";
echo "<table cellpadding='0' cellspacing='0' style='width:100%;'>\n<tr>\n";
echo "<td class='side-body'>\n";
if ($collapse == true) { echo panelstate($state, $boxname); }
}
function closeside() {
global $panel_collapse;
if ($panel_collapse == true) { echo "</div>\n"; }
echo "</td>\n";
echo "</tr>\n</table>\n";
}
PW od moderatora:
- Zmiana nazwy tematu - Chemikpil 04.09 - 16:37
Edytowane przez Pieka dnia 13.09.2009 17:43:24
|