";
echo "Nu esti autentificat
";
echo "Sau sesiunea ta a expirat
";
echo "Autentificare";
echo "
";
$itemowner = mysql_fetch_array(mysql_query("SELECT uid FROM lib3rty_justme WHERE id='".$gid."'"));
if(ismod(getuid_sid($sid))||getuid_sid($sid)==$itemowner[0])
{
$res = mysql_query("DELETE FROM lib3rty_justme WHERE id='".$gid."'");
if($res)
{
$unick = getnick_uid($who);
mysql_query("INSERT INTO lib3rtymrc_mlog SET action='poza', details='".getnick_uid(getuid_sid($sid))." Sterge candidat ".$unick."', actdt='".time()."'");
echo "candidat sters cu succes
";
}else{
echo "Eroare in baza de date!
";
}
}else{
echo "Nu poti sterge aceasta poza";
}
echo "
";
echo "";
echo "Galerie
";
echo "";
echo "Prim";
echo "
";
$res = mysql_query("INSERT INTO lib3rty_justme SET uid='".$uid."', itemurl='".$itemurl."', sex='".$usex."'");
if($res)
{
echo "Poza adaugata cu succes!
";
}else{
echo "Eroare in baza de date!
";
}
echo "Album foto
";
echo "";
echo "Meniu prim";
echo "
";
$res = mysql_query("Update lib3rty_justme SET comentariu='".$text."' WHERE id='".$gid."'");
if($res)
{
echo " Descriere poza adaugata cu succes!
";
}else{
echo "Eroare in baza de date!
";
}
echo "Just Me
";
echo "";
echo "Meniu prim";
echo "
";
$crdate = time();
$uid = getuid_sid($sid);
$res = false;
if($prate!="") {
$res2 = mysql_query("INSERT INTO lib3rtymrc_justme SET uid='".$uid."', pid='".$gid."', prate='".$prate."'");
if($res2)
{
echo "Candidat Votat cu succes
";
$msg = "".getnick_uid($uid)." tia adaugat un vot la concursul JUST ME![br/][i]P.S.:acesta este un pm automat,va rugam sa nu raspundeti la el![/i]";
mysql_query("INSERT INTO lib3rtymrc_private SET text='".$msg."', byuid='1', touid='".$who."', timesent='".time()."'");
}else{
echo "Eroare in baza de date!
";
}
}
echo "
";
echo "";
echo "Prim";
echo "
";
echo "Nu stiu cum ai ajuns aici, dar nu ai ce vedea
";
echo "";
echo "Prim";
echo "