Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: Dėl theme

Parašė __________· 2008 Vas. 16 14:02:26
#1

Sveiki, taigi gal galite pasakyti kaip padaryti kad šitos eilutės išviso nebūtų (apvesta raudona ir mėlyna) Foto :
http://img98.imageshack.us/my.ph...imohy6.jpg

Ir dar gal galite pasakyti kaip padaryti kad neitų apačioje naujienos nebūtų kiek skaityta kas parašė ir t.t. ir kad būtų naujienos pavadinimas per vidurį. Theme php failas :
<?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 align='center' class='footer'>&nbsp;&nbsp;<img src='".THEME."images/made_by.png'>&nbsp;&nbsp;<a href='http://emotive.in/' target='_blank'><img src='".THEME."images/emotive.png' border='0'></a></td>
</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."&amp;news_id=".$info['news_id']."'>
<td align='center' class='news-footer'><a href='news.php?readmore=".$info['news_id']."'>Naujiena plačiau</a> | Skaityta: ".$info['news_reads']." | 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," &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 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";

}
?>



Redagavo __________· 2008 Vas. 16 14:02:47

Parašė bad_user· 2008 Vas. 16 15:02:24
#2

Imk:

<?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 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 align='center' class='footer'>&nbsp;&nbsp;<img src='".THEME."images/made_by.png'>&nbsp;&nbsp;<a href='http://emotive.in/' target='_blank'><img src='".THEME."images/emotive.png' border='0'></a></td>
</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."&amp;news_id=".$info['news_id']."'>
<td align='center' class='news-footer'><a href='news.php?readmore=".$info['news_id']."'>Naujiena plačiau</a> </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," &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 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";

}
?>

Redagavo bad_user· 2008 Vas. 16 16:02:26

Parašė __________· 2008 Vas. 16 16:02:22
#3

Song kažką supjovei, nes dingo tik slenktanti eilutė viskas kitkas pasiliko...

Parašė bad_user· 2008 Vas. 16 16:02:53
#4

Tai tu žmoniškai sugebi apvest o ne skirtingai ble. Viska apvedi viena spalva ir viskas. Bet ne ble. :[ Viršuje pataisytas kodas... :[

Redagavo bad_user· 2008 Vas. 16 16:02:48

Parašė __________· 2008 Vas. 16 16:02:46
#5

Tu aklas ar apsirūkes ? šitos eilutės išviso nebūtų (apvesta raudona ir mėlyna) Gi parašyta dainininke.:D


==============


Siauti išviso dabar cool :D Foto :
http://img292.imageshack.us/my.p...imovv8.jpg
:p

Parašė bad_user· 2008 Vas. 16 16:02:40
#6

Tu dar pašnekėk tai aš tau špiga nebent. :@

Parašė __________· 2008 Vas. 16 16:02:01
#7

Nu tai galit duoti normalų padaryta theme.php ant šios temos :D?

Parašė bad_user· 2008 Vas. 16 16:02:54
#8

Tu ble dėkingas turėtum buti kad kažkas bando tau padėti ir elgtumeisi gražei. Paikėles vaikas. :[

Parašė __________· 2008 Vas. 16 16:02:09
#9

Daug nedėkosiu kad nes nieko gero ten nebuvo, tai gali padaryti normalų ??:]

Parašė bruzgis· 2008 Vas. 16 16:02:02
#10

Negalim tau duot, rimtai vyruti mandagumo, antra laikas pradet portalo taisykliu laikytis, trecia- nemoki redaguot neredaguok. Naudok toki koks yra. Labai reikia, mokek pinigus. Greitai sutvarkys. Kodel zmones turetu mest savo darbus ir uzsiimt taviskiais? kai net aciu nepasakai

Parašė bad_user· 2008 Vas. 16 16:02:58
#11

<?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>
</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 align='center' class='footer'>&nbsp;&nbsp;<img src='".THEME."images/made_by.png'>&nbsp;&nbsp;<a href='http://emotive.in/' target='_blank'><img src='".THEME."images/emotive.png' border='0'></a></td>
</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."&amp;news_id=".$info['news_id']."'>
<td align='center' class='news-footer'></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," &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 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";

}
?>

Imk ir pasprink... :[

Parašė __________· 2008 Vas. 16 17:02:25
#12

Chipsai tai man nesvarbu aš galiu laukti ilgiau. beja mėgsti chipsus :D?
Song aciu +10 ;]:] Galit rakinti. ;]

