Navigacija

Vartotojų tinkle

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

Registruoti nariai: 25,964
Naujausias narys: laleceylan50

Naujausi straipsniai

Paskutiniai nariai

Kižas 2 dienos
Bruksnys 1 savaitė
laleceylan50 2 savaitės
minimukas 3 savaitės
N-20 6 savaitės
Reikalas 6 savaitės
Rytis 6 savaitės
DjArtas 7 savaitės
WolfHammer 7 savaitės
Nostesi18 savaitės
Wisedocs18 savaitės
asdasdddz22 savaitės
Paslapties K...23 savaitės
Audrius_1725 savaitės
Simbijanas37 savaitės
Karinacraft38 savaitės
Žmogus42 savaitės
Darexs48 savaitės
Nepas49 savaitės
keistuole51 savaitės

Informacija:


OS: Unknown
Naršyklė: Nežinoma
IP: 216.73.216.14
Naujienų: 529
Straipsnių: 235
Temų: 52,590
Postų: 522,550
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.

minimukas
2026 Vas. 21 08:02:25
oi oi akinanti šypsen yra dar cia gyvu? akinanti šypsen

N-20
2026 Vas. 6 21:02:05
O mes dar gyvi šypsosi)

WolfHammer
2026 Sau. 25 01:01:35
drovus

Žmogus
2025 Geg. 31 10:05:18
Kas geresnio? šypsosi

Nepas
2025 Bal. 9 17:04:13
drovus

Š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
theme
Forumas | Modai, įskiepiai, panelės (PHP-FUSION) | Themes

Autorius: Waldoss Peržiūrų: 1941      Spausdinti temą
2009 Kov. 29 11:03:34          1 žinutė iš 7
Spausdinti pranešimą
sveiki,stai iskilo tokia problema atsisiunciau tema tada idejau naujiena bet niera to knopkiaus kad naujiena galima butu skaityti placiau stai theme.php jeigu galite padekit:


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

// theme settings
$body_text = "#2788b8";
$body_bg = "#f6f6f6";
$theme_width = "870";
$theme_width_l = "253";
$theme_width_r = "253";

function render_header($header_content) {

global $theme_width;
$soft = dbcount("(news_id)", "news");

echo "
<table align='center' cellspacing='0' cellpadding='0' width='$theme_width' class='outer-border'>
   <tr>
      <td>
         <table cellpadding='0' cellspacing='0' width='100%'>
            <tr>
               <td class='full-header'>
                  <table callpadding='0' cellspacing='0' width='100%'>
                     <tr>
                        <td class='uphead' align='left'>&#352;iuo metu turime <b>".$soft."</b> nemokamo softo</td>
                        <td class='uphead' align='right'>".showsubdate()."</td>
                     </tr>
                  </table>
                  <table cellpadding='0' cellspacing='0' width='100%'>
                     <tr>
                        <td rowspan='3'><img src='".THEME."images/header.png' width='515' height='257' alt=''></td>
                        <td rowspan='3'><img src='".THEME."images/header_1.png' width='50' height='257' alt=''></td>
                        <td><img src='".THEME."images/header_3.png' width='281' height='45' alt=''></td>
                        <td rowspan='3'><img src='".THEME."images/header_2.png' width='24' height='257' alt=''></td>
                     </tr>
                     <tr>
                        <td class='new_soft'>";
                           $result = dbquery("SELECT * FROM ".DB_PREFIX."news WHERE ".groupaccess('news_visibility')." AND (news_start='0'||news_start<=".time().") AND (news_end='0'||news_end>=".time().") ORDER BY news_datestamp DESC LIMIT 0,9");
                           echo "<table cellspacing='0' cellpadding='0' border='0' width='100%'>
                                 <tr>
                                    <td colspan='2' class='new_soft2'> Naujausias softas </td>
                                 </tr>";
                           while ($data = dbarray($result)) {
                              $id = $data['news_id'];
                              $p = trimlink($data['news_subject'], 42);
                              echo "
                                 <tr>
                                    <td width='8%'><img src='".THEME."images/new_soft.png'></td>
                                    <td width='92%' class='new_soft3'><a href='".BASEDIR."news.php?readmore=$id'>$p</a></td>
                                 </tr>";
                           }
                           echo "</table>
                        </td>
                     </tr>
                     <tr>
                        <td><img src='".THEME."images/header_4.png' width='281' height='47' alt=''></td>
                     </tr>
                  </table>
               </td>
            </tr>
         </table>\n
";

echo "
         <table cellpadding='0' cellspacing='0' width='100%'>
            <tr>
               <td class='sub-header'>
                  <a href='".BASEDIR."index.php'>Pagrindinis</a>
                  <a href='".BASEDIR."news.php'>Softas</a>
                  <a href='".BASEDIR."news_cats.php'>Softo kategorijos</a>
                  <a href='#'>VIP softas</a>
                  <a href='#'>VIP privilegijos</a>
               </td>
            </tr>
         </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 class='footer1' align='left'>Dizaino id&#279;ja : <a href='http://judam.net'>Deccacolour</a></td>
               <td class='footer2' align='right'>".stripslashes($settings['footer'])."</td>
            </tr>
         </table>
      </td>
   </tr>
</table>\n";

}

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

echo "<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td class='capmain'>$subject</td>
</tr>
<tr>
<td class='main-body'>$news</td>
</tr>
<tr>
<td align='right' class='news-footer'>\n<b>";
echo openform("N",$info['news_id']).newsposter($info," &middot;").closeform("N",$info['news_id']);
echo "</b></td>
</tr>
</table>\n";

}

function render_article($subject, $article, $info) {
   
echo "<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='capmain'>$subject</td>
</tr>
<tr>
<td class='main-body'>
".($info['article_breaks'] == "y" ? nl2br($article) : $article)."
</td>
</tr>
<tr>
<td align='center' class='news-footer'>\n";
echo openform("A",$info['article_id']).articleposter($info," &middot;").articleopts($info,"&middot;").closeform("A",$info['article_id']);
echo "</td>
</tr>
</table>\n";

}

function opentable($title) {

echo "<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td class='capmain'>$title</td>
</tr>
<tr>
<td class='main-body'>\n";

}

function closetable() {

echo "</td>
</tr>
</table>\n";

}

function openside($title) {
   
echo "<table cellpadding='0' cellspacing='0' width='100%' class='border'>
<tr>
<td class='scapmain'><font color='#33b3e6'>.</font>$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";

}
?>




http://www.dviratis.ipp.lt
Redagavo Waldoss 2009 Kov. 29 11:03:51
2009 Kov. 29 11:03:13          2 žinutė iš 7
Spausdinti pranešimą
Viskas yra.
Duok includes/theme_function_includes.php

2009 Kov. 29 11:03:30          3 žinutė iš 7
Spausdinti pranešimą
<?php
/*---------------------------------------------------+
| PHP-Fusion 6 Content Management System
+----------------------------------------------------+
| Copyright © 2002 - 2006 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
+----------------------------------------------------*/
if (!defined("IN_FUSION")) { header("Location:../index.php"); exit; }

function showsublinks($sep="&middot;",$class="") {
   $i = 0; $res = "";
   $sres = dbquery("SELECT * FROM ".DB_PREFIX."site_links WHERE link_position>='2' ORDER BY link_order");
   if (dbrows($sres) != 0) {
      while($sdata = dbarray($sres)) {
         if (checkgroup($sdata['link_visibility'])) {
            if ($sdata['link_url']!="---") {
               if ($i != 0) { $res .= " ".$sep."\n"; } else { $res .= "\n"; }
               $link_target = $sdata['link_window'] == "1" ? " target='_blank'" : "";
               $link_class = $class ? " class='$class'" : "";
               if (strstr($sdata['link_url'], "http://") || strstr($sdata['link_url'], "https://")) {
                  $res .= "<a href='".$sdata['link_url']."'".$link_target.$link_class.">".$sdata['link_name']."</a>";
               } else {
                  $res .= "<a href='".BASEDIR.$sdata['link_url']."'".$link_target.$link_class.">".$sdata['link_name']."</a>";
               }
            }
            $i++;
         }
      }
   }
   if ($i != 0) { return $res; } else { return "&nbsp;"; }
}

function showsubdate() {
   global $settings;
   return ucwords(showdate($settings['subheaderdate'], time()));
}

function newsposter($info,$sep="",$class="") {
   global $locale; $res = "";
   $link_class = $class ? " class='$class' " : "";
   $res = "Per&#382;i&#363;r&#371; : <a href='news.php?readmore=".$info['news_id']."'>".$info['news_reads']."</a> | ";
   $res .= "Autorius : <a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a> |";
   $res .= "Komentar&#371; : (<a href='news.php?readmore=".$info['news_id']."'>".$info['news_comments']."</a>) ";
   return $res;
}

function newsopts($info,$sep,$class="") {
   global $locale; $res = "";
   $link_class = $class ? " class='$class' " : "";
   if (!isset($_GET['readmore']) && $info['news_ext'] == "y") $res = "<a href='news.php?readmore=".$info['news_id']."'".$link_class.">".$locale['042']."</a> ".$sep." ";
   if ($info['news_allow_comments']) $res .= "<a href='news.php?readmore=".$info['news_id']."'".$link_class.">".$info['news_comments'].$locale['043']."</a> ".$sep." ";
   if ($info['news_ext'] == "y" || $info['news_allow_comments']) $res .= $info['news_reads'].$locale['044']."\n";
   $res .= $sep." <a href='print.php?type=N&amp;item_id=".$info['news_id']."'><img src='".THEME."images/printer.gif' alt='".$locale['045']."' style='vertical-align:middle;border:0px;'></a>\n";
   return $res;
}

