Navigacija

Vartotojų tinkle

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

Registruoti nariai: 25,959
Naujausias narys: Simbijanas

Naujausi straipsniai

Paskutiniai nariai

Simbijanas 1 savaitė
Karinacraft 1 savaitė
Žmogus 5 savaitės
Bruksnys 9 savaitės
Darexs11 savaitės
Nepas12 savaitės
keistuole14 savaitės
Gizmis16 savaitės
Reikalas16 savaitės
Rytis25 savaitės
MaFetas29 savaitės
ozzWANTED31 savaitės
saulyzas33 savaitės
TOMIJUS34 savaitės
Jaunelis49 savaitės
lanis49 savaitės
And2s50 savaitės
Memento Mori55 savaitės
Quwqkibor57 savaitės
asirija61 savaitės

Informacija:


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

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

Nepas
2025 Bal. 9 17:04:13
drovus

Nepas
2025 Bal. 9 17:04:08
drovus

Gizmis
2025 Kov. 15 14:03:50
OMG, smagu matyt sita puslapi veikianti

ozzWANTED
2024 Lap. 30 15:11:14
Taip, vis dar up šypsosi

Š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
PHP: small tekstas
Forumas | PHP-Fusion, WordPress, Shopify, PHP ir MySQL (PROGRAMAVIMAS) | Kiti PHP, HTML, MySQL klausimai

Autorius: munte1 Peržiūrų: 2885      Spausdinti temą
2010 Sau. 6 17:01:15          1 žinutė iš 12
Spausdinti pranešimą
kaip padaryti ant user last senn paneles kad butu sumazintos raides?
2010 Sau. 6 17:01:10          2 žinutė iš 12
Spausdinti pranešimą
<small>tekstas</small>



2010 Sau. 6 17:01:34          3 žinutė iš 12
Spausdinti pranešimą
Corby parašė:
<small>tekstas</small>



o kur iterpti ta koda?nes kai bandziau man issikraipo visas puslapis.tai yra nebelikoa jokio tekto puslapyje
2010 Sau. 6 17:01:24          4 žinutė iš 12
Spausdinti pranešimą
Duok savo user last seen panelės kodą. Ir nepamiršk dėdamas čia paspausi code ir ten įrašyti.
2010 Sau. 6 17:01:07          5 žinutė iš 12
Spausdinti pranešimą
<?php
/*-------------------------------------------------------+
| PHP-Fusion Content Management System
| Copyright (C) 2002 - 2008 Nick Jones
| http://www.php-fusion.co.uk/
+--------------------------------------------------------+
| This program is released as free software under the
| Affero GPL license. You can redistribute it and/or
| modify it under the terms of this license which you
| can read by viewing the included agpl.txt or online
| at www.gnu.org/licenses/agpl.html. Removal of this
| copyright header is strictly prohibited without
| written permission from the original author(s).
+--------------------------------------------------------*/
if (!defined("IN_FUSION")) { die("Access Denied"); }

if (file_exists(INFUSIONS."last_seen_users_panel/locale/".$settings['locale'].".php")) {
   include INFUSIONS."last_seen_users_panel/locale/".$settings['locale'].".php";
} else {
   include INFUSIONS."last_seen_users_panel/locale/English.php";
}

openside($locale['lsup000']);
$result = dbquery("SELECT * FROM ".DB_USERS." WHERE user_lastvisit>'0' AND user_status='0' ORDER BY user_lastvisit DESC LIMIT 0,5");
echo "<table cellpadding='0' cellspacing='0' width='100%'>\n";
if (dbrows($result) != 0) {
   while ($data = dbarray($result)) {
      $lastseen = time() - $data['user_lastvisit'];
      $iW = sprintf("%2d", floor($lastseen / 604800));
      $iD = sprintf("%2d", floor($lastseen / (60 * 60 * 24)));
      $iH = sprintf("%02d", floor((($lastseen % 604800) % 86400) / 3600));
      $iM = sprintf("%02d", floor(((($lastseen % 604800) % 86400) % 3600) / 60));
      $iS = sprintf("%02d", floor((((($lastseen % 604800) % 86400) % 3600) % 60)));
      if ($lastseen < 60){
         $lastseen = $locale['lsup001'];
      } elseif ($lastseen < 360){
         $lastseen = $locale['lsup002'];
      } elseif ($iW > 0){
         if ($iW == 1) {
            $text = $locale['lsup003'];
         } else {
            $text = $locale['lsup004'];
         }
         $lastseen = $iW." ".$text;
      } elseif ($iD > 0){
         if ($iD == 1) {
            $text = $locale['lsup005'];
         } else {
            $text = $locale['lsup006'];
         }
         $lastseen = $iD." ".$text;
      } else {
         $lastseen = $iH.":".$iM.":".$iS;
      }
   echo "<tr>\n<td class='side' align='left'>".THEME_BULLET."\n";
      echo "<a href='".BASEDIR."profile.php?lookup=".$data['user_id']."' title='".$data['user_name']."' class='side'>\n";
      echo trimlink($data['user_name'], 15)."</a></td><td class='side' align='right'>".$lastseen."</td>\n</tr>\n";
}
}
echo "</table>";
closeside();
?>




2010 Sau. 6 17:01:03          6 žinutė iš 12
Spausdinti pranešimą
Kurią tu vietą nori,kad tau būtų sumažinta?
2010 Sau. 6 17:01:56          7 žinutė iš 12
Spausdinti pranešimą
ten kur rodo nicka ir salimais laika pries kiek laiko ar dienu buvo prisijunges
2010 Sau. 6 17:01:03          8 žinutė iš 12
Spausdinti pranešimą
<?php
/*-------------------------------------------------------+
| PHP-Fusion Content Management System
| Copyright (C) 2002 - 2008 Nick Jones
| http://www.php-fusion.co.uk/
+--------------------------------------------------------+
| This program is released as free software under the
| Affero GPL license. You can redistribute it and/or
| modify it under the terms of this license which you
| can read by viewing the included agpl.txt or online
| at www.gnu.org/licenses/agpl.html. Removal of this
| copyright header is strictly prohibited without
| written permission from the original author(s).
+--------------------------------------------------------*/
if (!defined("IN_FUSION")) { die("Access Denied"); }

if (file_exists(INFUSIONS."last_seen_users_panel/locale/".$settings['locale'].".php")) {
   include INFUSIONS."last_seen_users_panel/locale/".$settings['locale'].".php";
} else {
   include INFUSIONS."last_seen_users_panel/locale/English.php";
}

openside($locale['lsup000']);
$result = dbquery("SELECT * FROM ".DB_USERS." WHERE user_lastvisit>'0' AND user_status='0' ORDER BY user_lastvisit DESC LIMIT 0,5");
echo "<table cellpadding='0' cellspacing='0' width='100%'>\n";
if (dbrows($result) != 0) {
   while ($data = dbarray($result)) {
      $lastseen = time() - $data['user_lastvisit'];
      $iW = sprintf("%2d", floor($lastseen / 604800));
      $iD = sprintf("%2d", floor($lastseen / (60 * 60 * 24)));
      $iH = sprintf("%02d", floor((($lastseen % 604800) % 86400) / 3600));
      $iM = sprintf("%02d", floor(((($lastseen % 604800) % 86400) % 3600) / 60));
      $iS = sprintf("%02d", floor((((($lastseen % 604800) % 86400) % 3600) % 60)));
      if ($lastseen < 60){
         $lastseen = $locale['lsup001'];
      } elseif ($lastseen < 360){
         $lastseen = $locale['lsup002'];
      } elseif ($iW > 0){
         if ($iW == 1) {
            $text = $locale['lsup003'];
         } else {
            $text = $locale['lsup004'];
         }
         $lastseen = $iW." ".$text;
      } elseif ($iD > 0){
         if ($iD == 1) {
            $text = $locale['lsup005'];
         } else {
            $text = $locale['lsup006'];
         }
         $lastseen = $iD." ".$text;
      } else {
         $lastseen = $iH.":".$iM.":".$iS;
      }
   echo "<tr>\n<td class='side' align='left'>".THEME_BULLET."\n";
      echo "<small><a href='".BASEDIR."profile.php?lookup=".$data['user_id']."' title='".$data['user_name']."' class='side'></small>\n";
      echo trimlink($data['user_name'], 15)."</a></td><td class='side' align='right'><small>".$lastseen."</small></td>\n</tr>\n";
}
}
echo "</table>";
closeside();
?>





2010 Sau. 6 17:01:56          9 žinutė iš 12
Spausdinti pranešimą
dekuj.geriau nei buvo, bet nickai didesni negu kur laikas rasosi.ar cia taip turi buti ar eina padaryt vienodus dydzius?
2010 Sau. 6 17:01:45          10 žinutė iš 12
Spausdinti pranešimą
<?php
/*-------------------------------------------------------+
| PHP-Fusion Content Management System
| Copyright (C) 2002 - 2008 Nick Jones
| http://www.php-fusion.co.uk/
+--------------------------------------------------------+
| This program is released as free software under the
| Affero GPL license. You can redistribute it and/or
| modify it under the terms of this license which you
| can read by viewing the included agpl.txt or online
| at www.gnu.org/licenses/agpl.html. Removal of this
| copyright header is strictly prohibited without
| written permission from the original author(s).
+--------------------------------------------------------*/
if (!defined("IN_FUSION")) { die("Access Denied"); }

if (file_exists(INFUSIONS."last_seen_users_panel/locale/".$settings['locale'].".php")) {
   include INFUSIONS."last_seen_users_panel/locale/".$settings['locale'].".php";
} else {
   include INFUSIONS."last_seen_users_panel/locale/English.php";
}

openside($locale['lsup000']);
$result = dbquery("SELECT * FROM ".DB_USERS." WHERE user_lastvisit>'0' AND user_status='0' ORDER BY user_lastvisit DESC LIMIT 0,5");
echo "<table cellpadding='0' cellspacing='0' width='100%'>\n";
if (dbrows($result) != 0) {
   while ($data = dbarray($result)) {
      $lastseen = time() - $data['user_lastvisit'];
      $iW = sprintf("%2d", floor($lastseen / 604800));
      $iD = sprintf("%2d", floor($lastseen / (60 * 60 * 24)));
      $iH = sprintf("%02d", floor((($lastseen % 604800) % 86400) / 3600));
      $iM = sprintf("%02d", floor(((($lastseen % 604800) % 86400) % 3600) / 60));
      $iS = sprintf("%02d", floor((((($lastseen % 604800) % 86400) % 3600) % 60)));
      if ($lastseen < 60){
         $lastseen = $locale['lsup001'];
      } elseif ($lastseen < 360){
         $lastseen = $locale['lsup002'];
      } elseif ($iW > 0){
         if ($iW == 1) {
            $text = $locale['lsup003'];
         } else {
            $text = $locale['lsup004'];
         }
         $lastseen = $iW." ".$text;
      } elseif ($iD > 0){
         if ($iD == 1) {
            $text = $locale['lsup005'];
         } else {
            $text = $locale['lsup006'];
         }
         $lastseen = $iD." ".$text;
      } else {
         $lastseen = $iH.":".$iM.":".$iS;
      }
   echo "<tr>\n<td class='side' align='left'>".THEME_BULLET."\n";
      echo "<small><a href='".BASEDIR."profile.php?lookup=".$data['user_id']."' title='".$data['user_name']."' class='side'>\n";
      echo trimlink($data['user_name'], 15)."</a></small></td><td class='side' align='right'><small>".$lastseen."</small></td>\n</tr>\n";
}
}
echo "</table>";
closeside();
?>





2010 Sau. 6 17:01:03          11 žinutė iš 12
Spausdinti pranešimą
DIDELIS DEKUJ
Corby parašė:
<?php
/*-------------------------------------------------------+
| PHP-Fusion Content Management System
| Copyright (C) 2002 - 2008 Nick Jones
| http://www.php-fusion.co.uk/
+--------------------------------------------------------+
| This program is released as free software under the
| Affero GPL license. You can redistribute it and/or
| modify it under the terms of this license which you
| can read by viewing the included agpl.txt or online
| at www.gnu.org/licenses/agpl.html. Removal of this
| copyright header is strictly prohibited without
| written permission from the original author(s).
+--------------------------------------------------------*/
if (!defined("IN_FUSION")) { die("Access Denied"); }

if (file_exists(INFUSIONS."last_seen_users_panel/locale/".$settings['locale'].".php")) {
   include INFUSIONS."last_seen_users_panel/locale/".$settings['locale'].".php";
} else {
   include INFUSIONS."last_seen_users_panel/locale/English.php";
}

openside($locale['lsup000']);
$result = dbquery("SELECT * FROM ".DB_USERS." WHERE user_lastvisit>'0' AND user_status='0' ORDER BY user_lastvisit DESC LIMIT 0,5");
echo "<table cellpadding='0' cellspacing='0' width='100%'>\n";
if (dbrows($result) != 0) {
   while ($data = dbarray($result)) {
      $lastseen = time() - $data['user_lastvisit'];
      $iW = sprintf("%2d", floor($lastseen / 604800));
      $iD = sprintf("%2d", floor($lastseen / (60 * 60 * 24)));
      $iH = sprintf("%02d", floor((($lastseen % 604800) % 86400) / 3600));
      $iM = sprintf("%02d", floor(((($lastseen % 604800) % 86400) % 3600) / 60));
      $iS = sprintf("%02d", floor((((($lastseen % 604800) % 86400) % 3600) % 60)));
      if ($lastseen < 60){
         $lastseen = $locale['lsup001'];
      } elseif ($lastseen < 360){
         $lastseen = $locale['lsup002'];
      } elseif ($iW > 0){
         if ($iW == 1) {
            $text = $locale['lsup003'];
         } else {
            $text = $locale['lsup004'];
         }
         $lastseen = $iW." ".$text;
      } elseif ($iD > 0){
         if ($iD == 1) {
            $text = $locale['lsup005'];
         } else {
            $text = $locale['lsup006'];
         }
         $lastseen = $iD." ".$text;
      } else {
         $lastseen = $iH.":".$iM.":".$iS;
      }
   echo "<tr>\n<td class='side' align='left'>".THEME_BULLET."\n";
      echo "<small><a href='".BASEDIR."profile.php?lookup=".$data['user_id']."' title='".$data['user_name']."' class='side'>\n";
      echo trimlink($data['user_name'], 15)."</a></small></td><td class='side' align='right'><small>".$lastseen."</small></td>\n</tr>\n";
}
}
echo "</table>";
closeside();
?>




2010 Sau. 6 17:01:12          12 žinutė iš 12
Spausdinti pranešimą
Įvertink 10 ir parašyk komentarą akinanti šypsen
Peršokti į forumą: