Navigacija

Vartotojų tinkle

Prisijungusių svečių: 749
Prisijungusių narių: 0
Prisijungusių narių nėra

Registruoti nariai: 25,956
Naujausias narys: saulyzas

Naujausi straipsniai

Paskutiniai nariai

saulyzas 5 dienos
MaFetas 1 savaitė
TOMIJUS 2 savaitės
ozzWANTED 2 savaitės
Reikalas10 savaitės
Jaunelis17 savaitės
lanis17 savaitės
And2s18 savaitės
Memento Mori23 savaitės
Quwqkibor25 savaitės
asirija29 savaitės
tomeem31 savaitės
weberiz34 savaitės
mRokass37 savaitės
kartoonas38 savaitės
grunskiz41 savaitės
Bruksnys41 savaitės
illusion41 savaitės
ordo42 savaitės
Jurgaila43 savaitės

Informacija:


OS: Unknown
Naršyklė: Nežinoma
IP: 3.15.34.50
Naujienų: 529
Straipsnių: 235
Temų: 52,588
Postų: 522,537
Postų pask. parą: 0
Shout'ų pask. parą: 0
P.S.C. pask. parą: 0
Nuorodų kataloge: 13

Lankomumo Statistika

Peržiūrų šiandien: 22

Iš viso peržiūrų: 22948724

Prisijungti

REGISTRUOTIS
Nario vardas

Slaptažodis



Pamiršai slaptažodį?
Paprašyk naujo

Aktyvuoti save

Šaukykla

Jei norite rašyti žinutes, turite prisijungti.

MaFetas
2024 Lap. 13 22:11:57
hey how, geras dar veikiantis saitas?

Jaunelis
2024 Lie. 25 11:07:43
Oho vis dar veikia svetainė akinanti šypsen Šimtas metų, matau Šaukykloje nuostalgija. Smagu panaršyt po forumą ir pažiūrėt senas temas šypsosi

And2s
2024 Lie. 17 19:07:04
2008 pirmą kart čia patekau, man buvo 10m ir čia pramokau programavimo.. smagu skaityti senas žinutes, tokia nostalgija akinanti šypsen ačiū Ozz kad saugoji šitą kultūrinį reliktą šypsosi

ozzWANTED
2024 Sau. 17 01:01:00
Desperatiškus komentarus šaukykloje su accountu po mėnesio prasibuvimo, ištryniau. Pasaulis ir taip juodas. Įjungiam šviesą, prašviesės. šypsosi

Majakas
2023 Gru. 10 19:12:39
Negaliu patikėti jog žinutės/pranešimai visi yra nuo 2008 m akinanti šypsen

Šaukyklos archyvas

Apklausa

Ar esate patenkinti lietuviško vertimo kokybe?

Taip!

Taip, bet yra ką taisyti (parašysiu komentaruose)

Ne

Norėdamas balsuoti turite prisijungti.
Archyvas
Reklama 400x60
news.php
Forumas | PHP-Fusion, WordPress, Shopify, PHP ir MySQL (PROGRAMAVIMAS) | Expert PHP, MySQL klausimai

Autorius: PyccKuu Peržiūrų: 16369      Spausdinti temą
2008 Sau. 15 16:01:30          1 žinutė iš 33
Spausdinti pranešimą
Sveiki gal galima padariti naujienų kategorijas ne paveiksleliais o pagal pavadinimus ir kad atroditu kaskaip taip



news.php

<?php
/*---------------------------------------------------+
| PHP-Fusion 6 Content Management System
+----------------------------------------------------+
| Copyright © 2002 - 2005 Nick Jones
| http://www.php-fusion.co.uk/
+----------------------------------------------------+
| Released under the terms & conditions of v2 of the
| GNU General Public License. For details refer to
| the included gpl.txt file or visit http://gnu.org
+----------------------------------------------------+
| Modified © 2005 martini
| http://php-fusion.int.ru/
+----------------------------------------------------*/
require_once "maincore.php";
require_once "subheader.php";
require_once "side_left.php";

if (!isset($readmore)) {
        $items_per_page = 6;
        $rows = dbcount("(news_id)", "news", groupaccess('news_visibility')." AND (news_start='0'||news_start<=".time().") AND (news_end='0'||news_end>=".time().")");
        if (!isset($rowstart) || !isNum($rowstart)) $rowstart = 0;
        if ($rows != 0) {
                $i = 1;
                $result = dbquery(
                        "SELECT tn.*, user_id, user_name FROM ".$db_prefix."news tn
                        LEFT JOIN ".$db_prefix."users tu ON tn.news_name=tu.user_id
                        WHERE ".groupaccess('news_visibility')." AND (news_start='0'||news_start<=".time().") AND (news_end='0'||news_end>=".time().")
                        ORDER BY news_datestamp DESC LIMIT $rowstart,$items_per_page"
                );
                $numrows = dbrows($result);
                while ($data = dbarray($result)) {
                        $news_cat_image = "";
                        $news_subject = "<a name='news_".$data['news_id']."' id='news_".$data['news_id']."'></a>".stripslashes($data['news_subject']);
                        if ($data['news_cat'] != 0) {
                                $result2 = dbquery("SELECT * FROM ".$db_prefix."news_cats WHERE news_cat_id='".$data['news_cat']."'");
                                if (dbrows($result2)) {
                                        $data2 = dbarray($result2);
                                        $news_cat_image = "<a href='news_cats.php?cat_id=".$data2['news_cat_id']."'><img src='".IMAGES_NC.$data2['news_cat_image']."' alt='".$data2['news_cat_name']."' align='right' style='border:0px;margin-right:5px'></a>";
                                }
                        }
                        $news_news = stripslashes($data['news_news']);
                        if ($data['news_breaks'] == "y") $news_news = nl2br($news_news);
                        if ($news_cat_image != "") $news_news = $news_cat_image.$news_news;
                        $news_info = array(
                                "news_id" => $data['news_id'],
                                "user_id" => $data['user_id'],
                                "user_name" => $data['user_name'],
                                "news_date" => $data['news_datestamp'],
                                "news_ext" => $data['news_extended'] ? "y" : "n",
                                "news_reads" => $data['news_reads'],
                                "news_comments" => dbcount("(comment_id)", "comments", "comment_type='N' AND comment_item_id='".$data['news_id']."'"),
                                "news_allow_comments" => $data['news_allow_comments']
                        );
                        render_news($news_subject, $news_news, $news_info);
                        if ($i != $numrows) { tablebreak(); } $i++;
                }
                if ($rows > $items_per_page) echo "<div align='center' style='margin-top:5px;'>\n".makePageNav($rowstart,$items_per_page,$rows,3)."\n</div>\n";
        } else {
                opentable($locale['046']);
                echo "<center><br>\n".$locale['047']."<br><br>\n</center>\n";
                closetable();
        }
} else {
if (iMEMBER){       
        if (!isNum($readmore)) fallback(FUSION_SELF);
        include INCLUDES."comments_include.php";
        include INCLUDES."ratings_include.php";
        $result = dbquery(
                "SELECT tn.*, user_id, user_name FROM ".$db_prefix."news tn
                LEFT JOIN ".$db_prefix."users tu ON tn.news_name=tu.user_id
                WHERE news_id='$readmore'"
        );
        if (dbrows($result)!=0) {
                $data = dbarray($result);
                if (checkgroup($data['news_visibility'])) {
                        $news_cat_image = "";
                        if (!isset($_POST['post_comment']) && !isset($_POST['post_rating'])) {
                                 $result2 = dbquery("UPDATE ".$db_prefix."news SET news_reads=news_reads+1 WHERE news_id='$readmore'");
                                 $data['news_reads']++;
                        }
                        $news_subject = $data['news_subject'];
                        if ($data['news_cat'] != 0) {
                                $result2 = dbquery("SELECT * FROM ".$db_prefix."news_cats WHERE news_cat_id='".$data['news_cat']."'");
                                if (dbrows($result2)) {
                                        $data2 = dbarray($result2);
                                        $news_cat_image = "<a href='news_cats.php?cat_id=".$data2['news_cat_id']."'><img src='".IMAGES_NC.$data2['news_cat_image']."' alt='".$data2['news_cat_name']."' align='right' style='border:0px;margin-right:5px'></a>";
                                }
                        }
                        $news_news = stripslashes($data['news_extended'] ? $data['news_extended'] : $data['news_news']);
                        if ($data['news_breaks'] == "y") { $news_news = nl2br($news_news); }
                        if ($news_cat_image != "") $news_news = $news_cat_image.$news_news;
                        $news_info = array(
                                "news_id" => $data['news_id'],
                                "user_id" => $data['user_id'],
                                "user_name" => $data['user_name'],
                                "news_date" => $data['news_datestamp'],
                                "news_ext" => "n",
                                "news_reads" => $data['news_reads'],
                                "news_comments" => dbcount("(comment_id)", "comments", "comment_type='N' AND comment_item_id='".$data['news_id']."'"),
                                "news_allow_comments" => $data['news_allow_comments']
                        );
                        render_news($news_subject, $news_news, $news_info);
                        if ($data['news_allow_comments']) showcomments("N","news","news_id",$readmore,FUSION_SELF."?readmore=$readmore");
                        if ($data['news_allow_ratings']) showratings("N",$readmore,FUSION_SELF."?readmore=$readmore");
                } else {
                        redirect(FUSION_SELF);
                }
        } else {
                redirect(FUSION_SELF);
        }
}
else {
opentable($locale['046']);
echo "<center>".$locale['003']."</center>";
closetable();
}
}

