Navigacija

Vartotojų tinkle

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

Registruoti nariai: 25,955
Naujausias narys: Johny

Naujausi straipsniai

Paskutiniai nariai

Johny 2 savaitės
Reikalas 3 savaitės
Jaunelis 9 savaitės
lanis 9 savaitės
And2s10 savaitės
Memento Mori15 savaitės
ozzWANTED15 savaitės
Quwqkibor17 savaitės
asirija21 savaitės
tomeem23 savaitės
weberiz27 savaitės
mRokass29 savaitės
kartoonas30 savaitės
iaescortsmap30 savaitės
grunskiz33 savaitės
Bruksnys33 savaitės
illusion33 savaitės
ordo34 savaitės
Jurgaila35 savaitės
originalcs1635 savaitės

Informacija:


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

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

Žmogus
2023 Rugs. 7 21:09:14
O gal BloodKiller pasijungs?

Š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
Help
Forumas | PHP-Fusion, WordPress, Shopify, PHP ir MySQL (PROGRAMAVIMAS) | Bendri PHP-F klausimai

Autorius: newlifeboy Peržiūrų: 542      Spausdinti temą
2009 Sau. 17 18:01:15          1 žinutė iš 1
Spausdinti pranešimą
sveiki gal kas galit idet i theme.php banner panele reiktu ten kur yra sicia ji pakeist ir idet nes man nesigauna va theme.php kodas
<?php
if (!defined("IN_FUSION")) { header("Location: ../../index.php"); exit; }
require_once INCLUDES."theme_functions_include.php";

// theme settings
$body_text = "#555555";
$body_bg = "#006600";
$theme_width = "100%";
$theme_width_l = "175";
$theme_width_r = "175";

