Reklama 400x60
Galite perdaryti is V6 I V7 Theme???
drakosys112
Narys
Fruktas
Pranešimai: 21
Įstojęs: 2010 Kov. 14 08:03:54
KODAS
Theme.php
<?php
if ( ! defined ( "IN_FUSION" ) ) { header ( "Location: ../../index.php" ) ; exit ; }
require_once INCLUDES. "theme_functions_include.php" ;
// theme settings
$body_text = "#FFFFFF" ;
$body_bg = "#000000" ;
$weboimgbg = "http://rsfavour.wu.lt/images/bg4.jpg" ;
$theme_width = "100%" ;
$theme_width_l = "200" ;
$theme_width_r = "200" ;
function render_header( $header_content ) {
global $theme_width , $settings , $locale , $userdata , $aidlink ;
include_once "header.php" ;
}
function render_footer( $license = false ) {
global $theme_width , $settings ;
include_once "foot.php" ;
}
function render_news( $subject , $news , $info ) {
global $locale ;
echo "<table border='0' cellpadding='0' cellspacing='0' width='100%'>" ;
echo "<tr><td width='100%'><table class='panel-border' cellSpacing='1' cellPadding='0' width='100%' b order='0'>" ;
echo "<tr><td width='100%' height='23' class='table-cellpic' align='left'><font color='#333333'><b><center>$subject </center></b></font></td></tr>" ;
echo "<tr><td class='main-body' width='100%' b gColor='#484433'><font color='#FFFFFF'>$news <br><br>" ;
echo "<table width='100%' c ellpadding='0' cellspacing='0'><tr>" ;
echo "<td class='news-footer'>" ;
echo "<font color='#FFFFFF'>" ;
echo "" . $locale [ '040' ] . "<a href='profile.php?lookup=" . $info [ 'user_id' ] . "'>" . $info [ 'user_name' ] . "</a> " ;
echo "</font>" ;
echo "<font color='#FFFFFF'>" ;
echo "" . $locale [ '041' ] . showdate( "longdate" , $info [ 'news_date' ] ) . " </td>" ;
echo "</font>" ;
echo "<font color='#FFFFFF'>" ;
echo "<td height='24' align='right' class='news-footer'>" ;
echo "</font>" ;
echo "<font color='#FFFFFF'>" ;
echo "" . ( $info [ 'news_ext' ] == "y" ? "<a href='news.php?readmore=" . $info [ 'news_id' ] . "'>" . $locale [ '042' ] . "</a> ·\n " : "" ) . "" ;
echo "</font>" ;
echo "<font color='#FFFFFF'>" ;
if ( $info [ 'news_allow_comments' ] )
echo "</font>" ;
echo "<font color='#FFFFFF'>" ;
echo "<a href='news.php?readmore=" . $info [ 'news_id' ] . "'>" . $info [ 'news_comments' ] . $locale [ '043' ] . "</a> · " ;
echo "</font>" ;
echo "<font color='#FFFFFF'>" ;
echo "" . $info [ 'news_reads' ] . $locale [ '044' ] . " " ;
echo "</font>" ;
echo "<font color='#FFFFFF'>" ;
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 "</font>" ;
echo "</td></tr></table>" ;
echo "</font></td></tr></table></td></tr></table>" ;
}
function render_article( $subject , $article , $info ) {
global $locale ;
echo "<table class='news-border' border='0' cellspacing='2' width='100%' c ellpadding='1'><tr>" ;
echo "<td height='23' class='table-cellpic'>$subject </td>" ;
echo "</tr></table>" ;
echo "<table width='100%' c ellpadding='0' cellspacing='0' class='border'><tr>" ;
echo "<td><table width='100%' c ellpadding='0' cellspacing='0'><tr>" ;
echo "<td class='main-body'>" . ( $info [ 'article_breaks' ] == "y" ? nl2br ( $article ) : $article ) . "" ;
echo "</td></tr></table>" ;
echo "<table width='100%' c ellpadding='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' ] . "' style='vertical-align:middle;border:0px;'></a>" ;
echo "</td></tr></table></td></tr></table>\n " ;
}
function opentable( $title ) {
echo "<table border='0' cellpadding='0' cellspacing='0' width='100%'>" ;
echo "<tr><td width='100%'><table class='panel-border' cellSpacing='1' cellPadding='0' width='100%' b order='0'>" ;
echo "<tr><td width='100%' height='23' class='table-cellpic' align='left'><font color='#333333'><b><center>$title </center></b></font></td></tr>" ;
echo "<tr><td class='main-body' width='100%' b gColor='#484433'><font color='#FFFFFF'>" ;
}
// Close table end
function closetable( ) {
echo "</font></td></tr></table></td></tr></table>" ;
}
function openside( $title ) {
echo "<table border='0' cellpadding='0' cellspacing='0' width='100%'>" ;
echo "<tr><td width='100%'><table class='panel-border' cellSpacing='1' cellPadding='0' width='100%' b order='0'>" ;
echo "<tr><td width='100%' height='23' class='panel-cellpic' align='center' background='http://rsfavour.wu.lt/themes/RS/images/cellpic1.gif'>$title </td></tr>" ;
echo "<tr><td class='side-body' width='100%' b gcolor='#484433'>" ;
}
function closeside( ) {
echo "</td></tr></table></td></tr></table>" ;
tablebreak( ) ;
}
function opensidex( $title , $state = "on" ) {
$boxname = str_replace ( " " , "" , $title ) ;
echo "<table width='100%' c ellpadding='0' cellspacing='0'>
<tr>
<td>
<table width='100%' c ellpadding='0' cellspacing='0'>
<tr>
<td class='scapmain'>$title </td>
<td class='scapmain' align='right'>" . panelbutton( $state , $boxname ) . "</td>
</tr>
<tr>
<td colspan='2' class='side-body'>
<div id='box_$boxname '" . ( $state == "off" ?" style='display:none'" : "" ) . ">\n " ;
}
function closesidex( ) {
echo "</div>
</td>
</tr>
</table>
</td>
</tr>
</table>\n " ;
tablebreak( ) ;
}
function tablebreak( ) {
echo "<table width='100%' c ellspacing='0' cellpadding='0'>
<tr><td height='10'></td></tr>
</table>\n " ;
}
?>
8 atsakymai:
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!