Dandžu
Narys
Ekspertas
Pranešimai: 3265
Įstojęs: 2007 Lie. 23 13:07:47
|
Šito nepamiršai?
function render_news($subject, $news, $info, $rating)
|
suomis
Narys
Generolas
Pranešimai: 1167
Įstojęs: 2005 Gru. 22 00:12:19
|
nu bliot kaip as cia ta pramazinau dekui viskas uikiai veikia jau;) dekui Sharkman
PJAUNAT GRYBĄ BARAVYKĄ - MAFIJOZAI!!! |
Gedi Minas
Narys
Terminatorius
Pranešimai: 1229
Įstojęs: 2005 Gru. 21 18:12:30
|
Greičiausiai, kad pamiršo.
|
suomis
Narys
Generolas
Pranešimai: 1167
Įstojęs: 2005 Gru. 22 00:12:19
|
ne nepamirsau o tiesiog nepastebejau galvojau tik ta zemiau reikia darasyt
PJAUNAT GRYBĄ BARAVYKĄ - MAFIJOZAI!!! |
Dandžu
Narys
Ekspertas
Pranešimai: 3265
Įstojęs: 2007 Lie. 23 13:07:47
|
Kai pasakė jog tuščia tai iškart galvon jog tą praleido.
|
suomis
Narys
Generolas
Pranešimai: 1167
Įstojęs: 2005 Gru. 22 00:12:19
|
nu del to suduko ir nenuskaite ten tu visu pribumbasu geras modas cia toks gerai padirbeta
PJAUNAT GRYBĄ BARAVYKĄ - MAFIJOZAI!!! |
suomis
Narys
Generolas
Pranešimai: 1167
Įstojęs: 2005 Gru. 22 00:12:19
|
tik galetu dar rasyt koks retingas pvz alt='' funkcija
PJAUNAT GRYBĄ BARAVYKĄ - MAFIJOZAI!!! |
Dandžu
Narys
Ekspertas
Pranešimai: 3265
Įstojęs: 2007 Lie. 23 13:07:47
|
Na tai jau pats gali tai pasidaryti. Juk nesunku.
|
bad_user
Narys
Antras po Dievo
Pranešimai: 4956
Įstojęs: 2007 Spa. 26 20:10:01
|
Tai ir kišk rating į alt'ą
Rules: 21 & 22 Read first! |
bad_user
Narys
Antras po Dievo
Pranešimai: 4956
Įstojęs: 2007 Spa. 26 20:10:01
|
Tai ir kišk rating į alt'ą
Rules: 21 & 22 Read first! |
suomis
Narys
Generolas
Pranešimai: 1167
Įstojęs: 2005 Gru. 22 00:12:19
|
tai as galiu dadet aisq alt='retingas bet butu graziau kad uzeini ir rodo koks reitingas pvz 'reitingas puiku"
PJAUNAT GRYBĄ BARAVYKĄ - MAFIJOZAI!!! |
Samp_Tevas
VIP narys
Pulkininkas
Pranešimai: 374
Įstojęs: 2007 Geg. 16 19:05:01
|
Meta toki, Ka tai reiskia?
Parse error: syntax error, unexpected T_VARIABLE, expecting ')' in C:\wamp\www\bandymams\themes\Similitude06\theme.php on line 59
Nuotrauka |
Dandžu
Narys
Ekspertas
Pranešimai: 3265
Įstojęs: 2007 Lie. 23 13:07:47
|
Rekomenduoju paskaityti straipsnį apie error'us.
|
Samp_Tevas
VIP narys
Pulkininkas
Pranešimai: 374
Įstojęs: 2007 Geg. 16 19:05:01
|
pasirodo kablelio truko, dekui.
Nuotrauka |
Gedi Minas
Narys
Terminatorius
Pranešimai: 1229
Įstojęs: 2005 Gru. 21 18:12:30
|
Matau jau suomis savo saite įsidiegė, gražu.
|
mXt
Narys
Viršesnis už Dievą
Pranešimai: 5775
Įstojęs: 2006 Bir. 9 16:06:09
|
A koks tas jo saitas? Noreciau gyvai pamatyti. Atsiusk i PM nuoroda, arba cia parasyk. Dekui.
ex best admin! |
Gedi Minas
Narys
Terminatorius
Pranešimai: 1229
Įstojęs: 2005 Gru. 21 18:12:30
|
Taigi jo paraše adresas.
|
mXt
Narys
Viršesnis už Dievą
Pranešimai: 5775
Įstojęs: 2006 Bir. 9 16:06:09
|
Ui.. Nepamačiau
ex best admin! |
NoNy
Narys
Ekspertas
Pranešimai: 2803
Įstojęs: 2008 Vas. 14 13:02:57
|
<?php
/************************/
/* Settings/Nustatymai */
/************************/
$body_text = "#262626";
$body_bg = "#ffffff";
$theme_width = "988";
$theme_width_l = "180";
$theme_width_r = "180";
function render_header($header_content) {
global $theme_width,$settings;
echo "<script src='".THEME."/grade.js' language='Javascript'></script>";
echo "<table class='forumline' align='center' width='$theme_width' cellspacing='0' cellpadding='0' style='margin-top: -5px; margin-bottom: -5px; border-top: solid #000000 1px;'>";
echo "<tr><td><table align='center' width='100%' cellspacing='0' cellpadding='0'>";
echo "<tr><td><table align='center' width='100%' cellspacing='0' cellpadding='0'>";
echo "<tr><td class='header' width='100%'>";
// Start banner code / Banerio kodas
echo "<table id='Table_01' width='1001' height='211' border='0' cellpadding='0' cellspacing='0'>
<tr>
<td colspan='21'>
<img src='".THEME."images/head_01.jpg' width='1000' height='159' alt=''></td>
<td>
<img src='".THEME."images/spacer.gif' width='1' height='159' alt=''></td>
</tr>
<tr>
<td rowspan='3'>
<img src='".THEME."images/head_02.jpg' width='6' height='34' alt=''></td>
<td rowspan='3'>
<a href='http://www.wg.xz.lt/news.php'><img src='".THEME."images/pagrindinis.jpg' width='82' height='34' border='0' onMouseOver=this.src='".THEME."images/pagrindinis.gif' onMouseOut=this.src='".THEME."images/pagrindinis.jpg'></a></td>
<td rowspan='3'>
<img src='".THEME."images/head_04.jpg' width='1' height='34' alt=''></td>
<td rowspan='3'>
<a href='http://www.wg.xz.lt/forum/index.php'><img src='".THEME."images/forumas.jpg' width='63' height='34' border='0' onMouseOver=this.src='".THEME."images/forumas.gif' onMouseOut=this.src='".THEME."images/forumas.jpg'></a></td>
<td rowspan='3'>
<img src='".THEME."images/head_06.jpg' width='1' height='34' alt=''></td>
<td rowspan='3'>
<a href='http://www.wg.xz.lt/downloads.php'><img src='".THEME."images/siuntimai.jpg' width='69' height='34' border='0' onMouseOver=this.src='".THEME."images/siuntimai.gif' onMouseOut=this.src='".THEME."images/siuntimai.jpg'></a></td>
<td rowspan='3'>
<img src='".THEME."images/head_08.jpg' width='1' height='34' alt=''></td>
<td rowspan='3'>
<a href='http://www.wg.xz.lt/serveriai'><img src='".THEME."images/serveriai.jpg' width='68' height='34' border='0' onMouseOver=this.src='".THEME."images/serveriai.gif' onMouseOut=this.src='".THEME."images/serveriai.jpg'></a></td>
<td rowspan='3'>
<img src='".THEME."images/head_10.jpg' width='1' height='34' alt=''></td>
<td rowspan='3'>
<a href='http://www.wg.xz.lt/articles.php'><img src='".THEME."images/pamokos.jpg' width='64' height='34' border='0' onMouseOver=this.src='".THEME."images/pamokos.gif' onMouseOut=this.src='".THEME."images/pamokos.jpg'></a></td>
<td colspan='9'>
<img src='".THEME."images/head_12.jpg' width='356' height='8' alt=''></td>
<td colspan='2' rowspan='2'>
<img src='".THEME."images/head_13.jpg' width='288' height='16' alt=''></td>
<td>
<img src='".THEME."images/spacer.gif' width='1' height='8' alt=''></td>
</tr>
<tr>
<td rowspan='2'>
<img src='".THEME."images/head_14.jpg' width='93' height='26' alt=''></td>
<td>
<a href='http://www.wg.xz.lt/viewpage.php?page_id=4'><img src='".THEME."images/uzeriai.jpg' width='34' height='8' border='0' onMouseOver=this.src='".THEME."images/uzeriai.gif' onMouseOut=this.src='".THEME."images/uzeriai.jpg'></a></td>
<td>
<img src='".THEME."images/head_16.jpg' width='17' height='8' alt=''></td>
<td>
<a href='http://www.wg.xz.lt/viewpage.php?page_id=4'><img src='".THEME."images/admin.jpg' width='76' height='8' border='0' onMouseOver=this.src='".THEME."images/admin.gif' onMouseOut=this.src='".THEME."images/admin.jpg'></a></td>
<td>
<img src='".THEME."images/head_18.jpg' width='18' height='8' alt=''></td>
<td>
<a href='http://www.wg.xz.lt/contact.php'><img src='".THEME."images/paslaugos.jpg' width='50' height='8' border='0' onMouseOver=this.src='".THEME."images/paslaugos.gif' onMouseOut=this.src='".THEME."images/paslaugos.jpg'></a></td>
<td>
<img src='".THEME."images/head_20.jpg' width='19' height='8' alt=''></td>
<td>
<a href='http://www.wg.xz.lt/viewpage.php?page_id=3'><img src='".THEME."images/reklama.jpg' width='40' height='8' border='0' onMouseOver=this.src='".THEME."images/reklama.gif' onMouseOut=this.src='".THEME."images/reklama.jpg'></a></td>
<td>
<img src='".THEME."images/head_22.jpg' width='9' height='8' alt=''></td>
<td>
<img src='".THEME."images/spacer.gif' width='1' height='8' alt=''></td>
</tr>
<tr>
<td colspan='9' rowspan='2'>
<img src='".THEME."images/head_23.jpg' width='487' height='35' alt=''></td>
<td rowspan='2'>
<img src='".THEME."images/head_24.jpg' width='64' height='35' alt=''></td>
<td>
<img src='".THEME."images/spacer.gif' width='1' height='18' alt=''></td>
</tr>
<tr>
<td colspan='11'>
<img src='".THEME."images/head_25.jpg' width='449' height='17' alt=''></td>
<td>
<img src='".THEME."images/spacer.gif' width='1' height='17' alt=''></td>
</tr>
<tr>
<td>
<img src='".THEME."images/spacer.gif' width='6' height='1' alt=''></td>
<td>
<img src='".THEME."images/spacer.gif' width='82' height='1' alt=''></td>
<td>
<img src='".THEME."images/spacer.gif' width='1' height='1' alt=''></td>
<td>
<img src='".THEME."images/spacer.gif' width='63' height='1' alt=''></td>
<td>
<img src='".THEME."images/spacer.gif' width='1' height='1' alt=''></td>
<td>
<img src='".THEME."images/spacer.gif' width='69' height='1' alt=''></td>
<td>
<img src='".THEME."images/spacer.gif' width='1' height='1' alt=''></td>
<td>
<img src='".THEME."images/spacer.gif' width='68' height='1' alt=''></td>
<td>
<img src='".THEME."images/spacer.gif' width='1' height='1' alt=''></td>
<td>
<img src='".THEME."images/spacer.gif' width='64' height='1' alt=''></td>
<td>
<img src='".THEME."images/spacer.gif' width='93' height='1' alt=''></td>
<td>
<img src='".THEME."images/spacer.gif' width='34' height='1' alt=''></td>
<td>
<img src='".THEME."images/spacer.gif' width='17' height='1' alt=''></td>
<td>
<img src='".THEME."images/spacer.gif' width='76' height='1' alt=''></td>
<td>
<img src='".THEME."images/spacer.gif' width='18' height='1' alt=''></td>
<td>
<img src='".THEME."images/spacer.gif' width='50' height='1' alt=''></td>
<td>
<img src='".THEME."images/spacer.gif' width='19' height='1' alt=''></td>
<td>
<img src='".THEME."images/spacer.gif' width='40' height='1' alt=''></td>
<td>
<img src='".THEME."images/spacer.gif' width='9' height='1' alt=''></td>
<td>
<img src='".THEME."images/spacer.gif' width='224' height='1' alt=''></td>
<td>
<img src='".THEME."images/spacer.gif' width='64' height='1' alt=''></td>
<td></td>
</tr>
</table>";
// End banner code / Banerio kodo pabaiga
echo "<table width='100%' cellpadding='4' bgcolor='#F8F8F8' cellspacing='0' border='0'><tr>";
}
function render_footer($license=false) {
global $theme_width,$locale,$settings;
echo "</tr>\n</table>\n";
echo "<table cellSpacing='0' cellPadding='2' width='100%' border='0' background='".THEME."images/footer.gif' style='border-right: solid #FFFFFF 1px; border-left: solid #FFFFFF 1px;'>";
echo "<td width='20%' height='25' class='white' align='left'>";
if ($license == false) {
}
echo "</td>";
echo "<td width='40%' class='white' align='center'>";
echo "<b>".stripslashes($settings['footer'])."</b></td>";
echo "<td width='' class='white' align='right'>";
echo "<b>Sprendimas: <a href='http://v3rm1.xz.lt'>V3rm1</a></b>";
echo "</td>";
echo "<div align='center'></tr></table></td></tr></table></div>";
}
function render_news($subject, $news, $info, $rating) {
global $locale;
echo "<table class='news-border' border='0' cellspacing='2' width='100%' cellpadding='1'><tr>";
echo "<td height='25' 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'>$news</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['news_date'])." </td>";
echo "<td height='24' align='right'>";
echo "".($info['news_ext'] == "y" ? "<a href='news.php?readmore=".$info['news_id']."'>".$locale['042']."</a> ·\n" : "")."";
if ($info['news_allow_comments'])
echo "<a href='news.php?readmore=".$info['news_id']."'>".$info['news_comments'].$locale['043']."</a> · ";
echo "".$info['news_reads'].$locale['044']." ";
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 "</td></tr></table></td></tr></table>\n";
}
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='25' 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'>";
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";
}
// Open table begins
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='25' class='table-cellpic' align='right'>$title</td></tr>";
echo "<tr><td class='main-body' width='100%' bgColor='#FFFFFF'>";
}
// Close table end
function closetable() {
echo "</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='25' class='panel-cellpic' align='right'>$title</td></tr>";
echo "<tr><td class='side-body' width='100%' bgColor='#FFFFFF'>";
}
function closeside() {
echo "</td></tr></table></td></tr></table>";
tablebreak();
}
function opensidex($title,$open="on") {
$boxname = str_replace(" ", "", $title);
$box_img = $open == "on" ? "off" : "on";
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='25' class='panel-cellpic' align='center'><img align='right' src='".THEME."images/panel_$box_img.gif' name='b_$boxname' alt='' onclick=\"javascript:flipBox('$boxname')\">$title</td></tr>";
echo "<tr><td class='side-body' width='100%' bgColor='#FFFFFF'>";
echo "<div id='box_$boxname'"; if($open=="off"){ echo "style='display:none'"; } echo ">\n";
}
function closesidex() {
echo "</div></td></tr></table></td></tr></table>";
tablebreak();
}
// Table functions
function tablebreak() {
echo "<table width='100%' cellspacing='0' cellpadding='0'><tr><td height='8'></td></tr></table>\n";
}
?>
Va čia mano theme.php, bet aš nerandu tų vietų..
|
Dandžu
Narys
Ekspertas
Pranešimai: 3265
Įstojęs: 2007 Lie. 23 13:07:47
|
Už tave neįdėsiu.
|
NoNy
Narys
Ekspertas
Pranešimai: 2803
Įstojęs: 2008 Vas. 14 13:02:57
|
Tai aprodik kuriose vietose, aš gi neprašau įdėti.
|
Gedi Minas
Narys
Terminatorius
Pranešimai: 1229
Įstojęs: 2005 Gru. 21 18:12:30
|
NONY Įdėjau pačioj apčioj.
function render_news($subject, $news, $info, $rating) {
global $locale;
echo "<table class='news-border' border='0' cellspacing='2' width='100%' cellpadding='1'><tr>";
echo "<td height='25' 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'>$news</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['news_date'])." </td>";
echo "<td height='24' align='right'>";
echo "".($info['news_ext'] == "y" ? "<a href='news.php?readmore=".$info['news_id']."'>".$locale['042']."</a> ·\n" : ""merkia akį."";
if ($info['news_allow_comments'])
echo "<a href='news.php?readmore=".$info['news_id']."'>".$info['news_comments'].$locale['043']."</a> · ";
echo "".$info['news_reads'].$locale['044']." ";
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 "</td></tr><tr>
<td align='left' class='news-footer'>$rating</td>
</tr></table></td></tr></table>\n";
}
|
kLx
Narys
Generolas
Pranešimai: 897
Įstojęs: 2007 Geg. 6 21:05:29
|
Labai ačiū už modą ! Tikrai labai šaunus ir gražus modas!
|
hopan
Narys
Nuolatinis
Pranešimai: 130
Įstojęs: 2007 Gru. 20 22:12:22
|
Ačiū, kaip tik ko ir ieškojau
Nuotrauka |
ququ
Narys
Fruktas
Pranešimai: 25
Įstojęs: 2008 Geg. 24 21:05:06
|
function render_news($subject, $news, $info, $rating) {
global $locale;
echo "
<div class='open-div'>
<div class='title'>
$subject
</div>
".newsposter($info,"<br><br>")."
$news\n";
if ($info['news_ext'] == "y") echo "<br><br><a href='news.php?readmore=".$info['news_id']."'><span class='read-more'><b><marquee><img src='".THEME."images/readmore.gif'> ".$locale['042']."</marquee></b></span></a>\n";
echo "
<div class='news-footer'>\n";
echo openform("N",$info['news_id']).newsopts($info,"·").closeform("N",$info['news_id']);
echo "
</div>
</div>\n";
}
function render_article($subject, $article, $info) {
Gal galite patarti Kur man isprausti koda
<tr>
<td align='left' class='news-footer'>$rating</td>
</tr>
|
hopan
Narys
Nuolatinis
Pranešimai: 130
Įstojęs: 2007 Gru. 20 22:12:22
|
Duok ilgesnį tekstą, nes ne tą vietą čia parašiai kur reikia įterpti, kai parašysi normaliai parašysiu aš tau
Nuotrauka |
ququ
Narys
Fruktas
Pranešimai: 25
Įstojęs: 2008 Geg. 24 21:05:06
|
<?php
/*
CleanRed 1.0 theme for PHP-Fusion
Copyright © 2007 Patric G. Forcelini (IceWasp)
Released under the terms & conditions of GNU/GPL v2
*/
if (!defined("IN_FUSION")) { header("Location: ../../index.php"); exit; }
require_once THEMES."CleanRed/theme_functions_include.php";
// theme settings
$body_text = "#000000";
$body_bg = "#ffffff";
$theme_width = "750";
$theme_width_l = "165";
$theme_width_r = "165";
function render_header($header_content) {
global $theme_width,$settings,$locale;
echo "
<div id='container' style='width:$theme_width;'>
<div id='header'>
$header_content
</div>
<div id='sub-header'>
".showsublinks("","white")."
</div>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>\n";
}
function render_footer($license=false) {
global $theme_width,$settings,$locale;
echo "
</tr>
</table>
<div id='footer'>
".stripslashes($settings['footer'])."
<b> </div>
</div>\n";
}
function render_news($subject, $news, $info, $rating) {
global $locale;
echo "
<div class='open-div'>
<div class='title'>
$subject
</div>
".newsposter($info,"<br><br>")."
$news\n";
if ($info['news_ext'] == "y") echo "<br><br><a href='news.php?readmore=".$info['news_id']."'><span class='read-more'><b><marquee><img src='".THEME."images/readmore.gif'> ".$locale['042']."</marquee></b></span></a>\n";
echo "
<div class='news-footer'>\n";
echo openform("N",$info['news_id']).newsopts($info,"·").closeform("N",$info['news_id']);
echo "
</div>
</div>\n";
}
function render_article($subject, $article, $info) {
global $locale;
echo "
<div class='open-div'>
<div class='title'>
$subject
</div>
".articleposter($info,"<br><br>")."
".($info['article_breaks'] == "y" ? nl2br($article) : $article)."
<div class='news-footer'>\n";
echo openform("A",$info['article_id']).articleopts($info,"·").closeform("A",$info['article_id']);
echo "
</div>
</div>\n";
}
function opentable($title) {
echo "
<div class='open-div'>
<div class='title'>
$title
</div>\n";
}
function closetable() {
echo "
</div>\n";
}
function openside($title) {
echo "
<div class='open-sdiv'>
<div class='title'>
$title
</div>\n";
}
function closeside() {
echo "
</div>\n";
}
function opensidex($title,$state="on") {
$boxname = str_replace(" ", "", $title);
echo "
<div class='open-sdiv'>
<div class='titler'>
".panelbutton($state,$boxname)."
</div>
<div class='title'>
$title
</div>
<div id='box_$boxname'"; if($open=="off"){ echo "style='display:none'"; } echo ">\n";
}
function closesidex() {
echo "
</div>
</div>\n";
}
function tablebreak() {
echo "
<div class='break'></div>\n";
}
?>
dar yra pasony failas
<?php
/*---------------------------------------------------+
| PHP-Fusion 6 Content Management System
+----------------------------------------------------+
| Copyright © 2002 - 2006 Nick Jones
| http://www.php-fusion.co.uk/
+----------------------------------------------------+
| Released under the terms & conditions of v2 of the
| GNU General Public License. For details refer to
| the included gpl.txt file or visit http://gnu.org
+----------------------------------------------------*/
/*
CleanRed 1.0 theme for PHP-Fusion
Copyright © 2007 Patric G. Forcelini (IceWasp)
Released under the terms & conditions of GNU/GPL v2
*/
if (!defined("IN_FUSION")) { header("Location:../index.php"); exit; }
function showsublinks($sep="·",$class="") {
$i = 0; $res = "";
$sres = dbquery("SELECT * FROM ".DB_PREFIX."site_links WHERE link_position>='2' ORDER BY link_order");
if (dbrows($sres) != 0) {
while($sdata = dbarray($sres)) {
if (checkgroup($sdata['link_visibility'])) {
if ($sdata['link_url']!="---") {
if ($i != 0) { $res .= " ".$sep."\n"; } else { $res .= "\n"; }
$link_target = $sdata['link_window'] == "1" ? " target='_blank'" : "";
$link_class = $class ? " class='$class'" : "";
if (strstr($sdata['link_url'], "http://") || strstr($sdata['link_url'], "https://")) {
$res .= "<a href='".$sdata['link_url']."'".$link_target.$link_class.">".$sdata['link_name']."</a>";
} else {
$res .= "<a href='".BASEDIR.$sdata['link_url']."'".$link_target.$link_class.">".$sdata['link_name']."</a>";
}
}
$i++;
}
}
}
if ($i != 0) { return $res; } else { return " "; }
}
function newsposter($info,$sep="",$class="") {
global $locale; $res = "";
$link_class = $class ? " class='$class' " : "";
$res = "";
$res .= "";
$res .= $locale['041'];
$res .= $sep."\n";
return $res;
}
function newsopts($info,$sep,$class="") {
global $locale; $res = "";
$link_class = $class ? " class='$class' " : "";
if ($info['news_allow_comments']) $res .= "<a href='news.php?readmore=".$info['news_id']."'".$link_class.">".$info['news_comments'].$locale['043']."</a> ".$sep." ";
if ($info['news_ext'] == "y" || $info['news_allow_comments']) $res .= $info['news_reads'].$locale['044']."\n" ;
$res .= $sep." <a href='print.php?type=N&item_id=".$info['news_id']."'><img src='".THEME."images/pakeista.gif' alt='".$locale['045']."' title='".$locale['045']."' style='vertical-align:middle;border:0px;'></a>\n";
return $res;
}
function articleposter($info,$sep="",$class="") {
global $locale; $res = "";
$link_class = $class ? " class='$class' " : "";
$res = "<img src='".THEME."images/bullet.gif' alt='·'>\n";
$res .= $locale['040']."<a href='profile.php?lookup=".$info['user_id']."'".$link_class.">".$info['user_name']."</a>\n";
$res .= $locale['041'].showdate("longdate", $info['article_date']);
$res .= $sep."\n";
return $res;
}
function articleopts($info,$sep) {
global $locale; $res = "";
if ($info['article_allow_comments']) $res = $info['article_comments'].$locale['043']." ".$sep."\n";
$res .= $info['article_reads'].$locale['044']." ".$sep."\n";
$res .= "<a href='print.php?type=A&item_id=".$info['article_id']."'><img src='".THEME."images/pakeista.gif' alt='".$locale['045']."' title='".$locale['045']."' style='vertical-align:middle;border:0px;'></a>\n";
return $res;
}
function openform($item_type,$item_id) {
global $aidlink;
$res = "";
if ($item_type == "N") {
if (iADMIN && checkrights($item_type)) $res .= "<form name='editnews".$item_id."' method='post' action='".ADMIN."news.php".$aidlink."&news_id=".$item_id."'>\n";
} elseif ($item_type == "A") {
if (iADMIN && checkrights($item_type)) $res .= "<form name='editarticle".$item_id."' method='post' action='".ADMIN."articles.php".$aidlink."&article_id=".$item_id."'>\n";
}
return $res;
}
function closeform($item_type,$item_id) {
global $locale; $res = "";
if ($item_type == "N") {
if (iADMIN && checkrights($item_type)) $res .= "· <input type='hidden' name='edit' value='edit'><a href='javascript:document.editnews".$item_id.".submit();'><img src='".IMAGES."edit.gif' alt='".$locale['048']."' title='".$locale['048']."' style='vertical-align:middle;border:0px;'></a>\n</form>\n";
} elseif ($item_type == "A") {
if (iADMIN && checkrights($item_type)) $res .= " · <input type='hidden' name='edit' value='edit'><a href='javascript:document.editarticle".$item_id.".submit();'><img src='".IMAGES."edit.gif' alt='".$locale['048']."' title='".$locale['048']."' style='vertical-align:middle;border:0px;'></a>\n</form>\n";
}
return $res;
}
function showcopyright($class="") {
global $settings;
$link_class = $class ? " class='$class' " : "";
$res = "Powered by <a href='http://www.xdd.lt'".$link_class."target='_blank'>PHP-Fusion</a> <br>\n";
$res .= "Released as free software under the terms of the GNU/GPL license.";
return $res;
}
function showcounter() {
global $locale,$settings;
return number_format($settings['counter'])." ".($settings['counter'] == 1 ? $locale['140'] : $locale['141']);
}
function panelbutton($state,$bname) {
return "<img src='".THEME."images/panel_".($state == "on" ? "off" : "on").".gif' name='b_$bname' alt='' onclick=\"javascript:flipBox('$bname')\">";
}
?>
|
tm
Narys
Antras po Dievo
Pranešimai: 3935
Įstojęs: 2006 Spa. 22 18:10:48
|
Liuks daiktas isbandziau pasidariau viskas veikia 100 %
|
MAnjack
Garbės narys
Legenda
Pranešimai: 11821
Įstojęs: 2006 Kov. 2 20:03:58
|
Galima ir su žvaigždutėm pasidaryt
|
tm
Narys
Antras po Dievo
Pranešimai: 3935
Įstojęs: 2006 Spa. 22 18:10:48
|
tai taip tai cia jau img pakeiti ir vsio bet maniskiui dizainiukui oaprastam si kaip tik
|
ququ
Narys
Fruktas
Pranešimai: 25
Įstojęs: 2008 Geg. 24 21:05:06
|
Gal zinot kur idet ta koda i tema kur parasiau virsuje
|
GoBiS
VIP narys
Kapitonas
Pranešimai: 568
Įstojęs: 2008 Geg. 1 08:05:10
|
gal galit padet kas nors nesigauna man to theme.php padaryt padekyt
va mano theme.php kam nesunku padarykit
<?php
if (!defined("IN_FUSION")) { header("Location: ../../index.php"); exit; }
require_once INCLUDES."theme_functions_include.php";
// theme settings
$body_text = "#555555";
$body_bg = "#484848";
$theme_width = "780"; ///Temos plotis
$theme_width_l = "175";
$theme_width_r = "175";
function render_header($header_content) {
global $theme_width,$settings;
echo "<table align='center' cellspacing='0' cellpadding='0' width='$theme_width' class='outer-border'>
<tr>
<td>
<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td class='header_top'>
<table cellpadding='0' cellspacing='0' width='100%'>
<td width='500'></td>
<td width='200'></td>
<td width='13' height='28'align='left'><img src='".THEME."images/line_l.png'></td>
<td width='235' align='left' height='28' background='".THEME."images/line_grad.png' class='line'><marquee scrollamount='1' scrolldelay='50' onmouseover='this.stop()' onmouseout='this.start()'>".stripslashes($settings['description'])."</marquee></td>
<td width='13' align='left' height='28'><img src='".THEME."images/line_r.png'></td>
</table>
</td>
</tr>
</table>\n";
echo "<table cellpadding='0' cellspacing='0' width='100%' class='outer-border'>\n<tr>
<td><img src='".THEME."header.gif'></td>
</tr>
</table>\n";
echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>
<td class='linija'></td>
</table>\n";
echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
}
function render_footer($license=false) {
global $theme_width,$settings;
echo "</tr>\n</table>\n";
echo "<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
</td>
</tr>
</table>
</td>
</tr>
</table>\n";
}
function render_news($subject, $news, $info) {
global $aidlink,$item_type;
$res = "";
echo "<table cellpadding='0' cellspacing='0' width='$theme_width'>
<tr>
<td class='capmain'>$subject<br><span style='font-size : 10px;font-weight : normal;color:#B2B2B2;'>".showdate("shortdate", $info['news_date'])."</span></td>
</tr>
<tr>
<td class='main-body'>$news</td>
</tr>
<tr>
<form name='editnews".$info['news_id']."' method='post' action='".ADMIN."news.php".$aidlink."&news_id=".$info['news_id']."'>
<td align='center' class='news-footer'><img src='http://www.dance.too.lt/images/placiau.gif'<a href='news.php?readmore=".$info['news_id']."'><text>Naujiena plačiau</a> <img src='http://www.dance.too.lt/images/komentarai.png' <text>Komentarų: ".$info['news_comments']."</td>
</form>
</tr>
</table>\n";
}
function render_article($subject, $article, $info) {
echo "<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='capmain'>$subject</td>
</tr>
<tr>
<td class='main-body'>
".($info['article_breaks'] == "y" ? nl2br($article) : $article)."
</td>
</tr>
<tr>
<td align='center' class='news-footer'>\n";
echo openform("A",$info['article_id']).articleposter($info," ·").articleopts($info,"·").closeform("A",$info['article_id']);
echo "</td>
</tr>
</table>\n";
}
function opentable($title) {
echo "<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td class='capmain'>$title</td>
</tr>
<tr>
<td class='main-body'>\n";
}
function closetable() {
echo "</td>
</tr>
</table>\n";
}
function openside($title) {
echo "<table cellpadding='0' cellspacing='0' width='100%' class='border'>
<tr>
<td class='scapmain'>$title</td>
</tr>
<tr>
<td class='side-body'>\n";
}
function closeside() {
echo "</td>
</tr>
</table>\n";
tablebreak();
}
function opensidex($title,$state="on") {
$boxname = str_replace(" ", "", $title);
echo "<table cellpadding='0' cellspacing='0' width='100%' class='border'>
<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>\n";
tablebreak();
}
function tablebreak() {
echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n<td height='5'></td>\n</tr>\n</table>\n";
}
?>
|
masck
Narys
Generolas
Pranešimai: 1200
Įstojęs: 2006 Bal. 1 19:04:11
|
Nesigauna man nors tu ka,turbut kad ant V7 darau.
stfu nabs |
kinomanas
Narys
Margas
Pranešimai: 94
Įstojęs: 2008 Bir. 14 20:06:38
|
Grazus darbas
|