MaFetas
Administratorius
Ekspertas
Pranešimai: 3453
Įstojęs: 2005 Lie. 16 13:07:41
|
Naudok tokią funkcija:
$grupe = 1;
if (checkgroup($gupe)) {
cia eina vip paveiksliukas
}
0
Adminas - ban'o laisvė
www.KIETEKAS.com |
aiwasuper
Narys
Margas
Pranešimai: 97
Įstojęs: 2009 Gru. 24 14:12:37
|
labai diekui gal gali pasakyt kur ja ideti?
<?php
if (!defined("IN_FUSION")) { header("Location: ../../index.php"); exit; }
if ($settings['maintenance'] != "1") {
$cond = ($userdata['user_level'] != 0 ? "'".$userdata['user_id']."'" : "'0' AND online_ip='".USER_IP."'");
$result = dbquery("SELECT * FROM ".$db_prefix."online WHERE online_user=".$cond."");
if (dbrows($result) != 0) {
$result = dbquery("UPDATE ".$db_prefix."online SET online_lastactive='".time()."' WHERE online_user=".$cond."");
} else {
$name = ($userdata['user_level'] != 0 ? $userdata['user_id'] : "0");
$result = dbquery("INSERT INTO ".$db_prefix."online (online_user, online_ip, online_lastactive) VALUES ('$name', '".USER_IP."', '".time()."')");
}
$result = dbquery("DELETE FROM ".$db_prefix."online WHERE online_lastactive<".(time()-300)."");
openside($locale['010']);
$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; $members = array();
while ($data = dbarray($result)) {
if ($data['online_user'] == "0") {
$guests++;
} else {
array_push($members, array($data['user_id'], $data['user_name']));
}
}
echo "<img src='".THEME."images/bullet.gif' alt=''> ".$locale['011'].$guests."<br>\n";
if (count($members) > 0) {
$i = 1;
echo "<img src='".THEME."images/bullet.gif' alt=''> ".$locale['012'];
while (list($key, $member) = each($members)) {
echo "<a href='".BASEDIR."profile.php?lookup=".$member[0]."' class='side'>".$member[1]."</a>";
if ($i != count($members)) echo ", ";
$i++;
}
$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);
echo "<br><br><img src='".THEME."images/bullet.gif' alt=''>Nauju; nariu; vakar: ".dbcount("(user_id)", "users", "user_joined >='".$ganfang."' AND user_joined <='".$gende."'")."<br>";
echo "<img src='".THEME."images/bullet.gif' alt=''>Nauju; nariu; siandien: ".dbcount("(user_id)", "users", "user_joined >='".$hanfang."' AND user_joined <='".$hende."'")."\n";
} else {
echo $locale['013']."<be>\n";
}
echo "<br><img src='".THEME."images/bullet.gif' alt=''> ".$locale['014'].number_format(dbcount("(user_id)", "users", "user_status<='1'"))."<br>\n";
if ($settings['admin_activation'] == "1") echo "<img src='".THEME."images/bullet.gif' alt=''> ".$locale['015'].dbcount("(user_id)", "users", "user_status='2'")."<br>\n";
$data = dbarray(dbquery("SELECT user_id,user_name FROM ".$db_prefix."users WHERE user_status='0' ORDER BY user_joined DESC LIMIT 0,1"));
echo "<img src='".THEME."images/bullet.gif' alt=''> ".$locale['016']."<a href='".BASEDIR."profile.php?lookup=".$data['user_id']."' class='side'>".$data['user_name']."</a>\n";
echo "<br><br>";
$result = dbquery("SELECT * FROM ".$db_prefix."users WHERE user_lastvisit>'0' AND user_status='0' ORDER BY user_lastvisit DESC LIMIT 0,12");
echo "<table cellpadding='0' cellspacing='0' width='100%'>";
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 < 300){
$lastseen= Prisijunges;
} elseif ($lastseen < 360){
$lastseen="< 5min";
} elseif ($iW > 0){
if ($iW == 1) { $text = Savaitë; } else { $text = Savaitës; }
$lastseen = $iW." ".$text;
} elseif ($iD > 0){
if ($iD == 1) { $text = Diena; } else { $text = Dienos; }
$lastseen = $iD." ".$text;
} else {
$lastseen = $iH.":".$iM.":".$iS;
}
echo "<tr>\n<td class='side-small' align='left'><img src='".THEME."images/bullet.gif' alt=''>\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-small' align='right'>".$lastseen."</td>\n</tr>\n";
}
}
echo "</table>";
closeside();
}
?>
0
www.Telikas.v4.lt www.Mobshop.lt |
MaFetas
Administratorius
Ekspertas
Pranešimai: 3453
Įstojęs: 2005 Lie. 16 13:07:41
|
nu tai dėkis ten kur nori kad ta paveiksliuka rodytu Jau ir taip pasakiau koda negi nesugebesi jo idet? 0
Adminas - ban'o laisvė
www.KIETEKAS.com |
aiwasuper
Narys
Margas
Pranešimai: 97
Įstojęs: 2009 Gru. 24 14:12:37
|
na su tais kodu idejimais man sunkei idedu neberodo paneles 0
www.Telikas.v4.lt www.Mobshop.lt |
MaFetas
Administratorius
Ekspertas
Pranešimai: 3453
Įstojęs: 2005 Lie. 16 13:07:41
|
Na tai pasimokink kas iš to kad kiti už tave viską padarys visada taip nebus 0
Adminas - ban'o laisvė
www.KIETEKAS.com |
aiwasuper
Narys
Margas
Pranešimai: 97
Įstojęs: 2009 Gru. 24 14:12:37
|
na as nemegejas visko prasyt bet su situo dalyku nesigauna idejau bet prie kiekvieno rodo hmm
pameginau sitaip ideti bet nieko neberodo:
echo "<img src='".THEME."images/vips.gif' alt=''>".$grupe = 1.if (checkgroup($gupe))."<br>\n"; 0
www.Telikas.v4.lt www.Mobshop.lt
Redagavo aiwasuper 2011 Kov. 5 15:03:04 |
aiwasuper
Narys
Margas
Pranešimai: 97
Įstojęs: 2009 Gru. 24 14:12:37
|
negi negalit man padeti as neisgalvoju 0
www.Telikas.v4.lt www.Mobshop.lt |
aiwasuper
Narys
Margas
Pranešimai: 97
Įstojęs: 2009 Gru. 24 14:12:37
|
sita koda idedu bet niekas nesigauna
echo "<a href='".BASEDIR."profile.php?lookup=".$member[0]."' class='side'>".$member[1]."</a>";
if ($i != count($members)) { 0
www.Telikas.v4.lt www.Mobshop.lt |
aiwasuper
Narys
Margas
Pranešimai: 97
Įstojęs: 2009 Gru. 24 14:12:37
|
ka norit ta sakykit isbandziau visus imanomus varijantus niekas nesigauna 0
www.Telikas.v4.lt www.Mobshop.lt |
aiwasuper
Narys
Margas
Pranešimai: 97
Įstojęs: 2009 Gru. 24 14:12:37
|
kas pades man ta +10 iskarto 0
www.Telikas.v4.lt www.Mobshop.lt |
Kižas
Narys
Kapitonas
Pranešimai: 509
Įstojęs: 2009 Lie. 24 17:07:10
|
Štai kodas, kuris rodo prie nario VIP ženkliuką tačiau čia v6 versija, bet nieko tokio pagal tai persidarysi ant savo v7
<?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
+----------------------------------------------------+
| Shoutbox v6.01.4.2r - Modded by Shedrock 2006
+----------------------------------------------------*/
if (!defined("IN_FUSION")) { header("Location: ../../index.php"); exit; }
if (file_exists(INFUSIONS."shoutbox_panel/locale/".$settings['locale'].".php")) {
include INFUSIONS."shoutbox_panel/locale/".$settings['locale'].".php";
} else {
include INFUSIONS."shoutbox_panel/locale/English.php";
}
require_once INFUSIONS."shoutbox_panel/parser.php";
echo "<script type='text/javascript' src='".INFUSIONS."shoutbox_panel/functions.js'></script>";
echo "<link rel='stylesheet' href='".INFUSIONS."shoutbox_panel/tooltip_style.css' type='text/css'>";
openside($locale['120']);
/**
* Set minimum and maximum shouts you want displayed on each level.
*/
$min=8; //minimum visible shouts in first level.
$max=5; //maximum number of shouts in second level (hidden).
if (checkrights("S") && $action == "delete" && isNum($shout_id)) {
$result = dbquery("DELETE FROM ".DB_PREFIX."shoutbox WHERE shout_id='$shout_id'");
}
if (iMEMBER || $settings['guestposts'] == "1") {
if (isset($_POST['post_shout'])) {
$flood = false;
if (iMEMBER) {
$shout_name = $userdata['user_id'];
} elseif ($settings['guestposts'] == "1") {
$shout_name = trim(stripinput($_POST['shout_name']));
$shout_name = preg_replace("(^[0-9]*)", "", $shout_name);
if (isNum($shout_name)) $shout_name="";
}
$shout_message = str_replace("\n", " ", $_POST['shout_message']);
$shout_message = preg_replace("/^(.{255}).*$/", "$1", $shout_message);
$shout_message = preg_replace("/([^\s]{45})/", "$1\n", $shout_message);
$shout_message = trim(stripinput(censorwords($shout_message)));
$shout_message = str_replace("\n", "<br>", $shout_message);
if ($shout_name != "" && $shout_message != "") {
$result = dbquery("SELECT MAX(shout_datestamp) AS last_shout FROM ".$db_prefix."shoutbox WHERE shout_ip='".USER_IP."'");
if (!iSUPERADMIN || dbrows($result) > 0) {
$data = dbarray($result);
if ((time() - $data['last_shout']) < $settings['flood_interval']) {
$flood = true;
$result = dbquery("INSERT INTO ".$db_prefix."flood_control (flood_ip, flood_timestamp) VALUES ('".USER_IP."', '".time()."')");
if (dbcount("(flood_ip)", "flood_control", "flood_ip='".USER_IP."'") > 4) {
if (iMEMBER) $result = dbquery("UPDATE ".$db_prefix."users SET user_status='1' WHERE user_id='".$userdata['user_id']."'");
}
}
}
if (!$flood) $result = dbquery("INSERT INTO ".$db_prefix."shoutbox (shout_name, shout_message, shout_datestamp, shout_ip) VALUES ('$shout_name', '$shout_message', '".time()."', '".USER_IP."')");
}
fallback(FUSION_SELF.(FUSION_QUERY ? "?".FUSION_QUERY : ""));
}
/**
* Ban Mod start.
*/
if ($step == "ban") {
if ($act == "on") {
if ($user_id != 1) {
$result = dbquery("UPDATE ".$db_prefix."users SET user_status='1' WHERE user_id='$user_id'");
header("Location:".BASEDIR."news.php");
}
} elseif ($act == "off") {
$result = dbquery("UPDATE ".$db_prefix."users SET user_status='0' WHERE user_id='$user_id'");
header("Location:".BASEDIR."news.php");
}
}
/**
* End Ban Mod.
*/
/**
* Smiley Popup Script.
*/
echo "<script type='text/javascript' language='JavaScript'>
<!-- Begin
function smileys(URL) {
day = new Date();
id = day.getTime();
eval(\"page\" + id + \" = window.open(URL, '\" + id + \"', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=350,height=90,left = 407,top = 329');\");
}
// End Smiley Popup-->
</script>
<form name='shoutform' method='post' action='".FUSION_SELF.(FUSION_QUERY ? "?".str_replace("&","&",FUSION_QUERY) : "")."'>
<div align='center'>".$locale['fb_001']." <input style='margin-top:5px; margin-bottom:2px; padding-left:10px; padding-right:0px;' class='textbox' readonly type='text' name='commentlen' size='3' maxlength='3' value='200'></div>
<table align='center' cellpadding='0' cellspacing='0'>
<tr>
<td colspan='2'>\n";
if (iGUEST) {
echo $locale['121']."<br>
<input type='text' name='shout_name' value='' class='textbox' maxlength='30' style='width:140px;'><br>".$locale['122']."<br>\n";
}
echo "<textarea onKeyDown=\"textCounter(this.form.shout_message,this.form.commentlen,200);\" onKeyUp=\"textCounter(this.form.shout_message,this.form.commentlen,200);\" id='shout_message' name='shout_message' rows='4' class='textbox' style='margin-bottom:-5px; width:140px;'>".str_replace("<br>", "", $data['shout_message'])."</textarea>
</td></tr><tr>
<td align='center'>
<input style='margin-top:10px; margin-bottom:10px;' alt='".$locale['fb_002']."' title='".$locale['fb_002']."' type='submit' name='post_shout' value='".$locale['123']."' class='button'>
<div style='margin-top:-5px; margin-bottom:-1px;' align='center' class='tbl2'>
<a style='text-decoration:none; font-weight:normal;' href=\"javascript:smileys('".INFUSIONS."shoutbox_panel/smileys.php')\"><img src='".INFUSIONS."shoutbox_panel/images/smilies.gif' border='0' alt='ALT' title='".$locale['fb_003']."'></a>
<a style='text-decoration:none; font-weight:normal;' href=\"javascript:fuzetext('shout_message','','');\"><img src='".INFUSIONS."shoutbox_panel/images/bold.gif' border='0' alt='ALT' title='".$locale['fb_004']."'></a>
<a style='text-decoration:none; font-weight:normal;' href=\"javascript:defuze(bb_colors)\"><img src='".INFUSIONS."shoutbox_panel/images/color.gif' border='0' alt='ALT' title='".$locale['fb_005']."'></a></div><br />
<div id='bb_colors'>
<script language='javascript' type='text/javascript'>
<!--
colorPalette('v', 10, 7)
//--></script><br />
<script language='javascript' type='text/javascript'>defuze(bb_colors)</script>
</div></td>
</tr>
</table>
</form>";
} else {
echo "<center>".$locale['125']."</center><br>\n";
}
$result = dbquery("SELECT count(shout_id) FROM ".$db_prefix."shoutbox");
$numrows = dbresult($result, 0);
$result = dbquery(
"SELECT * FROM ".$db_prefix."shoutbox LEFT JOIN ".$db_prefix."users
ON ".$db_prefix."shoutbox.shout_name=".$db_prefix."users.user_id
ORDER BY shout_datestamp DESC LIMIT $min"
);
if (dbrows($result) != 0) {
$i = 0;
while ($data = dbarray($result)) {
/**
* Modded for user ban display names, send private message and member homepage.
*/
if (iMEMBER){if ($data['user_status'] == 1) {
echo "";
}else if (!isset($userdata['user_id']) || $data['user_id'] != $userdata['user_id']) {
echo "<span class='shoutboxname'><a href=\"javascript:fuzetext('shout_message','@".$data['user_name'].":%20-%20','');\"><img src='".INFUSIONS."shoutbox_panel/images/amp.png' alt='".$locale['fb_006']."' title='".$locale['fb_006']."' border='0'></a></span> ";
}
if (iMEMBER){if ($data['user_status'] == 1) {
echo "";
}else{
if (!isset($userdata['user_id']) || $data['user_id'] != $userdata['user_id']) {
echo "<a href='".BASEDIR."messages.php?msg_send=".$data['user_id']."'><img src='".INFUSIONS."shoutbox_panel/images/pm.png' alt='".$locale['fb_007']."' title='".$locale['fb_007']."' border='0'></a> ";
}else{
echo "<img alt='bullet' src='".THEME."images/bullet.gif'> ";
}
}
}
if (iMEMBER){if ($data['user_status'] == 1) {
echo "";
}else{
if (!isset($userdata['user_id']) || $data['user_id'] != $userdata['user_id']) {
if ($data['user_web']) {
if (!strstr($data['user_web'], "http://")) { $urlprefix = "http://"; } else { $urlprefix = ""; }
echo "<a href='".$urlprefix."".$data['user_web']."' target='_blank'><img src='".INFUSIONS."shoutbox_panel/images/w3.png' alt='".$locale['fb_013']."' title='".$locale['fb_013']."' border='0'></a> ";
}else{
echo "";
}
}
}
}
} else if ($data['user_status'] == "1") {
echo "<span style='color:#0000FF;' title='".$locale['fb_012']."'><b># </b></span>";
}else if ($data['user_status'] == "0"){
echo "<img alt='bullet' src='".THEME."images/bullet.gif'> ";
}
if ($data['user_status'] == 1) {
if (iMEMBER){
echo "<span style='color:#0000FF;' title='".$locale['fb_012']."'><b># </b></span>";
}else if ($data['user_status'] == "0"){
echo "<img alt='bullet' src='".THEME."images/bullet.gif'> ";
}
}
/**
* End ban display names.
*/
/**
* Modded for colored names.
*/
$lastseen = time() - $data['user_lastvisit'];
if($lastseen < 60) {
$lastseen = "<nobr><img src='".INFUSIONS."shoutbox_panel/images/user_online.gif' onMouseOver=\"toolTip('<span class=\'info\'>".$data['user_name']."</span> <span class=\'info1\'>".$locale['fb_017']."</span>');\"onMouseOut=\"toolTip();\"'></NOBR>";
} else {
$lastseen = "<nobr><img src='".INFUSIONS."shoutbox_panel/images/user_offline.gif' onMouseOver=\"toolTip('<span class=\'info\'>".$data['user_name']."</span> <span class=\'info2\'>".$locale['fb_018']."</span>');\"onMouseOut=\"toolTip();\"'></NOBR>";
}
$shoutcount = dbcount("(shout_id)", "shoutbox", "shout_name='".$data['user_id']."'");
if ($data[user_level] == "103") {
$userx = "<b>".$data[user_name]."</b>";
}else if ($data[user_level] == "102") {
$userx = "<b>".$data[user_name]."</b>";
}else if ($data[user_level] == "101") {
$userx = "<b>".$data[user_name]."</b>";
}if ($data['user_status'] == 1) {
$userx = "<font color='#B0B0B0' title='".$locale['fb_012']."'>".$data[user_name]."</font>";
}
/**
* End color mod.
*/
if ($data['user_name']) {
if ($data['user_avatar'] != "") { $avatar = "<img src=\'".IMAGES."avatars/".$data['user_avatar']."\'>"; } else { $avatar = "<img src=\'".INFUSIONS."shoutbox_panel/images/noav.gif\'>"; }
echo "<a onMouseOver=\"toolTip('<center>$avatar<br><br></center><b>".$locale['fb_019']."</b><br><span class=\'info2\'><b>".$data['user_name']."</span><br><br>".$locale['fb_020']."</b><br>".getuserlevel($data['user_level'])."<br><br><b>".$locale['fb_021']."</b><br>".showdate("shortdate", $data['user_joined'])."<br><br><b>".$locale['fb_022']."</b><br>".showdate("shortdate", $data['user_lastvisit'])." <br><br><b>".$locale['fb_023']."</b><br> $shoutcount ".$locale['fb_024']."');\" onMouseOut=\"toolTip();\" href='".BASEDIR."profile.php?lookup=".$data['user_id']."' class='side'>$userx</a><a href='".INFUSIONS."shoutbox_panel/shoutbox_user_archive.php?shout_user=".$data['shout_name']."'><img src='".BASEDIR."infusions/shoutbox_panel/images/user_info.gif' alt='".$locale['fb_016']."' title='".$locale['fb_016']."' border='0'></a>";
echo " $lastseen";
//echo "<a href='".BASEDIR."profile.php?lookup=".$data['shout_name']."' class='side'>$userx</a><a href='".INFUSIONS."shoutbox_panel/shoutbox_user_archive.php?shout_user=".$data['shout_name']."'><img src='".BASEDIR."infusions/shoutbox_panel/images/user_info.gif' alt='".$locale['fb_016']."' title='".$locale['fb_016']."' border='0'></a> $lastseen\n";
} else {
echo $data['shout_name']."\n";
}
echo "<br>\n<span class='shoutboxdate'><b><i>".showdate("shortdate", $data['shout_datestamp'])."</i></b></span>";
if ($userdata['user_level'] >= 103) {
echo "<br>\n[<a href='".ADMIN."shoutbox.php".$aidlink."&action=edit&shout_id=".$data['shout_id']."' class='side'>".$locale['048']."</a> - <a href='".FUSION_SELF.$aidlink."&action=delete&shout_id=".$data['shout_id']."' class='side'>".$locale['fb_014']."</a>] ";
/*if ($data['user_status'] == "1") {
echo "[<a href='".FUSION_SELF.$aidlink."&step=ban&act=off&sortby=$sortby&rowstart=$rowstart&user_id=".$data['user_id']."' class='side'>".$locale['fb_009']."</a>]";
}else if ($data[user_level] == "103") {
echo"";
}else if ($data['user_status'] == "0") {
echo "[<a href='".FUSION_SELF.$aidlink."&step=ban&act=on&sortby=$sortby&rowstart=$rowstart&user_id=".$data['user_id']."' class='side'>".$locale['fb_010']."</a>]";
}*/
echo "<br>";
//<span style='font-size:8px;'>".$locale['fb_011']."".$data['user_ip']."</span><br>";
} else {
echo "<br>\n";
}
echo "<span class='shoutbox'>".parseshoutubb(parseubb(parsesmileys_shout($data['shout_message'])))."</span><br>\n";
if ($i != $numrows) echo "<br>\n";
}
} else {
echo "<div align='left'>".$locale['127']."</div>\n";
}
/**
* Begin show more feature.
*/
echo "<center><img alt='Bullet' src='".THEME."images/bullet.gif'> <a href=\"javascript:defuze(show_more)\">".$locale['fb_008']."</a> <img alt='Bullet' border='0' src='".THEME."images/bulletb.gif'> </center><div id='show_more'><br>";
/**
* End show more feature.
*/
$result = dbquery("SELECT count(shout_id) FROM ".$db_prefix."shoutbox");
$numrows = dbresult($result, 0);
$result = dbquery(
"SELECT * FROM ".$db_prefix."shoutbox LEFT JOIN ".$db_prefix."users
ON ".$db_prefix."shoutbox.shout_name=".$db_prefix."users.user_id
ORDER BY shout_datestamp DESC LIMIT $min, $max"
);
if (dbrows($result) != 0) {
$i = 0;
while ($data = dbarray($result)) {
/**
* Modded for user ban display names, send private message and member homepage.
*/
if (iMEMBER){if ($data['user_status'] == 1) {
echo "";
}else if (!isset($userdata['user_id']) || $data['user_id'] != $userdata['user_id']) {
echo "<span class='shoutboxname'><a href=\"javascript:fuzetext('shout_message','@".$data['user_name'].":%20-%20','');\"><img src='".INFUSIONS."shoutbox_panel/images/amp.png' alt='".$locale['fb_006']."' title='".$locale['fb_006']."' border='0'></a></span> ";
}
if (iMEMBER){if ($data['user_status'] == 1) {
echo "";
}else{
if (!isset($userdata['user_id']) || $data['user_id'] != $userdata['user_id']) {
echo "<a href='".BASEDIR."messages.php?msg_send=".$data['user_id']."'><img src='".INFUSIONS."shoutbox_panel/images/pm.png' alt='".$locale['fb_007']."' title='".$locale['fb_007']."' border='0'></a> ";
}else{
echo "<img alt='bullet' src='".THEME."images/bullet.gif'> ";
}
}
}
if (iMEMBER){if ($data['user_status'] == 1) {
echo "";
}else{
if (!isset($userdata['user_id']) || $data['user_id'] != $userdata['user_id']) {
if ($data['user_web']) {
if (!strstr($data['user_web'], "http://")) { $urlprefix = "http://"; } else { $urlprefix = ""; }
echo "<a href='".$urlprefix."".$data['user_web']."' target='_blank'><img src='".INFUSIONS."shoutbox_panel/images/w3.png' alt='".$locale['fb_013']."' title='".$locale['fb_013']."' border='0'></a> ";
}else{
echo "";
}
}
}
}
}else if ($data['user_status'] == "1") {
echo "<span style='color:#0000FF;' title='".$locale['fb_012']."'><b># </b></span>";
}else if ($data['user_status'] == "0"){
echo "<img alt='bullet' src='".THEME."images/bullet.gif'> ";
}
if ($data['user_status'] == 1) {
if (iMEMBER){
echo "<span style='color:#0000FF;' title='".$locale['fb_012']."'><b># </b></span>";
}else if ($data['user_status'] == "0"){
echo "<img alt='bullet' src='".THEME."images/bullet.gif'> ";
}
}
/**
* End ban display names.
*/
/**
* Modded for colored names.
*/
$lastseen = time() - $data['user_lastvisit'];
if($lastseen < 60) {
$lastseen = "<nobr><img src='".INFUSIONS."shoutbox_panel/images/user_online.gif' onMouseOver=\"toolTip('<span class=\'info\'>".$data['user_name']."</span> <span class=\'info1\'>".$locale['fb_017']."</span>');\"onMouseOut=\"toolTip();\"'></NOBR>";
} else {
$lastseen = "<nobr><img src='".INFUSIONS."shoutbox_panel/images/user_offline.gif' onMouseOver=\"toolTip('<span class=\'info\'>".$data['user_name']."</span> <span class=\'info2\'>".$locale['fb_018']."</span>');\"onMouseOut=\"toolTip();\"'></NOBR>";
}
$shoutcount = dbcount("(shout_id)", "shoutbox", "shout_name='".$data['user_id']."'");
if ($data[user_level] == "103") {
$userx = "<b>".$data[user_name]."</b>";
}else if ($data[user_level] == "102") {
$userx = "<b>".$data[user_name]."</b>";
}else if ($data[user_level] == "101") {
$userx = "<b>".$data[user_name]."</b>";
}if ($data['user_status'] == 1) {
$userx = "<font color='#B0B0B0' title='".$locale['fb_012']."'>".$data[user_name]."</font>";
}
/**
* End color mod.
*/
if ($data['user_name']) {
if ($data['user_avatar'] != "") { $avatar = "<img src=\'".IMAGES."avatars/".$data['user_avatar']."\'>"; } else { $avatar = "<img src=\'".INFUSIONS."shoutbox_panel/images/noav.gif\'>"; }
echo "<a onMouseOver=\"toolTip('<center>$avatar<br><br></center><b>".$locale['fb_019']."</b><br><span class=\'info2\'><b>".$data['user_name']."</span><br><br>".$locale['fb_020']."</b><br>".getuserlevel($data['user_level'])."<br><br><b>".$locale['fb_021']."</b><br>".showdate("shortdate", $data['user_joined'])."<br><br><b>".$locale['fb_022']."</b><br>".showdate("shortdate", $data['user_lastvisit'])." <br><br><b>".$locale['fb_023']."</b><br> $shoutcount ".$locale['fb_024']."');\" onMouseOut=\"toolTip();\" href='".BASEDIR."profile.php?lookup=".$data['user_id']."' class='side'>";
if (checkvip($data['user_vip'])) echo "<img src='".IMAGES."vip' alt='VIP Narys' title='VIP Narys'>";
echo " $userx</a><a href='".INFUSIONS."shoutbox_panel/shoutbox_user_archive.php?shout_user=".$data['shout_name']."'><img src='".BASEDIR."infusions/shoutbox_panel/images/user_info.gif' alt='".$locale['fb_016']."' title='".$locale['fb_016']."' border='0'></a>";
echo " $lastseen";
//echo "<a href='".BASEDIR."profile.php?lookup=".$data['shout_name']."' class='side'>$userx</a><a href='".INFUSIONS."shoutbox_panel/shoutbox_user_archive.php?shout_user=".$data['shout_name']."'><img src='".BASEDIR."infusions/shoutbox_panel/images/user_info.gif' alt='".$locale['fb_016']."' title='".$locale['fb_016']."' border='0'></a> $lastseen\n";
} else {
echo $data['shout_name']."\n";
}
echo "<br>\n<span class='shoutboxdate'><b><i>".showdate("shortdate", $data['shout_datestamp'])."</i></b></span>";
$shout_message = nl2br(parseshoutubb(parseubb(parsesmileys_shout($data['shout_message']))));
if ($userdata['user_level'] >= 103) {
echo "<br>\n[<a href='".ADMIN."shoutbox.php".$aidlink."&action=edit&shout_id=".$data['shout_id']."' class='side'>".$locale['048']."</a> - <a href='".FUSION_SELF.$aidlink."&action=delete&shout_id=".$data['shout_id']."' class='side'>".$locale['fb_014']."</a>] ";
/*if ($data['user_status'] == "1") {
echo "[<a href='".FUSION_SELF.$aidlink."&step=ban&act=off&sortby=$sortby&rowstart=$rowstart&user_id=".$data['user_id']."' class='side'>".$locale['fb_009']."</a>]";
}else if ($data[user_level] == "103") {
echo"";
}else if ($data['user_status'] == "0") {
echo "[<a href='".FUSION_SELF.$aidlink."&step=ban&act=on&sortby=$sortby&rowstart=$rowstart&user_id=".$data['user_id']."' class='side'>".$locale['fb_010']."</a>]";
}*/
echo "<br>";
//<span style='font-size:8px;'>".$locale['fb_011']."".$data['user_ip']."</span><br>";
} else {
echo "<br>\n";
}
echo "<span class='shoutbox'>".$shout_message."</span><br>\n";
if ($i != $numrows) echo "<br>\n";
}
if ($numrows > $settings['numofshouts']) {
}
} else {
echo "<div align='left'>".$locale['127']."</div>\n";
}
echo"<script language='javascript' type='text/javascript'>defuze(show_more)</script></div>";
if (iMEMBER) {
echo "<hr><center>\n<img alt='bullet' border='0' src='".THEME."images/bullet.gif'> ";
echo "<a href='".INFUSIONS."shoutbox_panel/shoutbox_archive.php' class='side'>".$locale['126']."</a> ";
echo "<img alt='bullet' border='0' src='".THEME."images/bulletb.gif'><br>";
echo "<img alt='bullet' border='0' src='".THEME."images/bullet.gif'> ";
echo "<a href='".INFUSIONS."shoutbox_panel/shoutboxhelp.php' class='side'>".$locale['fb_015']."</a> ";
echo "<img alt='bullet' border='0' src='".THEME."images/bulletb.gif'></center>\n";
} else {
echo "<div align='left'></div>\n";
}
closeside();
?>
0
Pigiausia SMS reklama !
http://topwarez.lt/reklama/uzsak... |
aiwasuper
Narys
Margas
Pranešimai: 97
Įstojęs: 2009 Gru. 24 14:12:37
|
pas mane ir yra v6 idejau nieko neberodo kaskas jame blogai 0
www.Telikas.v4.lt www.Mobshop.lt |
Kižas
Narys
Kapitonas
Pranešimai: 509
Įstojęs: 2009 Lie. 24 17:07:10
|
aiwasuper
Turiu aš veikiančia visa pilna panele šito sutvarkyta su vip zenkliuku jei nori uz atitinkama kaina galiu tau parduot.0
Pigiausia SMS reklama !
http://topwarez.lt/reklama/uzsak... |
aiwasuper
Narys
Margas
Pranešimai: 97
Įstojęs: 2009 Gru. 24 14:12:37
|
nera lesu man dabar pikti as galiu jums pasiulyti reklama arba +10 0
www.Telikas.v4.lt www.Mobshop.lt |
avice
Narys
Terminatorius
Pranešimai: 1441
Įstojęs: 2010 Bir. 25 20:06:33
|
<?php
if (!defined("IN_FUSION")) { header("Location: ../../index.php"); exit; }
if ($settings['maintenance'] != "1") {
$cond = ($userdata['user_level'] != 0 ? "'".$userdata['user_id']."'" : "'0' AND online_ip='".USER_IP."'");
$result = dbquery("SELECT * FROM ".$db_prefix."online WHERE online_user=".$cond."");
if (dbrows($result) != 0) {
$result = dbquery("UPDATE ".$db_prefix."online SET online_lastactive='".time()."' WHERE online_user=".$cond."");
} else {
$name = ($userdata['user_level'] != 0 ? $userdata['user_id'] : "0");
$result = dbquery("INSERT INTO ".$db_prefix."online (online_user, online_ip, online_lastactive) VALUES ('$name', '".USER_IP."', '".time()."')");
}
$result = dbquery("DELETE FROM ".$db_prefix."online WHERE online_lastactive<".(time()-300)."");
openside($locale['010']);
$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; $members = array();
while ($data = dbarray($result)) {
if ($data['online_user'] == "0") {
$guests++;
} else {
array_push($members, array($data['user_id'], $data['user_name']));
}
}
echo "<img src='".THEME."images/bullet.gif' alt=''> ".$locale['011'].$guests."<br>\n";
if (count($members) > 0) {
$i = 1;
echo "<img src='".THEME."images/bullet.gif' alt=''> ".$locale['012'];
while (list($key, $member) = each($members)) {
echo "<a href='".BASEDIR."profile.php?lookup=".$member[0]."' class='side'>".$member[1]."</a>";
if ($i != count($members)) echo ", ";
$i++;
}
$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);
echo "<br><br><img src='".THEME."images/bullet.gif' alt=''>Nauju; nariu; vakar: ".dbcount("(user_id)", "users", "user_joined >='".$ganfang."' AND user_joined <='".$gende."'")."<br>";
echo "<img src='".THEME."images/bullet.gif' alt=''>Nauju; nariu; siandien: ".dbcount("(user_id)", "users", "user_joined >='".$hanfang."' AND user_joined <='".$hende."'")."\n";
} else {
echo $locale['013']."<be>\n";
}
echo "<br><img src='".THEME."images/bullet.gif' alt=''> ".$locale['014'].number_format(dbcount("(user_id)", "users", "user_status<='1'"))."<br>\n";
if ($settings['admin_activation'] == "1") echo "<img src='".THEME."images/bullet.gif' alt=''> ".$locale['015'].dbcount("(user_id)", "users", "user_status='2'")."<br>\n";
$data = dbarray(dbquery("SELECT user_id,user_name FROM ".$db_prefix."users WHERE user_status='0' ORDER BY user_joined DESC LIMIT 0,1"));
echo "<img src='".THEME."images/bullet.gif' alt=''> ".$locale['016']."<a href='".BASEDIR."profile.php?lookup=".$data['user_id']."' class='side'>".$data['user_name']."</a>\n";
echo "<br><br>";
$result = dbquery("SELECT * FROM ".$db_prefix."users WHERE user_lastvisit>'0' AND user_status='0' ORDER BY user_lastvisit DESC LIMIT 0,12");
echo "<table cellpadding='0' cellspacing='0' width='100%'>";
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 < 300){
$lastseen= Prisijunges;
} elseif ($lastseen < 360){
$lastseen="< 5min";
} elseif ($iW > 0){
if ($iW == 1) { $text = Savaitë; } else { $text = Savaitës; }
$lastseen = $iW." ".$text;
} elseif ($iD > 0){
if ($iD == 1) { $text = Diena; } else { $text = Dienos; }
$lastseen = $iD." ".$text;
} else {
$lastseen = $iH.":".$iM.":".$iS;
}
echo "<tr>\n<td class='side-small' align='left'><img src='".THEME."images/bullet.gif' alt=''>\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>";
if ($data['user_groups'] == "1") {
echo "<img src='http://www.gramophone.com.sg/web/templates/ddj005-variable/images/pdf_button.png'>";
}
echo "</td><td class='side-small' align='right'>".$lastseen."</td>\n</tr>\n";
}
}
echo "</table>";
closeside();
}
?>
tai gal taip?
ar tau klaidas meta kokias?0
Redagavo avice 2011 Kov. 5 20:03:00 |
aiwasuper
Narys
Margas
Pranešimai: 97
Įstojęs: 2009 Gru. 24 14:12:37
|
aciu Avice bet tavo kodas irgi neveikia 0
www.Telikas.v4.lt www.Mobshop.lt
|
aiwasuper
Narys
Margas
Pranešimai: 97
Įstojęs: 2009 Gru. 24 14:12:37
|
nieko nerodo tuscia vieta 0
www.Telikas.v4.lt www.Mobshop.lt |
avice
Narys
Terminatorius
Pranešimai: 1441
Įstojęs: 2010 Bir. 25 20:06:33
|
tai cia tavo panele kaip gali nerodyt ;D 0
|
aiwasuper
Narys
Margas
Pranešimai: 97
Įstojęs: 2009 Gru. 24 14:12:37
|
keitei kanors joje nes nerodo? 0
www.Telikas.v4.lt www.Mobshop.lt |
Kižas
Narys
Kapitonas
Pranešimai: 509
Įstojęs: 2009 Lie. 24 17:07:10
|
Pažiūrėk turėtų veikti....
openside("<b>Online</b>");
if (!defined("IN_FUSION")) { header("Location: ../../index.php"); exit; }
if ($settings['maintenance'] != "1") {
$cond = ($userdata['user_level'] != 0 ? "'".$userdata['user_id']."'" : "'0' AND online_ip='".USER_IP."'");
$result = dbquery("SELECT * FROM ".$db_prefix."online WHERE online_user=".$cond."");
if (dbrows($result) != 0) {
$result = dbquery("UPDATE ".$db_prefix."online SET online_lastactive='".time()."' WHERE online_user=".$cond."");
} else {
$name = ($userdata['user_level'] != 0 ? $userdata['user_id'] : "0");
$result = dbquery("INSERT INTO ".$db_prefix."online (online_user, online_ip, online_lastactive) VALUES ('$name', '".USER_IP."', '".time()."')");
}
$result = dbquery("DELETE FROM ".$db_prefix."online WHERE online_lastactive<".(time()-300)."");
openside($locale['010']);
$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; $members = array();
while ($data = dbarray($result)) {
if ($data['online_user'] == "0") {
$guests++;
} else {
array_push($members, array($data['user_id'], $data['user_name']));
}
}
echo "<img src='".THEME."images/bullet.gif' alt=''> ".$locale['011'].$guests."<br>\n";
if (count($members) > 0) {
$i = 1;
echo "<img src='".THEME."images/bullet.gif' alt=''> ".$locale['012'];
while (list($key, $member) = each($members)) {
echo "<a href='".BASEDIR."profile.php?lookup=".$member[0]."' class='side'>".$member[1]."</a>";
if ($i != count($members)) echo ", ";
$i++;
}
$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);
echo "<br><br><img src='".THEME."images/bullet.gif' alt=''>Nauju; nariu; vakar: ".dbcount("(user_id)", "users", "user_joined >='".$ganfang."' AND user_joined <='".$gende."'")."<br>";
echo "<img src='".THEME."images/bullet.gif' alt=''>Nauju; nariu; siandien: ".dbcount("(user_id)", "users", "user_joined >='".$hanfang."' AND user_joined <='".$hende."'")."\n";
} else {
echo $locale['013']."<be>\n";
}
echo "<br><img src='".THEME."images/bullet.gif' alt=''> ".$locale['014'].number_format(dbcount("(user_id)", "users", "user_status<='1'"))."<br>\n";
if ($settings['admin_activation'] == "1") echo "<img src='".THEME."images/bullet.gif' alt=''> ".$locale['015'].dbcount("(user_id)", "users", "user_status='2'")."<br>\n";
$data = dbarray(dbquery("SELECT user_id,user_name FROM ".$db_prefix."users WHERE user_status='0' ORDER BY user_joined DESC LIMIT 0,1"));
echo "<img src='".THEME."images/bullet.gif' alt=''> ".$locale['016']."<a href='".BASEDIR."profile.php?lookup=".$data['user_id']."' class='side'>".$data['user_name']."</a>\n";
echo "<br><br>";
$result = dbquery("SELECT * FROM ".$db_prefix."users WHERE user_lastvisit>'0' AND user_status='0' ORDER BY user_lastvisit DESC LIMIT 0,12");
echo "<table cellpadding='0' cellspacing='0' width='100%'>";
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 < 300){
$lastseen= Prisijunges;
} elseif ($lastseen < 360){
$lastseen="< 5min";
} elseif ($iW > 0){
if ($iW == 1) { $text = Savaitë; } else { $text = Savaitës; }
$lastseen = $iW." ".$text;
} elseif ($iD > 0){
if ($iD == 1) { $text = Diena; } else { $text = Dienos; }
$lastseen = $iD." ".$text;
} else {
$lastseen = $iH.":".$iM.":".$iS;
}
echo "<tr>\n<td class='side-small' align='left'><img src='".THEME."images/bullet.gif' alt=''>\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>";
if ($data['user_groups'] == "1") {
echo "<img src='http://www.gramophone.com.sg/web/templates/ddj005-variable/images/pdf_button.png'>";
}
echo "</td><td class='side-small' align='right'>".$lastseen."</td>\n</tr>\n";
}
}
}
}
echo "</table>";
closeside();
0
Pigiausia SMS reklama !
http://topwarez.lt/reklama/uzsak... |
aiwasuper
Narys
Margas
Pranešimai: 97
Įstojęs: 2009 Gru. 24 14:12:37
|
stai kodas kuris man veikia bet jame nera tu vip zenkliuku:
<?php
if (!defined("IN_FUSION")) { header("Location: ../../index.php"); exit; }
if ($settings['maintenance'] != "1") {
$cond = ($userdata['user_level'] != 0 ? "'".$userdata['user_id']."'" : "'0' AND online_ip='".USER_IP."'");
$result = dbquery("SELECT * FROM ".$db_prefix."online WHERE online_user=".$cond."");
if (dbrows($result) != 0) {
if ($data['user_name']) {
if (checkvip($data['user_vip'])) echo "<img src='images/vips.png' alt='VIP Narys' title='VIP Narys'>";
}
$result = dbquery("UPDATE ".$db_prefix."online SET online_lastactive='".time()."' WHERE online_user=".$cond."");
} else {
$name = ($userdata['user_level'] != 0 ? $userdata['user_id'] : "0");
$result = dbquery("INSERT INTO ".$db_prefix."online (online_user, online_ip, online_lastactive) VALUES ('$name', '".USER_IP."', '".time()."')");
}
$result = dbquery("DELETE FROM ".$db_prefix."online WHERE online_lastactive<".(time()-300)."");
openside($locale['010']);
$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; $members = array();
while ($data = dbarray($result)) {
if ($data['online_user'] == "0") {
$guests++;
} else {
array_push($members, array($data['user_id'], $data['user_name']));
}
}
echo "<img src='".THEME."images/bullet.gif' alt=''> ".$locale['011'].$guests."<br>\n";
if (count($members) > 0) {
$i = 1;
echo "<img src='".THEME."images/bullet.gif' alt=''> ".$locale['012'];
while (list($key, $member) = each($members)) {
echo "<a href='".BASEDIR."profile.php?lookup=".$member[0]."' class='side'>".$member[1]."</a>";
if ($i != count($members))
echo ", ";
$i++;
}
$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);
echo "<br><br><img src='".THEME."images/bullet.gif' alt=''>Nauju; nariu; vakar: ".dbcount("(user_id)", "users", "user_joined >='".$ganfang."' AND user_joined <='".$gende."'")."<br>";
echo "<img src='".THEME."images/bullet.gif' alt=''>Nauju; nariu; siandien: ".dbcount("(user_id)", "users", "user_joined >='".$hanfang."' AND user_joined <='".$hende."'")."\n";
} else {
echo $locale['013']."<be>\n";
}
echo "<br><img src='".THEME."images/bullet.gif' alt=''> ".$locale['014'].number_format(dbcount("(user_id)", "users", "user_status<='1'"))."<br>\n";
if ($settings['admin_activation'] == "1") echo "<img src='".THEME."images/bullet.gif' alt=''> ".$locale['015'].dbcount("(user_id)", "users", "user_status='2'")."<br>\n";
$data = dbarray(dbquery("SELECT user_id,user_name FROM ".$db_prefix."users WHERE user_status='0' ORDER BY user_joined DESC LIMIT 0,1"));
echo "<img src='".THEME."images/bullet.gif' alt=''> ".$locale['016']."<a href='".BASEDIR."profile.php?lookup=".$data['user_id']."' class='side'>".$data['user_name']."</a>\n";
echo "<br><br>";
$result = dbquery("SELECT * FROM ".$db_prefix."users WHERE user_lastvisit>'0' AND user_status='0' ORDER BY user_lastvisit DESC LIMIT 0,12");
echo "<table cellpadding='0' cellspacing='0' width='100%'>";
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 < 300){
$lastseen= Prisijunges;
} elseif ($lastseen < 360){
$lastseen="< 5min";
} elseif ($iW > 0){
if ($iW == 1) { $text = Savaitë; } else { $text = Savaitës; }
$lastseen = $iW." ".$text;
} elseif ($iD > 0){
if ($iD == 1) { $text = Diena; } else { $text = Dienos; }
$lastseen = $iD." ".$text;
} else {
$lastseen = $iH.":".$iM.":".$iS;
}
echo "<tr>\n<td class='side-small' align='left'><img src='".THEME."images/bullet.gif' alt=''>\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-small' align='right'>".$lastseen."</td>\n</tr>\n";
}
}
echo "</table>";
closeside();
}
?>
kai idejau ismete tokius error:
fakebload matai foto kokia idejau tokius error meta0
www.Telikas.v4.lt www.Mobshop.lt
Redagavo aiwasuper 2011 Kov. 5 20:03:20 |
.Vaidas.
Narys
Kapitonas
Pranešimai: 707
Įstojęs: 2010 Kov. 11 19:03:37
|
Tau reiktu uždėti grupę flooderis 0
Earth's Special Forces bendruomenė - ESForces.lt
[center][ce |
aiwasuper
Narys
Margas
Pranešimai: 97
Įstojęs: 2009 Gru. 24 14:12:37
|
nereikia tiesiog noriu labai sios paneles 0
www.Telikas.v4.lt www.Mobshop.lt |
avice
Narys
Terminatorius
Pranešimai: 1441
Įstojęs: 2010 Bir. 25 20:06:33
|
<?php
if (!defined("IN_FUSION")) { header("Location: ../../index.php"); exit; }
if ($settings['maintenance'] != "1") {
$cond = ($userdata['user_level'] != 0 ? "'".$userdata['user_id']."'" : "'0' AND online_ip='".USER_IP."'");
$result = dbquery("SELECT * FROM ".$db_prefix."online WHERE online_user=".$cond."");
if (dbrows($result) != 0) {
if ($data['user_name']) {
if (checkvip($data['user_vip'])) echo "<img src='images/vips.png' alt='VIP Narys' title='VIP Narys'>";
}
$result = dbquery("UPDATE ".$db_prefix."online SET online_lastactive='".time()."' WHERE online_user=".$cond."");
} else {
$name = ($userdata['user_level'] != 0 ? $userdata['user_id'] : "0");
$result = dbquery("INSERT INTO ".$db_prefix."online (online_user, online_ip, online_lastactive) VALUES ('$name', '".USER_IP."', '".time()."')");
}
$result = dbquery("DELETE FROM ".$db_prefix."online WHERE online_lastactive<".(time()-300)."");
openside($locale['010']);
$result = dbquery(
"SELECT ton.*, tu.user_id,user_name,user_groups FROM ".$db_prefix."online ton
LEFT JOIN ".$db_prefix."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 "<img src='".THEME."images/bullet.gif' alt=''> ".$locale['011'].$guests."<br>\n";
if (count($members) > 0) {
$i = 1;
echo "<img src='".THEME."images/bullet.gif' alt=''> ".$locale['012'];
while (list($key, $member) = each($members)) {
echo "<a href='".BASEDIR."profile.php?lookup=".$member[0]."' class='side'>".$member[1]."</a>";
if ($i != count($members))
echo ", ";
$i++;
}
$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);
echo "<br><br><img src='".THEME."images/bullet.gif' alt=''>Nauju; nariu; vakar: ".dbcount("(user_id)", "users", "user_joined >='".$ganfang."' AND user_joined <='".$gende."'")."<br>";
echo "<img src='".THEME."images/bullet.gif' alt=''>Nauju; nariu; siandien: ".dbcount("(user_id)", "users", "user_joined >='".$hanfang."' AND user_joined <='".$hende."'")."\n";
} else {
echo $locale['013']."<be>\n";
}
echo "<br><img src='".THEME."images/bullet.gif' alt=''> ".$locale['014'].number_format(dbcount("(user_id)", "users", "user_status<='1'"))."<br>\n";
if ($settings['admin_activation'] == "1") echo "<img src='".THEME."images/bullet.gif' alt=''> ".$locale['015'].dbcount("(user_id)", "users", "user_status='2'")."<br>\n";
$data = dbarray(dbquery("SELECT user_id,user_name FROM ".$db_prefix."users WHERE user_status='0' ORDER BY user_joined DESC LIMIT 0,1"));
echo "<img src='".THEME."images/bullet.gif' alt=''> ".$locale['016']."<a href='".BASEDIR."profile.php?lookup=".$data['user_id']."' class='side'>".$data['user_name']."</a>\n";
echo "<br><br>";
$result = dbquery("SELECT * FROM ".$db_prefix."users WHERE user_lastvisit>'0' AND user_status='0' ORDER BY user_lastvisit DESC LIMIT 0,12");
echo "<table cellpadding='0' cellspacing='0' width='100%'>";
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 < 300){
$lastseen= Prisijunges;
} elseif ($lastseen < 360){
$lastseen="< 5min";
} elseif ($iW > 0){
if ($iW == 1) { $text = Savaitë; } else { $text = Savaitës; }
$lastseen = $iW." ".$text;
} elseif ($iD > 0){
if ($iD == 1) { $text = Diena; } else { $text = Dienos; }
$lastseen = $iD." ".$text;
} else {
$lastseen = $iH.":".$iM.":".$iS;
}
echo "<tr>\n<td class='side-small' align='left'><img src='".THEME."images/bullet.gif' alt=''>\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>";
if ($data['user_groups'] == "1") {
echo "<img src='http://www.gramophone.com.sg/web/templates/ddj005-variable/images/pdf_button.png'>";
}
echo "</td><td class='side-small' align='right'>".$lastseen."</td>\n</tr>\n";
}
}
echo "</table>";
closeside();
}
?>
0
|
aiwasuper
Narys
Margas
Pranešimai: 97
Įstojęs: 2009 Gru. 24 14:12:37
|
---------irgi neina------- 0
www.Telikas.v4.lt www.Mobshop.lt |