function render_header($header_content) {
global $theme_width,$db_prefix;
$tag1= date('d');
$monat1= date('m');
$jahr1= date('Y');
$hanfang = mktime(0,0,0,$monat1,$tag1,$jahr1);
$hende = mktime(23,59,59,$monat1,$tag1,$jahr1);
$ganfang = mktime(0,0,0,$monat1,$tag1-1,$jahr1);
$gende = mktime(23,59,59,$monat1,$tag1-1,$jahr1);
   $result = dbquery(
      "SELECT ton.*, tu.user_id,user_name FROM ".$db_prefix."online ton
      LEFT JOIN ".$db_prefix."users tu ON ton.online_user=tu.user_id"
   );
   $guests = 0;
   while ($data = dbarray($result)) {
         $guests++;   
   }


echo "
<table bgcolor='#1a1a1a' align='center' width='965' cellspacing='0' cellpadding='0'>
   <tr><td>
      <table align='center' width='100%' cellspacing='0' cellpadding='0'><tr><td width='100%'>
            <table width='965' height='54' border='0' cellpadding='0' cellspacing='0'>
               <tr><td>
                  <table align='center' width='100%' cellspacing='0' cellpadding='0' ><tr><td width='100%'>
                     <table width='966' height='54' border='0' cellpadding='0' cellspacing='0' >
                     <tr>
                     <td rowspan='5'><img src='".THEME."images/sub_01.png' width='101' height='54' alt=''></td>
                     <td rowspan='5'><img src='".THEME."images/sub_02.png' width='57' height='54' alt=''></td>
                     <td rowspan='2'><img src='".THEME."images/sub_03.png' width='14' height='18' alt=''></td>
                     <td rowspan='5'><img src='".THEME."images/sub_04.png' width='48' height='54' alt=''></td>
                     <td rowspan='2'><img src='".THEME."images/sub_05.png' width='16' height='18' alt=''></td>
                       <td rowspan='5'><img src='".THEME."images/sub_06.png' width='44' height='54' alt=''></td>
                     <td rowspan='2'><img src='".THEME."images/sub_07.png' width='22' height='18' alt=''></td>
                     <td rowspan='5'><img src='".THEME."images/sub_08.png' width='79' height='54' alt=''></td>
                     <td rowspan='2'><img src='".THEME."images/sub_09.png' width='13' height='18' alt=''></td>
                     <td rowspan='5'><img src='".THEME."images/sub_10.png' width='292' height='54' alt=''></td>";
                     if(!iMEMBER){ echo "
                     <form name='loginform' method='post' action='".FUSION_SELF."'>
                     <td rowspan='5' background='".THEME."images/sub_11.png' width='221' height='54' valign='middle'><input type='text' name='user_name' class='textboxas' style='width:108px;height: 19px;' value=''>&nbsp;<input type='password' name='user_pass' class='textboxas' style='width:108px;height: 19px;' value=''><br><a href='register.php' class='head'>registracija</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href='lostpassword.php' class='head'>slapta&#382;odis</a></td>
                     <td>
                     <img src='".THEME."images/sub_12.png' width='38' height='8' alt=''></td>
                     <td rowspan='5'>
                     <img src='".THEME."images/sub_13.png' width='20' height='54' alt=''></td>
                     <td><img src='".THEME."images/spacer.gif' width='1' height='8' alt=''></td>
                     </tr><tr><td rowspan='3'>
                     <input name='login' value='Prisijungti' type='image' src='".THEME."images/sub_14.png' width='38' height='29' border='0'></td></form>"; }
                     else {
                     echo"
                       <td rowspan='5' background='".THEME."images/sub_11.png' width='221' height='54' valign='middle'><img src='".THEME."images/bullet.gif' alt=''> <a href='edit_profile.php' class='head'>Apra&#353;ymas</a>&nbsp;
                     <img src='".THEME."images/bullet.gif' alt=''> <a href='messages.php' class='head'>&#381;inut&#279;s</a>&nbsp;
                     <img src='".THEME."images/bullet.gif' alt=''> <a href='members.php' class='head'>Nariai</a></td>
                     <td>
                      <img src='".THEME."images/sub_12.png' width='38' height='8' alt=''></td>
                      <td rowspan='5'>
                     <img src='".THEME."images/sub_13.png' width='20' height='54' alt=''></td>
                     <td>
                     <img src='".THEME."images/spacer.gif' width='1' height='8' alt=''></td>
                     </tr>
                     <tr>
                     <td rowspan='3'><a href='".BASEDIR."setuser.php?logout=yes'><img src='".THEME."images/me.png' width='38' height='29' alt='' border='0' value='Atsijungti'></a></td>";
                                          }
                     echo"<td><img src='".THEME."images/spacer.gif' width='1' height='10' alt=''></td>
                     </tr><tr>
                     <td background='".THEME."images/sub_15.png' width='14' height='10' valign='middle' style='font-size:8px; font-family:Arial; color:#9eaebe;'>".dbcount("(user_id)", "users", "user_joined >='".$hanfang."' AND user_joined <='".$hende."'")."</td>
                     <td background='".THEME."images/sub_16.png' width='16' height='10' valign='middle' style='font-size:8px; font-family:Arial; color:#9eaebe;'>".dbcount("(user_id)", "users", "user_joined >='".$ganfang."' AND user_joined <='".$gende."'")."</td>
                     <td background='".THEME."images/sub_17.png' width='22' height='10' valign='middle' style='font-size:8px; font-family:Arial; color:#9eaebe;'>".number_format(dbcount("(user_id)", "users", "user_status<='1'"))."</td>
                     <td background='".THEME."images/sub_18.png' width='13' height='10' valign='middle' style='font-size:8px; font-family:Arial; color:#9eaebe;'>".$guests."</td>
                     <td><img src='".THEME."images/spacer.gif' width='1' height='10' alt=''></td>
                     </tr> <tr>
                     <td rowspan='2'><img src='".THEME."images/sub_19.png' width='14' height='26' alt=''></td>
                     <td rowspan='2'><img src='".THEME."images/sub_20.png' width='16' height='26' alt=''></td>
                     <td rowspan='2'><img src='".THEME."images/sub_21.png' width='22' height='26' alt=''></td>
                     <td rowspan='2'><img src='".THEME."images/sub_22.png' width='13' height='26' alt=''></td>
                     <td><img src='".THEME."images/spacer.gif' width='1' height='9' alt=''></td></tr>
                     <tr><td><img src='".THEME."images/sub_23.png' width='38' height='17' alt=''></td>
                     <td><img src='".THEME."images/spacer.gif' width='1' height='17' alt=''></td>
                     </tr>
                  </table>
                  <table width='100%' cellspacing='0' cellpadding='0'><tr><td height='120' background='".THEME."images/header.png' align='right' valign='middle'>
                        <table width='515' border='0' cellspacing='0' cellpadding='0'>
                           <tr><td>sicia</td></tr>
                        </table>
                     </td></tr>
                  </table>
                  <table width='965' height='30' border='0' cellpadding='0' cellspacing='0' border='1'>
                  <tr><td><a href='http://www.csteam.xz.lt/news.php'><img src='".THEME."images/subh_01.png' width='86' height='30' alt='' border='0'></a></td>
                     <td><a href='http://www.csteam.xz.lt/articles.php?cat_id=11'><img src='".THEME."images/subh_02.png' width='96' height='30' alt='' border='0'></a></td>
                     <td><a href='http://www.csteam.xz.lt/downloads.php'><img src='".THEME."images/subh_03.png' width='81' height='30' alt='' border='0'></a></td>
                     <td><a href='http://www.csteam.xz.lt/articles.php'><img src='".THEME."images/subh_04.png' width='95' height='30' alt='' border='0'></a></td>
                     <td><a href='http://www.csteam.xz.lt/search.php'><img src='".THEME."images/subh_05.png' width='71' height='30' alt='' border='0'></a></td>
                     <td><a href='http://www.csteam.xz.lt/forum/index.php'><img src='".THEME."images/subh_06.png' width='73' height='30' alt='' border='0'></a></td>
                     <td><a href='http://www.csteam.xz.lt/articles.php?cat_id=8'><img src='".THEME."images/subh_08.png' width='77' height='30' alt='' border='0'></a></td>
                            <td><a href='http://www.csteam.xz.lt/articles.php?cat_id=12'><img src='".THEME."images/subh_07.png' width='47' height='30' alt='' border='0'></a></td>
                     <td><a href='http://www.csteam.xz.lt/articles.php?cat_id=9'><img src='".THEME."images/subh_09.png' width='60' height='30' alt='' border='0'></a></td>
                     <td><a href='http://www.csteam.xz.lt/servers'><img src='".THEME."images/subh_10.png' width='84' height='30' alt='' border='0'></a></td>
                     <td><a href='http://www.csteam.xz.lt/articles.php?cat_id=3'><img src='".THEME."images/subh_11.png' width='80' height='30' alt='' border='0'></a></td>
                     <td><a href='http://www.csteam.xz.lt/articles.php?cat_id=10'><img src='".THEME."images/subh_12.png' width='44' height='30' alt='' border='0'></a></td>
                     <td><a href='http://www.csteam.xz.lt/forum/viewforum.php?forum_id=17'><img src='".THEME."images/subh_13.png' width='71' height='30' alt='' border='0'></a></td>
                     </tr>
                  </table>
               </td></tr><table>
         </td></tr><tr><tr>
            <table width='100%'><tr>\n";
}

function render_footer($license=false) {

global $theme_width,$settings;

echo "</tr></table>
</td>
</tr>
<tr>
<td>
<table cellSpacing='0' cellPadding='0' height='29' width='100%' border='0' background='".THEME."images/footer.png'><tr><td height='29' align='left' style='font-family:Arial;
 font-size: 11px;
 color: #ffffff;
 padding:0px 0px 0px 27px;'>
&copy; 2008-2009 -Php-Fusion 
<center><textarea>Raktazodziai:
</textarea></center> </td></tr></table>
 <table cellSpacing='0' cellPadding='0' height='32' width='100%' border='0' background='".THEME."images/atspindys.png'><tr><td></td></tr></table>
 </td></tr></table>
 </td></tr></table>\n";

}

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

echo "<table width='563' height='50' border='0' cellpadding='0' cellspacing='0' align='center'>
 <tr>
  <td colspan='4'>
   <img src='".THEME."images/panelen_01.png' width='562' height='11' alt=''></td>
  <td>
   <img src='".THEME."images/spacer.gif' width='1' height='11' alt=''></td>
 </tr>
 <tr>
  <td rowspan='4'>
   <img src='".THEME."images/panelen_02.png' width='11' height='39' alt=''></td>
  <td rowspan='2' background='".THEME."images/panelen_03.png' width='424' height='16'><span style='font-family:Arial;
 font-weight: bold;
 font-size: 12px;
 color: #ffffff;'><a name='news_10' id='news_10'></a>$subject</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href='news.php?readmore=".$info['news_id']."' class='new'>skaityti daugiau</a></td>
  <td>
   <img src='".THEME."images/panelen_04.png' width='101' height='3' alt=''></td>
  <td rowspan='3'>
   <img src='".THEME."images/panelen_05.png' width='26' height='31' alt=''></td>
  <td>
   <img src='".THEME."images/spacer.gif' width='1' height='3' alt=''></td>
 </tr>
 <tr>
  <td rowspan='2' background='".THEME."images/panelen_06.png' width='101' height='28'><span style='font-family:Arial;
 font-size: 11px;
 color: #545454;'>Para&#353;&#279;:</span> <a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a><br><span style='font-family:Arial;
 font-size: 11px;
 color: #545454;'>Data:</span> <a>".showdate("%y.%m.%d",$info['news_date'])."</a></td>
  <td>
   <img src='".THEME."images/spacer.gif' width='1' height='13' alt=''></td>
 </tr>
 <tr>
  <td rowspan='2'>
   <img src='".THEME."images/panelen_07.png' width='424' height='23' alt=''></td>
  <td>
   <img src='".THEME."images/spacer.gif' width='1' height='15' alt=''></td>
 </tr>
 <tr>
  <td colspan='2'>
   <img src='".THEME."images/panelen_08.png' width='127' height='8' alt=''></td>
  <td>
   <img src='".THEME."images/spacer.gif' width='1' height='8' alt=''></td>
 </tr>
</table><table align='center' width='563' cellpadding='0' cellspacing='0'><tr><td class='main-body'>$news</td></tr></table><table width='100%' cellspacing='0' cellpadding='0'><tr><td height='8'></td></tr></table>
";

}

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 border='0' width='562' cellpadding='0' cellspacing='0' align='center'><tr><td width='562' align='center'>
<table height='38' width='562' border='0' cellpadding='0' cellspacing='0'>
 <tr>
  <td background='".THEME."images/panel_01.png' width='553' height='38' valign='middle' style='font-family:Arial;
 font-weight: bold;
 font-size: 11px;
 color: #ffffff;
 padding:0px 0px 0px 9px;'>$title</td>
  <td>
   <img src='".THEME."images/panel_02.png' height='38' alt=''></td>
  <td>
   <img src='".THEME."images/panel_03.png' width='6' height='38' alt=''></td>
 </tr>
</table>
</td></tr><tr><td class='main-bodis' width='100%'>\n";

}

function closetable() {

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

}
function openside($title) {
   
echo "
<table border='0' cellpadding='0' cellspacing='0' align='center'><tr><td><table width='179' height='35' border='0' cellpadding='0' cellspacing='0'>
 <tr>
  <td colspan='2'>
   <img src='".THEME."images/panele_01.png' width='179' height='12' alt=''></td>
 </tr>
 <tr>
  <td>
   <img src='".THEME."images/panele_02.png' height='15' alt=''></td>
  <td background='".THEME."images/panele_03.png' width='171' height='15' valign='top' style='font-family:Arial;
 font-size: 11px;
 color: #4285b2;
 align: left;'>$title</td>
 </tr>
 <tr>
  <td colspan='2'>
   <img src='".THEME."images/panele_04.png' width='179' height='8' alt=''></td>
 </tr>
</table></td></tr><tr><td class='side-body' width='100%'>\n";

}

function closeside() {

echo "</td></tr></table><table width='100%' cellspacing='0' cellpadding='0'><tr><td height='8'></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";

}
?>



banner paneles kodas
The following code when added to your subheader will place the banner on the righthand side of your header.
It is important if useing this that your own site banner is taken into account when placeing the code.
The site banner is now also obtained from the theme directory.
So if your banner is banner.gif you must have it in at least the theme main directory
themes/void/banner.gif.
Every theme you want to use must have this and every banner must be named the same.

It is also important that you realize that every theme will run the banner in the top section of the page unless the theme is modified not to use the fusion standard

the following code must be placed after the body tag has closed in the standard subheader.php
It will replace the standard code so you can remove anything between the body tag and the ?>
This applies to default code only modified code may need alteration at this point!!!


//code start

//start banner replacement code
if (file_exists(INFUSIONS."banner_panel/view.php"))
{
   include INFUSIONS."banner_panel/view.php";
}
else
{
$banner_display = '';
}
$input = '<table width="100%" cellpadding="0" cellspacing="0">
<tr>
   <td><img src="'.THEME.$settings['sitebanner'].'" alt="'.$settings['sitename'].'" title="'.$settings['sitename'].'"></td>
   <td align="right">'.$banner_display.'</td>
</tr>
</table>';
//end banner replacement code


//replacement
render_header($input);
//commented original code
//render_header("<img src='".THEME.$settings['sitebanner']."' alt='".$settings['sitename']."' title='".$settings['sitename']."'>");

//code end






http://www.cigs.lt <<<elektroninės cigaretės, jų priedai. :)
Redagavo newlifeboy 2009 Sau. 17 18:01:28
Peršokti į forumą: