Sveiki man reiketu pagalbos nezinau kaip priartint panele prie news visaip meginu bet nieko neiseina wa foto.
O stai theme.php
<?php
if (!defined("IN_FUSION")) { header("Location: ../../index.php"); exit; }
require_once INCLUDES."theme_functions_include.php";
$theme_width = "970";
$theme_width_l = "197";
$theme_width_r = "197";
function render_header($header_content) {
global $theme_width,$userdata,$settings,$locale,$data,$db_prefix,$lookup,$msg_count,$aidlink;
echo "<table align='center' cellspacing='0' cellpadding='0' width='970'>
<tr>
<td>
<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td class='full-header'>
<table cellpadding='0' cellspacing='0' width='100%'>
</table>
</td>
</tr>
</table>";
echo "<table align='center' cellpadding='0' cellspacing='0' width='$theme_width' class='paneles'>\n<tr>
<td align='right' width='0'>";
echo "</td>
</tr>
</table>";
echo "<table align='center' cellpadding='0' cellspacing='0' width='$theme_width' class='paneles2'>\n<tr>
<td align='center' width='500'>";
echo "</td>
<td align='left' width='220'>";
include THEME."code/naujausi.php";
echo "</td>
<td align='center' width='20'>";
echo "</td>
<td align='left' width='220'>";
include THEME."code/siunciamiausi.php";
echo "</td>
<td align='center' width='10'>";
echo "</td>
</tr>
</table>";
echo "<table align='center' cellpadding='0' cellspacing='0' width='$theme_width' class='paneles3'>\n<tr>
<td align='right' width='0'>";
echo "</td>
</tr>
</table>";
echo "<table align='center' cellpadding='0' cellspacing='0'>\n<tr>
<td><img src='".THEME."images/navigacija/01.jpg' width='77' height='46' border='0' alt=''></a></td>
<td><a href='".BASEDIR."index.php'><img src='".THEME."images/navigacija/02.jpg' width='96' height='46' border='0' alt=''></a></td>
<td><a href='".FORUM."index.php'><img src='".THEME."images/navigacija/03.jpg' width='141' height='46' border='0' alt=''></a></td>
<td><a href='".BASEDIR."downloads.php'><img src='".THEME."images/navigacija/04.jpg' width='98' height='46' border='0' alt=''></a></td>
<td><a href='".BASEDIR."articles.php'><img src='".THEME."images/navigacija/05.jpg' width='93' height='46' border='0' alt=''></a></td>
<td><a href='".BASEDIR."photogallery.php'><img src='".THEME."images/navigacija/06.jpg' width='97' height='46' border='0' alt=''></a></td>
<td><a href='".BASEDIR."reklama.php'><img src='".THEME."images/navigacija/07.jpg' width='99' height='46' border='0' alt=''></a></td>
<td><a href='".BASEDIR."search.php'><img src='".THEME."images/navigacija/08.jpg' width='88' height='46' border='0' alt=''></a></td>
<td><a href='".BASEDIR."contact.php'><img src='".THEME."images/navigacija/09.jpg' width='85' height='46' border='0' alt=''></a></td>
<td><img src='".THEME."images/navigacija/10.jpg' width='84' height='46' border='0' alt=''></a></td>
</tr><tr>";
echo "</td></tr></table>";
echo "<table cellpadding='0' cellspacing='0' width='100%'>\n";
}
function render_footer($license=false) {
global $theme_width,$settings;
echo "<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td align='left' class='footer'>
</td>
<td align='right' class='footer2'>
</td>
</tr>
</table>\n";
}
function render_news($subject, $news, $info) {
global $locale;
echo "<td align='center' valign='top'><table width='554' 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'><center>$subject</center></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='525' 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:525;vertical-align:top;'>$news</div>";
echo "<div style='margin-top:5px'>";
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr><br>";
echo "<td class='infobar'>".newsposter($info)."</td>";
echo "<td align='right' class='infobar'>";
echo openform("N",$info['news_id']).newsopts($info,"·").closeform("N",$info['news_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'>";
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><br>\n";
}
function render_article($subject, $article, $info) {
global $locale;
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='panel-left4'><img src='".THEME."images/blank.gif' width='10' height='43' alt='' style='display:block'></td>";
echo "<td width='100%' class='panel-main4'>$subject</td>";
echo "<td class='panel-right4'><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-left4'><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)."</td>";
echo "<td align='right' class='infobar2'>";
echo openform("A",$info['article_id']).articleopts($info,"·").closeform("A",$info['article_id']);
echo "</td></tr></table></div></td>";
echo "<td class='border-right4'><img src='".THEME."images/blank.gif' width='10' height='10' alt='' style='display:block'></td>";
echo "</tr><tr>";
echo "<td class='border-bleft4'><img src='".THEME."images/blank.gif' width='10' height='16' alt='' style='display:block'></td>";
echo "<td class='border-bmain4'><img src='".THEME."images/blank.gif' width='1' height='16' alt='' style='display:block'></td>";
echo "<td class='border-bright4'><img src='".THEME."images/blank.gif' width='10' height='16' alt='' style='display:block'></td>";
echo "</tr></table><br>\n";
}
function opentable($title) {
echo "<table width='555' cellpadding='0' cellspacing='0'>";
echo "<tr><td class='panel-left2'><img src='".THEME."images/blank.gif' width='10' height='43' alt='' style='display:block'></td>";
echo "<td width='555' class='panel-main2'>$title</td>";
echo "<td class='panel-right2'><img src='".THEME."images/blank.gif' width='10' height='43' alt='' style='display:block'></td>";
echo "</tr></table>";
echo "<table width='555' 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='reklama-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><br>\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='43' 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='43' 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() {
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><br>\n";
tablebreak();
}
function opensidex($title,$open="on") {
$boxname = str_replace(" ", "", $title);
$box_img = $open == "on" ? "off" : "on";
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='panel-left4'><img src='".THEME."images/blank.gif' width='10' height='43' alt='' style='display:block'></td>";
echo "<td class='panel-main4'>$title</td>";
echo "<td align='right' class='panel-main4'><img src='".THEME."images/panel_$box_img.gif' name='b_$boxname' alt='' onclick=\"javascript:flipBox('$boxname')\"></td>";
echo "<td class='panel-right4'><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-left4'><img src='".THEME."images/blank.gif' width='10' height='10' alt='' style='display:block'></td>";
echo "<td class='main-body'>";
echo "<div id='box_$boxname'".($open=="off" ? "style='display:none'" : "")."><br>\n";
}
function closesidex() {
echo "</div>";
echo "<td class='border-right4'><img src='".THEME."images/blank.gif' width='10' height='10' alt='' style='display:block'></td></tr>";
echo "<tr>";
echo "<td class='border-bleft4'><img src='".THEME."images/blank.gif' width='10' height='16' alt='' style='display:block'></td>";
echo "<td class='border-bmain4'><img src='".THEME."images/blank.gif' width='1' height='16' alt='' style='display:block'></td>";
echo "<td class='border-bright4'><img src='".THEME."images/blank.gif' width='10' height='16' alt='' style='display:block'></td>";
echo "</tr></table><br>\n";
}
function tablebreak() {
echo "<table width='100%' cellspacing='0' cellpadding='0'>";
echo "<tr><td></td></tr></table>\n";
}
?>
Busiu lb lb lb dekingas
|