offline
- hackxck
- Novi MyCity građanin
- Pridružio: 03 Jul 2014
- Poruke: 6
|
Mozeli mi neko pomoci zelim da mi se u online fajlu kraj nicka pojavljuje avatar koi korisnik odabere evo kod od who.php
+ Code
<?
header("Cache-Control: no-cache");
if ($ver=="wml")header ("Content-type:text/vnd.wap.wml; charset=utf-8");
else header("Content-Type:text/html; charset=UTF-8");
require("inc.php");
$link = connect_db();
list($row, $id, $ps, $fsize1, $fsize2) = check_login($link);
require("version.php");
$ggggg=$row["gzip"];
if($ggggg=="1"){
include("gz.php");
}
///////////////////////////////////////////
$posts = mysql_fetch_array(mysql_query("SELECT id, posts FROM `users` WHERE id='".$id."'"));
if($posts[1]<'150'){
if ($ver=="wml"){
echo $xml;
echo $dtd;
echo "<wml>";
echo "<head><meta http-equiv=\"Cache-Control\" content=\"no-cache\" forua=\"true\"/></head>";
echo "<card id=\"vypnut\" title=\"Upozorenje\" ontimer=\"index.php?ref=$ref\"><timer value=\"150\"/>";
echo "<p align=\"center\">";
}else{
echo "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">";
echo "<html xmlns=\"http://www.w3.org/1999/xhtml\">";
echo "<head><link rel=\"stylesheet\" type=\"text/css\" href=\"".$row["css"]."\">";
echo "<title>Upozorenje</title>";
echo "<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\"/></head><body>";
echo "<div align=\"center\">";
}
echo $fsize1;
echo "<b>Dok ne sakupite 15763000 postova mozete samo chatovati u **Ludari**!</b><br/>";
$admer = mysql_query("UPDATE users SET gde='room22' WHERE id='".$id."' LIMIT 1;");
echo "<a href=\"chat.php?ver=$ver&id=$id&ps=$ps&ref=$ref&rm=22\">**Izvoli u svoju Sobu :D**</a>";
echo $fsize2;
if($ggggg=="1"){
include("gzip.php");
}
if ($ver=="wml")echo "</p></card></wml>";
else echo "</div></body></html>";
mysql_close($link);
exit;
}
$posts = mysql_fetch_array(mysql_query("SELECT id, posts FROM `users` WHERE id='".$id."'"));
if($posts[1]<'300'){
if ($ver=="wml"){
echo $xml;
echo $dtd;
echo "<wml>";
echo "<head><meta http-equiv=\"Cache-Control\" content=\"no-cache\" forua=\"true\"/></head>";
echo "<card id=\"vypnut\" title=\"Upozorenje\" ontimer=\"index.php?ref=$ref\"><timer value=\"300\"/>";
echo "<p align=\"center\">";
}else{
echo "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">";
echo "<html xmlns=\"http://www.w3.org/1999/xhtml\">";
echo "<head><link rel=\"stylesheet\" type=\"text/css\" href=\"".$row["css"]."\">";
echo "<title>Upozorenje</title>";
echo "<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\"/></head><body>";
echo "<div align=\"center\">";
}
echo $fsize1;
echo "<b>Dok ne sakupite 300 postova mozete samo chatovati u Karantinu!</b><br/>";
$admer = mysql_query("UPDATE users SET gde='room11' WHERE id='".$id."' LIMIT 1;");
echo "<a href=\"chat.php?ver=$ver&id=$id&ps=$ps&ref=$ref&rm=11\"> KaRantiN</a>";
echo $fsize2;
if($ggggg=="1"){
include("gzip.php");
}
if ($ver=="wml")echo "</p></card></wml>";
else echo "</div></body></html>";
mysql_close($link);
exit;
}
///////////////////////////////////////////
$gde="Online Lista";
include("gde.php");
///////////////////////////////////////////
for ($n = 0; $n <= 22; $n++){
$room = "room".$n;
$tm = time()-100200;
$tm111 = time()-50000;
$r = @mysql_query ("Select who from $room WHERE id > '".$tm."' AND usid>'8' OR id > '".$tm111."' AND usid='1' group by who order by id desc;");
$asnum = mysql_affected_rows();
$siz[$n] = $asnum;
@$kol = $kol + $asnum;
$kolp=$siz[13]+$siz[14]+$siz[15]+$siz[16]+$siz[17]+$siz[18]+$siz[19]+$siz[20]+$siz[21]+$siz[22];
}
$pr_count = @mysql_query("SELECT id,user FROM users WHERE onl> '".$tm."' AND room='holl' AND id>'8' OR onl> '".$tm111."' AND room='holl' AND id='1' group by user order by onl desc;");
$kolpr = mysql_affected_rows();
$kols = $kol + $kolpr;
$manje = time()-100700;
$vece = time()-100700;
$manje1 = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM users WHERE gdetime> '".$manje."'"));
$vece1 = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM users WHERE gdetime> '".$vece."'"));
if ($ver=="wml"){
echo $xml;
echo $dtd;
echo "<wml>";
echo "<head><meta http-equiv=\"Cache-Control\" content=\"no-cache\" forua=\"true\"/></head>";
echo "<card id=\"who\" title=\"Online(".$vece1[0].")\">";
echo "<p align=\"left\">";
}else{
echo "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">";
echo "<html xmlns=\"http://www.w3.org/1999/xhtml\">";
echo "<head>";
if($row["css"]!=""){
$csss=$row["css"];
echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"$csss\"/>";
}else{
echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"css/css.css\"/>";
}
echo "<title>Online(".$vece1[0].")</title>";
echo "<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\"/></head><body>";
echo "<div align=\"left\">";
}
echo $fsize1;
//echo "U poslednjih 30 min <b>($vece1[0])</b> aktivnih chatera!<br/>";
//echo "[<b><a href=\"who.php?$ses&ref=$ref\">Ko je online?</a></b>]<br/>";
echo "Trenutno online <b>($vece1[0])</b> chatera!<br/>";
echo $divide;
////////////////////////////////////////////////////ramdom slika iz galerije//////////////////////////////////////
$randm = mysql_fetch_array(mysql_query("SELECT id, user, file, upload FROM gallery ORDER BY RAND() LIMIT 1 "));
if($randm[3]=='1'){$filenamess = "gallery/$randm[2]";}
else{$filenamess = "$randm[2]";}
echo "<a href=\"#\"><img src=\"gallery.php?idss=$randm[0]\" width=\"80\" height=\"100\" alt=\"$randm[0]\"/></a><br/>";
$who11 = $randm[1];
$user=mysql_fetch_array(mysql_query("SELECT user FROM users WHERE id='".$who11."'"));
echo "<a href=\"info.php?nk=$randm[1]&$ses&ref=$ref\">$user[0]</a><br/>";
//////////////////////////////////////////////////////////////////////////////////////////
$roomselect23 = @mysql_query("SELECT name, rm FROM rooms WHERE rm='23' ORDER BY pozicija, rm");
while($rooms23 = @mysql_fetch_array($roomselect23)) {
$roomname23=$rooms23["name"];
$rms23=$rooms23["rm"];
$room23="room".$rms23;
$tm23 = time()-100200;
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
$sobe23 = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM users WHERE gdetime>'".$tm23."' AND gde='".$room21."'"));
if($sobe23[0]>0){
echo "[<b><a href=\"chat.php?$ses&rm=$rms23&ref=$ref\">$roomname23</a></b>]";
echo "[<b><a href=\"whoroom.php?$ses&rm=$rms23&ref=$ref\">$sobe23[0] clanova</a></b>]<br/>";
}else{
echo "[<b><a href=\"chat.php?$ses&rm=$rms23&ref=$ref\">$roomname23($sobe23[0])</a></b>]<br/>";
}
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
$clanovi23 = mysql_query("SELECT id, user, inv, level, gde, gdetime FROM users WHERE gdetime>'".$tm23."' AND gde='".$room23."'");
for ($k = 0; $k < $sobe23[0]; $k++){
$lines23 = mysql_fetch_array ($clanovi23);
if ($lines23[2] != 1) echo "<img src=\"imgsinfo/kojegde.png\" alt=\"icon\"/><a href=\"info.php?ver=$ver&id=$id&ps=$ps&nk=$lines23[0]&ref=$ref\">$lines23[1]</a>";
else if ($row["level"]==8) echo "$lines23[1](i)";
if (($k+1) != $sobe23[0]) print ' ';
}
if($sobe23[0]>0)echo "<br/><br/>";
unset($lines23);
}
echo $divide;
$r = mysql_query ("select count(readd) as num from zapiski WHERE (idtowhom = '".$id."')and(readd = '0')and(ininc = '1');");
$a = mysql_fetch_array($r);
$inb = $a["num"];
if($inb != "0") {
echo " <img src=\"img/n.gif\" alt=\"icon\"/> <b>Pismo</b><a href=\"inbox.php?$ses&ref=$ref\">(".$inb.")</a><br/>\n";
}
$r = mysql_query ("select count(readd) as num from obavestenje WHERE (idtowhom = '".$id."')and(readd = '0')and(ininc = '1');");
$a = mysql_fetch_array($r);
$inb = $a["num"];
if($inb != "0") {
echo " <img src=\"img/n.gif\" alt=\"icon\"/> <b>Obavestenje</b><a href=\"inbox1.php?$ses&ref=$ref\">(".$inb.")</a><br/>\n";
}
///////////////////////////////////////////////////////////////
$inbox = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM users WHERE gdetime> '".$manje."' AND gde='Inbox' OR gdetime> '".$manje."' AND gde='Salje Pismo' OR gdetime> '".$manje."' AND gde='Poslata Pisma' OR gdetime> '".$manje."' AND gde='Cita Pismo'"));
if($inbox[0]>0){
echo"<img src=\"imgsinfo/enter.png\" alt=\"icon\"/>[<b><a href=\"chatmail.php?$ses&ref=$ref\">Inbox</a></b>]";
echo "<img src=\"imgsinfo/enter.png\" alt=\"icon\"/>[<b><a href=\"inwho.php?$ses&ref=$ref\">$inbox[0] chatera</a></b>]<br/>";
$inbox1 = mysql_query("SELECT id, user, inv, level, gde, gdetime FROM users WHERE gdetime> '".$manje."' AND gde='Inbox' OR gdetime> '".$manje."' AND gde='Salje Pismo' OR gdetime> '".$manje."' AND gde='Poslata Pisma' OR gdetime> '".$manje."' AND gde='Cita Pismo' ORDER BY latuser ASC");
$kolpr = mysql_affected_rows();
for ($k = 0; $k < $kolpr; $k++)
{
$pdc = @mysql_fetch_array($inbox1);
$user = $pdc["user"];
$inv = $pdc["inv"];
$nk = $pdc["id"];
if ($inv != 1) echo "<img src=\"imgsinfo/kojegde.png\" alt=\"icon\"/><a href=\"info.php?ver=$ver&id=$id&ps=$ps&nk=$nk&ref=$ref\">$user</a>";
else if ($row["level"] >8 ) echo "$user(i)";
if (($k+1) != $kolpr) print ' ';
}
if($kolpr>0) echo "<br/>";
unset($pdc);
echo $divide;
}else{
echo"<img src=\"imgsinfo/enter.png\" alt=\"icon\"/>[<b><a href=\"chatmail.php?$ses&ref=$ref\">Inbox ($inbox[0])</a></b>]<br/>";
echo $divide;
}
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
$tm = time()-100700;
///////////////////////////////////////////////////////////////
$sportcee = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM users WHERE gdetime> '".$tm."' AND `gde` LIKE CONVERT(_utf8 '%Zeljoteka%' USING latin1)"));
if($sportcee[0]>0){
echo"[<b><a href=\"zeljoteka.php?$ses&ref=$ref\"> Zeljoteka</a></b>]";
echo "[<b><a href=\"infor.php?$ses&ref=$ref\">$sportcee[0] chatera</a></b>]<br/>";
$sportcee1 = mysql_query("SELECT id, user, inv, level, gde, gdetime FROM users WHERE gdetime> '".$tm."' AND `gde` LIKE CONVERT(_utf8 '%Zeljoteka%' USING latin1) ORDER BY latuser ASC");
$kolpr2222 = mysql_affected_rows();
for ($k = 0; $k < $kolpr2222; $k++)
{
$pdc2222 = @mysql_fetch_array($sportcee1);
$user2222 = $pdc2222["user"];
$inv2222 = $pdc2222["inv"];
$nk2222 = $pdc2222["id"];
if ($inv2222 != 1) echo "<img src=\"imgsinfo/kojegde.png\" alt=\"icon\"/><a href=\"info.php?ver=$ver&id=$id&ps=$ps&nk=$nk2222&ref=$ref\">$user2222</a>";
else if ($row["level"] >8 ) echo "$user2222(i)";
if (($k+1) != $kolpr2222) print ' ';
}
if($kolpr2222>0) echo "<br/>";
unset($pdc2222);
echo $divide;
}else{
echo"<img src=\"imgsinfo/enter.png\" alt=\"icon\"/>[<b><a href=\"zeljoteka.php?$ses&ref=$ref\"> Zeljoteka ($sportcee[0])</a></b>]<br/>";
echo $divide;
}
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
$roomselect = @mysql_query ("Select name,rm from rooms WHERE uklj='0' order by pozicija,rm LIMIT 0,24;");
while($rooms = @mysql_fetch_array($roomselect)) {
$roomname=$rooms["name"];
$rms=$rooms["rm"];
$room="room".$rms;
$tm = time()-100700;
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
$sobe = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM users WHERE gdetime>'".$tm."' AND gde='".$room."'"));
if ($rms==11){
if($sobe[0]>0){
echo "<img src=\"imgsinfo/enter.png\" alt=\"icon\"/>[<b><a href=\"klaznet.php?$ses&rm=$rms&ref=$ref\">$roomname</a></b>]";
echo "<img src=\"imgsinfo/enter.png\" alt=\"icon\"/>[<b><a href=\"whoroom.php?$ses&rm=$rms&ref=$ref\">$sobe[0] clanova</a></b>]<br/>";
}else{
echo "<img src=\"imgsinfo/enter.png\" alt=\"icon\"/>[<b><a href=\"klaznet.php?$ses&rm=$rms&ref=$ref\">$roomname ($sobe[0])</a></b>]<br/>";
}
}else if ($rms==16){
if($sobe[0]>0){
echo "<img src=\"imgsinfo/enter.png\" alt=\"icon\"/>[<b><a href=\"test.php?$ses&rm=$rms&ref=$ref\">$roomname</a></b>]";
echo "<img src=\"imgsinfo/enter.png\" alt=\"icon\"/>[<b><a href=\"whoroom.php?$ses&rm=$rms&ref=$ref\">$sobe[0] clanova</a></b>]<br/>";
}else{
echo "<img src=\"imgsinfo/enter.png\" alt=\"icon\"/>[<b><a href=\"test.php?$ses&rm=$rms&ref=$ref\">$roomname ($sobe[0])</a></b>]<br/>";
}
}else if ($rms==10){
if($sobe[0]>0){
if ($row["level"]>=8){
echo "<img src=\"imgsinfo/enter.png\" alt=\"icon\"/>[<b><a href=\"intim.php?$ses&rm=$rms&ref=$ref\">$roomname</a></b>]";
echo "<img src=\"imgsinfo/enter.png\" alt=\"icon\"/>[<b><a href=\"whoroom.php?$ses&rm=$rms&ref=$ref\">$sobe[0] clanova</a></b>]<br/>";
}
}else{
if ($row["level"]>=8){
echo "<img src=\"imgsinfo/enter.png\" alt=\"icon\"/>[<b><a href=\"intim.php?$ses&rm=$rms&ref=$ref\">$roomname ($sobe[0])</a></b>]<br/>";
}
}
}else if ($rms==7){
if($sobe[0]>0){
if ($row["level"]>=7){
echo "<img src=\"imgsinfo/enter.png\" alt=\"icon\"/>[<b><a href=\"chat.php?$ses&rm=$rms&ref=$ref&modlog=1\">$roomname</a></b>]";
echo "<img src=\"imgsinfo/enter.png\" alt=\"icon\"/>[<b><a href=\"whoroom.php?$ses&rm=$rms&ref=$ref\">$sobe[0] clanova</a></b>]<br/>";
}
}else{
if ($row["level"]>=7){
echo "<img src=\"imgsinfo/enter.png\" alt=\"icon\"/>[<b><a href=\"chat.php?$ses&rm=$rms&ref=$ref&modlog=1\">$roomname ($sobe[0])</a></b>]<br/>";
}
}
}else if ($rms==22){
if($sobe[0]>0){
if ($row["level"]>=6){
echo "<img src=\"imgsinfo/enter.png\" alt=\"icon\"/>[<b><a href=\"chat.php?$ses&rm=$rms&ref=$ref&modlog=1\">$roomname</a></b>]";
echo "<img src=\"imgsinfo/enter.png\" alt=\"icon\"/>[<b><a href=\"whoroom.php?$ses&rm=$rms&ref=$ref\">$sobe[0] clanova</a></b>]<br/>";
}
}else{
if ($row["level"]>=6){
echo "<img src=\"imgsinfo/enter.png\" alt=\"icon\"/>[<b><a href=\"chat.php?$ses&rm=$rms&ref=$ref&modlog=1\">$roomname ($sobe[0])</a></b>]<br/>";
}
}
}else if ($rms==8){
if($sobe[0]>0){
if ($row["level"]>=5){
echo "<img src=\"imgsinfo/enter.png\" alt=\"icon\"/>[<b><a href=\"chat.php?$ses&rm=$rms&ref=$ref&modlog=1\">$roomname</a></b>]";
echo "<img src=\"imgsinfo/enter.png\" alt=\"icon\"/>[<b><a href=\"whoroom.php?$ses&rm=$rms&ref=$ref\">$sobe[0] clanova</a></b>]<br/>";
}
}else{
if ($row["level"]>=5){
echo "<img src=\"imgsinfo/enter.png\" alt=\"icon\"/>[<b><a href=\"chat.php?$ses&rm=$rms&ref=$ref&modlog=1\">$roomname ($sobe[0])</a></b>]<br/>";
}
}
}else{
if($sobe[0]>0){
echo "<img src=\"imgsinfo/enter.png\" alt=\"icon\"/>[<b><a href=\"chat.php?$ses&rm=$rms&ref=$ref\">$roomname</a></b>]";
echo "<img src=\"imgsinfo/enter.png\" alt=\"icon\"/>[<b><a href=\"whoroom.php?$ses&rm=$rms&ref=$ref\">$sobe[0] clanova</a></b>]<br/>";
}else{
echo "<img src=\"imgsinfo/enter.png\" alt=\"icon\"/>[<b><a href=\"chat.php?$ses&rm=$rms&ref=$ref\">$roomname ($sobe[0])</a></b>]<br/>";
}
}
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
$clanovi = mysql_query("SELECT id, user, inv, level, gde, gdetime FROM users WHERE gdetime>'".$tm."' AND gde='".$room."'");
if ($rms!=10 && $rms!=7 && $rms!=8 && $rms!=22){
for ($k = 0; $k < $sobe[0]; $k++){
$lines = mysql_fetch_array ($clanovi);
if ($lines[2] != 1) echo "<img src=\"imgsinfo/kojegde.png\" alt=\"icon\"/><a href=\"info.php?ver=$ver&id=$id&ps=$ps&nk=$lines[0]&ref=$ref\">$lines[1]</a>";
else if ($row["level"]==8) echo "$lines[1](i)";
if (($k+1) != $sobe[0]) print ' ';
}
if($sobe[0]>0)echo "<br/><br/>";
unset($lines);
}else if($rms==10){
if ($row["level"]==8){
for ($k = 0; $k < $sobe[0]; $k++){
$lines = mysql_fetch_array ($clanovi);
if ($lines[2] != 1)echo "$lines[1]";
else echo "$lines[1]";
if (($k+1) != $sobe[0]) print ' ';
}
if($sobe[0]>0)echo "<br/><br/>";
unset($lines);
}
}else if($rms==7){
if ($row["level"]>6){
for ($k = 0; $k < $sobe[0]; $k++){
$lines = mysql_fetch_array ($clanovi);
if ($lines[2] != 1)echo "$lines[1]";
else echo "$lines[1]";
if (($k+1) != $sobe[0]) print ' ';
}
if($sobe[0]>0)echo "<br/><br/>";
unset($lines);
}
}else if($rms==8){
if ($row["level"]>3){
for ($k = 0; $k < $sobe[0]; $k++){
$lines = mysql_fetch_array ($clanovi);
if ($lines[2] != 1)echo "$lines[1]";
else echo "$lines[1]";
if (($k+1) != $sobe[0]) print ' ';
}
if($sobe[0]>0)echo "<br/><br/>";
unset($lines);
}
}else if($rms==22){
if ($row["level"]>=6){
for ($k = 0; $k < $sobe[0]; $k++){
$lines = mysql_fetch_array ($clanovi);
if ($lines[2] != 1)echo "$lines[1]";
else echo "$lines[1]";
if (($k+1) != $sobe[0]) print ' ';
}
if($sobe[0]>0)echo "<br/><br/>";
unset($lines);
}
}
}
echo $divide;
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
$tm = time()-100700;
///////////////////////////////////////////////////////////////
$igricece = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM users WHERE gdetime> '".$tm."' AND `gde` LIKE CONVERT(_utf8 '%Zabava%' USING latin1)"));
if($igricece[0]>0){
echo"[<b><a href=\"zabava.php?$ses&ref=$ref\">Zabava</a></b>]";
echo "[<b><a href=\"infor.php?$ses&ref=$ref\">$igricece[0] chatera</a></b>]<br/>";
$igricece1 = mysql_query("SELECT id, user, inv, level, gde, gdetime FROM users WHERE gdetime> '".$tm."' AND `gde` LIKE CONVERT(_utf8 '%Zabava%' USING latin1) ORDER BY latuser ASC");
$kolpr2222 = mysql_affected_rows();
for ($k = 0; $k < $kolpr2222; $k++)
{
$pdc2222 = @mysql_fetch_array($igricece1);
$user2222 = $pdc2222["user"];
$inv2222 = $pdc2222["inv"];
$nk2222 = $pdc2222["id"];
if ($inv2222 != 1) echo "<img src=\"imgsinfo/kojegde.png\" alt=\"icon\"/><a href=\"info.php?ver=$ver&id=$id&ps=$ps&nk=$nk2222&ref=$ref\">$user2222</a>";
else if ($row["level"] >8 ) echo "<img src=\"imgsinfo/kojegde.png\" alt=\"icon\"/>$user2222(i)";
if (($k+1) != $kolpr2222) print ' ';
}
if($kolpr2222>0) echo "<br/>";
unset($pdc2222);
echo $divide;
}else{
echo"<img src=\"imgsinfo/enter.png\" alt=\"icon\"/>[<b><a href=\"zabava.php?$ses&ref=$ref\"> Zabava ($igricece[0])</a></b>]<br/>";
echo $divide;
}
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
$tm = time()-100700;
///////////////////////////////////////////////////////////////
$forumce = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM users WHERE gdetime> '".$tm."' AND `gde` LIKE CONVERT(_utf8 '%*#*#*#*%' USING latin1)"));
if($forumce[0]>0){
echo"[<b><a href=\"forum.php?$ses&ref=$ref\"> Forum</a></b>]";
echo "[<b><a href=\"infor.php?$ses&ref=$ref\">$forumce[0] chatera</a></b>]<br/>";
$forumce1 = mysql_query("SELECT id, user, inv, level, gde, gdetime FROM users WHERE gdetime> '".$tm."' AND `gde` LIKE CONVERT(_utf8 '%*#*#*#*%' USING latin1) ORDER BY latuser ASC");
$kolpr2222 = mysql_affected_rows();
for ($k = 0; $k < $kolpr2222; $k++)
{
$pdc2222 = @mysql_fetch_array($forumce1);
$user2222 = $pdc2222["user"];
$inv2222 = $pdc2222["inv"];
$nk2222 = $pdc2222["id"];
if ($inv2222 != 1) echo "<img src=\"imgsinfo/kojegde.png\" alt=\"icon\"/><a href=\"info.php?ver=$ver&id=$id&ps=$ps&nk=$nk2222&ref=$ref\">$user2222</a>";
else if ($row["level"] >8 ) echo "<img src=\"imgsinfo/kojegde.png\" alt=\"icon\"/>$user2222(i)";
if (($k+1) != $kolpr2222) print ' ';
}
if($kolpr2222>0) echo "<br/>";
unset($pdc2222);
echo $divide;
}else{
echo"<img src=\"imgsinfo/enter.png\" alt=\"icon\"/>[<b><a href=\"forum.php?$ses&ref=$ref\">Forum ($forumce[0])</a></b>]<br/>";
echo $divide;
}
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
$tm = time()-100700;
///////////////////////////////////////////////////////////////
$clance = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM users WHERE gdetime> '".$tm."' AND `gde` LIKE CONVERT(_utf8 '%CodWapChat-Klubovi%' USING latin1)"));
if($clance[0]>0){
echo"[<b><a href=\"clans.php?$ses&ref=$ref\">Klubovi</a></b>]";
echo "[<b><a href=\"infor.php?$ses&ref=$ref\">$clance[0] chatera</a></b>]<br/>";
$clance1 = mysql_query("SELECT id, user, inv, level, gde, gdetime FROM users WHERE gdetime> '".$tm."' AND `gde` LIKE CONVERT(_utf8 '%CodWapChat-Klubovi%' USING latin1) ORDER BY latuser ASC");
$kolpr2222 = mysql_affected_rows();
for ($k = 0; $k < $kolpr2222; $k++)
{
$pdc2222 = @mysql_fetch_array($clance1);
$user2222 = $pdc2222["user"];
$inv2222 = $pdc2222["inv"];
$nk2222 = $pdc2222["id"];
if ($inv2222 != 1) echo "<img src=\"imgsinfo/kojegde.png\" alt=\"icon\"/><a href=\"info.php?ver=$ver&id=$id&ps=$ps&nk=$nk2222&ref=$ref\">$user2222</a>";
else if ($row["level"] >8 ) echo "<img src=\"imgsinfo/kojegde.png\" alt=\"icon\"/>$user2222(i)";
if (($k+1) != $kolpr2222) print ' ';
}
if($kolpr2222>0) echo "<br/>";
unset($pdc2222);
echo $divide;
}else{
echo"<img src=\"imgsinfo/enter.png\" alt=\"icon\"/>[<b><a href=\"clans.php?$ses&ref=$ref\">Klubovi ($clance[0])</a></b>]<br/>";
}
echo $divide;
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
$tm = time()-100700;
///////////////////////////////////////////////////////////////
$sportceee = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM users WHERE gdetime> '".$tm."' AND `gde` LIKE CONVERT(_utf8 '%Sportska Kladionica%' USING latin1)"));
if($sportce[0]>0){
echo"[<b><a href=\"sport.php?$ses&ref=$ref\">Kladionica</a></b>]";
echo "[<b><a href=\"info.php?$ses&ref=$ref\">$sportceee[0] chatera</a></b>]<br/>";
$sportceee1 = mysql_query("SELECT id, user, inv, level, gde, gdetime FROM users WHERE gdetime> '".$tm."' AND `gde` LIKE CONVERT(_utf8 '%Sportska Kladionica%' USING latin1) ORDER BY latuser ASC");
$kolpr2222 = mysql_affected_rows();
for ($k = 0; $k < $kolpr2222; $k++)
{
$pdc2222 = @mysql_fetch_array($sportceee1);
$user2222 = $pdc2222["user"];
$inv2222 = $pdc2222["inv"];
$nk2222 = $pdc2222["id"];
if ($inv2222 != 1) echo "<img src=\"imgsinfo/kojegde.png\" alt=\"icon\"/><a href=\"info.php?ver=$ver&id=$id&ps=$ps&nk=$nk2222&ref=$ref\">$user2222</a>";
else if ($row["level"] >8 ) echo "<img src=\"imgsinfo/kojegde.png\" alt=\"icon\"/>$user2222(i)";
if (($k+1) != $kolpr2222) print ' ';
}
if($kolpr2222>0) echo "<br/>";
unset($pdc2222);
echo $divide;
}else{
echo"<img src=\"imgsinfo/enter.png\" alt=\"icon\"/>[<b><a href=\"sport.php?$ses&ref=$ref\">Kladionica ($sportceee[0])</a></b>]<br/>";
echo $divide;
}
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
$tm = time()-100700;
////////////////////////////////////////////////////////////////
$sportce = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM users WHERE gdetime> '".$tm."' AND `gde` LIKE CONVERT(_utf8 '%Tuboteka%' USING latin1)"));
if($sportce[0]>0){
echo"[<b><a href=\"tuboteka.php?$ses&ref=$ref\"> HeppyTube</a></b>]";
echo "[<b><a href=\"infor.php?$ses&ref=$ref\">$sportce[0] chatera</a></b>]<br/>";
$sportce1 = mysql_query("SELECT id, user, inv, level, gde, gdetime FROM users WHERE gdetime> '".$tm."' AND `gde` LIKE CONVERT(_utf8 '%Tuboteka%' USING latin1) ORDER BY latuser ASC");
$kolpr2222 = mysql_affected_rows();
for ($k = 0; $k < $kolpr2222; $k++)
{
$pdc2222 = @mysql_fetch_array($sportce1);
$user2222 = $pdc2222["user"];
$inv2222 = $pdc2222["inv"];
$nk2222 = $pdc2222["id"];
if ($inv2222 != 1) echo "<img src=\"imgsinfo/kojegde.png\" alt=\"icon\"/><a href=\"info.php?ver=$ver&id=$id&ps=$ps&nk=$nk2222&ref=$ref\">$user2222</a>";
else if ($row["level"] >8 ) echo "<img src=\"imgsinfo/kojegde.png\" alt=\"icon\"/>$user2222(i)";
if (($k+1) != $kolpr2222) print ' ';
}
if($kolpr2222>0) echo "<br/>";
unset($pdc2222);
echo $divide;
}else{
echo"<img src=\"imgsinfo/enter.png\" alt=\"icon\"/>[<b><a href=\"tuboteka.php?$ses&ref=$ref\"> HeppyTube ($sportce[0])</a></b>]<br/>";
echo $divide;
}
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
$tm = time()-100700;
///////////////////////////////////////////////////////////////
$hodnik = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM users WHERE gdetime> '".$tm."' AND `gde` NOT LIKE CONVERT(_utf8 '%room%' USING latin1) AND `gde` NOT LIKE CONVERT(_utf8 '%Zabava%' USING latin1) AND `gde` NOT LIKE CONVERT(_utf8 '%*#*#*#*%' USING latin1) AND `gde` NOT LIKE CONVERT(_utf8 '%Kladionica%' USING latin1) AND `gde` NOT LIKE CONVERT(_utf8 '%Tuboteka%' USING latin1) AND `gde` NOT LIKE CONVERT(_utf8 '%Vas Portal%' USING latin1) AND gde!='Inbox' AND gde!='Salje Pismo' AND gde!='Poslata Pisma' AND gde!='Cita Pismo'"));
if($hodnik[0]>0){
echo"<img src=\"imgsinfo/hodnik.png\" alt=\"icon\"/>[<b><a href=\"enter.php?$ses&ref=$ref\">Hodnik</a></b>]";
echo "<img src=\"imgsinfo/enter.png\" alt=\"icon\"/>[<b><a href=\"prwho.php?$ses&ref=$ref\">$hodnik[0] chatera</a></b>]<br/>";
$hodnik1 = mysql_query("SELECT id, user, inv, level, gde, gdetime FROM users WHERE gdetime> '".$tm."' AND `gde` NOT LIKE CONVERT(_utf8 '%room%' USING latin1) AND `gde` NOT LIKE CONVERT(_utf8 '%Zabava%' USING latin1)AND `gde` NOT LIKE CONVERT(_utf8 '%*#*#*#*%' USING latin1) AND `gde` NOT LIKE CONVERT(_utf8 '%Kladionica%' USING latin1) AND `gde` NOT LIKE CONVERT(_utf8 '%Tuboteka%' USING latin1) AND `gde` NOT LIKE CONVERT(_utf8 '%Vas Portal%' USING latin1) AND gde!='Inbox' AND gde!='Salje Pismo' AND gde!='Poslata Pisma' AND gde!='Cita Pismo' ORDER BY latuser ASC");
$kolpr1 = mysql_affected_rows();
for ($k = 0; $k < $kolpr1; $k++)
{
$pdc1 = @mysql_fetch_array($hodnik1);
$user = $pdc1["user"];
$inv = $pdc1["inv"];
$nk = $pdc1["id"];
if ($inv != 1) echo "<img src=\"imgsinfo/kojegde.png\" alt=\"icon\"/><a href=\"info.php?ver=$ver&id=$id&ps=$ps&nk=$nk&ref=$ref\">$user</a>";
else if ($row["level"] >8 ) echo "$user(i)";
if (($k+1) != $kolpr1) print ' ';
}
if($kolpr1>0) echo "<br/>";
unset($pdc1);
}else{
echo"[<b><a href=\"enter.php?$ses&ref=$ref\">Hodnik ($hodnik[0])</a></b>]";
}
if (isset ($rm)){
if($rm==10) $takep="&pwd=$pwd&ref=$ref";
else if($mod=="privat") $takep="&mod=$mod&ref=$ref";
else $takep="&ref=$ref";
echo $divide;
echo "<a href=\"chat.php?$ses&rm=$rm$takep\">Chat Soba</a>\n";
}else{
echo $divide;
}
echo $fsize2;
if($ggggg=="1"){
include("gzip.php");
}
if ($ver=="wml")echo "</p></card></wml>";
else echo "</div></body></html>";
mysql_close ($link);
?>
|