require_once "side_right.php";
require_once "footer.php";
?>




Ačiū iš anksto ;)
2008 Sau. 15 17:01:39          2 žinutė iš 33
Spausdinti pranešimą
Įdėk themes.php failą. Nes per news nieko nepadarysiu.
2008 Sau. 15 17:01:31          3 žinutė iš 33
Spausdinti pranešimą
https://webdnd.com/forum/viewthr...#post_2468
2008 Sau. 15 17:01:03          4 žinutė iš 33
Spausdinti pranešimą
manjack as irgi neradau vietos kur iterpti žliumbia nzn kur ideti gali paziureti ? nežinonežino tipo i themes.php
2008 Sau. 15 17:01:26          5 žinutė iš 33
Spausdinti pranešimą
".$info['kategorija']."



Ši koda iterp belekur

2008 Sau. 15 17:01:09          6 žinutė iš 33
Spausdinti pranešimą
belekur neeina žliumbia
2008 Sau. 15 17:01:31          7 žinutė iš 33
Spausdinti pranešimą
atsidaryk theme.php faila surask
function render_news($subject, $news, $info) {

tada kažka panašaus <font class='block-title' align=>$subject</font></td>"; ir už to $subject irašai ".$info['kategorija']."

2008 Sau. 15 17:01:50          8 žinutė iš 33
Spausdinti pranešimą
<font class='block-title' align=>$subject ".$info['kategorija']."</font></td>" toliau kad butu dėšinem kampe tai pats susistatysi

2008 Sau. 15 17:01:02          9 žinutė iš 33
Spausdinti pranešimą
Themes.php

<?php
/*--------------------------------------------------+
| Theme skirta PHP-Fusion Turinio Valdymo Sistemai  |
| Tema parengta ir paskelbta WTFTHEMES.com komandos.|
| Svetainė: www.wtfthemes.com                       |
|  Prasome nepanikinti nuorodos i musu saita.       |
|                                                   |
| Theme by WTFTHEMES.com                            |
| Please do not remove the copyright                |
| Web: www.wtfthemes.com                            |
+-------------------------------------------------- */


/************************/
/* Theme Settings      */
/************************/

$body_text = "#000000";
$body_bg = "#6aa311";
$theme_width = "100%";
$theme_width_l = "170";
$theme_width_r = "170";

   echo "<script type='text/javascript' src='".THEME."js/menu.js'></script>";

function render_header($header_content) {
include THEME."locale/Lithuanian.php";
include LOCALE.LOCALESET."global.php";

global $theme_width,$settings;

   echo "<table class='bodyline' cellSpacing='0' cellPadding='0' width='970' align='center' border='0'>";
   echo "<tr><td><table title='".$settings[sitename]."' cellSpacing='0' cellPadding='0' width='100%' border='0'>";
   echo "<tr><td height='110'><a href='".BASEDIR."index.php'><img border='0' src='".THEME."images/cellpic_bkg.jpg'></a></td>";
   echo "</tr></table>";
   echo "<table width='100%' border='0' cellspacing='0' cellpadding='0'>";
   echo "<tr><td><table width='100%' height='20' border='0' cellpadding='4' cellspacing='0' background='".THEME."images/cellpic_nav.gif'>";
   echo "<td class='topnav' nowrap align=left><a href='".BASEDIR."index.php'><img src='".THEME."images/home.gif'></a>&nbsp;<img src='".THEME."images/menu_bar_div.gif'>&nbsp;";
   echo "<a href='".BASEDIR."forum/index.php'><img src='".THEME."images/forum.gif'></a>&nbsp;<img src='".THEME."images/menu_bar_div.gif'>";

//Account Code
if (iMEMBER) {
   echo "&nbsp;<a href='".BASEDIR."edit_profile.php' id='account'><img src='".THEME."images/account.gif'></a><script type='text/javascript'>lkmenu_register('account');</script>&nbsp;<img src='".THEME."images/menu_bar_div.gif'>&nbsp;";
   echo "<div class='lkmenu_popup' id='account_menu' style='display:none'>";
   echo "<table cellpadding='4' cellspacing='0' border='0'>";
   echo "<tr><td background='".THEME."images/cellpic_nav.gif' height='27'><img align='left' src='".THEME."images/icon_account.gif'><font class='block-title' align=>$subject ".$info['kategorija']."</font></td><center>User Options<a name='goto_account'></a></font>";
   echo "</td></tr>";
   echo "<tr><td><font class='lkmenu_text'>";
   echo "<img src='".THEME."images/bullet.gif'> <a href='".BASEDIR."edit_profile.php' class='side'>".$locale['080']."</a><br>";
   echo "<img src='".THEME."images/bullet.gif'> <a href='".BASEDIR."messages.php' class='side'>".$locale['081']."</a><br>";
   echo "<img src='".THEME."images/bullet.gif'> <a href='".BASEDIR."members.php' class='side'>".$locale['082']."</a><br>\n";
      if (iADMIN) {
   echo "<img src='".THEME."images/bullet.gif'> <a href='".ADMIN."index.php' class='side'>".$locale['083']."</a><br>\n";
}
   echo "<img src='".THEME."images/bullet.gif'> <a href='".BASEDIR."index.php?logout=yes' class='side'>".$locale['084']."</a>\n";
   echo "</td></tr></table></div>";
} else {
   echo "&nbsp;<a href='".BASEDIR."register.php'><img src='".THEME."images/register.gif'></a>&nbsp;</font><img src='".THEME."images/menu_bar_div.gif'>&nbsp;";
   }
//Account Code End

   echo "<a href='".BASEDIR."downloads.php'><img src='".THEME."images/downloads.gif'></a></font>&nbsp;<img src='".THEME."images/menu_bar_div.gif'>&nbsp;";

//Search Code
   echo "<a href='".BASEDIR."search.php' id='forumsearch'><img src='".THEME."images/search.gif'></a><script type='text/javascript'>lkmenu_register('forumsearch');</script>&nbsp;<img src='".THEME."images/menu_bar_div.gif'>";
   echo "<div class='lkmenu_popup' id='forumtools_menu' style='display:none'></div>";
   echo "<div class='lkmenu_popup' id='forumsearch_menu' style='display:none'>";
   echo "<form action='".BASEDIR."search.php' method='post'>";
   echo "<table cellpadding='4' cellspacing='0' border='0'>";
   echo "<tr><td background='".THEME."images/cellpic_nav.gif' height='27'><img align='left' src='".THEME."images/icon_search.gif'><font class='block-title'><center>Search Menu<a name='goto_forumsearch'></a></font>";
   echo "</td></tr>";
   echo "<tr><td width='370'><font class='lkmenu_text'>Search for Keywords:</font><hr>";
   if ($stype == "") $stype = "f";
   echo "<input type='text' name='stext' value='Enter search here...' class='lkmenu_input' style='width:375px' onBlur=\"if(this.value=='') this.value='Enter search here...';\" onFocus=\"if(this.value=='Enter search here...') this.value='';\" ><hr>";
   echo "<input type='submit' name='search' value='".$locale['408']."' class='button'><br>";
   echo "<input type='radio' name='stype' value='a'".($stype == "a" ? " checked" : "")."> ".$locale['402']."";
   echo "<input type='radio' name='stype' value='n'".($stype == "n" ? " checked" : "")."> ".$locale['403']."";
   echo "<input type='radio' name='stype' value='f'".($stype == "f" ? " checked" : "")."> ".$locale['404']."<br>";
   echo "<input type='radio' name='stype' value='d'".($stype == "d" ? " checked" : "")."> ".$locale['405']."";
   echo "<input type='radio' name='stype' value='w'".($stype == "w" ? " checked" : "")."> ".$locale['406']."";
   echo "<input type='radio' name='stype' value='m'".($stype == "m" ? " checked" : "")."> ".$locale['407']."";
   echo "</td></tr></table></form></div>";
//End Search Code

//Login Code
if (iMEMBER) {

   echo "&nbsp;<a href='".BASEDIR."setuser.php?logout=yes'><img src='".THEME."images/logout.gif'></a></font>";
} else {
   echo "<div class='lkmenu_popup' id='login_menu' style='display:none'>";
   echo "<table cellpadding='4' cellspacing='0' border='0'>";
   echo "<tr><td background='".THEME."images/cellpic_nav.gif' height='27'><img align='left' src='".THEME."images/icon_login.gif'><font class='block-title'><center>User Login<a name='goto_login'></a></font>";
   echo "</td></tr>";
   echo "<tr><td width='170'><font class='lkmenu_text'>";
   echo"<form name='loginform' method='post' action='".FUSION_SELF."'>".$locale['061']."<br>";
   echo "<input type='text' name='user_name' class='textbox' style='width:100px'><br>".$locale['062']."<br> ";
   echo "<input type='password' name='user_pass' class='textbox' style='width:100px'><br>";
   echo "<input type='checkbox' name='remember_me' value='y'>".$locale['063']."<br><br>";
   echo "<input type='submit' name='login' value='".$locale['064']."' class='button'><br>";
   echo "</form><hr>\n";
      if ($settings['enable_registration']) {
   echo "<img src='".THEME."images/bullet.gif'> ".$locale['065']."<br><br>\n";
}
   echo "<img src='".THEME."images/bullet.gif'> ".$locale['066']."";
   echo "</div></td></tr></table></form></div>";
   }
//Login Code End

   echo"<script type='text/javascript'>LKT_init();</script>";
   echo"</td></tr></table>";
   echo "<td class='topnav' valign='middle' align='right'>";
   echo "<font class='date'>".ucwords(showdate($settings['subheaderdate'], time()))."&nbsp;";
   echo "</td></tr></table>";
   echo "<table width='100%' cellpadding='2' bgcolor='#F9F9F9' cellspacing='0' border='0'>";
   echo "<img src='".THEME."images/pixel.gif' width='100%' height='4'>";
}


/*******************************************************************/
/*          Prašau gerbkite autorių nuorodas.          */
/* NEIŠTRINKITE NUORUODŲ Į MŪSŲ SAITĄ. TAIP PAT IR PAVEIKSLĖLIŲ. */
/*******************************************************************/

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

   echo "</td></tr></table>\n";
   echo "<table cellSpacing='0' cellPadding='2' width='$theme_width' border='0'><tr>";
   echo "<td align='center'><br>".stripslashes($settings['footer'])."<br></td>";
   echo "<table cellSpacing='0' cellPadding='2' width='100%' border='0'>";
   echo "<tr><td width='35%' class='topnav' align='center'><div align='left'>&nbsp;&nbsp;&nbsp;";
      if ($license == false) {
   echo "Varikliukas: <a target='_blank' href='http://www.php-fusion.co.uk'><img src='".THEME."images/fusion.gif' title='PHP-Fusion' style='vertical-align:top;'></a>";
   }
   echo "</div></td>";
   echo "<td width='20%' class='topnav' align='left'>";
   echo "Theme by: <a target='_blank' href='http://www.wtfthemes.com'><img title='WTFTHEMES' src='".THEME."images/wtfthemes.gif' style='vertical-align:top;'></a></td>";
   echo "<td width='35%' class='topnav' align='middle'><div align='right'>";
   echo "<b>".$settings['counter']."</b></font>&nbsp;".($settings['counter'] == 1 ? $locale['140']."\n" : $locale['141']."\n");
   echo "&nbsp;&nbsp;</div></td></tr></table>";
}

function render_news($subject, $news, $info) {
   
global $locale;
   
   echo "<table border='0' style='border: 1px solid #333333' cellspacing='1' width='100%' cellpadding='3'><tr>";
   echo "<td class='cat'><table border='0' cellpadding='0' cellspacing='0' width='100%'>";
   echo "<tr><td align='left'>";
   echo "<font class='news-title'>$subject</b></font></td>";
   echo "</td></tr></table>";
   echo "</td></tr></table>";
   echo "<table width='100%' cellpadding='0' cellspacing='1' class='border'><tr>";
   echo "<td><table width='100%' cellpadding='0' cellspacing='0'><tr>";
   echo "<td class='main-body'>$news</td></tr></table>";
   echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
   echo "<td class='news-footer'>&nbsp;";
   echo "".$locale['040']."<a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a> ";
   echo "".$locale['041'].showdate("longdate", $info['news_date'])." </td>";
   echo "<td height='24' align='right' class='news-footer'>";
   echo "".($info['news_ext'] == "y" ? "<a href='news.php?readmore=".$info['news_id']."'>".$locale['042']."</a> ·\n" : "")."";
   if ($info['news_allow_comments'])
   echo "<a href='news.php?readmore=".$info['news_id']."'>".$info['news_comments'].$locale['043']."</a> · ";
   echo "".$info['news_reads'].$locale['044']." ";
   echo "<a href='print.php?type=N&item_id=".$info['news_id']."'><img src='".THEME."images/printer.gif' alt='".$locale['045']."' border='0' style='vertical-align:middle;'></a>";
   echo "</td></tr></table></td></tr></table>\n";
}

function render_article($subject, $article, $info) {
   
global $locale;
   
   echo "<table border='0' style='border: 1px solid #333333' cellspacing='1' width='100%' cellpadding='3'><tr>";
   echo "<td class='cat'><table border='0' cellpadding='0' cellspacing='0' width='100%'>";
   echo "<tr><td align='left'>";
   echo "&nbsp;<font class='news-title'>$subject</b></font></td>";
   echo "<td align='right>";
   echo "<img border='0' src='".THEME."images/div.gif'> ";
   echo "</td></tr></table>";
   echo "</td></tr></table>";
   echo "<table width='100%' cellpadding='0' cellspacing='1' class='border'><tr>";
   echo "<td><table width='100%' cellpadding='0' cellspacing='0'><tr>";
   echo "<td class='main-body'>".($info['article_breaks'] == "y" ? nl2br($article) : $article)."";
   echo "</td></tr></table>";
   echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
   echo "<td class='news-footer'>";
   echo "".$locale['040']."<a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a> ";
   echo "".$locale['041'].showdate("longdate", $info['article_date'])."</td>";
   echo "<td height='24' align='right' class='news-footer'>";
   if ($info['article_allow_comments']) echo $info['article_comments'].$locale['043']." · ";
   echo "".$info['article_reads'].$locale['044']." ";
   echo "<a href='print.php?type=A&item_id=".$info['article_id']."'><img src='".THEME."images/printer.gif' alt='".$locale['045']."' border='0' style='vertical-align:middle;'></a>";
   echo "</td></tr></table></td></tr></table>\n";
}