Parašė bad_user· 2008 Vas. 16 17:02:21
#13

Skaityk taisikles. Dar atsiras visa kruva su tuo pačiu klausimu. ;)

22. Pastaba moderatoriams ir nariams dėl temų rakinimo:
Vienintelis leistinas temos rakinimo atvejis yra tada, kai temoje yra masinis įžeidinėjimų flūdas visiškai nukrypstant nuo temos, arba visi kiti atvejai kai tema pažeidžia portalo taisykles. Pabrėžiu - priežasties radimas, teminio klausimo išsprendimas ir pan. pobūdžio atvejis nėra pretekstas rakinti temą. Šiuo atveju minėtosios temos ateityje klausimo papildymui/išplėtimui pasinaudojus paiešką ir suradus minėtąją temą, gali prireikti ir kitiems portalo nariams.

Redagavo bad_user· 2008 Vas. 16 17:02:27

Parašė Kemriux· 2008 Vas. 16 18:02:13
#14

Ishiko mane toke beda !!! ant temos negaliu pakeisti bannerio kazkokdel ;(

<?php
if (!defined("IN_FUSION")) { header("Location: ../../index.php"); exit; }
require_once INCLUDES."theme_functions_include.php";

// theme settings
$body_text = "#000000";
$body_bg = "#343434";
$theme_width = "500";
$theme_width_l = "200";
$theme_width_r = "200";

function render_header($header_content) {

global $theme_width,$settings;
echo "<table align='center' width='$theme_width' cellspacing='0' cellpadding='0'>";
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%'>";
echo "<table width='100%' cellspacing='0' cellpadding='0'>";
echo "<tr><td><div align='center'><a href='".BASEDIR."news.php'><img src='".THEME."images/header.gif' border='0'></a></div></td>";
echo "</tr></table></td></tr></table>";
echo "<table width='100%' cellspacing='0' cellpadding='0'>\n";
echo "</table>";

echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>
<td class='sublinkai'>".showsublinks("&middot;","white")."</td>
<td align='right' class='sublinkai'>".showsubdate()."</td>
</tr>
</table>\n";

echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";

}

function render_footer($license=false) {
global $theme_width,$settings,$locale;

echo "</tr>\n</table>\n";
echo "<table border='0' cellpadding='0' cellspacing='0' width='100%'><tr>";
echo "<td>".stripslashes($settings['footeris'])."<br>";
echo "<tr><td><table border='0' cellpadding='0' cellspacing='0' width='100%' height='40'>";
echo "<tr><td class='footeris' valign='middle' width='35%'>";
if ($license == false) {
echo "<br><b><font color='#00ff66'>Powered by </font><a href='http://www.php-fusion.co.uk'><font color='#00ff66'>PHP-Fusion</a> v".$settings['version']."</b></font> ";
}
echo "</td>";
echo "<td class='footeris' align='center' width='20%'>";
echo "<br><font color='#00ff66'><b>Dinamic Theme by </font><a href='http://wtfthemes.failai.lt'><font color='#00ff66'>WTF Themes</font></b></a><br></td>";
echo "<td class='footeris' align='right' width='35%'><b><br><font color='#00ff66'>".$settings['counter']." ".($settings['counter'] == 1 ? $locale['140']."\n" : $locale['141']."</font></b>\n");
echo "</td></tr></table></center></table></table></table>\n";
}

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

echo "<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td class='panele1'><center>$subject</center></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='panele1'><center>$subject</center></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='panele1'><center>$title</center></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='165'>
<tr>
<td class='panele2'><center>$title</center></td>
</tr>
<tr>
<td class='side-body'>\n";

}

function closeside() {

echo "</td>
</tr>
</table>\n";
tablebreak();

}

