Navigacija

Vartotojų tinkle

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

Registruoti nariai: 25,952
Naujausias narys: tomeem

Naujausi straipsniai

Paskutiniai nariai

asirija 4 dienos
tomeem 2 savaitės
Reikalas 3 savaitės
weberiz 6 savaitės
mRokass 8 savaitės
kartoonas 9 savaitės
iaescortsmap 9 savaitės
ozzWANTED10 savaitės
grunskiz12 savaitės
Bruksnys12 savaitės
illusion12 savaitės
ordo13 savaitės
Jurgaila14 savaitės
originalcs1614 savaitės
Rytis15 savaitės
halis16 savaitės
junkus19 savaitės
morlis19 savaitės
Majakas20 savaitės
andsoft21 savaitės

Informacija:


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

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?

Apocal
2023 Rugs. 2 18:09:23
Nu davai nuveikiam kažką akinanti šypsen. Prisijungti kada visi čia akinanti šypsen.

Apocal
2023 Rugs. 2 00:09:18
Šiaip atėjau pažiūrėti ar dar lopas nesby yra ar koks ten buvo.

Š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
Panele ant hederio
Forumas | PHP-Fusion, WordPress, Shopify, PHP ir MySQL (PROGRAMAVIMAS) | Expert PHP, MySQL klausimai

Autorius: GoN Peržiūrų: 2629      Spausdinti temą
2007 Gru. 7 23:12:39          1 žinutė iš 12
Spausdinti pranešimą
Sveiki, na nezinau kaip uzdeti panele ant headerio na panašiai kaip ir prisijungimas ant headerio tik kitoje pusėje

Paveiksliukas:



Paneles kodas:
<?php

openside("Draugai Online");

$lastseen=time()-120; // 120 sind 2 Minuten

echo"<table border='0' cellpadding='0' cellspacing='1' width='100%'>\n";
$result=dbquery("SELECT * FROM ".$db_prefix."users WHERE user_lastvisit >=".$lastseen."");

