[EF IV] Grafika i przeniesienie na stronę
|
fisiuxxx |
Dodany dnia 28.12.2009 16:04:36
|
Przedszkolak
Postów: 13
Data rejestracji: 28.12.2009 15:53
|
WItam, mam problem. ;( Chcę zrobić coś takiego, że po kliknięciu w obrazek przenosi mnie na daną stronę. Niestety.. pojawia mi się:
Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /home/antystac/public_html/themes/radiofmblue/theme.php on line 157
mój kod wygląda tak :
<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" align=\"center\" width=\"826\">
<tr>
<td> <a href=\"".BASEDIR."news.php\"><img src=\"".THEME."images/radio_orange_08.gif\" width=\"163\" height=\"48\" border=\"0\" alt=\"[Rozmiar: 846 bajtów]\"></a></td>
<td> <a href=\"".BASEDIR."news.php\"><img src=\"".THEME."images/radio_orange_09.gif\" width=\"89\" height=\"48\" border=\"0\" alt=\"[Rozmiar: 846 bajtów]\"></a></td>
<td> <a href=\"".BASEDIR."news.php\"><img src=\"".THEME."images/radio_orange_10.gif\" width=\"135\" height=\"48\" border=\"0\" alt=\"[Rozmiar: 846 bajtów]\"></a></td>
<td> <a href="http://www.antystacja.xaa.pl/hgl/NEW/skrypt/index.php"><img src="images/radio_orange_11.gif\" width=\"110\" height=\"48\" border=\"0\" alt=\"[Rozmiar: 846 bajtów]\"></a></td>
<td> <a href=\"".BASEDIR."news.php\"><img src=\"".THEME."images/radio_orange_12.gif\" width=\"91\" height=\"48\" border=\"0\" alt=\"[Rozmiar: 846 bajtów]\"></a></td>
<td> <a href=\"".BASEDIR."news.php\"><img src=\"".THEME."images/radio_orange_13.gif\" width=\"123\" height=\"48\" border=\"0\" alt=\"[Rozmiar: 846 bajtów]\"></a></td>
<td> <a href=\"".BASEDIR."news.php\"><img src=\"".THEME."images/radio_orange_14.gif\" width=\"115\" height=\"48\" border=\"0\" alt=\"[Rozmiar: 846 bajtów]\"></a></td>
</tr></table>
Czy mogę wiedzieć, gdzie mam błąd? :)
Pozdrawiam . ;) |
|
|
|
Wścibski Gość |
Dodany dnia 22.12.2024 04:34:42
|
Pan Kontekstualny
Postów: n^x
Data rejestracji: Zawsze
|
|
IP: localhost |
|
|
piotrek199214 |
Dodany dnia 28.12.2009 16:09:24
|
Bywalec
Postów: 977 Pomógł: 168
v7.01.05 Data rejestracji: 17.12.2007 21:05
|
Wałkowane od dawna dawna temu. Zapoznaj się z tym:
- co to jest php
- jak się wstawia kod w php
Raczej się nie zapoznasz bo to trudna filozofia, więc sprawdź poniższy kod:
echo "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" align=\"center\" width=\"826\">
<tr>
<td> <a href=\"".BASEDIR."news.php\"><img src=\"".THEME."images/radio_orange_08.gif\" width=\"163\" height=\"48\" border=\"0\" alt=\"[Rozmiar: 846 bajtów]\"></a></td>
<td> <a href=\"".BASEDIR."news.php\"><img src=\"".THEME."images/radio_orange_09.gif\" width=\"89\" height=\"48\" border=\"0\" alt=\"[Rozmiar: 846 bajtów]\"></a></td>
<td> <a href=\"".BASEDIR."news.php\"><img src=\"".THEME."images/radio_orange_10.gif\" width=\"135\" height=\"48\" border=\"0\" alt=\"[Rozmiar: 846 bajtów]\"></a></td>
<td> <a href=\"http://www.antystacja.xaa.pl/hgl/NEW/skrypt/index.php\"><img src=\"images/radio_orange_11.gif\" width=\"110\" height=\"48\" border=\"0\" alt=\"[Rozmiar: 846 bajtów]\"></a></td>
<td> <a href=\"".BASEDIR."news.php\"><img src=\"".THEME."images/radio_orange_12.gif\" width=\"91\" height=\"48\" border=\"0\" alt=\"[Rozmiar: 846 bajtów]\"></a></td>
<td> <a href=\"".BASEDIR."news.php\"><img src=\"".THEME."images/radio_orange_13.gif\" width=\"123\" height=\"48\" border=\"0\" alt=\"[Rozmiar: 846 bajtów]\"></a></td>
<td> <a href=\"".BASEDIR."news.php\"><img src=\"".THEME."images/radio_orange_14.gif\" width=\"115\" height=\"48\" border=\"0\" alt=\"[Rozmiar: 846 bajtów]\"></a></td>
</tr></table>";
Pozdrawiam
Edytowane przez piotrek199214 dnia 28.12.2009 16:10:51
Pomogłem Ci? Wystarczy podziękować i oznaczyć post jako pomocny
Tanie tworzenie wtyczek, masz problem napisz.
|
|
|
|
fisiuxxx |
Dodany dnia 28.12.2009 16:14:24
|
Przedszkolak
Postów: 13
Data rejestracji: 28.12.2009 15:53
|
Dalej to samo . |
|
|
|
piotrek199214 |
Dodany dnia 28.12.2009 16:18:04
|
Bywalec
Postów: 977 Pomógł: 168
v7.01.05 Data rejestracji: 17.12.2007 21:05
|
Sprawdź jeszcze raz bo kod został zaktualizowany.
Pomogłem Ci? Wystarczy podziękować i oznaczyć post jako pomocny
Tanie tworzenie wtyczek, masz problem napisz.
|
|
|
|
fisiuxxx |
Dodany dnia 28.12.2009 16:22:40
|
Przedszkolak
Postów: 13
Data rejestracji: 28.12.2009 15:53
|
Może wkleję cały kod? :)
<?php
if (!defined("IN_FUSION")) { header("Location: ../../index.php"); exit; }
require_once INCLUDES."theme_functions_include.php";
// theme settings
$body_text = "#585858";
$body_bg = "#000";
$theme_width = "826";
$theme_width_l = "161";
$theme_width_r = "161";
function render_header($header_content) {
global $theme_width,$settings, $locale, $userdata, $aidlink, $db_prefix ,$loginerror;
if (file_exists(INFUSIONS."user_info_panel/locale/".$settings['locale'].".php")) {
include INFUSIONS."user_info_panel/locale/".$settings['locale'].".php";
} else {
include INFUSIONS."user_info_panel/locale/English.php";
}
echo "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" align=\"center\" width=\"826\">
<tr>
<td>
<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" align=\"center\" width=\"826\">
<tr>
<td> <img src=\"".THEME."images/radio_orange_02.gif\" width=\"627\" height=\"39\" border=\"0\" alt=\"[Rozmiar: 846 bajtów]\"></td>
<td> <a href=\"".BASEDIR."news.php\"><img src=\"".THEME."images/radio_orange_03.gif\" width=\"93\" height=\"39\" border=\"0\" alt=\"[Rozmiar: 846 bajtów]\"></a></td>
<td> <a href=\"".BASEDIR."news.php\"><img src=\"".THEME."images/radio_orange_04.gif\" width=\"106\" height=\"39\" border=\"0\" alt=\"[Rozmiar: 846 bajtów]\"></a></td>
</tr></table>
<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" align=\"center\" width=\"826\">
<tr>
<td background=\"".THEME."images/radio_orange_06.gif\" width=\"242\" height=\"247\" border=\"0\" alt=\"[Rozmiar: 846 bajtów]\"><div style=\"padding-left: 5px; padding-right: 2px; padding-bottom: 20px\">
<!-- logowanie -->";
if (iMEMBER) {
opensidel();
echo " <center><table cellspacing='2'> <tr>\n";
echo ("<td class='login' > Witaj <a href='".BASEDIR."profile.php?lookup=".$userdata['user_id']."'" ."<span style='color:#".$userdata['user_color']."'>".$userdata['user_prefix'].$userdata['user_name']);
echo "</span></a></td>\n";
echo "</tr></table></center>";
if ($userdata['user_avatar'] != "") {
echo "<center><table cellspacing='0' cellpadding='0' border='0' align=\"left\"><tr>\n";
echo "<td><img src='".IMAGES."avatar_mod/gora_lewa.png' height='12' width='12'></td>\n";
echo "<td><img src='".IMAGES."avatar_mod/gora_srodek.png' height='12' width='100%'></td>\n";
echo "<td><img src='".IMAGES."avatar_mod/gora_prawa.png' height='12' width='12'></td></tr><tr>\n";
echo "<td align='left'><img src='".IMAGES."avatar_mod/srodek_lewa.png' width='12' height='100%'></td>\n";
echo "<td align='center' height='1%'>";
echo "<img src='".BASEDIR."images/avatars/".$userdata['user_avatar']."' width='50' hight='50' alt='".$data['user_name']."'></td>";
echo "<td align='right'><img src='".IMAGES."avatar_mod/srodek_prawa.png' height='100%' width='12'></td></tr><tr>\n";
echo "<td><img src='".IMAGES."avatar_mod/dol_lewa.png' height='12' width='12'></td>\n";
echo "<td><img src='".IMAGES."avatar_mod/dol_srodek.png' height='12' width='100%'></td>\n";
echo "<td><img src='".IMAGES."avatar_mod/dol_prawa.png' height='12' width='12'></td></tr>\n";
echo "</table></center>";
} else {
echo "<center><table cellspacing='0' cellpadding='0' border='0' align=\"left\"><tr>\n";
echo "<td><img src='".IMAGES."avatar_mod/gora_lewa.png' height='12' width='12'></td>\n";
echo "<td><img src='".IMAGES."avatar_mod/gora_srodek.png' height='12' width='100%'></td>\n";
echo "<td><img src='".IMAGES."avatar_mod/gora_prawa.png' height='12' width='12'></td></tr><tr>\n";
echo "<td align='left'><img src='".IMAGES."avatar_mod/srodek_lewa.png' width='12' height='100%'></td>\n";
echo "<td alig'center' height='1%'>";
echo "<img src='".FORUM."/images/brak.gif' width='50' hight='50'></td>";
echo "<td align='right'><img src='".IMAGES."avatar_mod/srodek_prawa.png' height='100%' width='12'></td></tr><tr>\n";
echo "<td><img src='".IMAGES."avatar_mod/dol_lewa.png' height='12' width='12'></td>\n";
echo "<td><img src='".IMAGES."avatar_mod/dol_srodek.png' height='12' width='100%'></td>\n";
echo "<td><img src='".IMAGES."avatar_mod/dol_prawa.png' height='12' width='12'></td></tr>\n";
echo "</table></center>";
}
$msg_count = dbcount("(message_id)", "messages", "message_to='".$userdata['user_id']."' AND message_read='0'AND message_folder='0'");
echo "<img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."edit_profile.php' class='side'>Edytuj Profil</a><br>
<img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."messages.php' class='side'>Wiadomo¶ci</a><br>
<img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."members.php' class='side'>U¿ytkownicy</a><br>\n";
if (iADMIN && (iUSER_RIGHTS != "" || iUSER_RIGHTS != "C")) {
echo "<img src='".THEME."images/bullet.gif' alt=''><a href='".ADMIN."index.php$aidlink' class='side'> Administracja</a><br>\n";
}{echo "<br>
<div style=\"text-align: center\"> <a href='".BASEDIR."setuser.php?logout=yes' class='side'>Wyloguj (x)</a></div>\n";
if ($msg_count) echo "<br><center><b><a href='".BASEDIR."messages.php' class='side2'>".sprintf('Masz %u PW' , $msg_count)."</a></b></center>\n";
}
tablebreak();
} else {
opensidel();
echo "<div align='center' style=\" padding-bootom: 25px; padding-left: 5px; padding-right: 29px\" >".(isset($loginerror) ? $loginerror : "")."
<form name='loginform' method='post' action='".FUSION_SELF."'><br><br>
<x class='text'> Login</x> <input type='text' name='user_name' class='panellogowania_texbox' value='nick' onBlur=\"if(this.value=='') this.value='nick';\" onFocus=\"if(this.value=='nick') this.value='';\" style=\"padding-top: 4px; padding-left: 5px; padding-right: 29px\" ><br><br>
<x class='text'>Hasło</x> <input type='password' name='user_pass' class='panellogowania_texbox' value='has³o' onBlur=\"if(this.value=='') this.value='has³o';\" onFocus=\"if(this.value=='has³o') this.value='';\" style=\" padding-top: 4px; padding-left: 5px; padding-right: 29px\"><br><br>
<input type='submit' name='login' value='Loguj' class='loguj' ><br><br>
</form>
\n";
if ($settings['enable_registration']) {
echo "<a href='".BASEDIR."register.php' class='text'>Rejestracja</a> / \n";
}
echo "<a href='".BASEDIR."lostpassword.php' class='text'>Zgubione hasło</a>
</div>\n";
}
closesidel();
echo "</div></td>
<td> <img src=\"".THEME."images/radio_orange_07.gif\" width=\"584\" height=\"247\" border=\"0\" alt=\"[Rozmiar: 846 bajtów]\"></td>
</tr></table>
<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" align=\"center\" width=\"826\">
echo "</div></td>
<td> <img src=\"".THEME."images/radio_orange_07.gif\" width=\"584\" height=\"247\" border=\"0\" alt=\"[Rozmiar: 846 bajtów]\"></td>
echo "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" align=\"center\" width=\"826\">
<tr>
<td> <a href="".BASEDIR."news.php\"><img src=\"".THEME."images/radio_orange_08.gif\" width=\"163\" height=\"48\" border=\"0\" alt=\"[Rozmiar: 846 bajtów]\"></a></td>
<td> <a href="".BASEDIR."news.php\"><img src=\"".THEME."images/radio_orange_09.gif\" width=\"89\" height=\"48\" border=\"0\" alt=\"[Rozmiar: 846 bajtów]\"></a></td>
<td> <a href="".BASEDIR."news.php\"><img src=\"".THEME."images/radio_orange_10.gif\" width=\"135\" height=\"48\" border=\"0\" alt=\"[Rozmiar: 846 bajtów]\"></a></td>
<td> <a href="http://www.antystacja.xaa.pl/hgl/NEW/skrypt/index.php\"><img src=\"images/radio_orange_11.gif\" width=\"110\" height=\"48\" border=\"0\" alt=\"[Rozmiar: 846 bajtów]\"></a></td>
<td> <a href="".BASEDIR."news.php\"><img src=\"".THEME."images/radio_orange_12.gif\" width=\"91\" height=\"48\" border=\"0\" alt=\"[Rozmiar: 846 bajtów]\"></a></td>
<td> <a href="".BASEDIR."news.php\"><img src=\"".THEME."images/radio_orange_13.gif\" width=\"123\" height=\"48\" border=\"0\" alt=\"[Rozmiar: 846 bajtów]\"></a></td>
<td> <a href="".BASEDIR."news.php\"><img src=\"".THEME."images/radio_orange_14.gif\" width=\"115\" height=\"48\" border=\"0\" alt=\"[Rozmiar: 846 bajtów]\"></a></td>
</tr></table>";
<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" align=\"center\" width=\"826\">
</td>
</tr>
<tr></tr>
<tr>
<td>\n";
echo " <table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" align=\"center\" width=\"826\">
<tr>\n";
}
function render_footer($license=false) {
global $theme_width,$settings;
echo "</tr>\n</table>\n";
echo "<table cellpadding='0' align='center' cellspacing='0' width='$theme_width'>
<tr>
<td background='".THEME."images/radio_orange_31.gif'width=\"826\" height=\"42\" border=\"0\" align='center' class='side'>".stripslashes($settings['footer'])."
Powered by: <a href='http://php-fusion.co.uk' target='_blank'>PHP-fusion </a> & <a href='http://extreme-fusion.pl/' target='_blank'>eXtreme-fusion</a> | <a href='http://okna.eu.pl/news.php' target='_blank'>Okna</a> | Desing & themes -<a href='[strona łamiąca licencję!]' target='_blank'>[strona łamiąca licencję!] Team</a></small>
| Unikalnych wizyt: ".$settings['counter']."
</td>
</tr>
</table>
</td>
</tr>
</table>\n";
}
function render_news($subject, $news, $info) {
global $settings;
echo "
<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"605\">
<tr>
<td background=\"".THEME."images/radio_orange_24.gif\" width=\"605\" height=\"53\" style=\" padding-left: 15px; padding-right: 5px border=\"0\" alt=\"\" class='scapmain'><b>$subject</b></td></tr><tr>
<td background=\"".THEME."images/radio_orange_26.gif\" width=\"605\" style=\" padding-bottom:5px; padding-left: 15px; padding-right: 5px\">
$news<br>
</td></tr><tr>
<td background=\"".THEME."images/radio_orange_26.gif\" width=\"605\" style=\" padding-top:-0px; padding-left: 33px; padding-right: 33px\"><table width=\"100%\"><tr><td >
".$locale['040']."<a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a>
".$locale['041'].showdate("longdate", $info['news_date'])."<td >".($info['news_ext'] == "y" ? "<a href='news.php?readmore=".$info['news_id']."'>".$locale['042']."</a>" : "")."
<a href='news.php?readmore=".$info['news_id']."'>Komentarzy: ".$info['news_comments'].$locale['043']."</a> | Czytano:
".$info['news_reads'].$locale['044']." razy.
<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>
</td></tr><tr>
<td><img src=\"".THEME."images/radio_orange_29.gif\" width=\"605\" height=\"11\" border=\"0\" alt=\"[Rozmiar: 846 bajtów]\"></td>
</tr>
</table>
";
}
function render_article($subject, $article, $info) {
echo "
<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"605\">
<tr>
<td background=\"".THEME."images/radio_orange_24.gif\" width=\"605\" height=\"53\" style=\" padding-left: 15px; padding-right: 5px border=\"0\" alt=\"\"><b>Artykuł: $subject</b></td></tr><tr>
<td background=\"".THEME."images/radio_orange_26.gif\" width=\"605\" style=\" padding-left: 15px; padding-right: 5px\">
<b></b>
<div style=\"padding-left: 7px; padding-right: 7px\">".($info['article_breaks'] == "y" ? nl2br($article) : $article)."</div><br>
</td></tr><tr>
<td background=\"".THEME."images/radio_orange_26.gif\" width=\"605\" style=\" padding-left: 15px; padding-right: 5px\"><table width='98%' cellpadding='0' cellspacing='0'>
<tr>
<td><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'>
<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>
</td></tr><tr>
<td><img src=\"".THEME."images/radio_orange_29.gif\" width=\"605\" height=\"11\" border=\"0\" alt=\"[Rozmiar: 846 bajtów]\"></td>
</tr>
</table>
\n";
}
function opentable($title) {
echo "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"605\">
<tr>
<td background=\"".THEME."images/radio_orange_24.gif\" width=\"605\" height=\"53\" style=\" padding-left: 15px; padding-right: 5px border=\"0\" alt=\"\" class='capmain'><b>$title<b></td></tr><tr>
<td background=\"".THEME."images/radio_orange_26.gif\" width=\"605\" style=\" padding-bottom:10px; padding-left: 15px; padding-right: 15px\">";
}
function closetable() {
echo "
</td></tr><tr>
<td><img src=\"".THEME."images/radio_orange_29.gif\" width=\"605\" height=\"11\" border=\"0\" alt=\"[Rozmiar: 846 bajtów]\"></td>
</tr>
</table>\n";
}
function openside($title) {
echo "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"221\">
<tr>
<td background=\"".THEME."images/radio_orange_23.gif\" width=\"221\" height=\"53\" style=\" padding-left: 15px; padding-right: 5px border=\"0\" alt=\"\" class='scapmain'><b>$title</b></td></tr>
<tr>
<td background=\"".THEME."images/radio_orange_25.gif\" width=\"221\" style=\" padding-top: 1px; padding-left: 10px; padding-right: 10px\">
\n";
}
function closeside() {
echo "
</td>
</tr>
<tr>
<td><img src=\"".THEME."images/radio_orange_27.gif\" width=\"221\" height=\"9\" border=\"0\" alt=\"[Rozmiar: 551 bajtów]\"></td>
</tr>
</table>\n";
tablebreak();
}
function opensidel() {
echo "<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td>\n";
}
function closesidel() {
echo "</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 Pieka dnia 30.12.2009 21:57:10
|
|
|
|
piotrek199214 |
Dodany dnia 28.12.2009 16:25:08
|
Bywalec
Postów: 977 Pomógł: 168
v7.01.05 Data rejestracji: 17.12.2007 21:05
|
Teraz powinnno działać:
<?php
if (!defined("IN_FUSION")) { header("Location: ../../index.php"); exit; }
require_once INCLUDES."theme_functions_include.php";
// theme settings
$body_text = "#585858";
$body_bg = "#000";
$theme_width = "826";
$theme_width_l = "161";
$theme_width_r = "161";
function render_header($header_content) {
global $theme_width,$settings, $locale, $userdata, $aidlink, $db_prefix ,$loginerror;
if (file_exists(INFUSIONS."user_info_panel/locale/".$settings['locale'].".php")) {
include INFUSIONS."user_info_panel/locale/".$settings['locale'].".php";
} else {
include INFUSIONS."user_info_panel/locale/English.php";
}
echo "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" align=\"center\" width=\"826\">
<tr>
<td>
<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" align=\"center\" width=\"826\">
<tr>
<td> <img src=\"".THEME."images/radio_orange_02.gif\" width=\"627\" height=\"39\" border=\"0\" alt=\"[Rozmiar: 846 bajtów]\"></td>
<td> <a href=\"".BASEDIR."news.php\"><img src=\"".THEME."images/radio_orange_03.gif\" width=\"93\" height=\"39\" border=\"0\" alt=\"[Rozmiar: 846 bajtów]\"></a></td>
<td> <a href=\"".BASEDIR."news.php\"><img src=\"".THEME."images/radio_orange_04.gif\" width=\"106\" height=\"39\" border=\"0\" alt=\"[Rozmiar: 846 bajtów]\"></a></td>
</tr></table>
<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" align=\"center\" width=\"826\">
<tr>
<td background=\"".THEME."images/radio_orange_06.gif\" width=\"242\" height=\"247\" border=\"0\" alt=\"[Rozmiar: 846 bajtów]\"><div style=\"padding-left: 5px; padding-right: 2px; padding-bottom: 20px\">
<!-- logowanie -->";
if (iMEMBER) {
opensidel();
echo " <center><table cellspacing='2'> <tr>\n";
echo ("<td class='login' > Witaj <a href='".BASEDIR."profile.php?lookup=".$userdata['user_id']."'" ."<span style='color:#".$userdata['user_color']."'>".$userdata['user_prefix'].$userdata['user_name']);
echo "</span></a></td>\n";
echo "</tr></table></center>";
if ($userdata['user_avatar'] != "") {
echo "<center><table cellspacing='0' cellpadding='0' border='0' align=\"left\"><tr>\n";
echo "<td><img src='".IMAGES."avatar_mod/gora_lewa.png' height='12' width='12'></td>\n";
echo "<td><img src='".IMAGES."avatar_mod/gora_srodek.png' height='12' width='100%'></td>\n";
echo "<td><img src='".IMAGES."avatar_mod/gora_prawa.png' height='12' width='12'></td></tr><tr>\n";
echo "<td align='left'><img src='".IMAGES."avatar_mod/srodek_lewa.png' width='12' height='100%'></td>\n";
echo "<td align='center' height='1%'>";
echo "<img src='".BASEDIR."images/avatars/".$userdata['user_avatar']."' width='50' hight='50' alt='".$data['user_name']."'></td>";
echo "<td align='right'><img src='".IMAGES."avatar_mod/srodek_prawa.png' height='100%' width='12'></td></tr><tr>\n";
echo "<td><img src='".IMAGES."avatar_mod/dol_lewa.png' height='12' width='12'></td>\n";
echo "<td><img src='".IMAGES."avatar_mod/dol_srodek.png' height='12' width='100%'></td>\n";
echo "<td><img src='".IMAGES."avatar_mod/dol_prawa.png' height='12' width='12'></td></tr>\n";
echo "</table></center>";
} else {
echo "<center><table cellspacing='0' cellpadding='0' border='0' align=\"left\"><tr>\n";
echo "<td><img src='".IMAGES."avatar_mod/gora_lewa.png' height='12' width='12'></td>\n";
echo "<td><img src='".IMAGES."avatar_mod/gora_srodek.png' height='12' width='100%'></td>\n";
echo "<td><img src='".IMAGES."avatar_mod/gora_prawa.png' height='12' width='12'></td></tr><tr>\n";
echo "<td align='left'><img src='".IMAGES."avatar_mod/srodek_lewa.png' width='12' height='100%'></td>\n";
echo "<td alig'center' height='1%'>";
echo "<img src='".FORUM."/images/brak.gif' width='50' hight='50'></td>";
echo "<td align='right'><img src='".IMAGES."avatar_mod/srodek_prawa.png' height='100%' width='12'></td></tr><tr>\n";
echo "<td><img src='".IMAGES."avatar_mod/dol_lewa.png' height='12' width='12'></td>\n";
echo "<td><img src='".IMAGES."avatar_mod/dol_srodek.png' height='12' width='100%'></td>\n";
echo "<td><img src='".IMAGES."avatar_mod/dol_prawa.png' height='12' width='12'></td></tr>\n";
echo "</table></center>";
}
$msg_count = dbcount("(message_id)", "messages", "message_to='".$userdata['user_id']."' AND message_read='0'AND message_folder='0'");
echo "<img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."edit_profile.php' class='side'>Edytuj Profil</a><br>
<img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."messages.php' class='side'>Wiadomo¶ci</a><br>
<img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."members.php' class='side'>U¿ytkownicy</a><br>\n";
if (iADMIN && (iUSER_RIGHTS != "" || iUSER_RIGHTS != "C")) {
echo "<img src='".THEME."images/bullet.gif' alt=''><a href='".ADMIN."index.php$aidlink' class='side'> Administracja</a><br>\n";
}{echo "<br>
<div style=\"text-align: center\"> <a href='".BASEDIR."setuser.php?logout=yes' class='side'>Wyloguj (x)</a></div>\n";
if ($msg_count) echo "<br><center><b><a href='".BASEDIR."messages.php' class='side2'>".sprintf('Masz %u PW' , $msg_count)."</a></b></center>\n";
}
tablebreak();
} else {
opensidel();
echo "<div align='center' style=\" padding-bootom: 25px; padding-left: 5px; padding-right: 29px\" >".(isset($loginerror) ? $loginerror : "")."
<form name='loginform' method='post' action='".FUSION_SELF."'><br><br>
<x class='text'> Login</x> <input type='text' name='user_name' class='panellogowania_texbox' value='nick' onBlur=\"if(this.value=='') this.value='nick';\" onFocus=\"if(this.value=='nick') this.value='';\" style=\"padding-top: 4px; padding-left: 5px; padding-right: 29px\" ><br><br>
<x class='text'>Hasło</x> <input type='password' name='user_pass' class='panellogowania_texbox' value='has³o' onBlur=\"if(this.value=='') this.value='has³o';\" onFocus=\"if(this.value=='has³o') this.value='';\" style=\" padding-top: 4px; padding-left: 5px; padding-right: 29px\"><br><br>
<input type='submit' name='login' value='Loguj' class='loguj' ><br><br>
</form>
\n";
if ($settings['enable_registration']) {
echo "<a href='".BASEDIR."register.php' class='text'>Rejestracja</a> / \n";
}
echo "<a href='".BASEDIR."lostpassword.php' class='text'>Zgubione hasło</a>
</div>\n";
}
closesidel();
echo "</div></td>
<td> <img src=\"".THEME."images/radio_orange_07.gif\" width=\"584\" height=\"247\" border=\"0\" alt=\"[Rozmiar: 846 bajtów]\"></td>
</tr></table>
<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" align=\"center\" width=\"826\">
</div></td>
<td> <img src=\"".THEME."images/radio_orange_07.gif\" width=\"584\" height=\"247\" border=\"0\" alt=\"[Rozmiar: 846 bajtów]\"></td>
<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" align=\"center\" width=\"826\">
<tr>
<td> <a href="".BASEDIR."news.php\"><img src=\"".THEME."images/radio_orange_08.gif\" width=\"163\" height=\"48\" border=\"0\" alt=\"[Rozmiar: 846 bajtów]\"></a></td>
<td> <a href="".BASEDIR."news.php\"><img src=\"".THEME."images/radio_orange_09.gif\" width=\"89\" height=\"48\" border=\"0\" alt=\"[Rozmiar: 846 bajtów]\"></a></td>
<td> <a href="".BASEDIR."news.php\"><img src=\"".THEME."images/radio_orange_10.gif\" width=\"135\" height=\"48\" border=\"0\" alt=\"[Rozmiar: 846 bajtów]\"></a></td>
<td> <a href=\"http://www.antystacja.xaa.pl/hgl/NEW/skrypt/index.php\"><img src=\"images/radio_orange_11.gif\" width=\"110\" height=\"48\" border=\"0\" alt=\"[Rozmiar: 846 bajtów]\"></a></td>
<td> <a href="".BASEDIR."news.php\"><img src=\"".THEME."images/radio_orange_12.gif\" width=\"91\" height=\"48\" border=\"0\" alt=\"[Rozmiar: 846 bajtów]\"></a></td>
<td> <a href="".BASEDIR."news.php\"><img src=\"".THEME."images/radio_orange_13.gif\" width=\"123\" height=\"48\" border=\"0\" alt=\"[Rozmiar: 846 bajtów]\"></a></td>
<td> <a href="".BASEDIR."news.php\"><img src=\"".THEME."images/radio_orange_14.gif\" width=\"115\" height=\"48\" border=\"0\" alt=\"[Rozmiar: 846 bajtów]\"></a></td>
</tr></table>";
echo "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" align=\"center\" width=\"826\">
</td>
</tr>
<tr></tr>
<tr>
<td>\n";
echo " <table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" align=\"center\" width=\"826\">
<tr>\n";
}
function render_footer($license=false) {
global $theme_width,$settings;
echo "</tr>\n</table>\n";
echo "<table cellpadding='0' align='center' cellspacing='0' width='$theme_width'>
<tr>
<td background='".THEME."images/radio_orange_31.gif'width=\"826\" height=\"42\" border=\"0\" align='center' class='side'>".stripslashes($settings['footer'])."
Powered by: <a href='http://php-fusion.co.uk' target='_blank'>PHP-fusion </a> & <a href='http://extreme-fusion.pl/' target='_blank'>eXtreme-fusion</a> | <a href='http://okna.eu.pl/news.php' target='_blank'>Okna</a> | Desing & themes -<a href='[strona łamiąca licencję!]' target='_blank'>[strona łamiąca licencję!] Team</a></small>
| Unikalnych wizyt: ".$settings['counter']."
</td>
</tr>
</table>
</td>
</tr>
</table>\n";
}
function render_news($subject, $news, $info) {
global $settings;
echo "
<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"605\">
<tr>
<td background=\"".THEME."images/radio_orange_24.gif\" width=\"605\" height=\"53\" style=\" padding-left: 15px; padding-right: 5px border=\"0\" alt=\"\" class='scapmain'><b>$subject</b></td></tr><tr>
<td background=\"".THEME."images/radio_orange_26.gif\" width=\"605\" style=\" padding-bottom:5px; padding-left: 15px; padding-right: 5px\">
$news<br>
</td></tr><tr>
<td background=\"".THEME."images/radio_orange_26.gif\" width=\"605\" style=\" padding-top:-0px; padding-left: 33px; padding-right: 33px\"><table width=\"100%\"><tr><td >
".$locale['040']."<a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a>
".$locale['041'].showdate("longdate", $info['news_date'])."<td >".($info['news_ext'] == "y" ? "<a href='news.php?readmore=".$info['news_id']."'>".$locale['042']."</a>" : "")."
<a href='news.php?readmore=".$info['news_id']."'>Komentarzy: ".$info['news_comments'].$locale['043']."</a> | Czytano:
".$info['news_reads'].$locale['044']." razy.
<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>
</td></tr><tr>
<td><img src=\"".THEME."images/radio_orange_29.gif\" width=\"605\" height=\"11\" border=\"0\" alt=\"[Rozmiar: 846 bajtów]\"></td>
</tr>
</table>
";
}
function render_article($subject, $article, $info) {
echo "
<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"605\">
<tr>
<td background=\"".THEME."images/radio_orange_24.gif\" width=\"605\" height=\"53\" style=\" padding-left: 15px; padding-right: 5px border=\"0\" alt=\"\"><b>Artykuł: $subject</b></td></tr><tr>
<td background=\"".THEME."images/radio_orange_26.gif\" width=\"605\" style=\" padding-left: 15px; padding-right: 5px\">
<b></b>
<div style=\"padding-left: 7px; padding-right: 7px\">".($info['article_breaks'] == "y" ? nl2br($article) : $article)."</div><br>
</td></tr><tr>
<td background=\"".THEME."images/radio_orange_26.gif\" width=\"605\" style=\" padding-left: 15px; padding-right: 5px\"><table width='98%' cellpadding='0' cellspacing='0'>
<tr>
<td><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'>
<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>
</td></tr><tr>
<td><img src=\"".THEME."images/radio_orange_29.gif\" width=\"605\" height=\"11\" border=\"0\" alt=\"[Rozmiar: 846 bajtów]\"></td>
</tr>
</table>
\n";
}
function opentable($title) {
echo "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"605\">
<tr>
<td background=\"".THEME."images/radio_orange_24.gif\" width=\"605\" height=\"53\" style=\" padding-left: 15px; padding-right: 5px border=\"0\" alt=\"\" class='capmain'><b>$title<b></td></tr><tr>
<td background=\"".THEME."images/radio_orange_26.gif\" width=\"605\" style=\" padding-bottom:10px; padding-left: 15px; padding-right: 15px\">";
}
function closetable() {
echo "
</td></tr><tr>
<td><img src=\"".THEME."images/radio_orange_29.gif\" width=\"605\" height=\"11\" border=\"0\" alt=\"[Rozmiar: 846 bajtów]\"></td>
</tr>
</table>\n";
}
function openside($title) {
echo "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"221\">
<tr>
<td background=\"".THEME."images/radio_orange_23.gif\" width=\"221\" height=\"53\" style=\" padding-left: 15px; padding-right: 5px border=\"0\" alt=\"\" class='scapmain'><b>$title</b></td></tr>
<tr>
<td background=\"".THEME."images/radio_orange_25.gif\" width=\"221\" style=\" padding-top: 1px; padding-left: 10px; padding-right: 10px\">
\n";
}
function closeside() {
echo "
</td>
</tr>
<tr>
<td><img src=\"".THEME."images/radio_orange_27.gif\" width=\"221\" height=\"9\" border=\"0\" alt=\"[Rozmiar: 551 bajtów]\"></td>
</tr>
</table>\n";
tablebreak();
}
function opensidel() {
echo "<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td>\n";
}
function closesidel() {
echo "</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 Pieka dnia 30.12.2009 21:57:38
Pomogłem Ci? Wystarczy podziękować i oznaczyć post jako pomocny
Tanie tworzenie wtyczek, masz problem napisz.
|
|
|
|
fisiuxxx |
Dodany dnia 28.12.2009 16:39:35
|
Przedszkolak
Postów: 13
Data rejestracji: 28.12.2009 15:53
|
Nie działa. |
|
|
|
piotrek199214 |
Dodany dnia 28.12.2009 16:43:38
|
Bywalec
Postów: 977 Pomógł: 168
v7.01.05 Data rejestracji: 17.12.2007 21:05
|
Teraz to już ostatecznie MUSI ;):
<?php
if (!defined("IN_FUSION")) { header("Location: ../../index.php"); exit; }
require_once INCLUDES."theme_functions_include.php";
// theme settings
$body_text = "#585858";
$body_bg = "#000";
$theme_width = "826";
$theme_width_l = "161";
$theme_width_r = "161";
function render_header($header_content) {
global $theme_width,$settings, $locale, $userdata, $aidlink, $db_prefix ,$loginerror;
if (file_exists(INFUSIONS."user_info_panel/locale/".$settings['locale'].".php")) {
include INFUSIONS."user_info_panel/locale/".$settings['locale'].".php";
} else {
include INFUSIONS."user_info_panel/locale/English.php";
}
echo "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" align=\"center\" width=\"826\">
<tr>
<td>
<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" align=\"center\" width=\"826\">
<tr>
<td> <img src=\"".THEME."images/radio_orange_02.gif\" width=\"627\" height=\"39\" border=\"0\" alt=\"[Rozmiar: 846 bajtów]\"></td>
<td> <a href=\"".BASEDIR."news.php\"><img src=\"".THEME."images/radio_orange_03.gif\" width=\"93\" height=\"39\" border=\"0\" alt=\"[Rozmiar: 846 bajtów]\"></a></td>
<td> <a href=\"".BASEDIR."news.php\"><img src=\"".THEME."images/radio_orange_04.gif\" width=\"106\" height=\"39\" border=\"0\" alt=\"[Rozmiar: 846 bajtów]\"></a></td>
</tr></table>
<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" align=\"center\" width=\"826\">
<tr>
<td background=\"".THEME."images/radio_orange_06.gif\" width=\"242\" height=\"247\" border=\"0\" alt=\"[Rozmiar: 846 bajtów]\"><div style=\"padding-left: 5px; padding-right: 2px; padding-bottom: 20px\">
<!-- logowanie -->";
if (iMEMBER) {
opensidel();
echo " <center><table cellspacing='2'> <tr>\n";
echo ("<td class='login' > Witaj <a href='".BASEDIR."profile.php?lookup=".$userdata['user_id']."'" ."<span style='color:#".$userdata['user_color']."'>".$userdata['user_prefix'].$userdata['user_name']);
echo "</span></a></td>\n";
echo "</tr></table></center>";
if ($userdata['user_avatar'] != "") {
echo "<center><table cellspacing='0' cellpadding='0' border='0' align=\"left\"><tr>\n";
echo "<td><img src='".IMAGES."avatar_mod/gora_lewa.png' height='12' width='12'></td>\n";
echo "<td><img src='".IMAGES."avatar_mod/gora_srodek.png' height='12' width='100%'></td>\n";
echo "<td><img src='".IMAGES."avatar_mod/gora_prawa.png' height='12' width='12'></td></tr><tr>\n";
echo "<td align='left'><img src='".IMAGES."avatar_mod/srodek_lewa.png' width='12' height='100%'></td>\n";
echo "<td align='center' height='1%'>";
echo "<img src='".BASEDIR."images/avatars/".$userdata['user_avatar']."' width='50' hight='50' alt='".$data['user_name']."'></td>";
echo "<td align='right'><img src='".IMAGES."avatar_mod/srodek_prawa.png' height='100%' width='12'></td></tr><tr>\n";
echo "<td><img src='".IMAGES."avatar_mod/dol_lewa.png' height='12' width='12'></td>\n";
echo "<td><img src='".IMAGES."avatar_mod/dol_srodek.png' height='12' width='100%'></td>\n";
echo "<td><img src='".IMAGES."avatar_mod/dol_prawa.png' height='12' width='12'></td></tr>\n";
echo "</table></center>";
} else {
echo "<center><table cellspacing='0' cellpadding='0' border='0' align=\"left\"><tr>\n";
echo "<td><img src='".IMAGES."avatar_mod/gora_lewa.png' height='12' width='12'></td>\n";
echo "<td><img src='".IMAGES."avatar_mod/gora_srodek.png' height='12' width='100%'></td>\n";
echo "<td><img src='".IMAGES."avatar_mod/gora_prawa.png' height='12' width='12'></td></tr><tr>\n";
echo "<td align='left'><img src='".IMAGES."avatar_mod/srodek_lewa.png' width='12' height='100%'></td>\n";
echo "<td alig'center' height='1%'>";
echo "<img src='".FORUM."/images/brak.gif' width='50' hight='50'></td>";
echo "<td align='right'><img src='".IMAGES."avatar_mod/srodek_prawa.png' height='100%' width='12'></td></tr><tr>\n";
echo "<td><img src='".IMAGES."avatar_mod/dol_lewa.png' height='12' width='12'></td>\n";
echo "<td><img src='".IMAGES."avatar_mod/dol_srodek.png' height='12' width='100%'></td>\n";
echo "<td><img src='".IMAGES."avatar_mod/dol_prawa.png' height='12' width='12'></td></tr>\n";
echo "</table></center>";
}
$msg_count = dbcount("(message_id)", "messages", "message_to='".$userdata['user_id']."' AND message_read='0'AND message_folder='0'");
echo "<img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."edit_profile.php' class='side'>Edytuj Profil</a><br>
<img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."messages.php' class='side'>Wiadomo¶ci</a><br>
<img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."members.php' class='side'>U¿ytkownicy</a><br>\n";
if (iADMIN && (iUSER_RIGHTS != "" || iUSER_RIGHTS != "C")) {
echo "<img src='".THEME."images/bullet.gif' alt=''><a href='".ADMIN."index.php$aidlink' class='side'> Administracja</a><br>\n";
}{echo "<br>
<div style=\"text-align: center\"> <a href='".BASEDIR."setuser.php?logout=yes' class='side'>Wyloguj (x)</a></div>\n";
if ($msg_count) echo "<br><center><b><a href='".BASEDIR."messages.php' class='side2'>".sprintf('Masz %u PW' , $msg_count)."</a></b></center>\n";
}
tablebreak();
} else {
opensidel();
echo "<div align='center' style=\" padding-bootom: 25px; padding-left: 5px; padding-right: 29px\" >".(isset($loginerror) ? $loginerror : "")."
<form name='loginform' method='post' action='".FUSION_SELF."'><br><br>
<x class='text'> Login</x> <input type='text' name='user_name' class='panellogowania_texbox' value='nick' onBlur=\"if(this.value=='') this.value='nick';\" onFocus=\"if(this.value=='nick') this.value='';\" style=\"padding-top: 4px; padding-left: 5px; padding-right: 29px\" ><br><br>
<x class='text'>Hasło</x> <input type='password' name='user_pass' class='panellogowania_texbox' value='has³o' onBlur=\"if(this.value=='') this.value='has³o';\" onFocus=\"if(this.value=='has³o') this.value='';\" style=\" padding-top: 4px; padding-left: 5px; padding-right: 29px\"><br><br>
<input type='submit' name='login' value='Loguj' class='loguj' ><br><br>
</form>
\n";
if ($settings['enable_registration']) {
echo "<a href='".BASEDIR."register.php' class='text'>Rejestracja</a> / \n";
}
echo "<a href='".BASEDIR."lostpassword.php' class='text'>Zgubione hasło</a>
</div>\n";
}
closesidel();
echo "</div></td>
<td> <img src=\"".THEME."images/radio_orange_07.gif\" width=\"584\" height=\"247\" border=\"0\" alt=\"[Rozmiar: 846 bajtów]\"></td>
</tr></table>
<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" align=\"center\" width=\"826\">
</div></td>
<td> <img src=\"".THEME."images/radio_orange_07.gif\" width=\"584\" height=\"247\" border=\"0\" alt=\"[Rozmiar: 846 bajtów]\"></td>
<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" align=\"center\" width=\"826\">
<tr>
<td> <a href='".BASEDIR."news.php'><img src=\"".THEME."images/radio_orange_08.gif\" width=\"163\" height=\"48\" border=\"0\" alt=\"[Rozmiar: 846 bajtów]\"></a></td>
<td> <a href='".BASEDIR."news.php'><img src=\"".THEME."images/radio_orange_09.gif\" width=\"89\" height=\"48\" border=\"0\" alt=\"[Rozmiar: 846 bajtów]\"></a></td>
<td> <a href='".BASEDIR."news.php'><img src=\"".THEME."images/radio_orange_10.gif\" width=\"135\" height=\"48\" border=\"0\" alt=\"[Rozmiar: 846 bajtów]\"></a></td>
<td> <a href=\"http://www.antystacja.xaa.pl/hgl/NEW/skrypt/index.php\"><img src=\"images/radio_orange_11.gif\" width=\"110\" height=\"48\" border=\"0\" alt=\"[Rozmiar: 846 bajtów]\"></a></td>
<td> <a href='".BASEDIR."news.php'><img src=\"".THEME."images/radio_orange_12.gif\" width=\"91\" height=\"48\" border=\"0\" alt=\"[Rozmiar: 846 bajtów]\"></a></td>
<td> <a href='".BASEDIR."news.php'><img src=\"".THEME."images/radio_orange_13.gif\" width=\"123\" height=\"48\" border=\"0\" alt=\"[Rozmiar: 846 bajtów]\"></a></td>
<td> <a href='".BASEDIR."news.php'><img src=\"".THEME."images/radio_orange_14.gif\" width=\"115\" height=\"48\" border=\"0\" alt=\"[Rozmiar: 846 bajtów]\"></a></td>
</tr></table>";
echo "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" align=\"center\" width=\"826\">
</td>
</tr>
<tr></tr>
<tr>
<td>\n";
echo " <table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" align=\"center\" width=\"826\">
<tr>\n";
}
function render_footer($license=false) {
global $theme_width,$settings;
echo "</tr>\n</table>\n";
echo "<table cellpadding='0' align='center' cellspacing='0' width='$theme_width'>
<tr>
<td background='".THEME."images/radio_orange_31.gif'width=\"826\" height=\"42\" border=\"0\" align='center' class='side'>".stripslashes($settings['footer'])."
Powered by: <a href='http://php-fusion.co.uk' target='_blank'>PHP-fusion </a> & <a href='http://extreme-fusion.pl/' target='_blank'>eXtreme-fusion</a> | <a href='http://okna.eu.pl/news.php' target='_blank'>Okna</a> | Desing & themes -<a href='[strona łamiąca licencję!]' target='_blank'>[strona łamiąca licencję!] Team</a></small>
| Unikalnych wizyt: ".$settings['counter']."
</td>
</tr>
</table>
</td>
</tr>
</table>\n";
}
function render_news($subject, $news, $info) {
global $settings;
echo "
<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"605\">
<tr>
<td background=\"".THEME."images/radio_orange_24.gif\" width=\"605\" height=\"53\" style=\" padding-left: 15px; padding-right: 5px border=\"0\" alt=\"\" class='scapmain'><b>$subject</b></td></tr><tr>
<td background=\"".THEME."images/radio_orange_26.gif\" width=\"605\" style=\" padding-bottom:5px; padding-left: 15px; padding-right: 5px\">
$news<br>
</td></tr><tr>
<td background=\"".THEME."images/radio_orange_26.gif\" width=\"605\" style=\" padding-top:-0px; padding-left: 33px; padding-right: 33px\"><table width=\"100%\"><tr><td >
".$locale['040']."<a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a>
".$locale['041'].showdate("longdate", $info['news_date'])."<td >".($info['news_ext'] == "y" ? "<a href='news.php?readmore=".$info['news_id']."'>".$locale['042']."</a>" : "")."
<a href='news.php?readmore=".$info['news_id']."'>Komentarzy: ".$info['news_comments'].$locale['043']."</a> | Czytano:
".$info['news_reads'].$locale['044']." razy.
<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>
</td></tr><tr>
<td><img src=\"".THEME."images/radio_orange_29.gif\" width=\"605\" height=\"11\" border=\"0\" alt=\"[Rozmiar: 846 bajtów]\"></td>
</tr>
</table>
";
}
function render_article($subject, $article, $info) {
echo "
<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"605\">
<tr>
<td background=\"".THEME."images/radio_orange_24.gif\" width=\"605\" height=\"53\" style=\" padding-left: 15px; padding-right: 5px border=\"0\" alt=\"\"><b>Artykuł: $subject</b></td></tr><tr>
<td background=\"".THEME."images/radio_orange_26.gif\" width=\"605\" style=\" padding-left: 15px; padding-right: 5px\">
<b></b>
<div style=\"padding-left: 7px; padding-right: 7px\">".($info['article_breaks'] == "y" ? nl2br($article) : $article)."</div><br>
</td></tr><tr>
<td background=\"".THEME."images/radio_orange_26.gif\" width=\"605\" style=\" padding-left: 15px; padding-right: 5px\"><table width='98%' cellpadding='0' cellspacing='0'>
<tr>
<td><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'>
<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>
</td></tr><tr>
<td><img src=\"".THEME."images/radio_orange_29.gif\" width=\"605\" height=\"11\" border=\"0\" alt=\"[Rozmiar: 846 bajtów]\"></td>
</tr>
</table>
\n";
}
function opentable($title) {
echo "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"605\">
<tr>
<td background=\"".THEME."images/radio_orange_24.gif\" width=\"605\" height=\"53\" style=\" padding-left: 15px; padding-right: 5px border=\"0\" alt=\"\" class='capmain'><b>$title<b></td></tr><tr>
<td background=\"".THEME."images/radio_orange_26.gif\" width=\"605\" style=\" padding-bottom:10px; padding-left: 15px; padding-right: 15px\">";
}
function closetable() {
echo "
</td></tr><tr>
<td><img src=\"".THEME."images/radio_orange_29.gif\" width=\"605\" height=\"11\" border=\"0\" alt=\"[Rozmiar: 846 bajtów]\"></td>
</tr>
</table>\n";
}
function openside($title) {
echo "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"221\">
<tr>
<td background=\"".THEME."images/radio_orange_23.gif\" width=\"221\" height=\"53\" style=\" padding-left: 15px; padding-right: 5px border=\"0\" alt=\"\" class='scapmain'><b>$title</b></td></tr>
<tr>
<td background=\"".THEME."images/radio_orange_25.gif\" width=\"221\" style=\" padding-top: 1px; padding-left: 10px; padding-right: 10px\">
\n";
}
function closeside() {
echo "
</td>
</tr>
<tr>
<td><img src=\"".THEME."images/radio_orange_27.gif\" width=\"221\" height=\"9\" border=\"0\" alt=\"[Rozmiar: 551 bajtów]\"></td>
</tr>
</table>\n";
tablebreak();
}
function opensidel() {
echo "<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td>\n";
}
function closesidel() {
echo "</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 Pieka dnia 30.12.2009 21:58:19
Pomogłem Ci? Wystarczy podziękować i oznaczyć post jako pomocny
Tanie tworzenie wtyczek, masz problem napisz.
|
|
|
|
fisiuxxx |
Dodany dnia 28.12.2009 16:55:01
|
Przedszkolak
Postów: 13
Data rejestracji: 28.12.2009 15:53
|
Działa, dziękuję bardzo za pomoc. Tylko jest jeden problem, ponieważ nie widać grafiki.. jest wgrana, kod też jest dobry, nie wiem dlaczego . ;(
@edit: Już działa, dziękuję za pomoc.
Edytowane przez fisiuxxx dnia 28.12.2009 16:59:27
|
|
|
|
piotrek199214 |
Dodany dnia 28.12.2009 16:57:34
|
Bywalec
Postów: 977 Pomógł: 168
v7.01.05 Data rejestracji: 17.12.2007 21:05
|
Kod jest zły, często występuje \ i to może być problemem.
To już sobie sam musisz zmienić.
Pozdrawiam
Pomogłem Ci? Wystarczy podziękować i oznaczyć post jako pomocny
Tanie tworzenie wtyczek, masz problem napisz.
|
|
|
|
fisiuxxx |
Dodany dnia 29.12.2009 13:31:52
|
Przedszkolak
Postów: 13
Data rejestracji: 28.12.2009 15:53
|
Napisze tutaj żeby nie robić drugiego tematu. Grafiki już są, tylko nie zlewają się, wczesniej się zlewały, teraz są tak osobno. Link do strony : http://www.antyst... Chodzi o te grafiki 'strona głowna, ramówka, pozdowienia itp' .
Edytowane przez fisiuxxx dnia 29.12.2009 13:32:57
|
|
|
|
Gismo_PL |
Dodany dnia 29.12.2009 18:11:55
|
Bywalec
Postów: 462 Pomógł: 40 Ostrzeżeń: 2
v7.01.05 Data rejestracji: 25.02.2007 21:13
|
Z tego co mi się wydaje kolego @fisuixxx to powodem braku "zlewania się" jest większa szerokość banerka oraz tła w panelu logowania. Zapewne cosik kombinowałeś przy tym .
|
|
|
|
fisiuxxx |
Dodany dnia 29.12.2009 18:21:59
|
Przedszkolak
Postów: 13
Data rejestracji: 28.12.2009 15:53
|
Nie, nie. Jeszcze jak nie miałem tego ze tak powiem 'oskryptowanego' bylo wszystko dobrze, teraz dodałem odnośniki i nie zlewa się. ;( |
|
|
|
Gismo_PL |
Dodany dnia 29.12.2009 18:42:52
|
Bywalec
Postów: 462 Pomógł: 40 Ostrzeżeń: 2
v7.01.05 Data rejestracji: 25.02.2007 21:13
|
Przypisz kolejnym polom tabeli szerokości równe szerokościom grafik wstawianych do tych pól ponieważ aktualnie pola są szersze niż grafika w nie wstawiona ;), czyli np:
<td width='163px'><a href='news.php'><img src='themes/radiofmblue/images/radio_orange_08.gif' alt='[Rozmiar: 846 bajtĂłw]' width='163' border='0' height='48'></a></td>
dla guzika opisanego jako Strona Główna.
|
|
|
|
fisiuxxx |
Dodany dnia 31.12.2009 16:10:58
|
Przedszkolak
Postów: 13
Data rejestracji: 28.12.2009 15:53
|
Teraz tylko 'Strona Główna' zlewa się z 'Forum'
Edytowane przez Pieka dnia 31.12.2009 16:23:25
|
|
|
|
Gismo_PL |
Dodany dnia 31.12.2009 16:53:50
|
Bywalec
Postów: 462 Pomógł: 40 Ostrzeżeń: 2
v7.01.05 Data rejestracji: 25.02.2007 21:13
|
Z tego co widzę po kodzie to ustaliłeś szerokość wyłacznie pierwszej komórki tabeli a resztę to pewnie moja z Pawełkiem za Ciebie poprawi .
|
|
|