function opensidex($title,$open="on") {

if($open=="on"){$box_img="off";}else{$box_img="on";}
echo "<table border='0' style='border: 0px solid #000000' cellspacing='0' width='100%' cellpadding='0'><tr>";
echo "<td class='panele2'>";
echo "<img align='right' style='cursor:hand' onclick=\"javascript:flipBox('$title')\" name='b_$title' border='0' src='".THEME."images/panel_$box_img.gif'><font class='block-title'><center>$title</center></font>";
echo "</td></tr>";
echo "<tr><td class='side-body' width='100%'>";
echo "<div id='box_$title'"; if($open=="off"){ echo "style='display:none'"; } echo ">\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";

}
?>

Redagavo bad_user· 2008 Vas. 16 18:02:38

Parašė kLx· 2008 Vas. 16 18:02:02
#15

Ko čia ylindai į kito temą? Eik savo kurkis.

Parašė bad_user· 2008 Vas. 16 18:02:06
#16

Kur tamsiau keiti į savo... :[

<?php
if (!defined("IN_FUSION")) { header("Location: ../../index.php"); exit; }
require_once INCLUDES."theme_functions_include.php";

// theme settings
$body_text = "#000000";
$body_bg = "#343434";
$theme_width = "500";
$theme_width_l = "200";
$theme_width_r = "200";

function render_header($header_content) {

global $theme_width,$settings;
echo "<table align='center' width='$theme_width' cellspacing='0' cellpadding='0'>";
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%'>";
echo "<table width='100%' cellspacing='0' cellpadding='0'>";
echo "<tr><td><div align='center'><a href='".BASEDIR."news.php'><img src='".THEME."images/header.gif' border='0'></a></div></td>";
echo "</tr></table></td></tr></table>";
echo "<table width='100%' cellspacing='0' cellpadding='0'>\n";
echo "</table>";

echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>
<td class='sublinkai'>".showsublinks("&middot;","white")."</td>
<td align='right' class='sublinkai'>".showsubdate()."</td>
</tr>
</table>\n";

echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";

}

function render_footer($license=false) {
global $theme_width,$settings,$locale;

echo "</tr>\n</table>\n";
echo "<table border='0' cellpadding='0' cellspacing='0' width='100%'><tr>";
echo "<td>".stripslashes($settings['footeris'])."<br>";
echo "<tr><td><table border='0' cellpadding='0' cellspacing='0' width='100%' height='40'>";
echo "<tr><td class='footeris' valign='middle' width='35%'>";
if ($license == false) {
echo "<br><b><font color='#00ff66'>Powered by </font><a href='http://www.php-fusion.co.uk'><font color='#00ff66'>PHP-Fusion</a> v".$settings['version']."</b></font> ";
}
echo "</td>";
echo "<td class='footeris' align='center' width='20%'>";
echo "<br><font color='#00ff66'><b>Dinamic Theme by </font><a href='http://wtfthemes.failai.lt'><font color='#00ff66'>WTF Themes</font></b></a><br></td>";
echo "<td class='footeris' align='right' width='35%'><b><br><font color='#00ff66'>".$settings['counter']." ".($settings['counter'] == 1 ? $locale['140']."\n" : $locale['141']."</font></b>\n");
echo "</td></tr></table></center></table></table></table>\n";
}

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

echo "<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td class='panele1'><center>$subject</center></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='panele1'><center>$subject</center></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='panele1'><center>$title</center></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='165'>
<tr>
<td class='panele2'><center>$title</center></td>
</tr>
<tr>
<td class='side-body'>\n";

}

function closeside() {

echo "</td>
</tr>
</table>\n";
tablebreak();

}

function opensidex($title,$open="on") {

if($open=="on"){$box_img="off";}else{$box_img="on";}
echo "<table border='0' style='border: 0px solid #000000' cellspacing='0' width='100%' cellpadding='0'><tr>";
echo "<td class='panele2'>";
echo "<img align='right' style='cursor:hand' onclick=\"javascript:flipBox('$title')\" name='b_$title' border='0' src='".THEME."images/panel_$box_img.gif'><font class='block-title'><center>$title</center></font>";
echo "</td></tr>";
echo "<tr><td class='side-body' width='100%'>";
echo "<div id='box_$title'"; if($open=="off"){ echo "style='display:none'"; } echo ">\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";

}
?>

Parašė __________· 2008 Vas. 16 20:02:56
#17

Bėje, gal žinote kaip padaryti kad balsuoti galėtu ne vien prisijungę narei, ir tik po vieną kartą.?|