// Open table begins
function opentable($title) {

   echo "<table width='100%' cellpadding='3' cellspacing='1' style='border: 1px solid #333333'>";
   echo "<tr><td bgcolor='#D8D8D8' background='".THEME."images/cellpic1.gif' height='25'><font class='head-title'>$title</font></td>";
   echo "</tr></table>";
   echo "<table width='100%' cellpadding='0' cellspacing='0' class='border'><tr>";
   echo "<td class='main-body'>\n";
}

// Close table end
function closetable() {
   echo "</td></tr></table>\n";
}

function openside($title) {

   echo "<table border='0' style='border: 1px solid #333333' cellspacing='1' width='100%' cellpadding='3'><tr>";
   echo "<td height='27' width='100%' background='".THEME."images/cellpic3.gif'>";
   echo "<font class='block-title'>$title</font>";
   echo "</td></tr>";
   echo "<tr><td bgcolor='#EFEFEF' class='side-body' width='100%'>";
}

function closeside() {
   echo "</td></tr></table>";
   tablebreak();
}

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

if($open=="on"){$box_img="off";}else{$box_img="on";}
   echo "<table border='0' style='border: 1px solid #333333' cellspacing='1' width='100%' cellpadding='3'><tr>";
   echo "<td height='27' width='100%' background='".THEME."images/cellpic3.gif'>";
   echo "<img align='left' onclick=\"javascript:flipBox('$title')\" name='b_$title' border='0' src='".THEME."images/panel_$box_img.gif'><font class='block-title'>$title</font>";
   echo "</td></tr>";
   echo "<tr><td bgcolor='#EFEFEF' 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>";
   tablebreak();
}

// Table functions
function tablebreak() {
   echo "<table width='100%' cellspacing='0' cellpadding='0'><tr><td height='8'></td></tr></table>\n";
}
?>




Iterpiau nzn kur pasitaike rodo paveiksleli desineje puseje o pavadinima neraso :( isjungiau

2008 Sau. 15 17:01:13          10 žinutė iš 33
Spausdinti pranešimą
išjunk šipseneles

2008 Sau. 15 17:01:32          11 žinutė iš 33
Spausdinti pranešimą
isjungiua paziurek bet news.php padariau viskas kaip ten jej rejks galiu prisekti news.php
2008 Sau. 15 17:01:48          12 žinutė iš 33
Spausdinti pranešimą
Bnadyk šitaip

<?php
/*--------------------------------------------------+
| Theme skirta PHP-Fusion Turinio Valdymo Sistemai  |
| Tema parengta ir paskelbta WTFTHEMES.com komandos.|
| Svetainė: www.wtfthemes.com                       |
|  Prasome nepanikinti nuorodos i musu saita.       |
|                                                   |
| Theme by WTFTHEMES.com                            |
| Please do not remove the copyright                |
| Web: www.wtfthemes.com                            |
+-------------------------------------------------- */


/************************/
/* Theme Settings      */
/************************/

$body_text = "#000000";
$body_bg = "#6aa311";
$theme_width = "100%";
$theme_width_l = "170";
$theme_width_r = "170";

   echo "<script type='text/javascript' src='".THEME."js/menu.js'></script>";

function render_header($header_content) {
include THEME."locale/Lithuanian.php";
include LOCALE.LOCALESET."global.php";

global $theme_width,$settings;

   echo "<table class='bodyline' cellSpacing='0' cellPadding='0' width='970' align='center' border='0'>";
   echo "<tr><td><table title='".$settings[sitename]."' cellSpacing='0' cellPadding='0' width='100%' border='0'>";
   echo "<tr><td height='110'><a href='".BASEDIR."index.php'><img border='0' src='".THEME."images/cellpic_bkg.jpg'></a></td>";
   echo "</tr></table>";
   echo "<table width='100%' border='0' cellspacing='0' cellpadding='0'>";
   echo "<tr><td><table width='100%' height='20' border='0' cellpadding='4' cellspacing='0' background='".THEME."images/cellpic_nav.gif'>";
   echo "<td class='topnav' nowrap align=left><a href='".BASEDIR."index.php'><img src='".THEME."images/home.gif'></a>&nbsp;<img src='".THEME."images/menu_bar_div.gif'>&nbsp;";
   echo "<a href='".BASEDIR."forum/index.php'><img src='".THEME."images/forum.gif'></a>&nbsp;<img src='".THEME."images/menu_bar_div.gif'>";

//Account Code
if (iMEMBER) {
   echo "&nbsp;<a href='".BASEDIR."edit_profile.php' id='account'><img src='".THEME."images/account.gif'></a><script type='text/javascript'>lkmenu_register('account');</script>&nbsp;<img src='".THEME."images/menu_bar_div.gif'>&nbsp;";
   echo "<div class='lkmenu_popup' id='account_menu' style='display:none'>";
   echo "<table cellpadding='4' cellspacing='0' border='0'>";
   echo "<tr><td background='".THEME."images/cellpic_nav.gif' height='27'><img align='left' src='".THEME."images/icon_account.gif'><font class='block-title' align=>$subject ".$info['kategorija']."</font></td><center>User Options<a name='goto_account'></a></font>";
   echo "</td></tr>";
   echo "<tr><td><font class='lkmenu_text'>";
   echo "<img src='".THEME."images/bullet.gif'> <a href='".BASEDIR."edit_profile.php' class='side'>".$locale['080']."</a><br>";
   echo "<img src='".THEME."images/bullet.gif'> <a href='".BASEDIR."messages.php' class='side'>".$locale['081']."</a><br>";
   echo "<img src='".THEME."images/bullet.gif'> <a href='".BASEDIR."members.php' class='side'>".$locale['082']."</a><br>\n";
      if (iADMIN) {
   echo "<img src='".THEME."images/bullet.gif'> <a href='".ADMIN."index.php' class='side'>".$locale['083']."</a><br>\n";
}
   echo "<img src='".THEME."images/bullet.gif'> <a href='".BASEDIR."index.php?logout=yes' class='side'>".$locale['084']."</a>\n";
   echo "</td></tr></table></div>";
} else {
   echo "&nbsp;<a href='".BASEDIR."register.php'><img src='".THEME."images/register.gif'></a>&nbsp;</font><img src='".THEME."images/menu_bar_div.gif'>&nbsp;";
   }
//Account Code End

   echo "<a href='".BASEDIR."downloads.php'><img src='".THEME."images/downloads.gif'></a></font>&nbsp;<img src='".THEME."images/menu_bar_div.gif'>&nbsp;";

//Search Code
   echo "<a href='".BASEDIR."search.php' id='forumsearch'><img src='".THEME."images/search.gif'></a><script type='text/javascript'>lkmenu_register('forumsearch');</script>&nbsp;<img src='".THEME."images/menu_bar_div.gif'>";
   echo "<div class='lkmenu_popup' id='forumtools_menu' style='display:none'></div>";
   echo "<div class='lkmenu_popup' id='forumsearch_menu' style='display:none'>";
   echo "<form action='".BASEDIR."search.php' method='post'>";
   echo "<table cellpadding='4' cellspacing='0' border='0'>";
   echo "<tr><td background='".THEME."images/cellpic_nav.gif' height='27'><img align='left' src='".THEME."images/icon_search.gif'><font class='block-title'><center>Search Menu<a name='goto_forumsearch'></a></font>";
   echo "</td></tr>";
   echo "<tr><td width='370'><font class='lkmenu_text'>Search for Keywords:</font><hr>";
   if ($stype == "") $stype = "f";
   echo "<input type='text' name='stext' value='Enter search here...' class='lkmenu_input' style='width:375px' onBlur=\"if(this.value=='') this.value='Enter search here...';\" onFocus=\"if(this.value=='Enter search here...') this.value='';\" ><hr>";
   echo "<input type='submit' name='search' value='".$locale['408']."' class='button'><br>";
   echo "<input type='radio' name='stype' value='a'".($stype == "a" ? " checked" : "")."> ".$locale['402']."";
   echo "<input type='radio' name='stype' value='n'".($stype == "n" ? " checked" : "")."> ".$locale['403']."";
   echo "<input type='radio' name='stype' value='f'".($stype == "f" ? " checked" : "")."> ".$locale['404']."<br>";
   echo "<input type='radio' name='stype' value='d'".($stype == "d" ? " checked" : "")."> ".$locale['405']."";
   echo "<input type='radio' name='stype' value='w'".($stype == "w" ? " checked" : "")."> ".$locale['406']."";
   echo "<input type='radio' name='stype' value='m'".($stype == "m" ? " checked" : "")."> ".$locale['407']."";
   echo "</td></tr></table></form></div>";
//End Search Code

//Login Code
if (iMEMBER) {

   echo "&nbsp;<a href='".BASEDIR."setuser.php?logout=yes'><img src='".THEME."images/logout.gif'></a></font>";
} else {
   echo "<div class='lkmenu_popup' id='login_menu' style='display:none'>";
   echo "<table cellpadding='4' cellspacing='0' border='0'>";
   echo "<tr><td background='".THEME."images/cellpic_nav.gif' height='27'><img align='left' src='".THEME."images/icon_login.gif'><font class='block-title'><center>User Login<a name='goto_login'></a></font>";
   echo "</td></tr>";
   echo "<tr><td width='170'><font class='lkmenu_text'>";
   echo"<form name='loginform' method='post' action='".FUSION_SELF."'>".$locale['061']."<br>";
   echo "<input type='text' name='user_name' class='textbox' style='width:100px'><br>".$locale['062']."<br> ";
   echo "<input type='password' name='user_pass' class='textbox' style='width:100px'><br>";
   echo "<input type='checkbox' name='remember_me' value='y'>".$locale['063']."<br><br>";
   echo "<input type='submit' name='login' value='".$locale['064']."' class='button'><br>";
   echo "</form><hr>\n";
      if ($settings['enable_registration']) {
   echo "<img src='".THEME."images/bullet.gif'> ".$locale['065']."<br><br>\n";
}
   echo "<img src='".THEME."images/bullet.gif'> ".$locale['066']."";
   echo "</div></td></tr></table></form></div>";
   }
//Login Code End

   echo"<script type='text/javascript'>LKT_init();</script>";
   echo"</td></tr></table>";
   echo "<td class='topnav' valign='middle' align='right'>";
   echo "<font class='date'>".ucwords(showdate($settings['subheaderdate'], time()))."&nbsp;";
   echo "</td></tr></table>";
   echo "<table width='100%' cellpadding='2' bgcolor='#F9F9F9' cellspacing='0' border='0'>";
   echo "<img src='".THEME."images/pixel.gif' width='100%' height='4'>";
}


/*******************************************************************/
/*          Prašau gerbkite autorių nuorodas.          */
/* NEIŠTRINKITE NUORUODŲ Į MŪSŲ SAITĄ. TAIP PAT IR PAVEIKSLĖLIŲ. */
/*******************************************************************/

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

   echo "</td></tr></table>\n";
   echo "<table cellSpacing='0' cellPadding='2' width='$theme_width' border='0'><tr>";
   echo "<td align='center'><br>".stripslashes($settings['footer'])."<br></td>";
   echo "<table cellSpacing='0' cellPadding='2' width='100%' border='0'>";
   echo "<tr><td width='35%' class='topnav' align='center'><div align='left'>&nbsp;&nbsp;&nbsp;";
      if ($license == false) {
   echo "Varikliukas: <a target='_blank' href='http://www.php-fusion.co.uk'><img src='".THEME."images/fusion.gif' title='PHP-Fusion' style='vertical-align:top;'></a>";
   }
   echo "</div></td>";
   echo "<td width='20%' class='topnav' align='left'>";
   echo "Theme by: <a target='_blank' href='http://www.wtfthemes.com'><img title='WTFTHEMES' src='".THEME."images/wtfthemes.gif' style='vertical-align:top;'></a></td>";
   echo "<td width='35%' class='topnav' align='middle'><div align='right'>";
   echo "<b>".$settings['counter']."</b></font>&nbsp;".($settings['counter'] == 1 ? $locale['140']."\n" : $locale['141']."\n");
   echo "&nbsp;&nbsp;</div></td></tr></table>";
}