function articleposter($info,$sep="",$class="") {
   global $locale; $res = "";
   $link_class = $class ? " class='$class' " : "";
   $res = "<img src='".THEME."images/bullet.gif' alt=''>\n";
   $res .= $locale['040']."<a href='profile.php?lookup=".$info['user_id']."'".$link_class.">".$info['user_name']."</a>\n";
   $res .= $locale['041'].showdate("longdate", $info['article_date']);
   $res .= $info['article_allow_comments'] ? $sep."\n" : "\n";
   return $res;
}

function articleopts($info,$sep) {
   global $locale; $res = "";
   if ($info['article_allow_comments']) $res = $info['article_comments'].$locale['043']." ".$sep."\n";
   $res .= $info['article_reads'].$locale['044']." ".$sep."\n";
   $res .= "<a href='print.php?type=A&amp;item_id=".$info['article_id']."'><img src='".THEME."images/printer.gif' alt='".$locale['045']."' style='vertical-align:middle;border:0px;'></a>\n";
   return $res;
}

function openform($item_type,$item_id) {
   global $aidlink;
   $res = "";
   if ($item_type == "N") {
      if (iADMIN && checkrights($item_type)) $res .= "<form name='editnews".$item_id."' method='post' action='".ADMIN."news.php".$aidlink."&amp;news_id=".$item_id."'>\n";
   } elseif ($item_type == "A") {
      if (iADMIN && checkrights($item_type)) $res .= "<form name='editarticle".$item_id."' method='post' action='".ADMIN."articles.php".$aidlink."&amp;article_id=".$item_id."'>\n";
   }
   return $res;
}

function closeform($item_type,$item_id) {
   global $locale; $res = "";
   if ($item_type == "N") {
      if (iADMIN && checkrights($item_type)) $res .= "&middot; <input type='hidden' name='edit' value='edit'><a href='javascript:document.editnews".$item_id.".submit();'><img src='".IMAGES."edit.gif' alt='".$locale['048']."' title='".$locale['048']."' style='vertical-align:middle;border:0px;'></a>\n</form>\n";
   } elseif ($item_type == "A") {
      if (iADMIN && checkrights($item_type)) $res .= " &middot; <input type='hidden' name='edit' value='edit'><a href='javascript:document.editarticle".$item_id.".submit();'><img src='".IMAGES."edit.gif' alt='".$locale['048']."' title='".$locale['048']."' style='vertical-align:middle;border:0px;'></a>\n</form>\n";
   }
   return $res;
}

function showcopyright($class="") {
   global $settings;
   $link_class = $class ? " class='$class' " : "";
   $res = "Powered by <a href='http://www.php-fusion.co.uk'".$link_class."target='_blank'>PHP-Fusion</a> copyright &copy; 2003-2006 by Nick Jones.<br>\n";
   $res .= "Released as free software under the terms of the GNU/GPL license.";
   return $res;
}

function showcounter() {
   global $locale,$settings;
   return number_format($settings['counter'])." ".($settings['counter'] == 1 ? $locale['140'] : $locale['141']);
}

function panelbutton($state,$bname) {
   return "<img src='".THEME."images/panel_".($state == "on" ? "off" : "on").".gif' name='b_$bname' alt='' onclick=\"javascript:flipBox('$bname')\">";
}
?>




http://www.dviratis.ipp.lt
2009 Kov. 29 11:03:54          4 žinutė iš 7
Spausdinti pranešimą
Šitą
function newsposter($info,$sep="",$class="") {
   global $locale; $res = "";
   $link_class = $class ? " class='$class' " : "";
   $res = "Per&#382;i&#363;r&#371; : <a href='news.php?readmore=".$info['news_id']."'>".$info['news_reads']."</a> | ";
   $res .= "Autorius : <a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a> |";
   $res .= "Komentar&#371; : (<a href='news.php?readmore=".$info['news_id']."'>".$info['news_comments']."</a>) ";
   return $res;
}



Pakeisk šitu
function newsposter($info,$sep="",$class="") {
   global $locale; $res = "";
   $link_class = $class ? " class='$class' " : "";
   $res = "Pla&#269;iau : <a href='news.php?readmore=".$info['news_id']."'>Pla&#269;iau</a> | ";
   $res .= "Per&#382;i&#363;r&#371; : <a href='news.php?readmore=".$info['news_id']."'>".$info['news_reads']."</a> | ";
   $res .= "Autorius : <a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a> |";
   $res .= "Komentar&#371; : (<a href='news.php?readmore=".$info['news_id']."'>".$info['news_comments']."</a>) ";
   return $res;
}





Redagavo 2009 Kov. 29 11:03:45
2009 Kov. 29 11:03:36          5 žinutė iš 7
Spausdinti pranešimą
Viska gerai idejau viskas veikia aciu labai,va dar tokia problema sikylo man sake kad mano saite randa wirusa www.programos.wu.lt kaip man ji istrynti?piktas

http://www.dviratis.ipp.lt
2009 Kov. 29 11:03:01          6 žinutė iš 7
Spausdinti pranešimą
Nu trojanas.

2009 Kov. 29 11:03:46          7 žinutė iš 7
Spausdinti pranešimą
O kaip man ji istrinti?

http://www.dviratis.ipp.lt
Peršokti į forumą: