Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: Galite perdaryti is V6 I V7 Theme???

Parašė drakosys112· 2011 Vas. 21 20:02:26
#1

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%' border='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%' bgColor='#484433'><font color='#FFFFFF'>$news<br><br>";
 
	echo "<table width='100%' cellpadding='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&amp;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%' 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'>".($info['article_breaks'] == "y" ? nl2br($article) : $article)."";
	echo "</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['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&amp;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%' border='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%' bgColor='#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%' border='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%' bgcolor='#484433'>";
}
 
function closeside() {
 
	echo "</td></tr></table></td></tr></table>";
	tablebreak();
}
 
 
function opensidex($title,$state="on") {
$boxname = str_replace(" ", "", $title);
echo "<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td>
<table width='100%' cellpadding='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%' cellspacing='0' cellpadding='0'>
<tr><td height='10'></td></tr>
</table>\n";
 
}
?>

Parašė T-Boy· 2011 Vas. 21 21:02:51
#2

Truputi naglas, ką? :) Įmeti kodą ir sakai "padarykit". Išmok bent gražiai paprašyti. O šiaip, tokie dalykai kainuoja. Priviso vaikų šitam saite.

Parašė Grafikietis· 2011 Vas. 21 21:02:32
#3

Už 5 litus kasnors perdarys. :) Nebent kamnors bus gera nuotaika. :)

Parašė drakosys112· 2011 Vas. 21 21:02:03
#4

labai prasau kad atsirastu koks geras narys ir perdarytumete mano theme Busiu labai dekingas :)

Aciu is anksto :)

Parašė ELŽ· 2011 Vas. 21 22:02:04
#5

Galiu perdaryti jai.. :D :s

Parašė iGolf· 2011 Vas. 21 22:02:37
#6

Tavo šis komentaras be ryšio visiškai, čia tik žiūriu keliesi skaičių sau postų, dar kartą pamatysiu, kad taip rašinėji kažką panašaus, atimsiu rašymo funkcija mažiausiai 2 Savaitėms :).

Parašė drakosys112· 2011 Vas. 21 22:02:10
#7

kas jai parasyk man i pm :) pasnekesim del jai :D

Parašė avice· 2011 Vas. 21 23:02:45
#8

uz sudo darba prasot pinigu ;D
perdarysiu ryt dykai , o dbr negaliu eisiu gult ;d

Parašė senzeeh· 2011 Vas. 22 07:02:50
#9

Vat ir kartais pasitaiko geru žmonių.

Parašė drakosys112· 2011 Vas. 22 11:02:45
#10

Avice labai dekingas buciau :) !!!

Parašė Jaunelis· 2011 Vas. 22 12:02:47
#11

atsidarai similiude v7 dizo kodą i keiti į savo kokios bėdos? :D