Pradinis
Pagalba
Užsisakyk!
- Reklamą
- Hostingą
- El. pašto dėžutę
Užsisakyk!
Įrankiai
Pasidalink
- Visos temos
Forumas | PHP-Fusion, WordPress, Shopify, PHP ir MySQL (PROGRAMAVIMAS) | Bendri PHP-F klausimai |
Autorius: echh | Peržiūrų: 2170 |
echh Narys Terminatorius Pranešimai: 1256 Įstojęs: 2009 Spa. 13 16:10:57 | |
kaip panaikint tas n\n\? Paneles kodas : opentable("Top 100 siunčiamiausia"); $result = dbquery("SELECT download_title, download_cat, download_id, download_count FROM ".$db_prefix."downloads ORDER BY download_count DESC LIMIT 0,50"); if (dbrows($result) != 0) { echo "<table width='100%' cellpadding='0' cellspacing='0'>"; while($data = dbarray($result)) { $itemsubject = trimlink($data['download_title'], 23); echo "<tr>n<td class='small'><img src='".THEME."images/bullet.gif'> <a href='".BASEDIR."downloads.php?cat_id=".$data['download_cat']."&download_id=".$data['download_id']."' title='".$data['download_title']."' class='side'>$itemsubject</a></td> <td align='right'>".$data['download_count']."</td>\</tr>"; } echo "</table>"; } else { echo "<center>".$locale['004']."</center>"; } closetable(); WEB dizaino paslaugos: https://webdnd.com/web-dizainas,... Redagavo echh 2009 Spa. 28 15:10:31 |
|
VIP narys Terminatorius Pranešimai: 1300 Įstojęs: 2009 Rugp. 22 08:08:19 | |
Parašyk kodą. Smile off |
|
VIP narys Pulkininkas Pranešimai: 374 Įstojęs: 2009 Rugs. 24 19:09:55 | |
cia su theme problemu turi theme koda parasyk |
|
echh Narys Terminatorius Pranešimai: 1256 Įstojęs: 2009 Spa. 13 16:10:57 | |
dar va pamirsau pamineti, nuo kiekvenos dainos pridetos atsiranda po viena n\ WEB dizaino paslaugos: https://webdnd.com/web-dizainas,... |
|
VIP narys Terminatorius Pranešimai: 1300 Įstojęs: 2009 Rugp. 22 08:08:19 | |
Pameginkopentable("Top 100 siunčiamiausia"); |
|
VIP narys Pulkininkas Pranešimai: 374 Įstojęs: 2009 Rugs. 24 19:09:55 | |
oi nusisnekejau |
|
echh Narys Terminatorius Pranešimai: 1256 Įstojęs: 2009 Spa. 13 16:10:57 | |
va prisegu theme koda WEB dizaino paslaugos: https://webdnd.com/web-dizainas,... |
|
VIP narys Pulkininkas Pranešimai: 374 Įstojęs: 2009 Rugs. 24 19:09:55 | |
opentable("Top 100 siunčiamiausia"); va megink |
|
echh Narys Terminatorius Pranešimai: 1256 Įstojęs: 2009 Spa. 13 16:10:57 | |
<?php /*******************************/ /* Dizainas: Empe4 Sprendimas: www.csg.ten.lt Support: Lithuanian PHP-fusion support www.webdnd.com */ /*****************************/ if (!defined("IN_FUSION")) { header("Location: ../../index.php"); exit; } require_once INCLUDES."theme_functions_include.php"; $body_text = "#161616"; $body_bg = "#161616"; $theme_width = "950"; $theme_width_l = "280"; $theme_width_r = "225"; function render_header($header_content) { global $theme_width,$settings,$locale,$userdata,$aidlink,$db_prefix; echo "<table class='forumline' align='center' width='$theme_width' cellspacing='0' cellpadding='0' style='border-right: solid #ffffff 0px; border-left: solid #ffffff 0px; border-top: solid #ffffff 0px; margin-top: 0px;'>"; echo "<tr><td><table align='center' width='100%' cellspacing='0' cellpadding='0'>"; echo "<tr><td><table align='center' width='100%' cellspacing='0' cellpadding='0'>"; echo "<tr><td class='header' width='100%'>"; /*******************************//*Headeris START*//*****************************/ //*************//1 eilute//*************// echo "<table align='center' width='950' height='29' border='0' cellpadding='0' cellspacing='0'><tr>"; echo "<td>"; echo "<td background='".THEME."images/1.1.gif' border='0' width='950' height='29' alt=''>"; echo "</td>"; //*************//2 eilute//*************// echo "<table align='center' width='950' height='223' border='0' cellpadding='0' cellspacing='0'><tr>"; echo "<td>"; echo "<td background='".THEME."images/2.1.gif' width='442' height='223' alt='' border='0'>"; echo "</td>"; echo "<td>"; echo "<td background='".THEME."images/2.2.gif' width='237' height='223' alt='' border='0'>"; //Prisijungimas echo "<table cellpadding='0' cellspacing='0' width='220' > <tr> <td>"; if (iMEMBER) { $msg_count = dbcount("(message_id)", "messages", "message_to='".$userdata['user_id']."' AND message_read='0'AND message_folder='0'"); echo "<table width='220' border='0' cellspacing='0' cellpadding='0' align='left' style='padding-left:px;'> <tr> <td>"; if ($userdata['user_avatar'] != "") { echo "<center><img src='".BASEDIR."images/avatars/".$userdata['user_avatar']."' width='85' height='85' ></center>\n"; } else { echo "<center><img src='".THEME."images/noav.png' width='85' height='85'></center>\n"; } echo "</td><td align='left' class='small2'>"; echo"Labas, <a href='".BASEDIR."profile.php?lookup=".$userdata['user_id']."' class='small2' >".$userdata['user_name']."</a><br><br>"; echo"<a href='".BASEDIR."messages.php' class='small2'>Þinutës [naujø: <b><span style='color:#9f9f9f'>".sprintf($msg_count)."</span></b>]</a>";if ($msg_count) echo " <a href='".BASEDIR."messages.php?folder=inbox' class='side'><img src='".IMAGES."newpm.gif' alt='".$locale['on108'].$userdata['user_name']."' title='".$locale['on108'].$userdata['user_name']."'></a>\n"; echo"<br> <a href='".BASEDIR."members.php' class='small2'>Nariai</a><br> <a href='".BASEDIR."edit_profile.php' class='small2'>Apraðymas</a><br><br>"; echo "<a href='".BASEDIR."setuser.php?logout=yes' class='small2'>Atsijungti</a><br>"; if (iADMIN && (iUSER_RIGHTS != "" || iUSER_RIGHTS != "C")) { echo "<a href='".ADMIN."index.php".$aidlink."' class='small2'>Administracija</a>\n"; } echo"</td>"; echo"</tr></table>"; } else { echo " <table width='220' border='0' cellspacing='0' cellpadding='0' > <tr><td> <table width='220' border='0' cellspacing='0' cellpadding='0' align='left'> <form name='loginform' method='post' action='".FUSION_SELF."'> <tr> <td align='right' style='color:#fff;' class='small2' >Vardas: </td> <td> <input type='text' name='user_name' class='inputas' style='width:100px;border: 1px solid #999999;color : #ccc;'></td> </tr> <tr><td><td background='".THEME."images/blank.gif border='0' height='3' width='0'></td></tr> <tr> <td align='right' style='color:#fff;' class='small2' >Slaptaþodis: </td> <td> <input type='password' name='user_pass' class='inputas' style='width:100px;border: 1px solid #999999;color : #ccc;'></td> </tr> <tr><td><td background='".THEME."images/blank.gif border='0' height='5' width='0'></td></tr> <tr> <td align='right' style='color:#fff;' ><input type='checkbox' name='remember_me' value='y' class='small2'> Prisiminti</td> <td style='padding-left:25px;'> <input type='submit' name='login' value='Jungtis' class='button'></td> </tr> </form>"; echo"</td></tr></table>"; echo"</td></tr></table>"; echo "<center><a href='".BASEDIR."register.php' class='small'><br>Registracija</a> "; echo " <a href='".BASEDIR."lostpassword.php' class='small'>Priminti slaptaþodá</a></center>"; } echo"</td> </tr></table>\n"; echo "</td>"; echo "<td>"; echo "<td background='".THEME."images/2.3.gif' width='238' height='223' alt='' align='center' border='0'>"; //Naujausia muzika echo "<table cellpadding='0' cellspacing='0' width='100%'> <tr> <td style='padding-left:20px; padding-top:5px;'>"; $result = dbquery("SELECT * FROM ".$db_prefix."downloads ORDER BY download_datestamp DESC LIMIT 0,17"); if (dbrows($result) != 0) { echo "<table width='100%' cellpadding='0' cellspacing='0'>"; while ($data = dbarray($result)) { echo "<tr> <td class='small'> <a href='".BASEDIR."downloads.php?cat_id=".$data['download_cat']."&download_id=".$data['download_id']."' title='".$data['download_title']."' class='hed'>".trimlink($data['download_title'], 31)."</a> </td> </tr>"; } echo "</table>"; } else { echo "<div style='text-align:center'>".$locale['004']."</div>\n"; } echo"</td></tr></table>"; echo "</td>"; echo "<td>"; echo "<td background='".THEME."images/2.4.gif' width='33' height='223' alt='' border='0'>"; echo "</td></tr>"; //*************//3 eilute//*************// echo "<table align='center' width='950' height='23' border='0' cellpadding='0' cellspacing='0'><tr>"; echo "<td>"; echo "<td background='".THEME."images/3.1.gif' width='950' height='23' alt='' border='0'>"; echo "</td></tr>"; //*************//4 eilute//*************// echo "<table align='center' width='950' height='17' border='0' cellpadding='0' cellspacing='0'><tr>"; echo "<td>"; echo "<td background='".THEME."images/4.1.gif' border='0' width='512' height='17' alt=''>"; echo "</td>"; echo "<td>"; echo "<a href='".BASEDIR."/index.php' target=''><img src='".THEME."images/4.2.gif' border='0' width='74' height='17' alt=''></a>"; echo "</td>"; echo "<td>"; echo "<a href='".BASEDIR."/downloads.php' target=''><img src='".THEME."images/4.4.gif' border='0' width='52' height='17' alt=''></a>"; echo "</td>"; echo "<td>"; echo "<td background='".THEME."images/4.7.gif' border='0' width='104' height='17' alt=''>"; echo "</td></tr>"; //*************//5 eilute//*************// echo "<table align='center' width='950' height='28' border='0' cellpadding='0' cellspacing='0'><tr>"; echo "<td>"; echo "<td background='".THEME."images/5.1.gif' width='950' height='28' alt='' border='0'>"; echo "</td></tr>"; /*******************************//*Headeris END*//*****************************/ echo "<table width='100%' cellpadding='4' bgcolor='#0' cellspacing='0' border='0'><tr>"; } function render_footer($license=false) { global $theme_width,$settings; echo"<br>"; echo "</tr>\n</table>\n"; echo "<table align='center' width='185' border='0' cellpadding='0' cellspacing='0'> </table>"; echo"<br>"; } function render_news($subject, $news, $info) { global $aidlink,$item_type,$locale; echo "<table width='100%' cellpadding='0' cellspacing='0'>"; echo "<tr><td class='panel-center-left'><img src='".THEME."images/blank.gif' width='21' height='47' alt='' style='display:block'></td>"; echo "<td width='100%' class='panel-center-main' align='left'>$subject</td>"; echo "<td class='panel-center-right'><img src='".THEME."images/blank.gif' width='18' height='47' alt='' style='display:block'></td> </tr> </table> <br>"; echo " <table> <tr> <td class='news-body'> </span>$news</td> </tr> </table><br>\n"; echo "<table width='100%' cellpadding='0' cellspacing='0'><tr> <td algin='right'> <span style='font-size: 9px; padding-left: 20px; color:#9f9f9f;'>Paraðë: <a href='profile.php?lookup=".$info['user_id']."' class='small2'>".$info['user_name']."</a> - <span style='font-size: 9px; padding-right: 20px; color:#9f9f9f;'><a href='news.php?readmore=".$info['news_id']."' class='small2'>Skaityti plaèiau</a><br> </td></td> </tr> </table>"; } function render_article($subject, $article, $info) { global $aidlink,$item_type,$locale; echo "<table width='100%' cellpadding='0' cellspacing='0'>"; echo "<tr><td class='panel-center-left'><img src='".THEME."images/blank.gif' width='21' height='47' alt='' style='display:block'></td>"; echo "<td width='100%' class='panel-center-main' align='left'>$subject</td>"; echo "<td class='panel-center-right'><img src='".THEME."images/blank.gif' width='18' height='47' alt='' style='display:block'></td> </tr> </table> <table width='100%' cellpadding='0' cellspacing='0'><tr> <td algin='left'> <span style='font-size: 10px; padding-left: 20px;'>Paraðë: <a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a>"; echo"<td align='center'><span style='font-size: 11px; padding-right: 20px;'> <a href='print.php?type=A&item_id=".$info['article_id']."'>Spausdinti</a>"; echo"</td></td> </tr> </table> <hr> <table> <tr>"; echo "<span style='padding-left: 20px;'> ".($info['article_breaks'] == "y" ? nl2br($article) : $article)." </td> </form> </tr> </table><br>\n"; } function opentable($title) { echo "<table width='100%' cellpadding='0' cellspacing='0'>"; echo "<tr><td class='panel-center-left'><img src='".THEME."images/blank.gif' width='21' height='47' alt='' style='display:block'></td>"; echo "<td width='100%' class='panel-center-main' align='left'>$title</td>"; echo "<td class='panel-center-right'><img src='".THEME."images/blank.gif' width='18' height='47' alt='' style='display:block'></td>"; echo "</tr></table>"; echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>"; echo "<td class='main-body'>\n"; } function closetable() { echo "</td> </tr> </table>\n"; } function openside($title) { echo "<table width='100%' cellpadding='0' cellspacing='0'>"; echo "<tr><td class='panel-son-left'><img src='".THEME."images/blank.gif' width='42' height='47' alt='' style='display:block'></td>"; echo "<td width='100%' class='panel-son-main' align='left'>$title</td>"; echo "<td class='panel-son-right'><img src='".THEME."images/blank.gif' width='9' height='47' alt='' style='display:block'></td>"; echo "</tr></table>"; echo "<table width='100%' cellpadding='0' cellspacing='0'> <tr> <td class='side-body'>\n"; } function closeside() { echo "</td> </tr> </table>\n"; tablebreak(); } function openkaire($title) { echo "<table width='100%' cellpadding='0' cellspacing='0'>"; echo "<tr><td class='sonas-kaire-1'><img src='".THEME."images/blank.gif' width='32' height='50' alt='' style='display:block'></td>"; echo "<td width='100%' class='sonas-main' align='left'>$title</td>"; echo "<td class='sonas-kaire-2'><img src='".THEME."images/blank.gif' width='24' height='50' alt='' style='display:block'></td>"; echo "</tr></table>"; echo "<table width='100%' cellpadding='0' cellspacing='0'> <tr> <td class='sonas-body'>\n"; } function closekaire() { echo "</td> </tr> </table>\n"; tablebreak(); } function opendesine($title) { echo "<table width='100%' cellpadding='0' cellspacing='0'>"; echo "<tr><td class='sonas-desine-2'><img src='".THEME."images/blank.gif' width='24' height='50' alt='' style='display:block'></td>"; echo "<td width='100%' class='sonas-main' align='right'>$title</td>"; echo "<td class='sonas-desine-1'><img src='".THEME."images/blank.gif' width='32' height='50' alt='' style='display:block'></td>"; echo "</tr></table>"; echo "<table width='100%' cellpadding='0' cellspacing='0'> <tr> <td class='sonas-body'>\n"; } function closedesine() { echo "</td> </tr> </table>\n"; tablebreak(); } //////////////////////////////////////////////////////////////// function openkaireup($title) { echo "<table width='100%' cellpadding='0' cellspacing='0'>"; echo "<tr><td class='sonas-kaire-1up'><img src='".THEME."images/blank.gif' width='32' height='50' alt='' style='display:block'></td>"; echo "<td width='100%' class='sonas-mainup' align='left'>$title</td>"; echo "<td class='sonas-kaire-2up'><img src='".THEME."images/blank.gif' width='24' height='50' alt='' style='display:block'></td>"; echo "</tr></table>"; echo "<table width='100%' cellpadding='0' cellspacing='0'> <tr> <td class='sonas-body'>\n"; } function closekaireup() { echo "</td> </tr> </table>\n"; tablebreak(); } function opendesineup($title) { echo "<table width='100%' cellpadding='0' cellspacing='0'>"; echo "<tr><td class='sonas-desine-2up'><img src='".THEME."images/blank.gif' width='24' height='50' alt='' style='display:block'></td>"; echo "<td width='100%' class='sonas-mainup' align='right'>$title</td>"; echo "<td class='sonas-desine-1up'><img src='".THEME."images/blank.gif' width='32' height='50' alt='' style='display:block'></td>"; echo "</tr></table>"; echo "<table width='100%' cellpadding='0' cellspacing='0'> <tr> <td class='sonas-body'>\n"; } function closedesineup() { echo "</td> </tr> </table>\n"; tablebreak(); } //////////////////////////////////////////////////////////////// function opensidex($title,$open="on") { $boxname = str_replace(" ", "", $title); $box_img = $open == "on" ? "off" : "on"; echo "<table cellpadding='0' cellspacing='0' width='100%' class='border'> <tr> <td class='scapmain' align='right'><img src='".THEME."images/panel_$box_img.gif' name='b_$boxname' align='center' alt='' style='padding-left:11px;' onclick=\"javascript:flipBox('$boxname')\">$title</td> </tr> <tr> <td colspan='2' class='side-body'> <div id='box_$boxname'".($open=="off" ? "style='display:none'" : "").">\n"; } function closesidex() { echo "</div> </td> </tr> </table>\n"; tablebreak(); } function tablebreak() { echo "<table width='100%' cellspacing='0' cellpadding='0'></table>\n"; } ?> WEB dizaino paslaugos: https://webdnd.com/web-dizainas,... Redagavo echh 2009 Spa. 28 15:10:37 |
|
VIP narys Terminatorius Pranešimai: 1300 Įstojęs: 2009 Rugp. 22 08:08:19 | |
Teisingas panelės kodas:opentable("Top 100 siunčiamiausia"); |
|
echh Narys Terminatorius Pranešimai: 1256 Įstojęs: 2009 Spa. 13 16:10:57 | |
nu ivedziau tavo koda, bet dabar vietoj tu n\n\ rodo \\ WEB dizaino paslaugos: https://webdnd.com/web-dizainas,... |
|
iSoon VIP narys Kapitonas Pranešimai: 568 Įstojęs: 2009 Lie. 23 15:07:37 | |
opentable("Top 100 siunčiamiausia"); |
|
VIP narys Terminatorius Pranešimai: 1300 Įstojęs: 2009 Rugp. 22 08:08:19 | |
O dabar radau opentable("Top 100 siunčiamiausia"); Omg vienu metu parašėm |
|
echh Narys Terminatorius Pranešimai: 1256 Įstojęs: 2009 Spa. 13 16:10:57 | |
visiem po +10 WEB dizaino paslaugos: https://webdnd.com/web-dizainas,... |
|
VIP narys Pulkininkas Pranešimai: 374 Įstojęs: 2009 Rugs. 24 19:09:55 | |
Ačiū |
Peršokti į forumą: |