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: Street | Peržiūrų: 948 |
Street Narys Spalvotas Pranešimai: 60 Įstojęs: 2006 Lap. 15 20:11:53 | |
Va cia i theme.php idejau eilute kur paryskinta ir kaip padaryti kad ta eilute eitu lygiai ne su headeriu o po juo? <? /*--------------------------------------------+ | PHP-Fusion v6 - Content Management System | |--------------------------------------------| | author: | | web: | email: lt | |--------------------------------------------| | Released under the terms and conditions of | | the GNU General Public License (Version 2) | +--------------------------------------------*/ /************************/ /* Theme Settings */ /************************/ $body_text = "#000000"; $body_bg = "#ffffff"; $theme_width = "900"; $theme_width_l = "180"; $theme_width_r = "180"; function render_header($header_content) { global $theme_width,$settings; echo "<table class='forumline' align='center' width='$theme_width' cellspacing='0' cellpadding='0'>"; 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%'>"; // Start banner code echo "<table width='100%' cellspacing='0' cellpadding='0'>"; echo "<tr><td>$header_content</td>"; echo "</tr></table></td></tr></table>\n"; // End banner code echo "<center><td width='33%'><div align='center'><a href='".BASEDIR."index.php'><img src='".THEME."nav/namai.gif' alt='Namai' cellspacing='2' cellpadding='2' align='center'></a></div></td><td width='33%'><div align='center'><a href='".BASEDIR."search.php'><img src='".THEME."nav/paieska.gif' alt='Paieška' cellspacing='2' cellpadding='2' align='center'></a></div></td><td width='33%'><div align='center'><a href='".BASEDIR."forum/index.php'><img src='".THEME."nav/forumas.gif' alt='Forumas' cellspacing='2' cellpadding='2' align='center'></a></div></td></center></div>"; echo "<table width='100%' cellspacing='0' cellpadding='0'>\n<tr>"; echo "<td class='sub-header'>\n"; } function render_footer($license=false) { global $theme_width,$locale,$settings; echo "</tr>\n</table>\n"; echo "<table cellpadding='0' cellspacing='0' width='100%'><tr>"; echo "<td>".stripslashes($settings['footer'])."</td>"; echo "</tr></table></td></tr></table><br>"; echo "<table cellSpacing='0' cellPadding='2' width='100%' border='0'>"; echo "<tr><td width='4%' class='footer' align='left'><div align='center'>"; echo "<a href='#top'><img src='".THEME."images/pageup.gif' alt='Á VirðĀø' title='Á VirðĀø'></a></div></td>"; echo "<td width='20%' class='footer' align='left'>"; if ($license == false) { echo "Varikliukas <a href='http://www.php-fusion.co.uk' target='_blank'>PHP-Fusion</a> v".$settings['version']." Ā©"; } echo "</td>"; echo "<td width='40%' class='footer' align='center'>"; echo "The NBALIVETM Theme by <a href='http://www.nbalivetm.ten.lt' target='_blank'>LTU</a></a></td>"; echo "<td width='26%' class='footer' align='right'>"; echo "<span class='footerstat'>".$settings['counter']." </span>".($settings['counter'] == 1 ? $locale['140']."\n" : $locale['141']."\n"); echo "</td><td width='4%' class='footer' align='right'>"; echo "<div align='center'><a href='#top'><img src='".THEME."images/pageup.gif' alt='Scroll Up' title='Scroll Up'></a></td></tr></table></td></tr></table></div>"; } function render_news($subject, $news, $info) { global $locale; echo "<table class='news-border' border='0' cellspacing='2' width='100%' cellpadding='1'><tr>"; echo "<td height='23' class='table-cellpic'>$subject</td>"; echo "</tr></table>"; echo "<table width='100%' cellpadding='0' cellspacing='0' class='border'><tr>"; echo "<td><table width='100%' cellpadding='0' cellspacing='0'><tr>"; echo "<td class='main-body'>$news</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['news_date'])." </td>"; echo "<td height='24' align='right' class='news-footer'>"; echo "".($info['news_ext'] == "y" ? "<a href='news.php?readmore=".$info['news_id']."'>".$locale['042']."</a> Ā·\n" : "").""; if ($info['news_allow_comments']) echo "<a href='news.php?readmore=".$info['news_id']."'>".$info['news_comments'].$locale['043']."</a> Ā· "; echo "".$info['news_reads'].$locale['044']." "; echo "<a href='print.php?type=N&item_id=".$info['news_id']."'><img src='".THEME."images/printer.gif' alt='".$locale['045']."' style='vertical-align:middle;border:0px;'></a>"; echo "</td></tr></table></td></tr></table>\n"; } function render_article($subject, $article, $info) { global $locale; Redagavo Street 2007 Vas. 21 14:02:17 |
|
Street Narys Spalvotas Pranešimai: 60 Įstojęs: 2006 Lap. 15 20:11:53 | |
gaunasi headeris ir nuorodosa vienoje eiluteje o man reikia kad nuorodos butu po headeriu nes iskaraipo vaizda |
Peršokti į forumą: |