Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: Kur yra daug temu

Parašė forumietis· 2008 Geg. 1 17:05:34
#6

nu db nuejau i themes folderi i ejau i savo theames folderi ten atidariau theame.php ir
<?php
if (!defined("IN_FUSION")) { header("Location: ../../index.php"); exit; }
require_once INCLUDES."theme_functions_include.php";

//**********************************************************************************************************//
// Theme Name: Transverse                     
// Theme Design: by: Fuzed Themes (http://phpfusion-themes.com)           
// version 1.0                                             
// Copyright © 2006 by Fuzed Themes - All Rights Reserved
// ----------------------------------------------------------------------
// THEME MODIFICATION
// Users may alter or modify this theme at their own risk,
// but only for their own use. They may also hire Fuzed Themes to modify their own copy of the theme.
// Although users may modify the code for their use,
// modified code may not be resold or distributed,
// without express written permission from Fuzed Themes.
//
// DISPLAY OF COPYRIGHT NOTICES REQUIRED
// All copyright notices used within the scripts that the scripts generate,
// MUST remain intact. Furthermore, these notices must remain visible.
//
// SUPPORT
// Fuzed Themes provides free support on all their theme designs.
// (includes consulting, troubleshooting and fixing problems).
// For Support, please visit us at: http://www.phpfusion-themes.com/
//
// Fuzed Themes is not liable for any products or services offered by means of the theme.
// The user must assume the entire risk of using the program.
//*********************************************************************************************************//

/* Theme Settings */
$body_text = "#000000";
$body_bg = "#374049";
$theme_width = "90%";
$theme_width_l = "160"; cia pakeisti irviskas? bet keiciau i 50 ir nieko
$theme_width_r = "160"; cia pakeisti irviskas?


function render_header($header_content) {
global $theme_width,$settings;

echo "<table align='center' class='outer_border' width='$theme_width' cellspacing='0' cellpadding='0' border='0'>
<tr>
<td align='center' valign='top'>
<table class='header_bg' width='100%' cellspacing='0' cellpadding='0'>
<tr>
<td><img alt='' src='".THEME."images/header.png'></td></tr></table>
<table width='100%' cellspacing='0' cellpadding='0'>
<tr>   
<td class='nav'>".showsublinks("<img alt='' src='".THEME."images/spacer.png'>","topnav")."</td>
<td class='nav' width='210' nowrap><div id='clock' align='right'>".showsubdate()."</div></td></tr></table></td></tr></table>
<table align='center' width='100%' cellpadding='4' bgcolor='#F4F4F4' cellspacing='0' border='0'><tr>";
}

function render_footer($license=false) {
global $theme_width, $settings;

echo "</tr>\n</table>
<table align='center' id='td_style1a' cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td id='td_style2'></tr>
<tr>
<td align='center' class='tfoot'>".stripslashes($settings['footer'])."</td></tr></table>
<table align='center' class='tfoot' id='td_style3' cellpadding='3' cellspacing='1' width='$theme_width'>
<tr>
<td style='margin-top: 3px;' class='tfoot'>
<div style='margin-bottom: 4px;' align='center'><br><span class='credits'>";
if (!$license) { echo showcopyright()."</span><br><br><span class='counter'>\n"; } echo showcounter()."</span><br>
</div>

</td></tr></table>\n";
}

function render_news($subject, $news, $info) {
$subject = strip_tags($subject);
   
echo "<table class='tborder' cellspacing='1' width='100%' cellpadding='6'>
<tr>
<td class='p_head'><span class='smallfont'>$subject</span></td></tr></table>
<table width='100%' cellpadding='0' class='tborder' cellspacing='1'>
<tr>
<td class='alt1'>$news</td></tr></table>
<table style='height:25px' width='100%' cellpadding='0' cellspacing='1' class='tborder'>
<tr>
<td class='news'>";
echo openform("N",$info['news_id']).newsposter($info," &middot;").newsopts($info," &middot;").closeform("N",$info['news_id']);
echo "</td></tr></table>\n";
}

function render_article($subject, $article, $info) {
   
echo "<table class='tborder' cellspacing='1' width='100%' cellpadding='6'>
<tr>
<td class='p_head'><span class='smallfont'>$subject</span></td></tr></table>
<table width='100%' cellpadding='0' class='tborder' cellspacing='1'>
<tr>
<td class='alt1'>".($info['article_breaks'] == "y" ? nl2br($article) : $article)."</td></tr></table>
<table style='height:25px' width='100%' cellpadding='0' cellspacing='1' class='tborder'>
<tr>
<td class='news'>";
echo openform("A",$info['article_id']).articleposter($info,"<br>").articleopts($info," &middot;").closeform("A",$info['article_id']);
echo "</td></tr></table>\n";
}

function opentable($title) {

echo "<table width='100%' cellpadding='6' cellspacing='1' class='tborder'>
<tr>
<td class='p_head'><span class='smallfont'>$title</span></td></tr></table>
<table width='100%' cellpadding='0' cellspacing='0' class='tborder'>
<tr>
<td class='alt1' width='100%'>\n";
}

function closetable() {

echo "</td></tr></table>\n";
}

function openside($title) {

echo "<table class='tborder' cellspacing='1' width='100%' cellpadding='6'>
<tr>
<td class='p_head'>
<span class='smallfont'>$title</span></td></tr>
<tr>
<td class='alt1' width='100%'>";
}

function closeside() {

echo "</td></tr></table>";
tablebreak();
}

function opensidex($title,$open="on") {
if($open=="on"){$box_img="off";}else{$box_img="on";}

echo "<table class='tborder' cellspacing='1' width='100%' cellpadding='6'>
<tr>
<td class='p_head'>
<img alt='' align='right' onclick=\"javascript:flipBox('$title')\" name='b_$title' src='".THEME."images/panel_$box_img.gif'><span class='smallfont'>$title</span>
</td></tr>
<tr>
<td class='alt1'>
<div id='box_$title'"; if($open=="off"){ echo "style='display:none'"; } echo ">\n";
}


function closesidex() {

echo "</div></td></tr></table>";
tablebreak();
}

function tablebreak() {
echo "<table width='100%' cellspacing='0' cellpadding='0'>
<tr>
<td height='8'></td></tr></table>\n";
}
?>



Redagavo forumietis· 2008 Geg. 1 17:05:19