";
echo "Nu esti autentificat
";
echo "sau sesiunea ta a expirat
";
echo "Autentificare";
echo "
";
echo "
";
echo "Esti Banat(a)
";
$banto = mysql_fetch_array(mysql_query("SELECT timeto FROM lib3rtymrc_penalties WHERE uid='".$uid."' AND penalty='1'"));
$banres = mysql_fetch_array(mysql_query("SELECT lastpnreas FROM lib3rtymrc_users WHERE id='".$uid."'"));
$remain = $banto[0]- time();
$rmsg = gettimemsg($remain);
echo "Timp ramas pana la debanare: $rmsg
";
echo "Motiv Ban: $banres[0]";
//echo "Login";
echo "
"; //include("popups.php"); // alerte $uid = getuid_sid($sid); $unreadpopup=mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_popups WHERE unread='1' AND touid='".$uid."'")); if ($unreadpopup[0]>0) { echo popup($sid); echo "
"; echo "";
echo "
-----
";
$males = mysql_fetch_array(mysql_query("SELECT COUNT(DISTINCT uid) FROM lib3rtymrc_gallery WHERE sex='M'"));
echo "Galerie foto baieti($males[0])";
echo "
";
$females = mysql_fetch_array(mysql_query("SELECT COUNT(DISTINCT uid) FROM lib3rtymrc_gallery WHERE sex='F'"));
echo "Galerie foto fete($females[0])";
echo "
";
$all = mysql_fetch_array(mysql_query("SELECT COUNT(DISTINCT uid) FROM lib3rtymrc_gallery"));
echo "Toate pozele($all[0])";
echo "
";
//echo "Adauga Poza Ta in Album
";
echo "
-----
";
echo "Adauga prin link
";
echo "Upload Poza";
echo "
-----
";
if (ismod(getuid_sid($sid)))
{
if(isactiunir(getuid_sid($sid)))
{
//echo "Adauga poza in galerie prin link
";
//echo "-----
";
}
}
///meniu cautare
echo "Cauta poze in galerie:
";
echo "Numele:
";
echo "»
-----
";
//echo "Adauga Poza Ta in Album";
echo "
"; echo ""; echo "Prim"; echo "
"; } /* /////////////////////////////////////////////////////////////////////// // WAPNEW.INFO bY I0nwTZz // /////////////////////////////////////////////////////////////////////// */ ////meniu cautare else if($action=="cautafoto") { $who = $_GET["who"]; $mnick = $_POST["mnick"]; $who = getuid_nick($mnick); $whonick = getnick_uid($who); $simbol = getsimbol($who); addonline(getuid_sid($sid),"Cauta in album $whonick","gallery.php?action=$action"); echo ""; $uid = getuid_sid($sid); $unreadpopup=mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_popups WHERE unread='1' AND touid='".$uid."'")); if ($unreadpopup[0]>0) { echo popup($sid); echo "
"; echo "";
echo "
Meniu galerie foto";
echo "
";
echo "Prim";
echo "
"; $uid = getuid_sid($sid); $unreadpopup=mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_popups WHERE unread='1' AND touid='".$uid."'")); if ($unreadpopup[0]>0) { echo popup($sid); echo "
"; echo "";
echo "Meniu Album
";
echo "";
echo "Prim";
echo "
";
echo "»Trimite un mms la adresa de mail: ";
echo "admin@ice-chat.ro";
echo " si trimite-i un PM lui CAM / Freazing (nu uita sa specifici in mms nickul tau)";
echo "
";
echo "P.S.:poza va aparea in galeria foto in maxim 48 h";
echo "
";
echo "
";
echo "Adauga Poza
";
echo "";
echo "Prim";
echo "
";
if(getplusses(getuid_sid($sid))<50)
{
echo "Ne pare rau dar pentru a adauga poza in galerie aveti nevoie de 50 de plusuri!enjoy...
";
}else{
echo "Daca ai poza uploadata undeva o poti adauga chiar acum in galeria ta.Sunt acceptate doar pozele in format .jpeg/.jpg.Pozele in alt format inclusiv link-urile invalide vor fi sterse de echipa si daca e cazul vor fi luate si sanctiuni!Deasemenea si elementele cu continut ilegal,pornografic sau spam vor fi sterse si primiti bann 7 zile fara avertisment!Enjoy...
";
echo "Adresa linkul pozei tale:
";
echo "
";
echo "Adauga Poza
";
echo "";
echo "Prim";
echo "
";
if(getplusses(getuid_sid($sid))<50)
{
echo "Ne pare rau dar pentru a adauga poza in galerie aveti nevoie de 50 de plusuri! Enjoy...
";
}
else
{
echo "Sunt acceptate doar pozele in format .jpeg / .jpg. Daca adaugati poze cu continut ilegal, pornografic sau spam va vom sanctiona cu un bann de 7 zile fara avertisment! Enjoy...
";
echo "Adresa pozei tale:
";
echo "
";
echo "Adauga Poza
";
echo "";
echo "Prim";
echo "
";
$items = mysql_query($sql);
echo mysql_error();
if(mysql_num_rows($items)>0)
{
while ($item = mysql_fetch_array($items))
{
$who = $item[0];
$user=getnick_uid($who);
$countpics = mysql_fetch_array(mysql_query("SELECT COUNT(id) FROM lib3rtymrc_gallery WHERE uid='".$who."'"));
$lnk = "[»] ".getsimbol($who)."$user are $countpics[0] poze
-----
";
echo "$lnk";
}
}else{
echo "Galeria nu contine poze!";
}
echo "
";
if($page>1)
{
$ppage = $page-1;
echo "«pagina anterioara ";
}
if($page<$num_pages)
{
$npage = $page+1;
echo "
»pagina urmatoare";
}
echo "
$page/$num_pages
";
if($num_pages>2)
{
$rets = "Dute la pagina";
$rets .= "
«Album meniu
";
echo "«";
echo "Prim";
echo "
";
$items = mysql_query($sql);
echo mysql_error();
if(mysql_num_rows($items)>0)
{
while ($item = mysql_fetch_array($items))
{
$who = $item[0];
$user=getnick_uid($who);
$countpics = mysql_fetch_array(mysql_query("SELECT COUNT(id) FROM lib3rtymrc_gallery WHERE uid='".$who."'"));
$lnk = "[»] ".getsimbol($who)."$user are $countpics[0] poze
-----
";
echo "$lnk";
}
}else{
echo "Galeria Baieti nu contine poze!";
}
echo "
";
if($page>1)
{
$ppage = $page-1;
echo "«pagina anterioara ";
}
if($page<$num_pages)
{
$npage = $page+1;
echo "
»pagina urmatoare";
}
echo "
$page/$num_pages
";
if($num_pages>2)
{
$rets = "Dute la pagina";
$rets .= "
«Album meniu
";
echo "«";
echo "Prim";
echo "
";
$items = mysql_query($sql);
echo mysql_error();
if(mysql_num_rows($items)>0)
{
while ($item = mysql_fetch_array($items))
{
$who = $item[0];
$user=getnick_uid($who);
$countpics = mysql_fetch_array(mysql_query("SELECT COUNT(id) FROM lib3rtymrc_gallery WHERE uid='".$who."'"));
$lnk = "[»] ".getsimbol($who)."$user are $countpics[0] poze
-----
";
echo "$lnk";
}
}else{
echo "Galeria Fete nu contine poze!";
}
echo "
";
if($page>1)
{
$ppage = $page-1;
echo "«pagina anterioara ";
}
if($page<$num_pages)
{
$npage = $page+1;
echo "
»pagina urmatoare";
}
echo "
$page/$num_pages
";
if($num_pages>2)
{
$rets = "Dute la pagina";
$rets .= "
«Album meniu
";
echo "«";
echo "Prim";
echo "
"; $uid = getuid_sid($sid); $unreadpopup=mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_popups WHERE unread='1' AND touid='".$uid."'")); if ($unreadpopup[0]>0) { echo popup($sid); echo "
"; echo "";
echo "»Nu,revin la meniu
---
";
echo "(!)Da,sterg
";
echo "
"; echo ""; echo "Prim"; echo "
"; } ////////////////////////// Pofil galerie else if($action=="viewuser") { $who = $_GET["who"]; $whonick = getnick_uid($who); addonline(getuid_sid($sid),"Vizualizeaza poze $whonick",""); $uid = getuid_sid($sid); //////ALL gallery SCRIPT << if($page=="" || $page<=0)$page=1; if($who!="") { $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_gallery WHERE uid='".$who."'")); }else{ $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_gallery")); } $num_items = $noi[0]; //changable $items_per_page= 1; $num_pages = ceil($num_items/$items_per_page); if(($page>$num_pages)&&$page!=1)$page= $num_pages; $limit_start = ($page-1)*$items_per_page; if($who!="") { $sql = "SELECT id, sex, itemurl, views FROM lib3rtymrc_gallery WHERE uid='".$who."' ORDER BY id DESC LIMIT $limit_start, $items_per_page"; }else{ $sql = "SELECT id, sex, itemurl, uid, views FROM lib3rtymrc_gallery ORDER BY id DESC LIMIT $limit_start, $items_per_page"; } echo "";
$unreadinbox=mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_private WHERE unread='1' AND touid='".$uid."'"));
$pmtotl=mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_private WHERE touid='".$uid."'"));
$unrd="[".$unreadinbox[0]."]";
if ($unreadinbox[0]>0)
{
echo "Ai:$unrdPMs
-----
";
}
$items = mysql_query($sql);
echo mysql_error();
if(mysql_num_rows($items)>0)
{
while ($item = mysql_fetch_array($items))
{
$id = $item[0];
$img = $item[2];
$lnk = "
";
$rinfo = mysql_fetch_array(mysql_query("SELECT COUNT(*) as nofr, SUM(prate) as nofp FROM lib3rtymrc_prate WHERE pid='".$id."'"));
$counts = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_prate WHERE pid='".$id."'"));
if($counts[0]>0) {
$ther = $rinfo[1]/$rinfo[0];
$rating = "Rating: $ther/$rinfo[1] (voturi($counts[0])
";
}else{
$rating = "";
}
$gall = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_galcomments WHERE pid='".$id."'"));
$me = getuid_sid($sid);
if($who=="$me") {
$use = "»Adauga descriere«
Foloseste ca avatar";
}else{
$views = $item[3]+1;
mysql_query("UPDATE lib3rtymrc_gallery SET views='".$views."' WHERE id='".$item[0]."'");
$use = "";
}
if(candelgal($uid, $item[0]))
{
$delnk = "
Sterge poza";
}else{
$delnk = "";
}
$decriere = parsemsg(getgallerymsg($id), $sid);
echo "Poza vazuta de $item[3] ori
";
echo "$lnk$rating";
echo "$decriere
";
echo "Descarca poza
";
echo "$use$delnk
Comentarii poza($gall[0])
";
$me = getuid_sid($sid);
if($me!="$who") {
echo "»Adauga comentariu«
";
}
echo "-----
";
}
}
echo "
";
echo "".getsimbol($who)."$whonick acum $iml
";
echo "»trimite PM
";
echo "»trimite Alerta
";
echo "»Vizualizare Profil
";
echo "
-----
";
if($page>1)
{
$ppage = $page-1;
echo "«pagina anterioara ";
}
if($page<$num_pages)
{
$npage = $page+1;
echo "
»pagina urmatoare";
}
echo "
$page/$num_pages
";
if($num_pages>2)
{
$rets = "Dute la pagina
";
$rets .= "
«Album meniu
";
echo "«";
echo "Prim";
echo "
";
$items = mysql_query($sql);
echo mysql_error();
if(mysql_num_rows($items)>0)
{
while ($item = mysql_fetch_array($items))
{
if(isonline($item[3]))
{
$iml = "";
}else{
$iml = "";
}
$snick = getnick_uid($item[3]);
$lnk = "$iml".getsimbol($item[3])."$snick:";
$bs = date("d m y-H:i:s",$item[4]);
echo "$lnk
";
$me = getuid_sid($sid);
if($who=="$me") {
$can = "a";
}else{
$can = "b";
}
if(ismod($uid)||$can=="a")
{
$delnk = "[x]";
}else{
$delnk = "";
}
$text = parsepm($item[2], $sid);
echo "$text $delnk
";
echo "$bs";
echo "
";
echo "";
}
}
echo "
";
if($page>1)
{
$ppage = $page-1;
echo "«pagina anterioara ";
}
if($page<$num_pages)
{
$npage = $page+1;
echo "
»pagina urmatoare";
}
echo "
$page/$num_pages
";
if($num_pages>2)
{
$rets = "Dute la pagina";
$rets .= "
";
$me = getuid_sid($sid);
if($me!="$who") {
echo "»Adauga comentariu
";
}
echo "«Album meniu
";
echo "«";
echo "Prim";
echo "
";
$items = mysql_query($sql);
echo mysql_error();
if(mysql_num_rows($items)>0)
{
while ($item = mysql_fetch_array($items))
{
$img = $item[0];
$lnk = "
";
echo "$lnk";
echo "Comentariu:
";
echo "
";
echo "
";
}
}
echo "Meniu galerie
";
echo "";
echo "Prim";
echo "
";
$items = mysql_query($sql);
echo mysql_error();
if(mysql_num_rows($items)>0)
{
while ($item = mysql_fetch_array($items))
{
$img = $item[0];
$lnk = "
";
echo "$lnk";
echo "Comentariu:
";
echo "
";
echo "
";
}
}
echo "Meniu galerie
";
echo "";
echo "Prim";
echo "
";
echo "Nu stiu cum ai ajuns aici, dar nu ai ce vedea
";
echo "";
echo "Album meniu
";
echo "";
echo "Prim";
echo "