function render_news($subject, $news, $info) {
   
global $locale;
   
   echo "<table border='0' style='border: 1px solid #333333' cellspacing='1' width='100%' cellpadding='3'><tr>";
   echo "<td class='cat'><table border='0' cellpadding='0' cellspacing='0' width='100%'>";
   echo "<tr><td align='left'>";
   echo "<font class='news-title'>$subject".$info['kategorija']."</b></font></td>";
   echo "</td></tr></table>";
   echo "</td></tr></table>";
   echo "<table width='100%' cellpadding='0' cellspacing='1' class='border'><tr>";
   echo "<td><table width='100%' cellpadding='0' cellspacing='0'><tr>";
   echo "<td class='main-body'>$news</td></tr></table>";
   echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
   echo "<td class='news-footer'>&nbsp;";
   echo "".$locale['040']."<a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a> ";
   echo "".$locale['041'].showdate("longdate", $info['news_date'])." </td>";
   echo "<td height='24' align='right' class='news-footer'>";
   echo "".($info['news_ext'] == "y" ? "<a href='news.php?readmore=".$info['news_id']."'>".$locale['042']."</a> ·\n" : "")."";
   if ($info['news_allow_comments'])
   echo "<a href='news.php?readmore=".$info['news_id']."'>".$info['news_comments'].$locale['043']."</a> · ";
   echo "".$info['news_reads'].$locale['044']." ";
   echo "<a href='print.php?type=N&item_id=".$info['news_id']."'><img src='".THEME."images/printer.gif' alt='".$locale['045']."' border='0' style='vertical-align:middle;'></a>";
   echo "</td></tr></table></td></tr></table>\n";
}

function render_article($subject, $article, $info) {
   
global $locale;
   
   echo "<table border='0' style='border: 1px solid #333333' cellspacing='1' width='100%' cellpadding='3'><tr>";
   echo "<td class='cat'><table border='0' cellpadding='0' cellspacing='0' width='100%'>";
   echo "<tr><td align='left'>";
   echo "&nbsp;<font class='news-title'>$subject</b></font></td>";
   echo "<td align='right>";
   echo "<img border='0' src='".THEME."images/div.gif'> ";
   echo "</td></tr></table>";
   echo "</td></tr></table>";
   echo "<table width='100%' cellpadding='0' cellspacing='1' class='border'><tr>";
   echo "<td><table width='100%' cellpadding='0' cellspacing='0'><tr>";
   echo "<td class='main-body'>".($info['article_breaks'] == "y" ? nl2br($article) : $article)."";
   echo "</td></tr></table>";
   echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
   echo "<td class='news-footer'>";
   echo "".$locale['040']."<a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a> ";
   echo "".$locale['041'].showdate("longdate", $info['article_date'])."</td>";
   echo "<td height='24' align='right' class='news-footer'>";
   if ($info['article_allow_comments']) echo $info['article_comments'].$locale['043']." · ";
   echo "".$info['article_reads'].$locale['044']." ";
   echo "<a href='print.php?type=A&item_id=".$info['article_id']."'><img src='".THEME."images/printer.gif' alt='".$locale['045']."' border='0' style='vertical-align:middle;'></a>";
   echo "</td></tr></table></td></tr></table>\n";
}

// Open table begins
function opentable($title) {

   echo "<table width='100%' cellpadding='3' cellspacing='1' style='border: 1px solid #333333'>";
   echo "<tr><td bgcolor='#D8D8D8' background='".THEME."images/cellpic1.gif' height='25'><font class='head-title'>$title</font></td>";
   echo "</tr></table>";
   echo "<table width='100%' cellpadding='0' cellspacing='0' class='border'><tr>";
   echo "<td class='main-body'>\n";
}

// Close table end
function closetable() {
   echo "</td></tr></table>\n";
}

