Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: padekit del naujienu

Parašė Edvens· 2011 Bir. 11 11:06:03
#2

<?php

if (!defined("IN_FUSION")) { die("Access Denied"); }
define("THEME_BULLET", "<span class='bullet'>&middot;</span>");
require_once INCLUDES."theme_functions_include.php";

function render_page($license=false) {
global $theme_width,$userdata,$settings,$locale,$data,$db_prefix,$lookup,$msg_count,$aidlink;

echo "<table align='center' cellpadding='0' cellspacing='0' class='decolor'>\n<tr>
<td align='right' width='453'>";
echo "</td>
<td align='center' width='50'>";

echo "</td>
<td align='right' width='400'>";
echo "</td>
</tr>
</table>";
echo "<table align='center' cellpadding='0' cellspacing='0' class='decolor2'>\n<tr>
<td align='right' width='420'>";
echo "</td>
<td align='center' width='360'>";


echo "</td>
<td align='right' width='120'>";
echo "</td>
</tr>
</table>";
echo "<table align='center' cellpadding='0' cellspacing='0' width='100%'>\n
<td>
<div id='containe'>
<div id='sub-nav'>
<a href='".BASEDIR."index.php'></a>
<ul>
<li><a href='".BASEDIR."index.php'>Pagrindinis</a></li>
<li><a href='".FORUM."index.php'>Forumas</a></li>
<li><a href='".BASEDIR."paslaugos.php'>Paslaugos</a></li>
<li><a href='".BASEDIR."taisykles.php'>Taisyklės</a></li>
<li><a href='".BASEDIR."contact.php'>Kontaktai</a></li>
<li><a href='".BASEDIR."search.php'>Paieška</a></li>
</ul>
</div>
</td>
</table>\n";
echo "<table cellpadding='0' cellspacing='0' width='900' align='center' class='content'><tr>\n";
if (LEFT) { echo "<td class='side-border-left' valign='top' width='260'>".LEFT."</td>"; }
echo "<td class='main-bg' valign='top'>".U_CENTER.CONTENT.L_CENTER."</td>";
if (RIGHT) { echo "<td class='side-border-right' valign='top' width='260'>".RIGHT."</td>"; }
echo "</tr>\n</table>\n";
echo "<table width='900' height='56' border='0' cellpadding='0' cellspacing='0' align='center' class='footer'>
<tr>
<td align='left'><br>
<span style='padding-left:20px; font-family: Tahoma; font-size: 11px;'> Svetainės admin skype: <a href='skype:VARDAS?chat'>VARDAS</a></span><br>
<span style='padding-left:20px; font-family: Tahoma; font-size: 11px;'> Visos teisės saugomos: <a href='http://www.filmukai.us.lt/' target='_blank'>www.filmukai.lt</a></span>
</td>
<td align='center'><br>
<span style='padding-left: 75px;'><a target='_blank' href='http://www.hey.lt/details.php?id=decolor'>
<img width=88 height=31 border=0 src='//www.hey.lt/count.php?id=decolor' alt='Hey.lt - Nemokamas lankytoju skaitliukas'></a></span>
</td>
<td align='right'><br>
<span style='padding-right:65px; font-family: Tahoma; font-size: 11px;'> Dizaino įdėja: <a href='skypeakinanti šypsenecolor.?chat'>decolor. </a></span><br>
<span style='padding-right:65px; font-family: Tahoma; font-size: 11px;'> Studijos svetainė: <a href='http://www.decolor.lt/' target='_blank'>www.decolor.lt </a></span>
</td>
</tr>
</table>\n";
}

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

echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='panel-left3'><img src='".THEME."images/blank.gif' width='10' height='38' alt='' style='display:block'></td>";
echo "<td width='100%' class='panel-main3'><div class='panel-title-main'>$subject (".$info['news_comments']." Komentarai)</div></td>";
echo "<td><div class='panel-news'><div class='placiau'><a href='".BASEDIR."news.php?readmore=".$info['news_id']."'>Þiûrëti filmà...</a></div></div></td>";
echo "<td class='panel-right3'><img src='".THEME."images/blank.gif' width='10' height='38' alt='' style='display:block'></td>";
echo "</tr></table>";
echo"<img src='".THEME."images/retitingai/".ceil($wyn_rating).".png' width='103' height='13' alt='".ceil($wyn_rating)."' title='".ceil($wyn_rating)."' /> ";
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='border-left3'><img src='".THEME."images/blank.gif' width='10' height='10' alt='' style='display:block'></td>";
echo "<td class='main-body'><div style='width:100%;vertical-align:top;'>$news</div>";
echo "<div style='margin-top:5px'>";





echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "</td></tr></table></div></td>";


echo "<td class='border-right3'><img src='".THEME."images/blank.gif' width='10' height='10' alt='' style='display:block'>";

