Pradinis
Pagalba
Užsisakyk!
- Reklamą
- Hostingą
- El. pašto dėžutę
Užsisakyk!
Įrankiai
Pasidalink
- Visos temos
Forumas | Kita | Off-Topic diskusijos |
Autorius: zasas11 | Peržiūrų: 1052 |
zasas11 Narys Nuolatinis Pranešimai: 167 Įstojęs: 2008 Rugs. 22 22:09:02 | |
Taigi neaisku man theme.php kaip nuimti lenteles naujausia ir pns koki koda reik nuimt?? va foto: |
|
Tomcis Narys Generolas Pranešimai: 1143 Įstojęs: 2008 Spa. 9 19:10:04 | |
duok kodą. išimsiu. |
|
zasas11 Narys Nuolatinis Pranešimai: 167 Įstojęs: 2008 Rugs. 22 22:09:02 | |
<?php $body_text = "#999999"; $body_bg = "#000"; $theme_width = "930"; $theme_width_l = "195"; $theme_width_r = "195"; function render_header($header_content) { global $theme_width,$settings,$locale,$userdata,$aidlink,$db_prefix; echo "<table class='bodyline' width='$theme_width' cellspacing='0' cellpadding='0' border='0' align='center' style='margin-top:-8px;'>"; echo "</td><tr><td align='center'>"; echo "<table width='100%' cellspacing='0' cellpadding='0' border='0'>"; echo "<tr><td align='center'>"; echo "<table width='100%' border='0' cellspacing='0' cellpadding='0'><tr>"; echo "<tr><td background='".THEME."header/headeris.gif'> <table border='0' cellspacing='0' cellpadding='0' height='318'>"; echo "<td style='padding-top: 200px; padding-left: 490px; padding-right: 0px;'>"; $result = dbquery("SELECT * FROM ".$db_prefix."downloads ORDER BY download_datestamp DESC LIMIT 0,5"); if (dbrows($result) != 0) { echo "<table width='100%' cellpadding='0' cellspacing='0'>"; while ($data = dbarray($result)) { $itemsubject = trimlink($data['download_title'], 20); echo "<tr><td class='small' align='left'> <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 style='padding-left: 60px;' align='right'>".$data['download_count']."</td> </tr>"; } echo "</table>"; } else { echo "<div style='text-align:center'>".$locale['004']."</div>\n"; } echo "</td><td width=120></td><td>"; $result = dbquery( "SELECT ta.*,tac.* FROM ".$db_prefix."articles ta INNER JOIN ".$db_prefix."article_cats tac ON ta.article_cat=tac.article_cat_id WHERE ".groupaccess('article_cat_access')." ORDER BY article_datestamp DESC LIMIT 0,5" ); if (dbrows($result) != 0) { echo "<table width='100%' cellpadding='0' cellspacing='0' style='padding-top:200px;'>"; while($data = dbarray($result)) { $itemsubject = trimlink($data['article_subject'], 20); echo "<tr><td class='small' align='left'> <img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."readarticle.php?article_id=".$data['article_id']."' title='".$data['article_subject']."' class='side'>$itemsubject</a> </td> <td style='padding-left: 75px;' align='right'>".$data['article_reads']."</td> </tr>"; } echo "</table>"; } else { echo "<div style='text-align:center'>".$locale['004']."</div>\n"; } echo "</tr></table></td></tr></table>\n"; echo "</td></tr></table>"; echo "<table align=center width=900 height=30 border=0 cellspacing=0 cellpadding=0 style='padding-bottom:0px;'>"; echo "<tr><td style='padding-bottom: 0px; padding-top: 0px; padding-left: 0px; padding-right: 0px;'> <td><a href=".BASEDIR."index.php><img src='".THEME."links/namai.gif' border=0></a></td> <td><a href=".BASEDIR."forum/index.php><img src='".THEME."links/diskusijos.gif' border=0></a></td> <td><a href=".BASEDIR."downloads.php><img src='".THEME."links/siuntiniai.gif' border=0></a></td> <td><a href=".BASEDIR."articles.php><img src='".THEME."links/straipsniai.gif' border=0></a></td> <td><a href=".BASEDIR."photogallery.php><img src='".THEME."links/galerija.gif' border=0></a></td> <td><a href=".BASEDIR."contacts.php><img src='".THEME."links/reklama.gif' border=0></a></td>"; echo "</td></tr></table>"; echo "<table width='100%' bgcolor='#000' cellpadding='0' cellspacing='0' border='0'>"; } function render_footer($license=false) { global $theme_width,$settings; echo "</tr>\n</table>\n"; echo "<table width='100%'height='150' border='0' cellpadding='0' cellspacing='0'> <tr> <td class='footer' style='padding-right:400px; padding-bottom: 0px;'> <span style='padding-right:0px; padding-bottom: 40px;'>".stripslashes($settings['footer'])." </td> </tr> </table> </td> </tr> </table>\n"; } function render_news($subject, $news, $info) { global $aidlink,$item_type,$locale,$db_prefix; echo "<table cellpadding='0' cellspacing='0' width='100%'><tr> <br><td><img src='".THEME."images/newscell.gif' align='left'><br> <span style='font-size: 16px; padding-left: 0px;'><b> $subject </b><br> <a href='news.php?readmore=".$info['news_id']."' style='color:#cc00000; font-size: 11px;'>Skaityti plačiau</a><br> <span style='font-size: 11px; padding-right: 0px;'>Parašė: <a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a> -</span> <span style='font-size: 11px; padding-right: 0px;'><font FACE='Tahoma'><b>".showdate("shortdate", $info['news_date'])." </td> </tr> </table> <table> <tr> <td class='news-body'> </span>$news</td> </tr> <br> </tr> </table><br> <img src='".THEME."images/newsclose.gif'> \n"; } function render_article($subject, $article, $info) { global $locale; echo "<table style='border: 1px solid #191928' cellspacing='1' width='100%' cellpadding='3'><tr>"; echo "<td background='".THEME."images/cellpic4.gif' height='24'><font class='block-title'>$subject</font></td>"; echo "</td></tr></table>"; echo "<table width='100%' cellpadding='0' cellspacing='1' class='border'><tr>"; echo "<td><table width='100%' cellpadding='0' cellspacing='0'><tr>"; echo "<td class='main-body'>".($info['article_breaks'] == "y" ? nl2br($article) : $article).""; echo "</td></tr></table>"; echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>"; echo "<td class='news-footer'>"; echo "".$locale['040']."<a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a> "; echo "".$locale['041'].showdate("longdate", $info['article_date'])."</td>"; echo "<td height='24' align='right' class='news-footer'>"; if ($info['article_allow_comments']) echo $info['article_comments'].$locale['043']." · "; echo "".$info['article_reads'].$locale['044']." "; echo "<a href='print.php?type=A&item_id=".$info['article_id']."'><img src='".THEME."images/printer.gif' alt='".$locale['045']."' alt='' style='vertical-align:middle;'></a>"; echo "</td></tr></table></td></tr></table>\n"; } // Open table begins function opentable($title) { echo "<table width='100%' cellpadding='0' cellspacing='0'>"; echo "<td width='100%' class='panel-main' align='left'>$title</td>"; echo "</tr></table>"; echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>"; echo "<td class='main-body'>"; } // Close table end function closetable() { echo "</td></tr></table>"; echo "<table cellspacing='0' width='100%' cellpadding='0' style='padding-bottom:0px;'><tr>"; echo "<td height='20' width='100%' background='".THEME."images/mainclose.gif'></td> </tr> </table>"; } function openside($title) { global $p_data; if ($p_data['panel_side'] == 1) { echo "<table cellpadding='0' cellspacing='0' width='100%'><tr>"; echo "<td height='50' width='100%' background='".THEME."images/cellpicleft.gif'>"; echo "<font class='panel-left'>$title</font>"; echo "</td></tr>"; echo "<tr><td class='side-body' width='100%'>"; } else { echo "<table cellpadding='0' cellspacing='0' width='100%'><tr>"; echo "<td height='40' width='100%' background='".THEME."images/cellpicright.gif' class='panel-right'>"; echo "<span><center>$title</center></span>"; echo "</td></tr>"; echo "<tr><td class='side-body' width='100%'>"; } } function closeside() { echo "</td></tr></table>"; echo "<table cellspacing='0' width='100%' cellpadding='0' style='padding-bottom:10px;'><tr>"; echo "<td height='25' width='100%' background='".THEME."images/closeside.gif'></td> </tr> </table>"; tablebreak(); } // Table functions function tablebreak() { echo "<table width='100%' cellspacing='0' cellpadding='0'><tr><td height='0'></td></tr></table>\n"; } ?> |
|
zasas11 Narys Nuolatinis Pranešimai: 167 Įstojęs: 2008 Rugs. 22 22:09:02 | |
tai nieks nezyno? |
|
Narys Antras po Dievo Pranešimai: 3935 Įstojęs: 2006 Spa. 22 18:10:48 | |
$result = dbquery("SELECT * FROM ".$db_prefix."downloads ORDER BY download_datestamp DESC LIMIT 0,5"merkia akį; nzn tik ar gerai nuemiau bet rodos sitas URL_DELETED - Visos spausdinimo paslaugos ant įvairiausių dirbinių ir popieriaus rūšių. |
|
zasas11 Narys Nuolatinis Pranešimai: 167 Įstojęs: 2008 Rugs. 22 22:09:02 | |
netinka ;/ |
|
Narys Antras po Dievo Pranešimai: 3935 Įstojęs: 2006 Spa. 22 18:10:48 | |
sudas ... kodas tai tas ... gal kazko nenutriniau URL_DELETED - Visos spausdinimo paslaugos ant įvairiausių dirbinių ir popieriaus rūšių. |
Peršokti į forumą: |