Parašė tm· 2008 Spa. 5 12:10:59
#4
163 eilute uzdaro theme ?> :D
Pngi kisu del to kad bandau kazka pats darytis bet man jau kazko nesigauna sitoje themoje :d
theme kodas :
<?php
if (!defined("IN_FUSION")) { header("Location: ../../index.php"); exit; }
require_once INCLUDES."theme_functions_include.php";
// theme settings
$body_text = "#FFFFFF";
$body_bg = "#28ADCE";
$theme_width = "879";
$theme_width_l = "270";
$theme_width_r = "270";
function render_header($header_content) {
global $theme_width;
echo "<table align='center' cellspacing='0' cellpadding='0' width='$theme_width'>
<tr>
<td>
<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td>
<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td align='left' style='padding-left:30px;'>$header_content</td>
<td align='right'><img src='".THEME."images/IMG_header.png' usemap='#navi' width='400' height='137' border='0'>
<map id='navi' name='navi'>
<area shape='rect' coords='324,2,338,15' href='".BASEDIR."index.php'>
<area shape='rect' coords='348,4,363,15' href='".BASEDIR."contact.php'>
<area shape='rect' coords='373,3,387,15' href='".BASEDIR."search.php'>
</map>
</td>
</tr>
</table>
<table cellpadding='0' cellspacing='0' width='100%' class='sub'>
<form name='search' action='search.php?stype=n' method='post'>
<tr>
<td align='left' class='navi' width='600'>".showsublinks("|","white")."</td>
<td align='center' class='searchbox' width='279'><input type='text' name='stext' value='paieškos tekstas..' onfocus=\"if(this.value=='paieškos tekstas..'){this.value='';}\" onblur=\"if(this.value==''){this.value='paieškos tekstas..';}\" class='textbox'> <input type='submit' name='option' value='ieškoti' class='button'></td>
</tr>
</form>
</table>
</td>
</tr>
</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%' class='footer'>
<tr>
<td align='left' style='padding-left:20px;font-size:9px;'>".stripslashes($settings['footer'])."</td>
<td align='right' style='padding-right:10px;'>
<img src='".THEME."images/IMG_sprendimas.gif'><a href='http://emotive.in/' target='_blank'><img src='".THEME."images/IMG_emotive.gif' border='0'></a><br>
<img src='".THEME."images/IMG_sistema.gif' style='margin-top:3px;'><a href='http://php-fusion.co.uk/' target='_blank'><img src='".THEME."images/IMG_phpfusion.gif' border='0' style='margin-top:3px;'></a>
</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='591'>
<tr>
<td class='capmain'>$subject</td>
</tr>
<tr>
<td class='main-body'>$news</td>
</tr>
<form name='editnews".$info['news_id']."' method='post' action='".ADMIN."news.php".$aidlink."&news_id=".$info['news_id']."'>
<tr>
<td align='left' class='news-footer'>
Parašė: <a href='".BASEDIR."profile.php?lookup=".$info['user_id']."' class='news'>".$info['user_name']."</a> Data: <span style='color:#27AECC;font-weight:bold;'>".showdate("%d.%m.%Y", $info['news_date'])."</span> Komentarų: <a href='news.php?readmore=".$info['news_id']."' class='news'>".$info['news_comments']."</a>";
if (iADMIN && checkrights("N")) {
echo " [<input type='hidden' name='edit' value='edit'><a href='javascript:document.editnews".$info['news_id'].".submit();'>redaguoti</a>]";
}
echo "</td>
</tr>
</form>
</table>\n";
}
function render_article($subject, $article, $info) {
echo "<table cellpadding='0' cellspacing='0' width='591'>
<tr>
<td class='capmain'>$subject</td>
</tr>
<tr>
<td class='main-body'>
".($info['article_breaks'] == "y" ? nl2br($article) : $article)."
</td>
</tr>
<form name='editarticle".$item_id."' method='post' action='".ADMIN."articles.php".$aidlink."&article_id=".$item_id."'>
<tr>
<td align='left' class='news-footer'>
Autorius: <a href='".BASEDIR."profile.php?lookup=".$info['user_id']."' class='news'>".$info['user_name']."</a> Data: <span style='color:#27AECC;font-weight:bold;'>".showdate("%d.%m.%Y", $info['article_date'])."</span> Komentarų: ".$info['article_comments']."</td>";
if (iADMIN && checkrights("A")) {
echo " [<input type='hidden' name='edit' value='edit'><a href='javascript:document.editarticle".$info['articles_id'].".submit();'>redaguoti</a>]";
}
echo "</tr>
</form>
</table>\n";
}
function opentable($title) {
echo "<table cellpadding='0' cellspacing='0' width='591'>
<tr>
<td align='center' class='capmain-table'>$title</td>
</tr>
<tr>
<td class='main-body-table'>\n";
}
function closetable() {
echo "</td>
</tr>
</table>\n";
}
function openside($title) {
echo "<table cellpadding='0' cellspacing='0' width='270'>
<tr>
<td class='scapmain'>$title</td>
</tr>
<tr>
<td class='side-body'>\n";
}
function closeside() {
echo "</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";
}
?>
Tai blueness theme :)
Redagavo tm· 2008 Spa. 5 12:10:31