echo "</td></tr><tr>";
echo "<td class='border-bleft3'><img src='".THEME."images/blank.gif' width='10' height='16' alt='' style='display:block'></td>";
echo "<td class='border-bmain3'><img src='".THEME."images/blank.gif' width='1' height='16' alt='' style='display:block'></td>";
echo "<td class='border-bright3'><img src='".THEME."images/blank.gif' width='10' height='16' alt='' style='display:block'></td>";
echo "</tr></table><div style='margin-top:5px'></div>\n";
}

function render_article($subject, $article, $info) {

echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='panel-left3'><img src='".THEME."images/blank.gif' width='10' height='43' alt='' style='display:block'></td>";
echo "<td width='100%' class='panel-main3'><div class='panel-title-main'>$subject</div></td>";
echo "<td class='panel-right3'><img src='".THEME."images/blank.gif' width='10' height='43' alt='' style='display:block'></td>";
echo "</tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='border-left3'><img src='".THEME."images/blank.gif' width='10' height='10' alt='' style='display:block'></td>";
echo "<td class='article-body'><div style='width:100%;vertical-align:top;'>".($info['article_breaks'] == "y" ? nl2br($article) : $article)."</div><br>";
echo "<div style='margin-top:5px'>";
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr><br>";
echo "<td class='infobar2'>".articleposter($info," &middot;")."</td>";

echo "<td align='right' class='infobar2'>";
echo articleopts($info,"&middot;").itemoptions("A",$info['article_id']);
echo "</td></tr></table></div></td>";
echo "<td class='border-right3'><img src='".THEME."images/blank.gif' width='10' height='10' alt='' style='display:block'></td>";
echo "</tr><tr>";
echo "<td class='border-bleft3'><img src='".THEME."images/blank.gif' width='10' height='16' alt='' style='display:block'></td>";
echo "<td class='border-bmain3'><img src='".THEME."images/blank.gif' width='1' height='16' alt='' style='display:block'></td>";
echo "<td class='border-bright3'><img src='".THEME."images/blank.gif' width='10' height='16' alt='' style='display:block'></td>";
echo "</tr></table><div style='margin-top:5px'></div>\n";
}

function opentable($title) {

echo "<table width='100%' cellpadding='0' cellspacing='0'>";
echo "<tr><td class='panel-left2'><img src='".THEME."images/blank.gif' width='10' height='38' alt='' style='display:block'></td>";
echo "<td width='100%' class='panel-main2'><div class='panel-title-table'>$title</div></td>";
echo "<td class='panel-right2'><img src='".THEME."images/blank.gif' width='10' height='38' alt='' style='display:block'></td>";
echo "</tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='border-left2'><img src='".THEME."images/blank.gif' width='10' height='10' alt='' style='display:block'></td>";
echo "<td class='table-body'><br>\n";
}

function closetable() {

echo "</td>";
echo "<td class='border-right2'><img src='".THEME."images/blank.gif' width='10' height='10' alt='' style='display:block'></td></tr>";
echo "<tr>";
echo "<td class='border-bleft2'><img src='".THEME."images/blank.gif' width='10' height='16' alt='' style='display:block'></td>";
echo "<td class='border-bmain2'><img src='".THEME."images/blank.gif' width='1' height='16' alt='' style='display:block'></td>";
echo "<td class='border-bright2'><img src='".THEME."images/blank.gif' width='10' height='16' alt='' style='display:block'></td>";
echo "</tr></table><div style='margin-top:5px'></div>\n";
}

function openside($title) {

echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='panel-left'><img src='".THEME."images/blank.gif' width='10' height='41' alt='' style='display:block'></td>";
echo "<td width='100%' class='panel-main'>$title</td>";
echo "<td class='panel-right'><img src='".THEME."images/blank.gif' width='10' height='41' alt='' style='display:block'></td>";
echo "</tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='border-left'><img src='".THEME."images/blank.gif' width='10' height='10' alt='' style='display:block'></td>";
echo "<td class='side-body'><br>\n";
}

function closeside() {

global $panel_collapse;
if ($panel_collapse == true) { echo "</div>\n"; }
echo "</td>";
echo "<td class='border-right'><img src='".THEME."images/blank.gif' width='10' height='10' alt='' style='display:block'></td></tr>";
echo "<tr>";
echo "<td class='border-bleft'><img src='".THEME."images/blank.gif' width='10' height='16' alt='' style='display:block'></td>";
echo "<td class='border-bmain'><img src='".THEME."images/blank.gif' width='1' height='16' alt='' style='display:block'></td>";
echo "<td class='border-bright'><img src='".THEME."images/blank.gif' width='10' height='16' alt='' style='display:block'></td>";
echo "</tr></table><div style='margin-top:5px'></div>\n";
}

?>

Pabandyk. Ir tada nuotrauką. Tiksliai nežinau, bet atrodo kad taip turėtų būti