I kolejny problem z grafiką POmocy!!!
|
bulik |
Dodany dnia 28.10.2006 12:39:29
|
Przedszkolak
Postów: 19
Data rejestracji: 22.10.2006 09:39
|
mam proble po zainstalowaniu jakiejś wtyczki mam pustą ramke która albo wyświetla sie bezpośrednio na logu mojej strony albo oobirza go ( strona się rozjeżdza) , szukałem na forum czegoś podobnego ale nie mogę znaleźć pomocy !!!
oto link www.skkt.yoyo.pl
a to kod z thema.php
<?
// theme settings
$body_text = "#ffffff";
$body_bg = "#575757";
$theme_width = "100%";
$theme_width_l = "180";
$theme_width_r = "180";
function render_header($header_content) {
global $theme_width,$settings;
echo "<table align='center' width='$theme_width' cellspacing='0' cellpadding='0'>
<tr>
<td class='leftside' valign=top></td>
<td>
</td>
<td>
<table width='100%' align='center' cellspacing='0' cellpadding='0'>
<tr>
<td width='100%' height='108' class='top-t'><center><img src='".THEME."images/logo.jpg'></center></td>
</tr>
<tr>
<td>
<table width='100%' cellspacing='0' cellpadding='0'>
<tr>
<td class='sub-l' > <img src='".THEME."images/bulletml.gif'> ";
$result = dbquery("SELECT * FROM ".DB_PREFIX."site_links WHERE link_visibility<='".iUSER."' AND link_position>='2' ORDER BY link_order");
if (dbrows($result) != 0) {
$i = 1;
while($data = dbarray($result)) {
if ($data['link_url']!="---") {
$link_target = ($data['link_window'] == "1" ? " target='_blank'" : "");
if (strstr($data['link_url'], "http://") || strstr($data['link_url'], "https://")) {
echo "<a href='".$data['link_url']."'".$link_target." class='white'>".$data['link_name']."</a>";
} else {
echo "<a href='".BASEDIR.$data['link_url']."'".$link_target." class='white'>".$data['link_name']."</a>";
}
}
if ($i != dbrows($result)) { echo " <img src='".THEME."images/bulletms.gif'> \n"; } else { echo "\n"; } $i++;
}
}
echo " <img src='".THEME."images/bulletmp.gif'></td>
<td class='sub-m' > </td>
<td class='sub-r' align='right' width='25%'>".ucwords(showdate($settings['subheaderdate'], time()))." </td>
</tr>
</table>
</td>
</tr>
<tr>
<td align=center>
</td>
</tr>
</table>\n";
echo "<table width='100%' cellspacing='0' cellpadding='0' align='center'>\n<tr>\n";
}
function render_footer($license=false) {
global $theme_width,$settings;
echo "</tr>\n</table>\n";
echo "<table width='100%' border='0' cellspacing='0' cellpadding='0'>
<tr>
<td><center><table width='100%' border='0' cellspacing='0' cellpadding='0'>
<tr>
<td class='sidi-top-left'> </td>
<td class='sidi-top-main' > </td>
<td class='sidi-top-right'> </td>
</tr>
<tr>
<td class='sidi-left'> </td>
<td class='side-body' ><center><table border='0'>
<tr>
<td class='side-body' width='100%'><center>engine: <b><a href='http://www.php-fusion.co.uk'>PHP-Fusion</a> v". sprintf("%.2f", $settings['version'])."</b> || <b>kewals</b> theme by: <b><a href='http://webmer.tk' target='_blank'>sonar</a> from <b><a href='http://extreme-fusion.pl' target='_blank'>EP</a></b><br>
</b></td>
</tr>
<tr>
<td></td>
</tr>
<tr>
<td><center>
<br>
\n";
$result = dbquery("SELECT * FROM ".DB_PREFIX."site_links WHERE link_position>='2' ORDER BY link_order");
if (dbrows($result) != 0) {
echo " \n";
$i = 0;
while($data = dbarray($result)) {
if (checkgroup($data['link_visibility'])) {
if ($data['link_url']!="---") {
if ($i != 0) { echo " <b>::</b>\n"; } else { echo "\n"; }
$link_target = ($data['link_window'] == "1" ? " target='_blank'" : "");
if (strstr($data['link_url'], "http://") || strstr($data['link_url'], "https://")) {
echo "<a href='".$data['link_url']."'".$link_target." class='white'>".$data['link_name']."</a>";
} else {
echo "<a href='".BASEDIR.$data['link_url']."'".$link_target." class='white'>".$data['link_name']."</a>";
}
}
$i++;
}
}
}
echo ($i == 0 ? " " : "")."
</center></td>
</tr>
</table></td>
<td class='sidi-right'> </td>
</tr>
<tr>
<td class='border-dol'> </td>
<td class='border-dos'> </td>
<td class='border-dor'> </td>
</tr>
</table></center>
</td>
</tr>
</table>
</td>
<td class='rightside' valign='top'></td>
</td>
</tr>
</table>
<center><table cellpadding='0' cellspacing='0'><tr><td class='leftside'></td><td width='100%' height='24' class='vudel-d'></td><td class='rightside'></td></tr></table></center>
\n";
}
function render_news($subject, $news, $info) {
global $settings;
echo "<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='sidi-top-left'><img src='".THEME."images/blank.gif' width='14' height='24' alt='' style='display:block'></td>
<td width='100%' class='sidi-top-main'>$subject</td>
<td class='sidi-top-right'><img src='".THEME."images/blank.gif' width='14' height='24' alt='' style='display:block'></td>
</tr>
</table>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='sidi-left'><img src='".THEME."images/blank.gif' width='5' height='1' alt='' style='display:block'></td>
<td class='main-body'>
<div style='width:100%;vertical-align:top;'>$news</div>
<div style='margin-top:5px'>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='infobar'><img src='".THEME."images/bullet.gif'>
".$locale['040']."<a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a>
".$locale['041'].showdate("longdate", $info['news_date'])."
</td>
<td align='right' class='infobar'>
".($info['news_ext'] == "y" ? "<a href='news.php?readmore=".$info['news_id']."'>".$locale['042']."</a> ·\n" : "")."
<a href='news.php?readmore=".$info['news_id']."'>".$info['news_comments'].$locale['043']."</a> ·
".$info['news_reads'].$locale['044']."
<a href='print.php?type=N&item_id=".$info['news_id']."'><img src='".THEME."images/printer.gif' alt='".$locale['045']."' border='0' style='vertical-align:middle;'></a>
</td>
</tr>
</table>
</div>
</td>
<td class='sidi-right'><img src='".THEME."images/blank.gif' width='5' height='1' alt='' style='display:block'></td>
</tr>
<tr>
<td class='border-dol'><img src='".THEME."images/blank.gif' width='14' height='24' alt='' style='display:block'></td>
<td class='border-dos'><img src='".THEME."images/blank.gif' width='1' height='24' alt='' style='display:block'></td>
<td class='border-dor'><img src='".THEME."images/blank.gif' width='14' height='24' alt='' style='display:block'></td>
</tr>
</table>\n";
}
function render_article($subject, $article, $info) {
echo "<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='sidi-top-left'><img src='".THEME."images/blank.gif' width='14' height='24' alt='' style='display:block'></td>
<td width='100%' class='sidi-top-main'><b>$subject</b></td>
<td class='sidi-top-right'><img src='".THEME."images/blank.gif' width='14' height='24' alt='' style='display:block'></td>
</tr>
</table>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='sidi-left'><img src='".THEME."images/blank.gif' width='5' height='1' alt='' style='display:block'></td>
<td class='main-body'>
<div style='width:100%;vertical-align:top;'>".($info['article_breaks'] == "y" ? nl2br($article) : $article)."</div>
<div style='margin-top:5px'>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='infobar'><img src='".THEME."images/bullet.gif'>
".$locale['040']."<a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a>
".$locale['041'].showdate("longdate", $info['article_date'])."
</td>
<td align='right' class='infobar'>
<a href='readarticle.php?article_id=".$info['article_id']."'>".$info['article_comments'].$locale['043']."</a> ·
".$info['article_reads'].$locale['044']."
<a href='print.php?type=A&item_id=".$info['article_id']."'><img src='".THEME."images/printer.gif' alt='".$locale['045']."' border='0' style='vertical-align:middle;'></a>
</td>
</tr>
</table>
</div>
</td>
<td class='sidi-right'><img src='".THEME."images/blank.gif' width='5' height='1' alt='' style='display:block'></td>
</tr>
<tr>
<td class='border-dol'><img src='".THEME."images/blank.gif' width='14' height='24' alt='' style='display:block'></td>
<td class='border-dos'><img src='".THEME."images/blank.gif' width='1' height='24' alt='' style='display:block'></td>
<td class='border-dor'><img src='".THEME."images/blank.gif' width='14' height='24' alt='' style='display:block'></td>
</tr>
</table>\n";
}
function opentable($title) {
echo "<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='sidi-top-left'><img src='".THEME."images/blank.gif' width='14' height='24' alt='' style='display:block'></td>
<td width='100%' class='sidi-top-main'>$title</td>
<td class='sidi-top-right'><img src='".THEME."images/blank.gif' width='14' height='24' alt='' style='display:block'></td>
</tr>
</table>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='sidi-left'><img src='".THEME."images/blank.gif' width='5' height='1' alt='' style='display:block'></td>
<td class='main-body'>\n";
}
function closetable() {
echo "</td>
<td class='sidi-right' ><img src='".THEME."images/blank.gif' width='14' height='1' alt='' style='display:block'></td>
</tr>
<tr>
<td class='border-dol'><img src='".THEME."images/blank.gif' width='5' height='16' alt='' style='display:block'></td>
<td class='border-dos'><img src='".THEME."images/blank.gif' width='1' height='16' alt='' style='display:block'></td>
<td class='border-dor'><img src='".THEME."images/blank.gif' width='5' height='16' alt='' style='display:block'></td>
</tr>
</table>\n";
}
function openside($title) {
echo "<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='sidi-top-left'><img src='".THEME."images/blank.gif' width='14' height='24' alt='' style='display:block'></td>
<td width='100%' class='sidi-top-main'>$title</td>
<td class='sidi-top-right'><img src='".THEME."images/blank.gif' width='14' height='24' alt='' style='display:block'></td>
</tr>
</table>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='sidi-left'><img src='".THEME."images/blank.gif' width='5' height='1' alt='' style='display:block'></td>
<td class='side-body'>\n";
}
function closeside() {
echo "</td>
<td class='sidi-right'><img src='".THEME."images/blank.gif' width='5' height='1' alt='' style='display:block'></td>
</tr>
<tr>
<td class='border-dol'><img src='".THEME."images/blank.gif' width='5' height='16' alt='' style='display:block'></td>
<td class='border-dos'><img src='".THEME."images/blank.gif' width='1' height='16' alt='' style='display:block'></td>
<td class='border-dor'><img src='".THEME."images/blank.gif' width='5' height='16' alt='' style='display:block'></td>
</tr>
</table>\n";
tablebreak();
}
function opensidex($title,$open="on") {
$box_img = ($open=="on" ? "off" : "on");
echo "<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='sidi-top-left'><img src='".THEME."images/blank.gif' width='5' height='21' alt='' style='display:block'></td>
<td class='sidi-top-main'>$title</td>
<td align='right' class='sidi-top-main'><img onclick=\"javascript:flipBox('$title')\" name='b_$title' alt='$box_img' border='0' src='".THEME."images/panel_$box_img.gif'></td>
<td class='sidi-top-right'><img src='".THEME."images/blank.gif' width='5' height='21' alt='' style='display:block'></td>
</tr>
</table>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='border-left'><img src='".THEME."images/blank.gif' width='5' height='1' alt='' style='display:block'></td>
<td class='side-body'>
<div id='box_$title'".($open=="off" ? "style='display:none'" : "").">\n";
}
function closesidex() {
echo "</div>
<td class='border-right'><img src='".THEME."images/blank.gif' width='5' height='1' alt='' style='display:block'></td>
</tr>
<tr>
<td class='border-bleft'><img src='".THEME."images/blank.gif' width='5' height='16' alt='' style='display:block'></td>
<td class='border-bmain'><img src='".THEME."images/blank.gif' width='1' height='16' alt='' style='display:block'></td>
<td class='border-bright'><img src='".THEME."images/blank.gif' width='5' height='16' alt='' style='display:block'></td>
</tr>
</table>\n";
tablebreak();
}
function tablebreak() {
echo "<table width='100%' cellspacing='0' cellpadding='0'>
<tr><td height='5'></td></tr>
</table>\n";
}
?>
Edytowane przez jantom dnia 28.10.2006 19:06:39
|
|
|
|
Wścibski Gość |
Dodany dnia 10.01.2025 04:14:38
|
Pan Kontekstualny
Postów: n^x
Data rejestracji: Zawsze
|
|
IP: localhost |
|
|
Xen |
Dodany dnia 28.10.2006 18:17:05
|
Przedszkolak
Postów: 90
Data rejestracji: 01.08.2004 05:15
|
Powiem szczerze, że nie mam pojęcia o czym mówisz - ja tam nie znalazłem żadnej ramki (nie wliczając tych reklam z serwera yoyo.pl). Jak możesz sprecyzuj co masz dokładnie na mysli. |
|
|
|
bulik |
Dodany dnia 29.10.2006 08:18:03
|
Przedszkolak
Postów: 19
Data rejestracji: 22.10.2006 09:39
|
Chodzi mi właśnie oto , zobacz zdjęcie http://www.skkt.y...tronka.jpg |
|
|
|
wlodekp |
Dodany dnia 29.10.2006 08:45:48
|
Weteran
Postów: 3101 Pomógł: 29
Data rejestracji: 21.05.2005 22:27
|
To nie żaden panel tylko wielkość Twojego logo załatwia sprawę.
|
|
|
|
bulik |
Dodany dnia 30.10.2006 06:07:15
|
Przedszkolak
Postów: 19
Data rejestracji: 22.10.2006 09:39
|
a jak moge zlikwidować ta ramke i zostawić taka wielkość loga jak mam teraz |
|
|
|
wlodekp |
Dodany dnia 30.10.2006 06:56:19
|
Weteran
Postów: 3101 Pomógł: 29
Data rejestracji: 21.05.2005 22:27
|
W pliku style.css swojego theme usuń w clasie:
body {
..........
.............
background-image:url(images/backofsite.gif);
background-repeat:repeat-x;
}
te dwa czerwone wiersze
|
|
|
|
bulik |
Dodany dnia 30.10.2006 21:07:19
|
Przedszkolak
Postów: 19
Data rejestracji: 22.10.2006 09:39
|
ale to nic nie pomogło dalej ramka wyskakuje ?? zobacz sam
http://www.skkt.y...ronka1.jpg
moge to jakoś usunąć ??? |
|
|
|
wlodekp |
Dodany dnia 30.10.2006 21:35:59
|
Weteran
Postów: 3101 Pomógł: 29
Data rejestracji: 21.05.2005 22:27
|
Pokazałem Ci kierunek-nie znam Twoich modyfikacji w tym theme-u mnie orginalne logo tylko zwiększone jest na czrnym tle u Ciebie wygląda inaczej, ja nie używam tego theme.
|
|
|
|
Xen |
Dodany dnia 30.10.2006 23:17:49
|
Przedszkolak
Postów: 90
Data rejestracji: 01.08.2004 05:15
|
ehh - jest to tamka od reklam, które albo są włączone przez administratora serwera (bardzo prawdopodobne) albo dodane przez Ciebie |
|
|
|
bulik |
Dodany dnia 01.11.2006 07:41:48
|
Przedszkolak
Postów: 19
Data rejestracji: 22.10.2006 09:39
|
mam , znalazłem ustawienia mojej przeglądarki nie przpuszczały reklam i widziałem samą ramkę dzięki za podpowiedź:) |
|
|