while($data = dbarray($result)) {

$result_from=dbquery("SELECT * FROM ".$db_prefix."buddys WHERE
buddy_from = ".$userdata['user_id']." AND buddy_to = ".$data['user_id']."");
$data_from = dbarray($result_from);

$result_to=dbquery("SELECT * FROM ".$db_prefix."buddys WHERE
buddy_to = ".$userdata['user_id']." AND buddy_from = ".$data['user_id']."");
$data_to = dbarray($result_to);

if($data_to['buddy_id'] != "" AND $data_from['buddy_id'] != ""){

$bild = "<img src='".INFUSIONS."frend/images/mail.gif' border='0'>";
$datum = strftime("Zuletzt aktiv: %H:%M:%S Uhr", $data['user_lastvisit']);

echo "<tr>
<td><a href='".BASEDIR."messages.php?msg_send=".$data['user_id']."' target='_parent'>$bild</a> <a href='".BASEDIR."profile.php?lookup=".$data['user_id']."' target='_parent' title='$datum'>".$data['user_name']."</a></td>
</tr>";

}

}

echo"</table>\n";
closeside();


?>




2007 Gru. 8 03:12:24          2 žinutė iš 12
Spausdinti pranešimą
i subheader.php pradzioj kisi priseg subheader.php

2007 Gru. 8 07:12:14          3 žinutė iš 12
Spausdinti pranešimą
Parsisiusk Qrmio tema, kur padarytas loginas headeryje su openside. Tada isimk logino koda ir dek sitamerkia akį

ex best admin!
2007 Gru. 8 08:12:27          4 žinutė iš 12
Spausdinti pranešimą
jo Qurmiz temoje pakeiti is p style= right i left ir bus tau kaireje

http://androider.info/
2007 Gru. 8 12:12:07          5 žinutė iš 12
Spausdinti pranešimą
Dekui pabandysiu, pažiuresiu kas išeis šypsosi
O kokio qrmio tema?

2007 Gru. 8 13:12:13          6 žinutė iš 12
Spausdinti pranešimą
cs theme
turbūt wtf themes rasi ja
2007 Gru. 8 14:12:17          7 žinutė iš 12
Spausdinti pranešimą
Gal kas gali iterpti nes man niekaip neiseina :/
theme.php
<?php

/************************/
/* Settings/Nustatymai   */
/************************/

$body_text = "#000000";
$body_bg = "#ffffff";
$theme_width = "988";
$theme_width_l = "180";
$theme_width_r = "180";

function render_header($header_content) {
global $theme_width,$settings,$locale,$userdata,$aidlink;

   echo "<table class='forumline' align='center' width='$theme_width' cellspacing='0' cellpadding='0' style='border-right: solid #b5b5b5 1px; border-left: solid #b5b5b5 1px;'>";
   echo "<tr><td><table align='center' width='100%' cellspacing='0' cellpadding='0'>";
   echo "<tr><td><table align='center' width='100%' cellspacing='0' cellpadding='0'>";
   echo "<tr><td class='header' width='100%'>";
   // Start banner code / Banerio kodas
   echo "<table width='100%' cellspacing='0' cellpadding='0' style='border-right: solid #b5b5b5 1px; border-left: solid #b5b5b5 1px;'>";
   echo "<tr><td height='150' background='".THEME."images/baner.jpg' align='right' valign='middle'>
   <table width='988' border='0' cellspacing='0' cellpadding='0'>
  <tr>
    <td>&nbsp;</td>
    <td width='220' align='center'>";
   // Jei narys, prisijungimas atrodo taip
   if (iMEMBER) {
   openside($userdata['user_name']);
   $msg_count = dbcount("(message_id)", "messages", "message_to='".$userdata['user_id']."' AND message_read='0'AND message_folder='0'");
echo "<table width='100%' border='0' cellspacing='0' cellpadding='0' background='".THEME."images/userinfo.gif'>
  <tr>
    <td>\n";
   if ($userdata['user_avatar'] != "") {
   echo "<center><img src='".BASEDIR."images/avatars/".$userdata['user_avatar']."' width='50' height='50' style='border:1px solid #999999'></center>\n";
   } else {
   echo "<center><img src='".THEME."images/noavatar.jpg' width='50' height='50' style='border:1px solid #999999'></center>\n";
   }
   echo "</td>
    <td><img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."edit_profile.php' class='side'>Apra&#240;ymas</a><br>
<img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."messages.php' class='side'>&#222;inut&#235;s [naujĀø: <b><span style='color:#ff0000'>".sprintf($msg_count)."</span></b>]</a><br>
<img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."members.php' class='side'>Nariai</a><br>\n";
   if (iADMIN && (iUSER_RIGHTS != "" || iUSER_RIGHTS != "C")) {
      echo "<img src='".THEME."images/bullet.gif' alt=''> <a href='".ADMIN."index.php".$aidlink."' class='side'>Administracija</a><br>\n";
   }
   echo "<img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."setuser.php?logout=yes' class='side'>".$locale['084']."</a>\n";"
   <td><img src='".THEME."images/blank.gif'></td>
  </tr>
</table>

\n";
   // Jei ne narys
} else {
   openside("Prisijungimas");
   echo "<table width='100%' border='0' cellspacing='0' cellpadding='0' background='".THEME."images/userlogin.gif' align='center'><form name='loginform' method='post' action='".FUSION_SELF."'>
  <tr>
    <td align='right'>Vardas: </td>
    <td>&nbsp;<input type='text' name='user_name' class='textbox' style='width:100px;filter:alpha(opacity=70)'></td>
  </tr>
  <tr>
    <td align='right'>".$locale['062'].": </td>
    <td>&nbsp;<input type='password' name='user_pass' class='textbox' style='width:100px;filter:alpha(opacity=70)'></td>
  </tr>
  <tr>
    <td align='right'><input type='checkbox' name='remember_me' value='y'></td>
    <td>&nbsp;<input type='submit' name='login' value='Prisijungti' class='button'></td>
  </tr>
  </form>\n";
   if ($settings['enable_registration']) {
      echo "<a href=".BASEDIR."register.php>Registracija</a> / <a href=".BASEDIR."lostpassword.php>Slapta&#254;odis</a>\n";
   }
   echo"</div>\n";
}
closeside();
   echo "</td>
   <td><img src='".THEME."images/blank.gif'></td>
  </tr>
</table>
   </td>";
   echo "</tr></table></td></tr></table>\n";
   // End banner code / Banerio kodo pabaiga
   echo "<table width='100%' cellspacing='0' cellpadding='0' class='sub-header' style='border-right: solid #b5b5b5 1px; border-left: solid #b5b5b5 1px;'>\n<tr>";
   echo "<td>\n";
   echo "&nbsp;<a href='".BASEDIR."members.php'><span class='white'>VartotojĀø: ".number_format(dbcount("(user_id)", "users", "user_status<='1'"))."</span></a>\n";
   if ($settings['admin_activation'] == "1") echo "<img src='".THEME."images/bullet.gif' alt=''> ".$locale['015'].dbcount("(user_id)", "users", "user_status='2'")."\n";
   echo ($i == 0 ? "&nbsp;" : "")."</td>";
   echo "<td align='right'>".ucwords(showdate($settings['subheaderdate'], time()))."";
   echo "</td></tr></table>\n";
   echo "<table width='100%' border='0' cellpadding='0' cellspacing='0' bgcolor='#FFFFFF'>
  <tr>
    <td width='5'></td>
    <td width='69' valign='top'><a href='".BASEDIR."index.php'><img src='".THEME."images/home.gif' border=0' alt='Pradinis'></a></td>
    <td width='69' valign='top'><a href='".BASEDIR."news.php'><img src='".THEME."images/news.gif' border=0' alt='Naujienos'></td>
    <td width='69' valign='top'><a href='".FORUM."index.php'><img src='".THEME."images/forum.gif' border=0' alt='Diskusijos'></td>
    <td width='69' valign='top'><a href='".BASEDIR."photogallery.php'><img src='".THEME."images/gallery.gif' border=0' alt='Galerija'></td>
   <td width='69' valign='top'><a href='".BASEDIR."downloads.php'><img src='".THEME."images/downloads.gif' border=0' alt='Siuntiniai'></td>
    <td width='564' class='dark'><marquee>".parseubb(parsesmileys("&#200;ia yra b&#235;ganti eilut&#235;, kuri&#224; galima bet kada pa&#240;alinti arba pakeisti, skanaus ;)"))."</marquee></td>
   <td width='69' valign='top'><a href='".BASEDIR."contact.php'><img src='".THEME."images/contacts.gif' border=0' alt='Siuntiniai'></td>
   <td width='5'></td>
  </tr>
</table>\n";
   echo "<table width='100%' cellpadding='4' bgcolor='#F8F8F8' cellspacing='0' border='0'><tr>";
}

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

   echo "</tr>\n</table>\n";
   echo "<table cellSpacing='0' cellPadding='2' width='100%' border='0' background='".THEME."images/footer.gif' style='border-right: solid #b5b5b5 1px; border-left: solid #b5b5b5 1px;'>";
   echo "<td width='20%' height='20' class='white' align='left'>";
      if ($license == false) {
      echo "<b>Powered by <a href='http://php-fusion.co.uk' target='_blank'>PHP-Fusion</a></b>";
   }
   echo "</td>";
   echo "<td width='40%' class='white' align='center'>";
   echo "<b>".stripslashes($settings['footer'])."</b></td>";
   echo "<td width='26%' class='white' align='right'>";
   echo "<b>Design by <a href='mailto:Qrmiz@mail.lt'>Qrmiz</a></b>";
   echo "</td>";
   echo "<div align='center'></tr></table></td></tr></table></div>";
}

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

global $locale;

   echo "<table class='news-border' border='0' cellspacing='2' width='100%' cellpadding='1'><tr>";
   echo "<td height='23' class='table-cellpic'><center>$subject</center></td>";
   echo "</tr></table>";
   echo "<table width='100%' cellpadding='0' cellspacing='0' 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'>";
   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&amp;item_id=".$info['news_id']."'><img src='".THEME."images/printer.gif' alt='".$locale['045']."' style='vertical-align:middle;border:0px;'></a>";
   echo "</td></tr></table></td></tr></table>\n";
}

function render_article($subject, $article, $info) {

global $locale;

   echo "<table class='news-border' border='0' cellspacing='2' width='100%' cellpadding='1'><tr>";
   echo "<td height='23' class='table-cellpic'>$subject</td>";
   echo "</tr></table>";
   echo "<table width='100%' cellpadding='0' cellspacing='0' 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&amp;item_id=".$info['article_id']."'><img src='".THEME."images/printer.gif' alt='".$locale['045']."' style='vertical-align:middle;border:0px;'></a>";
   echo "</td></tr></table></td></tr></table>\n";
}

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

   echo "<table border='0' cellpadding='0' cellspacing='0' width='100%'>";
   echo "<tr><td width='100%'><table class='panel-border' cellSpacing='1' cellPadding='0' width='100%' border='0'>";
   echo "<tr><td width='100%' height='23' class='table-cellpic' align='left'>$title</td></tr>";
   echo "<tr><td class='main-body' width='100%' bgColor='#FFFFFF'>";
}

// Close table end
function closetable() {

   echo "</td></tr></table></td></tr></table>";
}

function openside($title) {

   echo "<table border='0' cellpadding='0' cellspacing='0' width='100%'>";
   echo "<tr><td width='100%'><table class='panel-border' cellSpacing='1' cellPadding='0' width='100%' border='0'>";
   echo "<tr><td width='100%' height='23' class='panel-cellpic' align='center'>$title</td></tr>";
   echo "<tr><td class='side-body' width='100%' bgColor='#FFFFFF'>";
}

function closeside() {

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

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

   $boxname = str_replace(" ", "", $title);
   $box_img = $open == "on" ? "off" : "on";
   echo "<table border='0' cellpadding='0' cellspacing='0' width='100%'>";
   echo "<tr><td width='100%'><table class='panel-border' cellSpacing='1' cellPadding='0' width='100%' border='0'>";
   echo "<tr><td width='100%' height='23' class='panel-cellpic' align='center'><img align='right' src='".THEME."images/panel_$box_img.gif' name='b_$boxname' alt='' onclick=\"javascript:flipBox('$boxname')\">$title</td></tr>";
   echo "<tr><td class='side-body' width='100%' bgColor='#FFFFFF'>";
   echo "<div id='box_$boxname'"; if($open=="off"){ echo "style='display:none'"; } echo ">\n";
}

function closesidex() {

   echo "</div></td></tr></table></td></tr></table>";
   tablebreak();
}

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




2007 Gru. 9 00:12:01          8 žinutė iš 12
Spausdinti pranešimą
sry kad floodinu plz padekit
2007 Gru. 9 02:12:57          9 žinutė iš 12
Spausdinti pranešimą
man zimiai grazesne user_info is football theme ar kaip ten...

2007 Gru. 9 02:12:45          10 žinutė iš 12
Spausdinti pranešimą
Nu bet kaip man ideti ta panele wietoj tos user_info kur yra wirsuje? :/
2007 Gru. 9 02:12:19          11 žinutė iš 12
Spausdinti pranešimą
tiesiog ta user info koda keiti i paneles ten echo""; arba su opentable();

2007 Gru. 9 03:12:25          12 žinutė iš 12
Spausdinti pranešimą
NU bandziau erora meta liežuvis
Peršokti į forumą: