Reklama 400x60
Truputi pagalbos del theme
Autorius: vrkl
Peržiūrų: 640
vrkl
Narys
Patrankų mėsa
Pranešimai: 5
Įstojęs: 2012 Sau. 23 18:01:50
Nesuprantu kodel negalima komentuoti ir skaityti toliau naujienu sitoje temoje.
<?php
if ( ! defined ( "IN_FUSION" ) ) { die ( "Access Denied" ) ; }
define ( "THEME_WIDTH" , "999" ) ;
define ( "THEME_BULLET" , "<img src='" . THEME. "images/bullet.gif' alt='' style='border:0' />" ) ;
require_once INCLUDES. "theme_functions_include.php" ;
function render_page( $license = false ) {
global $settings , $main_style ;
//Header
echo "<table cellspacing='0' cellpadding='0' width='" . THEME_WIDTH. "' align='center' >\n <tr>\n " ;
echo "<td>\n " ;
echo "<table cellpadding='0' cellspacing='0' width='100%'>\n <tr>\n " ;
echo "<td>
<td background='" . THEME. "images/itouch_02.png' height='44' width='1000'></td>
</td>
</tr></td>\n " ;
echo "</tr>\n </table>\n " ;
echo "</td>\n </tr>\n </table>\n " ;
echo "<table cellspacing='0' cellpadding='0' width='" . THEME_WIDTH. "' align='center' >\n <tr>\n " ;
echo "<td>\n " ;
echo "<table cellpadding='0' cellspacing='0' width='100%'>\n <tr>\n " ;
echo "<td>
<img src='" . THEME. "images/itouch_04.png'>
</td>
</tr></td>\n " ;
echo "</tr>\n </table>\n " ;
echo "</td>\n </tr>\n </table>\n " ;
echo "<table cellspacing='0' cellpadding='0' width='" . THEME_WIDTH. "' align='center' >\n <tr>\n " ;
echo "<td>\n " ;
echo "<table cellpadding='0' cellspacing='0' width='100%'>\n <tr>\n " ;
echo "<td>
<td background='" . THEME. "images/subheader.png' height='60' width='1000' align='center'>
<a href='news.php'>Naujienos</a>
<a href='forum/index.php'>Forumas</a>
<a href='a'>Linkas</a>
<a href='photogallery.php'>Nuotraukos</a>
<a href='b'>Linkas</a>
<a href='c'>Linkas</a>
</td>
</td>
</tr></td>\n " ;
echo "</tr>\n </table>\n " ;
echo "</td>\n </tr>\n </table>\n " ;
echo "<table cellspacing='0' cellpadding='0' width='" . THEME_WIDTH. "' align='center' >\n <tr>\n " ;
echo "<td>\n " ;
echo "<table cellpadding='0' cellspacing='0' width='100%'>\n <tr>\n " ;
echo "<td>
<marquee>Rezultatyviausi žaidėjai: Alvydas Zalieckas 38taškai. (Sarapiniškės), Ernestas Abmorščevas 28taškai. (Toresas), Gintaras Plukys 25taškai. (Erbis) </marquee>
</td>
</tr></td>\n " ;
echo "</tr>\n </table>\n " ;
echo "</td>\n </tr>\n </table>\n " ;
echo "<table cellspacing='0' cellpadding='0' width='" . THEME_WIDTH. "' align='center' >\n <tr>\n " ;
echo "<td>\n " ;
echo "<table cellpadding='0' cellspacing='0' width='100%'>\n <tr>\n " ;
echo "<td>
<img src='" . THEME. "images/itouch_17.png'>
</td>
</tr></td>\n " ;
echo "</tr>\n </table>\n " ;
echo "</td>\n </tr>\n </table>\n " ;
//Content
echo "<table cellpadding='0' cellspacing='0' align='center' width='999' class='$main_style '>\n <tr>\n " ;
if ( LEFT) { echo "<td class='side-border-left' valign='top'>" . LEFT. "</td>" ; }
echo "<td class='main-bg' valign='top'>" . U_CENTER. CONTENT. L_CENTER. "</td>" ;
if ( RIGHT) { echo "<td class='side-border-right' valign='top'>" . RIGHT. "</td>" ; }
echo "</tr>\n </table>\n " ;
//Footer
echo "</tr>\n </table>\n " ;
echo "<table cellpadding='0' cellspacing='0' align='center' width='999'>\n <tr>\n " ;
echo "<td background='" . THEME. "images/itouch_333.png' height='100' align='center'><a href='http://php-fusion.co.uk'>PHP-FUSION</a> <a href='http://coren.lt'>coren.lt</a></td></td>\n " ;
echo "</td>\n </tr>\n </table>\n " ;
echo "</td>\n </tr>\n </table>\n " ;
}
function render_news( $subject , $news , $info ) {
echo "<table cellpadding='0' cellspacing='0' align='center' width='500'>\n <tr>\n " ;
echo "<td background='" . THEME. "images/blekat_01.png' height='33' class='capmain'>" . $subject . "</td>\n " ;
echo "</tr>\n <tr>\n " ;
echo "<td background='" . THEME. "images/blekat_02.png' class='main-body'>" . $news . "</td>\n " ;
echo "</tr>\n <tr>\n " ;
echo "<td background='" . THEME. "images/foot.png' height='34' align='center'>\n " ;;
echo "</td>\n </tr>\n </table>\n " ;
}
function render_article( $subject , $article , $info ) {
echo "<table cellpadding='0' cellspacing='0' align='center' width='500'>\n <tr>\n " ;
echo "<td background='" . THEME. "images/blekat_01.png' height='33' class='capmain'>" . $subject . "</td>\n " ;
echo "</tr>\n <tr>\n " ;
echo "<td background='" . THEME. "images/blekat_02.png' class='main-body'>" . ( $info [ 'article_breaks' ] == "y" ? nl2br ( $article ) : $article ) . "</td>\n " ;
echo "</tr>\n <tr>\n " ;
echo "<td background='" . THEME. "images/foot.png' height='34' align='center' >\n " ;
echo "</td>\n </tr>\n </table>\n " ;
}
function opentable( $title ) {
echo "<table cellpadding='0' cellspacing='0' width='500' align='center'>\n <tr>\n " ;
echo "<td background='" . THEME. "images/blekat_01.png' height='33' class='capmain'>" . $title . "</td>\n " ;
echo "</tr>\n <tr>\n " ;
echo "<td background='" . THEME. "images/blekat_02.png' class='main-body'>\n " ;
}
function closetable( ) {
echo "<td background='" . THEME. "images/foot.png' height='34' align='center' >\n " ;
echo "</td>\n </tr>\n </table><br>\n " ;
}
function openside( $title , $collapse = false , $state = "on" ) {
global $panel_collapse ; $panel_collapse = $collapse ;
echo "<table cellpadding='0' cellspacing='0' width='211' class='border'>\n <tr>\n " ;
echo "<td background='" . THEME. "images/panel_01.png' height='37' class='scapmain'>" . $title . "</td>\n " ;
if ( $collapse == true ) {
$boxname = str_replace ( " " , "" , $title ) ;
echo "<td class='scapmain' align='right'>" . panelbutton( $state , $boxname ) . "</td>\n " ;
}
echo "</tr>\n <tr>\n " ;
echo "<td" . ( $collapse == true ? " colspan='2'" : "" ) . " background='" . THEME. "images/panel_02.png' class='side-body'>\n " ;
if ( $collapse == true ) { echo panelstate( $state , $boxname ) ; }
}
function closeside( $collapse = false ) {
global $panel_collapse ;
echo "<td background='" . THEME. "images/panel_03.png' height='20'></td>\n " ;
echo "</td>\n </tr>\n </table>\n " ;
}
?>
1 atsakymas:
Creatium
Administratorius
Viršesnis už Dievą
Pranešimai: 5868
Įstojęs: 2007 Rugp. 9 17:08:20
Nėra tos kodo eilutės, kuri rodytų newsfooterį (komentarus, skaityti toliau ir t.t.). Kokia fusiono versija? Arba gali pats tą eilutę pasiimt atsidaręs bet kokią paprastą fusiono temą (būna vos tik atsisiuntus) ir išsiimt iš render_news funkcijos theme.php faile 0
www.creatium.lt
Peršokti į forumą:
Nebeegzistuojančios svetainės
Žaliems
Bendri PHP-F klausimai
WordPress
Kiti PHP, HTML, MySQL klausimai
Expert PHP, MySQL klausimai
Kitos TVS
C#, Python, Java, JS, C++ klausimai
Naujų modų pristatymai
Mods, Panels & Infusions
Themes
Dalinuosi, dovanoju!
Jūsų saitai
Klausimai apie domenus ir hostingus
VPS/DS serverių konfigūravimas ir valdymas
Viskas apie skaitliukus, top'us ir lankomumą
Dizaino konkursai
Parduodu - perku dizainą, banerį
Parduodu - perku - keičiuosi reklama
Parduodu - perku domeną, tinklapį
Siūlau - ieškau hostingo/VPS serverio
Parduodu - perku skriptą, modifikaciją, tvs
Socialiniai tinklai - Facebook ir kiti
Legalus verslas, teisiniai klausimai
Visa kita kas susiję su darbu ir pinigais
LTStartups.com - Lietuvos startuolių bendruomenė
Off-Topic diskusijos
IT naujienos
Portalo informacija
Narių pasiūlymai
Geležis ir programinė įranga
Grafika
Out Of Place
Su e-verslu nesusijęs darbas ir prekyba
Dalinuosi, dovanoju!