Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: Del news

Parašė ereliai90· 2008 Lie. 6 12:07:53
#4

esme tame, kad ten buwo pakeistos nuorodos i tuos img, na pvz: buwo ereliai.nkk.lt/images/comments.png o dbr reikia kad butu siaubo-filmai.ebaze.lt/imgaes/comments.png
Cia theme.php mano... kur?

<?php
/*-----------------------------------------------------------------------------------------------------------------------
Be Mine Theme 1.0
by SoulSmasher (http://www.soulsmasher.net ) & pHéR-d (http://www.photoshopturk.org)
From PHP Fusion Turkey Official Support Site Administration Team
Theme core Based On my older theme, Shapes OF Souls
You Can Use And Share the theme as much as you want
but if you don't want to mess with law,
please don't remove copyright of theme.
this is against license of theme
(Creative Commons Attribution - Non-Commercial - Share-Alike 2.0 England and Wales License)
-------------------------------------------------------------------------------------------------------------------------*/
if (!defined("IN_FUSION")) { header("Location: ../../index.php"); exit; }
require_once INCLUDES."theme_functions_include.php";

// theme settings
$body_text = "#000000";
$body_bg = "#f0b4b5";
$theme_width = "900";
$theme_width_l = "175";
$theme_width_r = "175";

function render_header($header_content) {

global $theme_width;
echo "<script type='text/javascript' src='".THEME."/grade.js'></script>";
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='full-header'></td>
</tr>
</table>\n";


echo "<center><img src='".THEME."images/header.jpg' alt=''></center>\n";
echo "<table width='100%' border='0' cellspacing='0' cellpadding='0' align='center'>\n";
   echo "<tr><td class='sub-header'>";
   echo "</td></tr></table>";
   echo "<table width='100%' border='0' cellpadding='4' cellspacing='0'><tr>";
   echo "<td height='28' class='sub-header' align='center'>".showsublinks("<img src='".THEME."images/divider.gif' alt=''>")."</td>\n";
   echo "</tr></table>";
   
   echo "<table width='100%' cellpadding='0' cellspacing='0' border='0' align='center'>";
}


function render_footer($license=false) {

global $theme_width,$settings;

echo "</tr>\n</table>\n";
echo "<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td height='100' align='center' class='footer'>".stripslashes($settings['footer'])."
Powered By <a href='http://www.php-fusion.co.uk/' target='_blank'><b>PHP Fusion</b></a>
</td>
</tr>
</table>
</td>
</tr>
</table>\n";

}

function render_news($subject, $news, $info) {

echo "<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td class='capmain'>$subject</td>
</tr>
<tr>
<td class='main-body'>$news</td>
</tr>
<tr>
<td align='center' class='news-footer'>\n";
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 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," &middot;").articleopts($info,"&middot;").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 height='26' 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='25'></td>\n</tr>\n</table>\n";

}
?>




Redagavo ereliai90· 2008 Lie. 6 12:07:27