function openside($title) {

   echo "<table border='0' style='border: 1px solid #333333' cellspacing='1' width='100%' cellpadding='3'><tr>";
   echo "<td height='27' width='100%' background='".THEME."images/cellpic3.gif'>";
   echo "<font class='block-title'>$title</font>";
   echo "</td></tr>";
   echo "<tr><td bgcolor='#EFEFEF' class='side-body' width='100%'>";
}

function closeside() {
   echo "</td></tr></table>";
   tablebreak();
}

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

if($open=="on"){$box_img="off";}else{$box_img="on";}
   echo "<table border='0' style='border: 1px solid #333333' cellspacing='1' width='100%' cellpadding='3'><tr>";
   echo "<td height='27' width='100%' background='".THEME."images/cellpic3.gif'>";
   echo "<img align='left' onclick=\"javascript:flipBox('$title')\" name='b_$title' border='0' src='".THEME."images/panel_$box_img.gif'><font class='block-title'>$title</font>";
   echo "</td></tr>";
   echo "<tr><td bgcolor='#EFEFEF' 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>";
   tablebreak();
}

// Table functions
function tablebreak() {
   echo "<table width='100%' cellspacing='0' cellpadding='0'><tr><td height='8'></td></tr></table>\n";
}
?>




2008 Sau. 15 17:01:11          13 žinutė iš 33
Spausdinti pranešimą
function render_news($subject, $news, $info) {
   
global $locale;
   
   echo "<table border='0' style='border: 1px solid #333333' cellspacing='1' width='100%' cellpadding='3'><tr>";
   echo "<td class='cat'><table border='0' cellpadding='0' cellspacing='0' width='100%'>";
   echo "<tr><td align='left'>";
   echo "<font class='news-title'>$subject ".$info['kategorija']."</b></font></td>";
   echo "</td></tr></table>";
   echo "</td></tr></table>";
   echo "<table width='100%' cellpadding='0' cellspacing='1' class='border'><tr>";
   echo "<td><table width='100%' cellpadding='0' cellspacing='0'><tr>";
   echo "<td class='main-body'>$news</td></tr></table>";
   echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
   echo "<td class='news-footer'>&nbsp;";
   echo "".$locale['040']."<a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a> ";
   echo "".$locale['041'].showdate("longdate", $info['news_date'])." </td>";
   echo "<td height='24' align='right' class='news-footer'>";
   echo "".($info['news_ext'] == "y" ? "<a href='news.php?readmore=".$info['news_id']."'>".$locale['042']."</a> ·\n" : "")."";
   if ($info['news_allow_comments'])
   echo "<a href='news.php?readmore=".$info['news_id']."'>".$info['news_comments'].$locale['043']."</a> · ";
   echo "".$info['news_reads'].$locale['044']." ";
   echo "<a href='print.php?type=N&item_id=".$info['news_id']."'><img src='".THEME."images/printer.gif' alt='".$locale['045']."' border='0' style='vertical-align:middle;'></a>";
   echo "</td></tr></table></td></tr></table>\n";
}




Ir pąrsisiųsk ta news.php by tifo
2008 Sau. 15 17:01:56          14 žinutė iš 33
Spausdinti pranešimą
Prisegu. Shadovw ir snox kaip jūs išvedate: ".$info['kategorija']." jis nieko nereiškia jūsų parašymuose.


sniuff prisegtu failu:
theme_8.rar

Redagavo sniuff 2008 Sau. 15 17:01:30
2008 Sau. 15 17:01:21          15 žinutė iš 33
Spausdinti pranešimą
ShadoVw parašė:
function render_news($subject, $news, $info) {
   
global $locale;
   
   echo "<table border='0' style='border: 1px solid #333333' cellspacing='1' width='100%' cellpadding='3'><tr>";
   echo "<td class='cat'><table border='0' cellpadding='0' cellspacing='0' width='100%'>";
   echo "<tr><td align='left'>";
   echo "<font class='news-title'>$subject ".$info['kategorija']."</b></font></td>";
   echo "</td></tr></table>";
   echo "</td></tr></table>";
   echo "<table width='100%' cellpadding='0' cellspacing='1' class='border'><tr>";
   echo "<td><table width='100%' cellpadding='0' cellspacing='0'><tr>";
   echo "<td class='main-body'>$news</td></tr></table>";
   echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
   echo "<td class='news-footer'>&nbsp;";
   echo "".$locale['040']."<a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a> ";
   echo "".$locale['041'].showdate("longdate", $info['news_date'])." </td>";
   echo "<td height='24' align='right' class='news-footer'>";
   echo "".($info['news_ext'] == "y" ? "<a href='news.php?readmore=".$info['news_id']."'>".$locale['042']."</a> ·\n" : "")."";
   if ($info['news_allow_comments'])
   echo "<a href='news.php?readmore=".$info['news_id']."'>".$info['news_comments'].$locale['043']."</a> · ";
   echo "".$info['news_reads'].$locale['044']." ";
   echo "<a href='print.php?type=N&item_id=".$info['news_id']."'><img src='".THEME."images/printer.gif' alt='".$locale['045']."' border='0' style='vertical-align:middle;'></a>";
   echo "</td></tr></table></td></tr></table>\n";
}




Ir pąrsisiųsk ta news.php by tifo


Parse error: syntax error, unexpected ';' in /home/black/mg-styles.xz.lt/themes/Similitude06/theme.php on line 162
2008 Sau. 15 17:01:41          16 žinutė iš 33
Spausdinti pranešimą
team parašė:
".$info['kategorija']."



Ši koda iterp belekur


Sitas nuzude akinanti šypsen

ex best admin!
2008 Sau. 15 17:01:10          17 žinutė iš 33
Spausdinti pranešimą
tai ten reikia i news.php dar iterp, kiek darias tai man visa laika veikdavo

2008 Sau. 15 17:01:17          18 žinutė iš 33
Spausdinti pranešimą
PyccKuu, mano paimk ir įkelk akinanti šypsen
snox tai žinau, bet jis gal to nesupranta tai kam tu tai parašei neišvesdamas jo. Mano būde yra kitaip pagal ozz padaryta.

2008 Sau. 15 17:01:21          19 žinutė iš 33
Spausdinti pranešimą
Parse error: syntax error, unexpected ';' in /home/black/mg-styles.xz.lt/themes/Similitude06/theme.php on line 162


Whata hell? tai eilutė blogai, kur prirašyta tas info kategorija? be žado
2008 Sau. 15 17:01:55          20 žinutė iš 33
Spausdinti pranešimą
KipshiuS parašė:
Prisegu. Shadovw ir snox kaip jūs išvedate: ".$info['kategorija']." jis nieko nereiškia jūsų parašymuose.








Stai kaip atrodo galvoja

2008 Sau. 15 17:01:07          21 žinutė iš 33
Spausdinti pranešimą
Shadovw, jis nesmoka įkelti sudubliavo
function render_news($subject, $news, $info) {



2008 Sau. 15 17:01:28          22 žinutė iš 33
Spausdinti pranešimą
KipshiuS parašė:
Shadovw, jis nesmoka įkelti sudubliavo
function render_news($subject, $news, $info) {




Aš ir taip galvoju akinanti šypsen
2008 Sau. 15 17:01:09          23 žinutė iš 33
Spausdinti pranešimą
Kipsiau help žliumbia nieko nesigauna





2008 Sau. 15 17:01:41          24 žinutė iš 33
Spausdinti pranešimą
Duok visą themes.php kuri dabar nudoji
2008 Sau. 15 17:01:50          25 žinutė iš 33
Spausdinti pranešimą
ShadoVw parašė:
Duok visą themes.php kuri dabar nudoji


<?php
/************************/
/* Theme Settings      */
/************************/

$body_text = "#000000";
$body_bg = "#6aa311";
$theme_width = "100%";
$theme_width_l = "170";
$theme_width_r = "170";

   echo "<script type='text/javascript' src='".THEME."js/menu.js'></script>";

function render_header($header_content) {
include THEME."locale/Lithuanian.php";
include LOCALE.LOCALESET."global.php";

global $theme_width,$settings;

   echo "<table class='bodyline' cellSpacing='0' cellPadding='0' width='970' align='center' border='0'>";
   echo "<tr><td><table title='".$settings[sitename]."' cellSpacing='0' cellPadding='0' width='100%' border='0'>";
   echo "<tr><td height='110'><a href='".BASEDIR."index.php'><img border='0' src='".THEME."images/cellpic_bkg.jpg'></a></td>";
   echo "</tr></table>";
   echo "<table width='100%' border='0' cellspacing='0' cellpadding='0'>";
   echo "<tr><td><table width='100%' height='20' border='0' cellpadding='4' cellspacing='0' background='".THEME."images/cellpic_nav.gif'>";
   echo "<td class='topnav' nowrap align=left><a href='".BASEDIR."index.php'><img src='".THEME."images/home.gif'></a>&nbsp;<img src='".THEME."images/menu_bar_div.gif'>&nbsp;";
   echo "<a href='".BASEDIR."forum/index.php'><img src='".THEME."images/forum.gif'></a>&nbsp;<img src='".THEME."images/menu_bar_div.gif'>";

//Account Code
if (iMEMBER) {
   echo "&nbsp;<a href='".BASEDIR."edit_profile.php' id='account'><img src='".THEME."images/account.gif'></a><script type='text/javascript'>lkmenu_register('account');</script>&nbsp;<img src='".THEME."images/menu_bar_div.gif'>&nbsp;";
   echo "<div class='lkmenu_popup' id='account_menu' style='display:none'>";
   echo "<table cellpadding='4' cellspacing='0' border='0'>";
   echo "<tr><td background='".THEME."images/cellpic_nav.gif' height='27'><img align='left' src='".THEME."images/icon_account.gif'><font class='block-title' align=>$subject ".$info['kategorija']."</font></td><center>User Options<a name='goto_account'></a></font>";
   echo "</td></tr>";
   echo "<tr><td><font class='lkmenu_text'>";
   echo "<img src='".THEME."images/bullet.gif'> <a href='".BASEDIR."edit_profile.php' class='side'>".$locale['080']."</a><br>";
   echo "<img src='".THEME."images/bullet.gif'> <a href='".BASEDIR."messages.php' class='side'>".$locale['081']."</a><br>";
   echo "<img src='".THEME."images/bullet.gif'> <a href='".BASEDIR."members.php' class='side'>".$locale['082']."</a><br>\n";
      if (iADMIN) {
   echo "<img src='".THEME."images/bullet.gif'> <a href='".ADMIN."index.php' class='side'>".$locale['083']."</a><br>\n";
}
   echo "<img src='".THEME."images/bullet.gif'> <a href='".BASEDIR."index.php?logout=yes' class='side'>".$locale['084']."</a>\n";
   echo "</td></tr></table></div>";
} else {
   echo "&nbsp;<a href='".BASEDIR."register.php'><img src='".THEME."images/register.gif'></a>&nbsp;</font><img src='".THEME."images/menu_bar_div.gif'>&nbsp;";
   }
//Account Code End

   echo "<a href='".BASEDIR."downloads.php'><img src='".THEME."images/downloads.gif'></a></font>&nbsp;<img src='".THEME."images/menu_bar_div.gif'>&nbsp;";

//Search Code
   echo "<a href='".BASEDIR."search.php' id='forumsearch'><img src='".THEME."images/search.gif'></a><script type='text/javascript'>lkmenu_register('forumsearch');</script>&nbsp;<img src='".THEME."images/menu_bar_div.gif'>";
   echo "<div class='lkmenu_popup' id='forumtools_menu' style='display:none'></div>";
   echo "<div class='lkmenu_popup' id='forumsearch_menu' style='display:none'>";
   echo "<form action='".BASEDIR."search.php' method='post'>";
   echo "<table cellpadding='4' cellspacing='0' border='0'>";
   echo "<tr><td background='".THEME."images/cellpic_nav.gif' height='27'><img align='left' src='".THEME."images/icon_search.gif'><font class='block-title'><center>Search Menu<a name='goto_forumsearch'></a></font>";
   echo "</td></tr>";
   echo "<tr><td width='370'><font class='lkmenu_text'>Search for Keywords:</font><hr>";
   if ($stype == "") $stype = "f";
   echo "<input type='text' name='stext' value='Enter search here...' class='lkmenu_input' style='width:375px' onBlur=\"if(this.value=='') this.value='Enter search here...';\" onFocus=\"if(this.value=='Enter search here...') this.value='';\" ><hr>";
   echo "<input type='submit' name='search' value='".$locale['408']."' class='button'><br>";
   echo "<input type='radio' name='stype' value='a'".($stype == "a" ? " checked" : "")."> ".$locale['402']."";
   echo "<input type='radio' name='stype' value='n'".($stype == "n" ? " checked" : "")."> ".$locale['403']."";
   echo "<input type='radio' name='stype' value='f'".($stype == "f" ? " checked" : "")."> ".$locale['404']."<br>";
   echo "<input type='radio' name='stype' value='d'".($stype == "d" ? " checked" : "")."> ".$locale['405']."";
   echo "<input type='radio' name='stype' value='w'".($stype == "w" ? " checked" : "")."> ".$locale['406']."";
   echo "<input type='radio' name='stype' value='m'".($stype == "m" ? " checked" : "")."> ".$locale['407']."";
   echo "</td></tr></table></form></div>";
//End Search Code

//Login Code
if (iMEMBER) {

   echo "&nbsp;<a href='".BASEDIR."setuser.php?logout=yes'><img src='".THEME."images/logout.gif'></a></font>";
} else {
   echo "<div class='lkmenu_popup' id='login_menu' style='display:none'>";
   echo "<table cellpadding='4' cellspacing='0' border='0'>";
   echo "<tr><td background='".THEME."images/cellpic_nav.gif' height='27'><img align='left' src='".THEME."images/icon_login.gif'><font class='block-title'><center>User Login<a name='goto_login'></a></font>";
   echo "</td></tr>";
   echo "<tr><td width='170'><font class='lkmenu_text'>";
   echo"<form name='loginform' method='post' action='".FUSION_SELF."'>".$locale['061']."<br>";
   echo "<input type='text' name='user_name' class='textbox' style='width:100px'><br>".$locale['062']."<br> ";
   echo "<input type='password' name='user_pass' class='textbox' style='width:100px'><br>";
   echo "<input type='checkbox' name='remember_me' value='y'>".$locale['063']."<br><br>";
   echo "<input type='submit' name='login' value='".$locale['064']."' class='button'><br>";
   echo "</form><hr>\n";
      if ($settings['enable_registration']) {
   echo "<img src='".THEME."images/bullet.gif'> ".$locale['065']."<br><br>\n";
}
   echo "<img src='".THEME."images/bullet.gif'> ".$locale['066']."";
   echo "</div></td></tr></table></form></div>";
   }
//Login Code End

   echo"<script type='text/javascript'>LKT_init();</script>";
   echo"</td></tr></table>";
   echo "<td class='topnav' valign='middle' align='right'>";
   echo "<font class='date'>".ucwords(showdate($settings['subheaderdate'], time()))."&nbsp;";
   echo "</td></tr></table>";
   echo "<table width='100%' cellpadding='2' bgcolor='#F9F9F9' cellspacing='0' border='0'>";
   echo "<img src='".THEME."images/pixel.gif' width='100%' height='4'>";
}


/*******************************************************************/
/*          Prašau gerbkite autorių nuorodas.          */
/* NEIŠTRINKITE NUORUODŲ Į MŪSŲ SAITĄ. TAIP PAT IR PAVEIKSLĖLIŲ. */
/*******************************************************************/

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

   echo "</td></tr></table>\n";
   echo "<table cellSpacing='0' cellPadding='2' width='$theme_width' border='0'><tr>";
   echo "<td align='center'><br>".stripslashes($settings['footer'])."<br></td>";
   echo "<table cellSpacing='0' cellPadding='2' width='100%' border='0'>";
   echo "<tr><td width='35%' class='topnav' align='center'><div align='left'>&nbsp;&nbsp;&nbsp;";
      if ($license == false) {
   echo "Varikliukas: <a target='_blank' href='http://www.php-fusion.co.uk'><img src='".THEME."images/fusion.gif' title='PHP-Fusion' style='vertical-align:top;'></a>";
   }
   echo "</div></td>";
   echo "<td width='20%' class='topnav' align='left'>";
   echo "Theme by: <a target='_blank' href='http://www.wtfthemes.com'><img title='WTFTHEMES' src='".THEME."images/wtfthemes.gif' style='vertical-align:top;'></a></td>";
   echo "<td width='35%' class='topnav' align='middle'><div align='right'>";
   echo "<b>".$settings['counter']."</b></font>&nbsp;".($settings['counter'] == 1 ? $locale['140']."\n" : $locale['141']."\n");
   echo "&nbsp;&nbsp;</div></td></tr></table>";
}

$data2 = dbarray(dbquery("SELECT * FROM ".$db_prefix."news_cats WHERE news_cat_id='$news_cat'"));

function render_news($subject, $news, $info) {
   
global $locale;
   
   echo "<table border='0' style='border: 1px solid #333333' cellspacing='1' width='100%' cellpadding='3'><tr>";
   echo "<td class='cat'><table border='0' cellpadding='0' cellspacing='0' width='100%'>";
   echo "<tr><td align='left'>";
   echo "<font class='news-title'>$subject".$info['kategorija']."</b></font></a></td>";
   echo "</td></tr></table>";
   echo "</td></tr></table>";
   echo "<table width='100%' cellpadding='0' cellspacing='1' class='border'><tr>";
   echo "<td><table width='100%' cellpadding='0' cellspacing='0'><tr>";
   echo "<td class='main-body'>$news</td></tr></table>";
   echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
   echo "<td class='news-footer'>&nbsp;";
   echo "".$locale['040']."<a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a> ";
   echo "".$locale['041'].showdate("longdate", $info['news_date'])." </td>";
   echo "<td height='24' align='right' class='news-footer'>";
   echo "".($info['news_ext'] == "y" ? "<a href='news.php?readmore=".$info['news_id']."'>".$locale['042']."</a> ·\n" : "")."";
   if ($info['news_allow_comments'])
   echo "<a href='news.php?readmore=".$info['news_id']."'>".$info['news_comments'].$locale['043']."</a> · ";
   echo "".$info['news_reads'].$locale['044']." ";
   echo "<a href='print.php?type=N&item_id=".$info['news_id']."'><img src='".THEME."images/printer.gif' alt='".$locale['045']."' border='0' style='vertical-align:middle;'></a>";
   echo "</td></tr></table></td></tr></table>\n";
}

function render_article($subject, $article, $info) {
   
global $locale;
   
   echo "<table border='0' style='border: 1px solid #333333' cellspacing='1' width='100%' cellpadding='3'><tr>";
   echo "<td class='cat'><table border='0' cellpadding='0' cellspacing='0' width='100%'>";
   echo "<tr><td align='left'>";
   echo "&nbsp;<font class='news-title'>$subject</b></font></td>";
   echo "<td align='right>";
   echo "<img border='0' src='".THEME."images/div.gif'> ";
   echo "</td></tr></table>";
   echo "</td></tr></table>";
   echo "<table width='100%' cellpadding='0' cellspacing='1' class='border'><tr>";
   echo "<td><table width='100%' cellpadding='0' cellspacing='0'><tr>";
   echo "<td class='main-body'>".($info['article_breaks'] == "y" ? nl2br($article) : $article)."";
   echo "</td></tr></table>";
   echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
   echo "<td class='news-footer'>";
   echo "".$locale['040']."<a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a> ";
   echo "".$locale['041'].showdate("longdate", $info['article_date'])."</td>";
   echo "<td height='24' align='right' class='news-footer'>";
   if ($info['article_allow_comments']) echo $info['article_comments'].$locale['043']." · ";
   echo "".$info['article_reads'].$locale['044']." ";
   echo "<a href='print.php?type=A&item_id=".$info['article_id']."'><img src='".THEME."images/printer.gif' alt='".$locale['045']."' border='0' style='vertical-align:middle;'></a>";
   echo "</td></tr></table></td></tr></table>\n";
}

// Open table begins
function opentable($title) {

   echo "<table width='100%' cellpadding='3' cellspacing='1' style='border: 1px solid #333333'>";
   echo "<tr><td bgcolor='#D8D8D8' background='".THEME."images/cellpic1.gif' height='25'><font class='head-title'>$title</font></td>";
   echo "</tr></table>";
   echo "<table width='100%' cellpadding='0' cellspacing='0' class='border'><tr>";
   echo "<td class='main-body'>\n";
}

// Close table end
function closetable() {
   echo "</td></tr></table>\n";
}

function openside($title) {

   echo "<table border='0' style='border: 1px solid #333333' cellspacing='1' width='100%' cellpadding='3'><tr>";
   echo "<td height='27' width='100%' background='".THEME."images/cellpic3.gif'>";
   echo "<font class='block-title'>$title</font>";
   echo "</td></tr>";
   echo "<tr><td bgcolor='#EFEFEF' class='side-body' width='100%'>";
}

function closeside() {
   echo "</td></tr></table>";
   tablebreak();
}

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

if($open=="on"){$box_img="off";}else{$box_img="on";}
   echo "<table border='0' style='border: 1px solid #333333' cellspacing='1' width='100%' cellpadding='3'><tr>";
   echo "<td height='27' width='100%' background='".THEME."images/cellpic3.gif'>";
   echo "<img align='left' onclick=\"javascript:flipBox('$title')\" name='b_$title' border='0' src='".THEME."images/panel_$box_img.gif'><font class='block-title'>$title</font>";
   echo "</td></tr>";
   echo "<tr><td bgcolor='#EFEFEF' 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>";
   tablebreak();
}

// Table functions
function tablebreak() {
   echo "<table width='100%' cellspacing='0' cellpadding='0'><tr><td height='8'></td></tr></table>\n";
}
?>



2008 Sau. 15 18:01:14          26 žinutė iš 33
Spausdinti pranešimą
e nu padetikite prasau žliumbia
2008 Sau. 24 22:01:50          27 žinutė iš 33
Spausdinti pranešimą
viska susitvarkiau, tik viena beda išlindo.. noriu kas kai rodo ta kategorijos užraša ir užvedus su pelite roditu adresa PVZ: http://siuskis.failai.lt/news_ca...p?cat_id=4 bet man rodo http://siuskis.failai.lt/news_ca...hp?cat_id= (visas kategorijas) kame esme?

2008 Sau. 24 22:01:24          28 žinutė iš 33
Spausdinti pranešimą
kazkur nepridejai cat_id kintamojo šypsosi
2008 Sau. 24 22:01:41          29 žinutė iš 33
Spausdinti pranešimą
<a href='news_cats.php?cat_id=".$data2['news_cat_id']."'> va sita dedu.. išėmiau iš cha.lt temos

2008 Sau. 24 23:01:42          30 žinutė iš 33
Spausdinti pranešimą
PyccKuu:
ThemeS.PHP :
http://www.paste.lt/paste/5a3acb...d1ba1b7c4c

NewS.PHP :
http://www.paste.lt/paste/9834f6...eb301164f0
2008 Sau. 25 10:01:49          31 žinutė iš 33
Spausdinti pranešimą
Nesamo gaunasi išvis.. rodo paveikliuka kategorijos o nera cellpice
užrašo kategorijos

---------------------------------------------------------------------

Kad ir isidejus Cha.lt tema idejus ta woo-2 kurta news.php ir news_cats.php meta toki užraša virs paneliu naujienu, o paneleje rašo naujienu nera (paspaudus ant kategorijos)
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 1





Redagavo Soo-2 2008 Sau. 25 12:01:30
2008 Sau. 25 13:01:16          32 žinutė iš 33
Spausdinti pranešimą
Sonis, tai sunku pasiredaguoti truputį pagal savo ?
2008 Sau. 25 13:01:57          33 žinutė iš 33
Spausdinti pranešimą
bandau, bet niekas nesigauna.. net nz ka tiksliai redaguoti..

Peršokti į forumą: