Navigacija

Vartotojų tinkle

Prisijungusių svečių: 805
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.145.8.139
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
Kodas
Forumas | PHP-Fusion, WordPress, Shopify, PHP ir MySQL (PROGRAMAVIMAS) | Žaliems

Autorius: legionas Peržiūrų: 2552      Spausdinti temą
2010 Kov. 27 17:03:36          1 žinutė iš 8
Spausdinti pranešimą
<?php

/*-------------------------------------------------------+
| PHP-Fusion Content Management System
| Copyright © 2002 - 2008 Nick Jones
| http://www.php-fusion.co.uk/
+--------------------------------------------------------+
| Filename: online_users_panel.php
| Author: ptown67
| Website: http://pennerprofi.bplaced.net
+--------------------------------------------------------+
| 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"); }

add_to_head("
<link rel='stylesheet' type='text/css' href='".INFUSIONS."online_users_panel/tooltip.css' />
<script src='".INFUSIONS."online_users_panel/jquery.tooltip.pack.js' type='text/javascript'></script>
<script type='text/javascript'>
$(function() {
$('#boxover a').tooltip({
track: true,
delay: 0,
showURL: false,
showBody: ' - ',
fade: 250
});
});
</script>
");

$result = dbquery("SELECT * FROM ".DB_ONLINE." WHERE online_user=".($userdata['user_level'] != 0 ? "'".$userdata['user_id']."'" : "'0' AND online_ip='".USER_IP."'"));
if (dbrows($result)) {
$result = dbquery("UPDATE ".DB_ONLINE." SET online_lastactive='".time()."' WHERE online_user=".($userdata['user_level'] != 0 ? "'".$userdata['user_id']."'" : "'0' AND online_ip='".USER_IP."'")."");
} else {
$result = dbquery("INSERT INTO ".DB_ONLINE." (online_user, online_ip, online_lastactive) VALUES ('".($userdata['user_level'] != 0 ? $userdata['user_id'] : "0")."', '".USER_IP."', '".time()."')");
}
$result = dbquery("DELETE FROM ".DB_ONLINE." WHERE online_lastactive<".(time()-600)."");

openside($locale['global_010']);
$result = dbquery(
"SELECT ton.*, tu.user_id,user_name FROM ".DB_ONLINE." ton
LEFT JOIN ".DB_USERS." tu ON ton.online_user=tu.user_id"
);
$guests = 0; $members = array();
while ($data = dbarray($result)) {
if ($data['online_user'] == "0") {
$guests++;
} else {
array_push($members, array($data['user_id'], $data['user_name']));
}
}

echo THEME_BULLET." ".$locale['global_011'].": ".$guests."<br />\n";
echo THEME_BULLET." ".$locale['global_012'].": ".count($members)."<br />\n";
echo "<hr />";

$result = dbquery("SELECT * FROM ".$db_prefix."users ORDER BY user_lastvisit DESC LIMIT 0,10");

echo "<div id='boxover'><table width='100%' cellpadding='0' cellspacing='0'>";
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 = "<img src='".INFUSIONS."online_users_panel/images/online.png' border='0' alt='Online' />";
} elseif ($lastseen < 600){
$lastseen = "<img src='".INFUSIONS."online_users_panel/images/10min.png' border='0' alt='10Min' />";
} else {
$lastseen = "<img src='".INFUSIONS."online_users_panel/images/offline.png' border='0' alt='Offline' />";
}

if ($data['user_level'] == 103) $userlevel = "Administratorius";
if ($data['user_level'] == 102) $userlevel = "Super Administratorius";
if ($data['user_level'] == 101) $userlevel = "Narys";
echo "<tr>\n<td class='side-small' align='left'><a href='".BASEDIR."profile.php?lookup=".$data['user_id']."' title='".trimlink($data['user_name'],30)." [".$userlevel."] - Prisiregistraves: ".showdate("longdate", $data['user_joined'])." - Paskutinis apsilankymas: ".showdate("longdate", $data['user_lastvisit'])."' class='side'>";
echo trimlink($data['user_name'],15)."</a></td><td class='side-small' align='right'>".$lastseen."</td></tr>";
}
}
echo "</table></div>";

echo "<hr />\n".THEME_BULLET." ".$locale['global_014'].": ".number_format(dbcount("(user_id)", DB_USERS, "user_status<='1'"))."<br />\n";
if (iADMIN && checkrights("M") && $settings['admin_activation'] == "1") {
echo THEME_BULLET." <a href='".ADMIN."members.php".$aidlink."&amp;status=2' class='side'>".$locale['global_015']."</a>";
echo ": ".dbcount("(user_id)", DB_USERS, "user_status='2'")."<br />\n";
}
$data = dbarray(dbquery("SELECT user_id,user_name FROM ".DB_USERS." WHERE user_status='0' ORDER BY user_joined DESC LIMIT 0,1"));
echo THEME_BULLET." ".$locale['global_016'].": <a href='".BASEDIR."profile.php?lookup=".$data['user_id']."' class='side'>".trimlink($data['user_name'],15)."</a>\n";
closeside();
?>
............................................................................................................................
Kur reikia iterpti
ši koda kad
if (checkvip($data['user_vip'])) echo "<img src='".IMAGES."vip.png' alt='VIP Narys' title='VIP Narys'>";
ir paveiksliuką kad rodytų vip ženkliuka

2010 Kov. 27 17:03:26          2 žinutė iš 8
Spausdinti pranešimą
Išjunk smailus pirmiausiai
2010 Kov. 27 17:03:21          3 žinutė iš 8
Spausdinti pranešimą
Išjungiau galvoja akinanti šypsen
akinanti šypsen akinanti šypsen akinanti šypsen akinanti šypsen
2010 Kov. 27 17:03:31          4 žinutė iš 8
Spausdinti pranešimą
<?php

/*-------------------------------------------------------+
| PHP-Fusion Content Management System
| Copyright © 2002 - 2008 Nick Jones
| http://www.php-fusion.co.uk/
+--------------------------------------------------------+
| Filename: online_users_panel.php
| Author: ptown67
| Website: http://pennerprofi.bplaced.net
+--------------------------------------------------------+
| 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"); }

add_to_head("
<link rel='stylesheet' type='text/css' href='".INFUSIONS."online_users_panel/tooltip.css' />
<script src='".INFUSIONS."online_users_panel/jquery.tooltip.pack.js' type='text/javascript'></script>
<script type='text/javascript'>
$(function() {
$('#boxover a').tooltip({
track: true,
delay: 0,
showURL: false,
showBody: ' - ',
fade: 250
});
});
</script>
");

$result = dbquery("SELECT * FROM ".DB_ONLINE." WHERE online_user=".($userdata['user_level'] != 0 ? "'".$userdata['user_id']."'" : "'0' AND online_ip='".USER_IP."'"));
if (dbrows($result)) {
$result = dbquery("UPDATE ".DB_ONLINE." SET online_lastactive='".time()."' WHERE online_user=".($userdata['user_level'] != 0 ? "'".$userdata['user_id']."'" : "'0' AND online_ip='".USER_IP."'")."");
} else {
$result = dbquery("INSERT INTO ".DB_ONLINE." (online_user, online_ip, online_lastactive) VALUES ('".($userdata['user_level'] != 0 ? $userdata['user_id'] : "0")."', '".USER_IP."', '".time()."')");
}
$result = dbquery("DELETE FROM ".DB_ONLINE." WHERE online_lastactive<".(time()-600)."");

openside($locale['global_010']);
$result = dbquery(
"SELECT ton.*, tu.user_id,user_name FROM ".DB_ONLINE." ton
LEFT JOIN ".DB_USERS." tu ON ton.online_user=tu.user_id"
);
$guests = 0; $members = array();
while ($data = dbarray($result)) {
if ($data['online_user'] == "0") {
$guests++;
} else {
array_push($members, array($data['user_id'], $data['user_name']));
}
}

echo THEME_BULLET." ".$locale['global_011'].": ".$guests."<br />\n";
echo THEME_BULLET." ".$locale['global_012'].": ".count($members)."<br />\n";
echo "<hr />";

$result = dbquery("SELECT * FROM ".$db_prefix."users ORDER BY user_lastvisit DESC LIMIT 0,10");

echo "<div id='boxover'><table width='100%' cellpadding='0' cellspacing='0'>";
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 = "<img src='".INFUSIONS."online_users_panel/images/online.png' border='0' alt='Online' />";
} elseif ($lastseen < 600){
$lastseen = "<img src='".INFUSIONS."online_users_panel/images/10min.png' border='0' alt='10Min' />";
} else {
$lastseen = "<img src='".INFUSIONS."online_users_panel/images/offline.png' border='0' alt='Offline' />";
}

if ($data['user_level'] == 103) $userlevel = "Administratorius";
if ($data['user_level'] == 102) $userlevel = "Super Administratorius";
if ($data['user_level'] == 101) $userlevel = "Narys";
if (checkvip($data['user_vip'])) echo "<img src='".IMAGES."vip.png' alt='VIP Narys' title='VIP Narys'>"
echo "<tr>\n<td class='side-small' align='left'><a href='".BASEDIR."profile.php?lookup=".$data['user_id']."' title='".trimlink($data['user_name'],30)." [".$userlevel."] - Prisiregistraves: ".showdate("longdate", $data['user_joined'])." - Paskutinis apsilankymas: ".showdate("longdate", $data['user_lastvisit'])."' class='side'>";
echo trimlink($data['user_name'],15)."</a></td><td class='side-small' align='right'>".$lastseen."</td></tr>";
}
}
echo "</table></div>";

echo "<hr />\n".THEME_BULLET." ".$locale['global_014'].": ".number_format(dbcount("(user_id)", DB_USERS, "user_status<='1'"))."<br />\n";
if (iADMIN && checkrights("M") && $settings['admin_activation'] == "1") {
echo THEME_BULLET." <a href='".ADMIN."members.php".$aidlink."&amp;status=2' class='side'>".$locale['global_015']."</a>";
echo ": ".dbcount("(user_id)", DB_USERS, "user_status='2'")."<br />\n";
}
$data = dbarray(dbquery("SELECT user_id,user_name FROM ".DB_USERS." WHERE user_status='0' ORDER BY user_joined DESC LIMIT 0,1"));
echo THEME_BULLET." ".$locale['global_016'].": <a href='".BASEDIR."profile.php?lookup=".$data['user_id']."' class='side'>".trimlink($data['user_name'],15)."</a>\n";
closeside();
?>




Neesu šimtai procentų įsitikinęs kad veiks,bet pabandyk.

http://www.dviratis.ipp.lt
Redagavo Waldoss 2010 Kov. 27 17:03:24
2010 Kov. 27 17:03:29          5 žinutė iš 8
Spausdinti pranešimą
Neveikia blogaiblogaiblogaiblogaiblogaiblogaiblogaiblogaiblogaiblogaiblogaiblogaiblogai
2010 Kov. 28 08:03:11          6 žinutė iš 8
Spausdinti pranešimą
šitas kodas kito paneles pabandikite gal išeis su tuo:
<?php

/*-------------------------------------------------------+
| PHP-Fusion Content Management System
| Copyright © 2002 - 2008 Nick Jones
| http://www.php-fusion.co.uk/
+--------------------------------------------------------+
| Filename: online_users_panel.php
| Author: ptown67
| Website: http://pennerprofi.bplaced.net
+--------------------------------------------------------+
| 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"); }

add_to_head("
<link rel='stylesheet' type='text/css' href='".INFUSIONS."online_users_panel/tooltip.css' />
<script src='".INFUSIONS."online_users_panel/jquery.tooltip.pack.js' type='text/javascript'></script>
<script type='text/javascript'>
$(function() {
$('#boxover a').tooltip({
track: true,
delay: 0,
showURL: false,
showBody: ' - ',
fade: 250
});
});
</script>
");

$result = dbquery("SELECT * FROM ".DB_ONLINE." WHERE online_user=".($userdata['user_level'] != 0 ? "'".$userdata['user_id']."'" : "'0' AND online_ip='".USER_IP."'"));
if (dbrows($result)) {
$result = dbquery("UPDATE ".DB_ONLINE." SET online_lastactive='".time()."' WHERE online_user=".($userdata['user_level'] != 0 ? "'".$userdata['user_id']."'" : "'0' AND online_ip='".USER_IP."'")."");
} else {
$result = dbquery("INSERT INTO ".DB_ONLINE." (online_user, online_ip, online_lastactive) VALUES ('".($userdata['user_level'] != 0 ? $userdata['user_id'] : "0")."', '".USER_IP."', '".time()."')");
}
$result = dbquery("DELETE FROM ".DB_ONLINE." WHERE online_lastactive<".(time()-600)."");

openside($locale['global_010']);
$result = dbquery(
"SELECT ton.*, tu.user_id,user_name FROM ".DB_ONLINE." ton
LEFT JOIN ".DB_USERS." tu ON ton.online_user=tu.user_id"
);
$guests = 0; $members = array();
while ($data = dbarray($result)) {
if ($data['online_user'] == "0") {
$guests++;
} else {
array_push($members, array($data['user_id'], $data['user_name']));
}
}

echo THEME_BULLET." ".$locale['global_011'].": ".$guests."<br />\n";
echo THEME_BULLET." ".$locale['global_012'].": ".count($members)."<br />\n";
echo "<hr />";

$result = dbquery("SELECT * FROM ".$db_prefix."users ORDER BY user_lastvisit DESC LIMIT 0,10");

echo "<div id='boxover'><table width='100%' cellpadding='0' cellspacing='0'>";
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 = "<img src='".INFUSIONS."online_users_panel/images/online.png' border='0' alt='Online' />";
} elseif ($lastseen < 600){
$lastseen = "<img src='".INFUSIONS."online_users_panel/images/10min.png' border='0' alt='10Min' />";
} else if (checkvip($data['user_vip'])) echo "<img src='".IMAGES."vip.png' alt='VIP Narys' title='VIP Narys'>" {
$lastseen = "<img src='".INFUSIONS."online_users_panel/images/offline.png' border='0' alt='Offline' />";
}

if ($data['user_level'] == 103) $userlevel = "Administratorius";
if ($data['user_level'] == 102) $userlevel = "Super Administratorius";
if ($data['user_level'] == 101) $userlevel = "Narys";
echo "<tr>\n<td class='side-small' align='left'><a href='".BASEDIR."profile.php?lookup=".$data['user_id']."' title='".trimlink($data['user_name'],30)." [".$userlevel."] - Prisiregistraves: ".showdate("longdate", $data['user_joined'])." - Paskutinis apsilankymas: ".showdate("longdate", $data['user_lastvisit'])."' class='side'>";
echo trimlink($data['user_name'],15)."</a></td><td class='side-small' align='right'>".$lastseen."</td></tr>";
}
}
echo "</table></div>";

echo "<hr />\n".THEME_BULLET." ".$locale['global_014'].": ".number_format(dbcount("(user_id)", DB_USERS, "user_status<='1'"))."<br />\n";
if (iADMIN && checkrights("M") && $settings['admin_activation'] == "1") {
echo THEME_BULLET." <a href='".ADMIN."members.php".$aidlink."&amp;status=2' class='side'>".$locale['global_015']."</a>";
echo ": ".dbcount("(user_id)", DB_USERS, "user_status='2'")."<br />\n";
}
$data = dbarray(dbquery("SELECT user_id,user_name FROM ".DB_USERS." WHERE user_status='0' ORDER BY user_joined DESC LIMIT 0,1"));
echo THEME_BULLET." ".$locale['global_016'].": <a href='".BASEDIR."profile.php?lookup=".$data['user_id']."' class='side'>".trimlink($data['user_name'],15)."</a>\n";
closeside();
?>
2010 Kov. 28 09:03:45          7 žinutė iš 8
Spausdinti pranešimą
tu greiciau bana gausi uz taisykliu pazeidimus ir savo kvailus vaidinimus negu pagalbos sulauksi
2010 Kov. 28 09:03:40          8 žinutė iš 8
Spausdinti pranešimą
chipass parašė:
tu greiciau bana gausi uz taisykliu pazeidimus ir savo kvailus vaidinimus negu pagalbos sulauksi

Negasdink
gausiu.tai gausiu ir ne be reikalo akinanti šypsen galvoja

Peršokti į forumą: