Reklama 400x60
Po headeriu kalbos veliaveles
Autorius: Corps
Peržiūrų: 503
Corps
Narys
Fruktas
Pranešimai: 26
Įstojęs: 2006 Rugp. 3 15:08:20
Sveiki, taigi niekaip nepavyksta padaryti kad po headeriu desneja puseja butu trys veliaveles (kalbos keitimui), gal galite kas padeti, aciu
theme.php
<?php
if ( ! defined ( "IN_FUSION" ) ) { die ( "Access Denied" ) ; }
define ( "THEME_BULLET" , "<span class='bullet'>·</span>" ) ;
require_once INCLUDES. "theme_functions_include.php" ;
function render_page( $license = false ) {
global $settings , $main_style , $locale ;
//Header
echo "<table cellpadding='0' cellspacing='0' width='940' align='center'>\n <tr>\n " ;
echo "<td class='full-header'>\n " . showbanners( ) . "</td>\n " ;
echo "</tr>\n </table>\n " ;
echo "<table cellpadding='0' cellspacing='0' width='940' align='center'>\n <tr>\n " ;
// echo "<td class='sub-header-left'></td>\n";
echo "<td align='center' class='sub-header'>" . showsublinks( "" , "white" ) . "</td>\n " ;
// echo "<td align='right' class='sub-header'>".showsubdate()."</td>\n";
// echo "<td class='sub-header-right'></td>\n";
echo "</tr>\n </table>\n " ;
//Content
echo "<table cellpadding='0' cellspacing='0' width='940' align='center' 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 "<table cellpadding='0' cellspacing='0' width='940' align='center'>\n <tr>\n " ;
// echo "<td class='sub-header-left'></td>\n";
// echo "<td align='left' class='sub-header'>".sprintf($locale['global_172'], substr((get_microtime() - START_TIME),0,4))."</td>\n";
// echo "<td align='right' class='sub-header'>".showcounter()."</td>\n";
// echo "<td class='sub-header-right'></td>\n";
echo "</tr>\n </table>\n " ;
echo "<table cellpadding='0' cellspacing='0' width='940' align='center'>\n <tr>\n " ;
echo "<td align='center' class='bottom-footer'>" . stripslashes ( $settings [ 'footer' ] ) ;
// if (!$license) { echo "<br /><br />\n".showcopyright(); }
echo "</td>\n " ;
echo "</tr>\n </table>\n " ;
}
function render_news( $subject , $news , $info ) {
// echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
// echo "<td class='capmain-left'></td>\n";
// echo "<td class='capmain'>".$subject."</td>\n";
// echo "<td class='capmain-right'></td>\n";
// echo "</tr>\n</table>\n";
echo "<table width='100%' c ellpadding='10' cellspacing='10' class='spacer'>\n <tr>\n " ;
echo "<td class='main-body middle-border'>" . $news . "</td>\n " ;
echo "</tr>\n " ;
// echo "<td align='center' class='news-footer middle-border'>\n";
// echo newsposter($info," ·").newsopts($info,"·").itemoptions("N",$info['news_id']);
// echo "</td>\n";
echo "</table>\n " ;
// echo "<tr>\n<td style='height:5px;background-color:#f6a504;'></td>\n";
// echo "</tr>\n";
}
function render_article( $subject , $article , $info ) {
echo "<table width='100%' c ellpadding='0' cellspacing='0'>\n <tr>\n " ;
echo "<td class='capmain-left'></td>\n " ;
echo "<td class='capmain'>" . $subject . "</td>\n " ;
echo "<td class='capmain-right'></td>\n " ;
echo "</tr>\n </table>\n " ;
echo "<table width='100%' c ellpadding='0' cellspacing='0' class='spacer'>\n <tr>\n " ;
echo "<td class='main-body middle-border'>" . ( $info [ 'article_breaks' ] == "y" ? nl2br ( $article ) : $article ) . "</td>\n " ;
echo "</tr>\n <tr>\n " ;
echo "<td align='center' class='news-footer'>\n " ;
echo articleposter( $info , " ·" ) . articleopts( $info , "·" ) . itemoptions( "A" , $info [ 'article_id' ] ) ;
echo "</td>\n </tr>\n </table>\n " ;
}
function opentable( $title ) {
echo "<table cellpadding='0' cellspacing='0' width='100%'>\n <tr>\n " ;
// echo "<td class='capmain-left'></td>\n";
echo "<td class='capmain'>" . $title . "</td>\n " ;
// echo "<td class='capmain-right'></td>\n";
echo "</tr>\n </table>\n " ;
echo "<table cellpadding='0' cellspacing='0' width='100%' c lass='spacer'>\n <tr>\n " ;
echo "<td class='main-body'>\n " ;
}
function closetable( ) {
echo "</td>\n " ;
echo "</tr><tr>\n " ;
// echo "<td style='height:5px;background-color:#f6a504;'></td>\n";
echo "</tr>\n </table>\n " ;
}
function openside( $title , $collapse = false , $state = "on" ) {
global $panel_collapse ; $panel_collapse = $collapse ;
echo "<table cellpadding='0' cellspacing='0' width='100%'>\n <tr>\n " ;
// echo "<td class='scapmain-left'></td>\n";
echo "<td class='scapmain'>$title </td>\n " ;
if ( $collapse == true ) {
$boxname = str_replace ( " " , "" , $title ) ;
echo "<td class='scapmain' align='right'>" . panelbutton( $state , $boxname ) . "</td>\n " ;
}
// echo "<td class='scapmain-right'></td>\n";
echo "</tr>\n </table>\n " ;
echo "<table cellpadding='0' cellspacing='0' width='100%' c lass='spacer'>\n <tr>\n " ;
echo "<td class='side-body'>\n " ;
if ( $collapse == true ) { echo panelstate( $state , $boxname ) ; }
}
function closeside( ) {
global $panel_collapse ;
if ( $panel_collapse == true ) { echo "</div>\n " ; }
echo "</td>\n </tr>\n </table>\n " ;
}
?>
Tokiu principu bandziau iterpti, zinau kad blogai dariau
<a href="http://www.www.lt"><img src='images/lt.jpg' style='margin:5px' align='left' border=0></a>
<a href="http://www.www.lt"><img src='images/eng.jpg' style='margin:5px' align='left' border=0></a>
<a href="http://www.www.lt"><img src='images/rus.jpg' style='margin:5px' align='left' border=0></a>
0 atsakymų
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
Jūsų saitai
Dalinuosi, dovanoju!
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!