"; echo ""; ?> "; echo "$numesite (ERROR!)"; echo ""; echo ""; echo ""; echo "

"; echo "\"*\"/
"; echo "Eroare, nu se poate conecta la baza d date!

"; echo "Aceasta eroare apare de obicei cand care serverul isi va reveni in cateva secunde!Daca problema persista va rugam sa luati legatura cat mai curand posibil cu IonutXP

"; echo "Va multumim foarte mult pentru intelegere!"; echo "

"; echo ""; echo ""; exit(); } $brws = explode(" / ",$HTTP_USER_AGENT); $ubr = $brws[0]; $uip = getip(); $action = $_GET["action"]; $sid = $_GET["sid"]; $page = $_GET["page"]; $who = $_GET["who"]; $uid = getuid_sid($sid); $theme = mysql_fetch_array(mysql_query("SELECT theme FROM lib3rtymrc_users WHERE id='".$uid."'")); cleardata(); if(islogged($sid)==false) { echo ""; echo "$numesite"; echo ""; echo ""; echo ""; echo "

"; echo "\"X\"/Nu esti autentificat
"; echo "Sau sesiunea ta a expirat

"; echo "»Autentificare«"; echo "

"; echo ""; echo ""; exit(); } if(isipbanned($uip,$ubr)) { if(!isshield(getuid_sid($sid))) { echo ""; echo "$numesite"; echo ""; echo ""; echo ""; echo "

"; echo "\"x\"/
"; echo "Acest IP este blocat!
"; echo "
"; echo "Acest browser a fost banat!Daca ai scutul actiat incearca sa te loghezi!

"; $banto = mysql_fetch_array(mysql_query("SELECT timeto FROM lib3rtymrc_penalties WHERE penalty='2' AND ipadd='".$uip."' AND browserm='".$ubr."' LIMIT 1 ")); //echo mysql_error(); $remain = $banto[0] - time(); $rmsg = gettimemsg($remain); echo "Timp ramas pana la debanarea IP-ului: $rmsg

"; echo "

"; echo "

"; echo "Numele:
"; echo "Parola:
"; echo "LOGARE"; echo ""; echo ""; echo ""; echo "

"; echo ""; echo ""; exit(); } } if($action=="trim_cerere") { $cine = $_GET["who"]; #scoate nick $el = getnick_uid($who); $eu = getnick_sid($sid); # $eu1 = getuid_sid($sid); addonline(getuid_sid($sid),"Cere pe $el",""); echo ""; echo "Cere pe $el"; echo ""; echo ""; echo ""; echo "

"; # $pecine = $_GET["who"]; $user = $pecine; //$usr = mysql_real_escape_string($usr); //$usr = getuid_nick($usr); $usr = $user; $sex1 = mysql_fetch_array(mysql_query("SELECT sex FROM lib3rtymrc_users WHERE id='".$uid."'")); $sex2 = mysql_fetch_array(mysql_query("SELECT sex FROM lib3rtymrc_users WHERE id='".$pecine."'")); $we = mysql_fetch_array(mysql_query("SELECT who, partner, accept, req FROM couple WHERE who='".$uid."'")); if($we[2]=='1') { $wer = getnick_uid($we[1]); echo "Esti deja logodit cu $wer!

"; echo "Acasa"; echo "

"; echo ""; echo ""; exit(); } $me = mysql_fetch_array(mysql_query("SELECT who, partner, accept, req FROM couple WHERE partner='".$uid."'")); if($me[2]=='1') { $sya = getnick_uid($me[0]); echo "Esti deja logodit cu $sya!

"; echo "Acasa"; echo "

"; echo ""; echo ""; exit(); } $deja = mysql_fetch_array(mysql_query("SELECT req FROM couple WHERE who='".$uid."' AND partner='".$pecine."'")); if($deja[0]=='1') { $sya = getnick_uid($pecine); echo "Ai trimis deja o cerere la $sya!

"; echo "Acasa"; echo "

"; echo ""; echo ""; exit(); } #ai trimis deja o cerere altcuiva $deja = mysql_fetch_array(mysql_query("SELECT req FROM couple WHERE who='".$uid."' AND partner!='".$pecine."'")); $pecineai = mysql_fetch_array(mysql_query("SELECT partner FROM couple WHERE who='".$uid."'")); if($deja[0]=='1') { $rezultat = getnick_uid($pecineai[0]); echo "Ai trimis deja o cerere la $rezultat!

"; echo "Acasa"; echo "

"; echo ""; echo ""; exit(); } # #a trimis deja o cerere altcuiva $atrimis = mysql_fetch_array(mysql_query("SELECT req FROM couple WHERE who='".$pecine."'")); $pecineare = mysql_fetch_array(mysql_query("SELECT partner FROM couple WHERE who='".$pecine."'")); if($atrimis[0]=='1') { $el = getnick_uid($pecine); $rezultat = getnick_uid($pecineare[0]); echo "$el a trimis deja o cerere la $rezultat!

"; echo "Acasa"; echo "

"; echo ""; echo ""; exit(); } if($pecine==$uid) { echo "Nu poti sa te logodesti cu tine!
"; echo "Acasa"; echo "

"; echo ""; echo ""; exit(); } # //$info = mysql_fetch_array(mysql_query("SELECT accept, who, partner FROM couple WHERE who='".$eu1."' OR partner='".$cine."'")); //if($info[0]=='1') //if($info[1]=='1' OR $info[2]=='1') //{ $infoel = mysql_fetch_array(mysql_query("SELECT sex FROM lib3rtymrc_users WHERE id='".$who."'")); echo "\".\"/
"; if($infoel[0]=='M'){ echo "$eu in acest moment esti pe cale sa il ceri in casatorie pe $el
"; echo "Poti sa ii trimiti cererea impreuna cu cea mai frumoasa declaratie
"; }else if($infoel[0]=='F'){ echo "$eu in acest moment esti pe cale sa o ceri in casatorie pe $el
"; echo "Poti sa ii trimiti cererea impreuna cu cea mai frumoasa declaratie
"; }else{ echo "$eu in acest moment esti pe cale sa il ceri in casatorie pe $el
"; echo "Poti sa ii trimiti cererea impreuna cu cea mai frumoasa declaratie
"; } echo "
"; echo "
"; echo "
"; echo "
"; //}else if($info[0]=='0'){ //echo "Esti deja implicat intr-o relatie!
"; //echo "Ca sa poti sa ii trimiti o cerere lu' $el trebuie sa te desparti!
"; //} echo '

'; echo ""; echo "Acasa"; echo '

'; echo "

"; echo ""; } else if($action=="listacererelogodna") { $cine = $_GET["who"]; $el = getnick_uid($who); $eu = getnick_sid($sid); addonline(getuid_sid($sid),"Cerere logodna",""); echo ""; echo "Stare Civila"; echo ""; echo ""; echo ""; echo "

"; $couple = mysql_fetch_array(mysql_query("SELECT who, partner, req FROM couple WHERE partner='".$uid."'")); if($couple[2]=='1') { $unick = getnick_uid($couple[1]); $nick = getnick_uid($couple[0]); echo "Logodna dintre $unick si $nick

"; echo "$unick accepti cererea in logodna de la $nick?

"; echo "Da
"; echo "Nu , nu accept

"; }else{ echo "Nu ai cereri!!
"; } echo ""; echo "Acasa"; echo "

"; echo ""; } else if($action=="listacererecasatorie") { $cine = $_GET["who"]; $el = getnick_uid($who); $eu = getnick_sid($sid); addonline(getuid_sid($sid),"Cerere Casatorie",""); echo ""; echo "Cerere Casatorie"; echo ""; echo ""; echo ""; echo "

"; $couple = mysql_fetch_array(mysql_query("SELECT who2, partner2, cerere FROM couple WHERE partner2='".$uid."'")); if($couple[2]=='1') { $unick = getnick_uid($couple[1]); $nick = getnick_uid($couple[0]); echo "Casatoria dintre $unick si $nick

"; echo "$unick accepti cererea in casatorie de la $nick?

"; echo "Da, accept
"; echo "Nu, nu accept

"; }else{ echo "Nu ai cerere!!
"; } echo ""; echo "Acasa"; echo "

"; echo ""; } else if($action=="proaspatcasatoriti") { addonline(getuid_sid($sid),"Casatorie Online","stare_civila.php?action=$action"); echo ""; echo "Proaspat Casatoriti"; echo ""; echo ""; echo ""; echo "

"; echo "Lista cuplurilor ice-chat care s-au casatorit de mai putin de 48 de ore"; echo "

"; $uid = getuid_sid($sid); if($page=="" || $page<=0)$page=1; $uid = getuid_sid($sid); if($page=="" || $page<=0)$page=1; $tinta = 2*24*60*60; $acum = time(); $expirat = $acum - $tinta; $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM couple WHERE casatorit='1' AND joined2>'".$expirat."'")); $num_items = $noi[0]; //changable $items_per_page= 5; $num_pages = ceil($num_items/$items_per_page); if(($page>$num_pages)&&$page!=1)$page= $num_pages; $limit_start = ($page-1)*$items_per_page; $tinta = 2*24*60*60; $acum = time(); $expirat = $acum - $tinta; $sql = "SELECT id, who2, partner2, accept, cand, timp, joined2 FROM couple WHERE casatorit='1' AND joined2>'".$expirat."' ORDER BY joined2 LIMIT $limit_start, $items_per_page"; $cou = $limit_start; if($noi[0]>0) // if($num_items>0) { echo "

"; $items = mysql_query($sql); echo mysql_error(); if(mysql_num_rows($items)>0) { while ($item = mysql_fetch_array($items)) { $decand = $item[6]; $limita = time()-$decand; $acum = time(); $cat = 2*24*60*60; // zile-ore-minute-secunde $timeto = 2*24*60*60; $timenw = time(); $exit = $timenw - $timeto; $nume = getnick_uid($item[1]); $nume2 = getnick_uid($item[2]); $numelnk = "$nume"; $numelnk2 = "$nume2"; $data = date("d.m.y/H:m", $item[5]); $data2 = date("d.m.y/H:m", $item[6]); $cou++; echo "$cou. $numelnk + $numelnk2
"; $impreuna = date("d m y H:i:s",$item[6]); $lastact = time() - $item[6]; $cat = gettimemsg($lastact); echo "Sunt casatoriti de $cat
"; echo "data exacta a casatoriei: $impreuna
"; echo "trimite cadou"; echo "
-----
"; } } echo "

"; echo "

"; if($page>1) { $ppage = $page-1; echo "«pagina anterioara
"; } if($page<$num_pages) { $npage = $page+1; echo "»pagina urmatoare"; } if($num_pages>1){ echo "
Pagina $page din $num_pages
"; } if($num_pages>2) { $rets .= "

"; $rets = "pagina "; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= "
"; echo $rets; } echo "

"; }else{ echo "

"; echo ""; echo "(nici un cuplu casatorit in ultimile 48 ore pe ice-chat)"; echo ""; echo "

"; } ////// UNTILL HERE >> echo "

"; echo "Stare Civila
"; //echo ""; echo Prim($sid); //echo ""; echo "

"; echo ""; } else if($action=="reqcut") { $who = $_GET["who"]; addonline(getuid_sid($sid),"Retrage Cerere",""); echo ""; echo "

"; $uid = getuid_sid($sid); $dacam = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM couple WHERE who='".$uid."' OR partner='".$uid."'")); if ($dacam[0]==0) { // echo ""; // echo "

"; echo ""; echo "Eroare, nu ai acces aici. Nu esti logodit sau casatorit. SI nici cereri nu ai!

"; echo "

"; echo "
"; echo ""; exit(); } $cerere = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM couple WHERE who='".$uid."' AND accept='0' AND req='1'")); if($cerere[0]==0){ echo "Nu ai cereri trimise
"; echo "Acasa"; echo "

"; echo ""; echo ""; exit(); } $motiv = mysql_query("DELETE FROM couple WHERE who='".$uid."'"); if($motiv){ echo "Cerere retrasa cu succes
"; }else{ echo "Eroare in baza de date
"; } echo "Acasa"; echo "

"; } else if($action=="cupluri") { addonline(getuid_sid($sid),"Lista Cupluri","stare_civila.php?action=$action"); echo ""; echo "Cupluri"; echo ""; echo ""; echo ""; echo "

"; echo "Lista cuplurilor de pe MagicWorld"; echo "

"; $uid = getuid_sid($sid); if($page=="" || $page<=0)$page=1; $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM couple WHERE accept='1'")); $num_items = $noi[0]; //changable $items_per_page= 5; $num_pages = ceil($num_items/$items_per_page); if(($page>$num_pages)&&$page!=1)$page= $num_pages; $limit_start = ($page-1)*$items_per_page; $sql = "SELECT id, who, partner, accept, cand, timp, joined, casatorit FROM couple WHERE accept='1' ORDER BY joined LIMIT $limit_start, $items_per_page"; $cou = $limit_start; if($num_items>0) { echo "

"; $items = mysql_query($sql); echo mysql_error(); if(mysql_num_rows($items)>0) { while ($item = mysql_fetch_array($items)) { $decand = $item[6]; $limita = time()-$decand; //$acum = time(); $nume = getnick_uid($item[1]); $nume2 = getnick_uid($item[2]); $numelnk = "$nume"; $numelnk2 = "$nume2"; // $data = date("d.m.y/H:m", $item[5]); // $data2 = date("d.m.y/H:m", $item[6]); $cou++; echo "$cou. $numelnk + $numelnk2
"; $impreuna = date("d m y H:i:s",$item[6]); $lastact = time() - $item[6]; $cat = gettimemsg($lastact); if($item[7]==0){ $starea = "logoditi"; $shalala = "logodnei"; }else if($item[7]==1){ $starea = "casatoriti"; $shalala = "casatoriei"; } echo "Sunt $starea de $cat
"; echo "data exacta a $shalala: $impreuna
"; $idc = mysql_fetch_array(mysql_query("SELECT id FROM couple WHERE who='".$uid."' OR partner='".$uid."'")); $dacaex = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM couple WHERE who='".$uid."' OR partner='".$uid."'")); $nas = mysql_fetch_array(mysql_query("SELECT nas1, nas2 FROM couple WHERE id='".$idc[0]."'")); if(($nas[0]=="" && $nas[1]=="") && ($item[0]!==$idc[0]&& $dacaex[0]!=="0")){ echo "Fa-i nasi"; echo "
-----
"; }else{ echo "-----
"; } } } echo "

"; echo "

"; if($page>1) { $ppage = $page-1; echo "«pagina anterioara
"; } if($page<$num_pages) { $npage = $page+1; echo "»pagina urmatoare"; } if($num_pages>1){ echo "
Pagina $page din $num_pages
"; } if($num_pages>2) { $rets .= "

"; $rets = "pagina "; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= "
"; echo $rets; } echo "

"; }else{ echo "

"; echo ""; echo "(nici un cuplu nu a fost gasit pe ice-chat)"; echo ""; echo "

"; } ////// UNTILL HERE >> echo "

"; echo "Stare Civila
"; //echo ""; echo Prim($sid); //echo ""; echo "

"; echo ""; } /////////////////////////////////////////da plusuri else if($action=="cadou") { addonline(getuid_sid($sid),"Trimite Plusuri",""); echo ""; echo "$numesite"; echo ""; echo ""; echo ""; echo "

"; $cuplu = $_GET["cuplu"]; $altu = mysql_fetch_array(mysql_query("SELECT who2, partner2 FROM couple WHERE id='".$cuplu."'")); if(getuid_sid($sid)==$altu[0] OR getuid_sid($sid)==$altu[1]) { echo "Of.Of lasa-i pe altii sa va trimite cadou!

"; echo "Acasa"; echo "

"; echo ""; echo ""; exit(); } echo ""; echo " "; echo ""; echo "Trimite Plusuri cuplului
".getnick_uid($altu[0])." + ".getnick_uid($altu[1])."


"; $ps = mysql_fetch_array(mysql_query("SELECT plusses FROM lib3rtymrc_users WHERE id='".getuid_sid($sid)."'")); echo "Ai $ps[0] Plusuri

"; echo "Cate Plusuri le dai ?
"; echo "
"; echo ""; echo "
"; echo ""; echo "
"; echo "

"; echo "Acasa"; echo "

"; echo ""; } else if($action=="acordacadou") { $cuplu = $_GET["cuplu"]; $ptg = $_POST["ptg"]; //$cui = getnick_uid($who); addonline(getuid_sid($sid),"Trimite Cadou de nunta!",""); echo ""; echo "Cadou de Nunta"; echo ""; echo ""; echo ""; echo "

"; $uid = getuid_sid($sid); $altu = mysql_fetch_array(mysql_query("SELECT who2, partner2 FROM couple WHERE id='".$cuplu."'")); if(getuid_sid($sid)==$altu[0] OR getuid_sid($sid)==$altu[1]) { echo "Of.Of lasa-i pe altii sa va trimite cadou!

"; echo "Acasa"; echo "

"; echo ""; echo ""; exit(); } $cuplu = mysql_fetch_array(mysql_query("SELECT who2, partner2 FROM couple WHERE id='".$cuplu."'")); $eu = mysql_fetch_array(mysql_query("SELECT plusses FROM lib3rtymrc_users WHERE id='".getuid_sid($sid)."'")); $primu = mysql_fetch_array(mysql_query("SELECT plusses FROM lib3rtymrc_users WHERE id='".$cuplu[0]."'")); $doi = mysql_fetch_array(mysql_query("SELECT plusses FROM lib3rtymrc_users WHERE id='".$cuplu[1]."'")); $primu1 = getnick_uid($cuplu[0]); $doi2 = getnick_uid($cuplu[1]); if($eu[0]>=$ptg){ $eux = $eu[0]-$ptg; $doix = $doi[0]+$ptg; $primux = $primu[0]+$ptg; $res = mysql_query("UPDATE lib3rtymrc_users SET plusses='".$eux."' WHERE id='".getuid_sid($sid)."'"); //$res = mysql_query("UPDATE lib3rtymrc_users SET plusses='".$doi2."' WHERE id='".$altu[0]."'"); if($res) { mysql_query("UPDATE lib3rtymrc_users SET plusses='".$primux."' WHERE id='".$cuplu[0]."'"); mysql_query("UPDATE lib3rtymrc_users SET plusses='".$doix."' WHERE id='".$cuplu[1]."'"); $pocte = mysql_fetch_array(mysql_query("SELECT puncte FROM couple WHERE id='".$cuplu."'")); $catepct = $pocte[0]+3; mysql_query("UPDATE couple SET puncte='".$catepct."' WHERE id='".$cuplu."'"); echo "Cadou acordat cu succes cu succes! Cuplu a castigat si 3 puncte de romantism prin cadoul tau
"; if(automsgs($cuplu[0])) { $msg = "".getnick_uid(getuid_sid($sid))." va transferat $ptg plusuri fiind cadou de nunta si de asemenea ati castigat 3 puncte de romantism in plus! Casa de piatra!"; echo pmautomat($msg, $cuplu[0]); } if(automsgs($cuplu[1])) { $msg = "".getnick_uid($uid)." va transferat $ptg plusuri fiind cadou de nunta si de asemenea ati castigat 3 puncte de romantism in plus! Casa de piatra!"; echo pmautomat($msg, $cuplu[1]); } if(automsgs($uid)) { $msg = "Ati transferat $ptg plusuri in contul cuplului! Noi v-am dublat cadoul astfel fiecare din membrii cuplului a primit cate $ptg!"; echo pmautomat($msg, $uid); } }else{ echo "Eroare in baza de date!
"; } }else{ echo "Nu ai destule plusuri pentru a trimite cadou
"; if(automsgs($uid)) { $msg = "Ne pare rau dar momentan nu aveti suficiente plusuri in contul dumneavoastra pentru a transfera"; echo pmautomat($msg, $uid); } } echo "
"; echo ""; echo "Acasa"; echo "

"; echo ""; } else if($action=="meniu_s_civila") { addonline(getuid_sid($sid),"Stare Civila",""); echo ""; echo "Stare Civila"; echo ""; echo ""; echo ""; echo "

"; echo "Stare Civila"; echo "
"; $who =getuid_sid($sid); $cerere = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM couple WHERE who='".$who."' AND accept='0' AND req='1'")); if($cerere[0]>0){ $cererex = mysql_fetch_array(mysql_query("SELECT partner FROM couple WHERE who='".$who."' AND accept='0' AND req='1'")); echo "
Ai trimis deja o cerere. Asteapta pentru a fi acceptata sau refuzata!"; echo "
catre ".getnick_uid($cererex[0])."!

"; echo "Retrage Cerere"; echo "Acasa"; echo "

"; echo ""; echo ""; exit(); } $cerere = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM couple WHERE partner='".$who."' AND accept='0' AND req='1'")); $cererex = mysql_fetch_array(mysql_query("SELECT who FROM couple WHERE partner='".$who."' AND accept='0' AND req='1'")); if($cerere[0]>0){ echo "
Ai primit o cerere. Intra pe prim pentru a o accepta sau o a refuza!"; echo "
de la ".getnick_uid($cererex[0])."!

"; echo "Acasa"; echo "

"; echo ""; echo ""; exit(); } $ifmaritat = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM couple WHERE who='".$who."' OR partner='".$who."'")); if($ifmaritat[0]>0){ $casatorit = mysql_fetch_array(mysql_query("SELECT casatorit, who, partner, id FROM couple WHERE who='".$who."' OR partner='".$who."'")); if($casatorit[0]==0 && ($casatorit[1]==$who OR $casatorit[2]==$who)) { $nopl = mysql_fetch_array(mysql_query("SELECT sex, birthday, location FROM lib3rtymrc_users WHERE id='".$who."'")); $couple = mysql_fetch_array(mysql_query("SELECT accept, who, partner FROM couple WHERE who='".$who."'")); $couples = mysql_fetch_array(mysql_query("SELECT accept, who, partner FROM couple WHERE partner='".$who."'")); if($couple[0]=='1') { $mate = $couple[2]; $mate1 = getnick_uid($mate); if($nopl[0]=='M') { echo ""; echo "In acest moment esti logodit cu $mate1!
"; }else if($nopl[0]=='F'){ echo ""; echo "In acest moment esti logodita cu $mate1!
"; } $pocte = mysql_fetch_array(mysql_query("SELECT puncte FROM couple WHERE id='".$casatorit[3]."'")); echo "Puncte romantism cuplu : $pocte[0]
"; $altu = mysql_fetch_array(mysql_query("SELECT who, partner FROM couple WHERE who='".$who."' OR partner='".$who."'")); $noi1 = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_gallery WHERE uid='".$altu[0]."' AND cuplu='1'")); $noi2 = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_gallery WHERE uid='".$altu[1]."' AND cuplu='1'")); $poze = $noi1[0]+$noi2[0]; if($poze==0){ $pozici = "fara poze"; }if($poze==1){ $pozici = "o poza"; }if($poze>1){ $pozici = "$poze poze"; } echo "Albumul Cuplului($pozici)

"; $data = mysql_fetch_array(mysql_query("SELECT joined , cand FROM couple WHERE who='".$who."'")); $impreuna = date("d m y H:i:s",$data[0]); $lastact = time() - $data[0]; $cat = gettimemsg($lastact); echo "Sunteti logoditi de $cat
"; echo "data exacta a logodnei:
$impreuna
"; $cand = $data[1] - time(); $ramas = gettimemsg($cand); $data = date("d m y H:i:s",$data[1]); if($ramas>0) { echo "Va puteti casatori peste:
"; echo "$ramas
"; echo "in data de:
"; echo "$data

"; echo "Rupe Logodna!
"; }else{ echo "Rupe Logodna!
"; echo "Cere in casatorie!
"; } $cuplu = mysql_fetch_array(mysql_query("SELECT id FROM couple WHERE who='".$who."' OR partner='".$who."'")); $nas = mysql_fetch_array(mysql_query("SELECT nas1, nas2, datans FROM couple WHERE id='".$cuplu[0]."'")); if($nas[0]!=="" && $nas[1]!==""){ $nasu1 = getnick_uid($nas[0]); $nasu2 = getnick_uid($nas[1]); echo "
Nasii: $nasu1 + $nasu2
"; $data = date("d-m-y",$nas[2]); $ora = date("H:i",$nas[2]); echo "din data de $data, ora $ora
"; }else{ echo "
Nasii: nu aveti
"; echo"click aici pentru a cauta
"; } $idc = mysql_fetch_array(mysql_query("SELECT id FROM couple WHERE who='".$who."' OR partner='".$who."'")); $nas = mysql_fetch_array(mysql_query("SELECT who, partner FROM couple WHERE id='".$idc[0]."'")); $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM couple WHERE nas1='".$nas[0]."' AND nas2='".$nas[1]."'")); if($noi[0]=='0'){ echo "Nu sunteti nasi
"; }if($noi[0]=='1'){ echo "Sunteti nasi pentru un cuplu
"; }else if($noi[0]>'1'){ echo "Sunteti nasi pentru $noi[0] cupluri
"; } echo "
"; }else if($couples[0]=='1'){ $mate = $couples[1]; $mate1 = getnick_uid($mate); if($nopl[0]=='M') { echo ""; echo "In acest moment esti logodit cu $mate1!
"; }else if($nopl[0]=='F'){ echo ""; echo "In acest moment esti logodita cu $mate1!
"; } $pocte = mysql_fetch_array(mysql_query("SELECT puncte FROM couple WHERE id='".$casatorit[3]."'")); echo "Puncte romantism cuplu : $pocte[0]
"; $altu = mysql_fetch_array(mysql_query("SELECT who, partner FROM couple WHERE who='".$who."' OR partner='".$who."'")); $noi1 = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_gallery WHERE uid='".$altu[0]."' AND cuplu='1'")); $noi2 = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_gallery WHERE uid='".$altu[1]."' AND cuplu='1'")); $poze = $noi1[0]+$noi2[0]; if($poze==0){ $pozici = "fara poze"; }if($poze==1){ $pozici = "o poza"; }if($poze>1){ $pozici = "$poze poze"; } echo "Albumul Cuplului($pozici)

"; $data = mysql_fetch_array(mysql_query("SELECT joined , cand FROM couple WHERE partner='".$who."'")); $impreuna = date("d m y H:i:s",$data[0]); $lastact = time() - $data[0]; $cat = gettimemsg($lastact); echo "Sunteti logoditi de $cat
"; echo "data exacta a logodnei:
$impreuna
"; $cand = $data[1] - time(); $ramas = gettimemsg($cand); $data = date("d m y H:i:s",$data[1]); if($ramas>0) { echo "Va puteti casatori peste:
"; echo "$ramas
"; echo "in data de:
"; echo "$data

"; echo "Rupe Logodna!
"; }else{ echo "Rupe Logodna!
"; echo "Cere in casatorie!
"; } $cuplu = mysql_fetch_array(mysql_query("SELECT id FROM couple WHERE who='".$who."' OR partner='".$who."'")); $nas = mysql_fetch_array(mysql_query("SELECT nas1, nas2, datans FROM couple WHERE id='".$cuplu[0]."'")); if($nas[0]!=="" && $nas[1]!==""){ $nasu1 = getnick_uid($nas[0]); $nasu2 = getnick_uid($nas[1]); echo "
Nasii: $nasu1 + $nasu2
"; $data = date("d-m-y",$nas[2]); $ora = date("H:i",$nas[2]); echo "din data de $data, ora $ora
"; }else{ echo "
Nasii: nu aveti
"; echo"click aici pentru a cauta
"; } $idc = mysql_fetch_array(mysql_query("SELECT id FROM couple WHERE who='".$who."' OR partner='".$who."'")); $nas = mysql_fetch_array(mysql_query("SELECT who, partner FROM couple WHERE id='".$idc[0]."'")); $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM couple WHERE nas1='".$nas[0]."' AND nas2='".$nas[1]."'")); if($noi[0]=='0'){ echo "Nu sunteti nasi
"; }if($noi[0]=='1'){ echo "Sunteti nasi pentru un cuplu
"; }else if($noi[0]>'1'){ echo "Sunteti nasi pentru $noi[0] cupluri
"; } echo "
"; } #casatorie }else if($casatorit[0]==1){ $nopl = mysql_fetch_array(mysql_query("SELECT sex, birthday, location FROM lib3rtymrc_users WHERE id='".$who."'")); $couple = mysql_fetch_array(mysql_query("SELECT accept, who, partner FROM couple WHERE who='".$who."'")); $couples = mysql_fetch_array(mysql_query("SELECT accept, who, partner FROM couple WHERE partner='".$who."'")); if($couple[0]=='1') { $mate = $couple[2]; $mate1 = getnick_uid($mate); if($nopl[0]=='M') { echo ""; echo "In acest moment esti casatorit cu $mate1!
"; }else if($nopl[0]=='F'){ echo ""; echo "In acest moment esti casatorita cu $mate1!
"; } $pocte = mysql_fetch_array(mysql_query("SELECT puncte FROM couple WHERE id='".$casatorit[3]."'")); echo "Puncte romantism cuplu : $pocte[0]
"; $altu = mysql_fetch_array(mysql_query("SELECT who, partner FROM couple WHERE who='".$who."' OR partner='".$who."'")); $noi1 = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_gallery WHERE uid='".$altu[0]."' AND cuplu='1'")); $noi2 = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_gallery WHERE uid='".$altu[1]."' AND cuplu='1'")); $poze = $noi1[0]+$noi2[0]; if($poze==0){ $pozici = "fara poze"; }if($poze==1){ $pozici = "o poza"; }if($poze>1){ $pozici = "$poze poze"; } $data = mysql_fetch_array(mysql_query("SELECT joined2 FROM couple WHERE who='".$who."'")); $impreuna = date("d m y H:i:s",$data[0]); $lastact = time() - $data[0]; $cat = gettimemsg($lastact); echo "Sunteti casatoriti de $cat
"; echo "data exacta a casatoriei:
$impreuna
"; $cand = $data[1] - time(); $ramas = gettimemsg($cand); $data = date("d m y H:i:s",$data[1]); echo "Divorteaza!
"; $cuplu = mysql_fetch_array(mysql_query("SELECT id FROM couple WHERE who='".$who."' OR partner='".$who."'")); $nas = mysql_fetch_array(mysql_query("SELECT nas1, nas2, datans FROM couple WHERE id='".$cuplu[0]."'")); if($nas[0]!=="" && $nas[1]!==""){ $nasu1 = getnick_uid($nas[0]); $nasu2 = getnick_uid($nas[1]); echo "
Nasii: $nasu1 + $nasu2
"; $data = date("d-m-y",$nas[2]); $ora = date("H:i",$nas[2]); echo "din data de $data, ora $ora
"; }else{ echo "
Nasii: nu aveti
"; echo"click aici pentru a cauta
"; } $idc = mysql_fetch_array(mysql_query("SELECT id FROM couple WHERE who='".$who."' OR partner='".$who."'")); $nas = mysql_fetch_array(mysql_query("SELECT who, partner FROM couple WHERE id='".$idc[0]."'")); $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM couple WHERE nas1='".$nas[0]."' AND nas2='".$nas[1]."'")); if($noi[0]=='0'){ echo "Nu sunteti nasi
"; }if($noi[0]=='1'){ echo "Sunteti nasi pentru un cuplu
"; }else if($noi[0]>'1'){ echo "Sunteti nasi pentru $noi[0] cupluri
"; } echo "
"; }else if($couples[0]=='1'){ $mate = $couples[1]; $mate1 = getnick_uid($mate); if($nopl[0]=='M') { echo ""; echo "In acest moment esti casatorit cu $mate1!
"; }else if($nopl[0]=='F'){ echo ""; echo "In acest moment esti casatorita cu $mate1!
"; } $pocte = mysql_fetch_array(mysql_query("SELECT puncte FROM couple WHERE id='".$casatorit[3]."'")); echo "Puncte romantism cuplu : $pocte[0]
"; $altu = mysql_fetch_array(mysql_query("SELECT who, partner FROM couple WHERE who='".$who."' OR partner='".$who."'")); $noi1 = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_gallery WHERE uid='".$altu[0]."' AND cuplu='1'")); $noi2 = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_gallery WHERE uid='".$altu[1]."' AND cuplu='1'")); $poze = $noi1[0]+$noi2[0]; if($poze==0){ $pozici = "fara poze"; }if($poze==1){ $pozici = "o poza"; }if($poze>1){ $pozici = "$poze poze"; } echo "Albumul Cuplului($pozici)

"; $data = mysql_fetch_array(mysql_query("SELECT joined , cand FROM couple WHERE partner='".$who."'")); $impreuna = date("d m y H:i:s",$data[0]); $lastact = time() - $data[0]; // $lastact = time() - $data[0]; $cat = gettimemsg($lastact); echo "Sunteti casatoriti de $cat
"; echo "data exacta a casatoriei:
$impreuna
"; $cand = $data[1] - time(); $ramas = gettimemsg($cand); $data = date("d m y H:i:s",$data[1]); echo "Divorteaza!
"; $cuplu = mysql_fetch_array(mysql_query("SELECT id FROM couple WHERE who='".$who."' OR partner='".$who."'")); $nas = mysql_fetch_array(mysql_query("SELECT nas1, nas2, datans FROM couple WHERE id='".$cuplu[0]."'")); if($nas[0]!=="" && $nas[1]!==""){ $nasu1 = getnick_uid($nas[0]); $nasu2 = getnick_uid($nas[1]); echo "
Nasii: $nasu1 + $nasu2
"; $data = date("d-m-y",$nas[2]); $ora = date("H:i",$nas[2]); echo "din data de $data, ora $ora
"; }else{ echo "
Nasii: nu aveti
"; echo"click aici pentru a cauta
"; } $idc = mysql_fetch_array(mysql_query("SELECT id FROM couple WHERE who='".$who."' OR partner='".$who."'")); $nas = mysql_fetch_array(mysql_query("SELECT who, partner FROM couple WHERE id='".$idc[0]."'")); $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM couple WHERE nas1='".$nas[0]."' AND nas2='".$nas[1]."'")); if($noi[0]=='0'){ echo "Nu sunteti nasi
"; }if($noi[0]=='1'){ echo "Sunteti nasi pentru un cuplu
"; }else if($noi[0]>'1'){ echo "Sunteti nasi pentru $noi[0] cupluri
"; } echo "
"; }} }else if($ifmaritat[0]==0){ $nopl = mysql_fetch_array(mysql_query("SELECT sex, birthday, location FROM lib3rtymrc_users WHERE id='".$who."'")); if($nopl[0]=='M') { echo ""; echo "In acest moment esti Singur!
"; echo "Poti cere pe cineva din lista de prieteni sau dand click pe Singura la starea civila!
"; $whonick = getnick_uid($who); echo "
"; }else if($nopl[0]=='F'){ echo ""; echo "In acest moment esti Singura!
"; echo "Poti cere pe cineva din lista de prieteni sau dand click pe Singur la starea civila!
"; $whonick = getnick_uid($who); echo "
"; } } echo "
Acasa"; echo "

"; echo ""; } else if($action=="fini") { addonline(getuid_sid($sid),"Casatorie Online","stare_civila.php?action=$action"); echo ""; echo "

"; echo ""; echo "<small>Lista Fini</small>"; echo ""; echo ""; echo ""; echo "

"; $uid = getuid_sid($sid); if($page=="" || $page<=0)$page=1; $idc = mysql_fetch_array(mysql_query("SELECT id FROM couple WHERE who='".$uid."' OR partner='".$uid."'")); $nas = mysql_fetch_array(mysql_query("SELECT who, partner FROM couple WHERE id='".$idc[0]."'")); $dacaex = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM couple WHERE nas1='".$nas[0]."' AND nas2='".$nas[1]."'")); $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM couple WHERE nas1='".$nas[0]."' AND nas2='".$nas[1]."'")); $num_items = $noi[0]; //changable $items_per_page= 5; $num_pages = ceil($num_items/$items_per_page); if(($page>$num_pages)&&$page!=1)$page= $num_pages; $limit_start = ($page-1)*$items_per_page; $tinta = 2*24*60*60; $acum = time(); $expirat = $acum - $tinta; $idc = mysql_fetch_array(mysql_query("SELECT id FROM couple WHERE who='".$uid."' OR partner='".$uid."'")); $nas = mysql_fetch_array(mysql_query("SELECT who, partner FROM couple WHERE id='".$idc[0]."'")); $dacaex = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM couple WHERE nas1='".$nas[0]."' AND nas2='".$nas[1]."'")); $sql = "SELECT id, who, partner, accept, datans FROM couple WHERE nas1='".$nas[0]."' AND nas2='".$nas[1]."' ORDER BY datans LIMIT $limit_start, $items_per_page"; $cou = $limit_start; if($noi[0]>0) // if($num_items>0) { echo "

"; $items = mysql_query($sql); echo mysql_error(); if(mysql_num_rows($items)>0) { while ($item = mysql_fetch_array($items)) { $decand = $item[6]; $limita = time()-$decand; $nume = getnick_uid($item[1]); $nume2 = getnick_uid($item[2]); $numelnk = "$nume"; $numelnk2 = "$nume2"; $data = date("d.m.y/H:m", $item[4]); $cou++; echo "$cou. $numelnk + $numelnk2
din $data
"; echo "
-----
"; } } echo "

"; echo "

"; if($page>1) { $ppage = $page-1; echo "«pagina anterioara
"; } if($page<$num_pages) { $npage = $page+1; echo "»pagina urmatoare"; } if($num_pages>1){ echo "
Pagina $page din $num_pages
"; } if($num_pages>2) { $rets = "pagina"; $rets .= "[Du-te]"; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; echo $rets; } echo "

"; }else{ echo "

"; echo ""; echo "(nu aveti fini)"; echo ""; echo "

"; } ////// UNTILL HERE >> echo "

"; echo "Stare Civila
"; //echo ""; echo Prim($sid); //echo ""; echo "

"; echo ""; } else if($action=="cere") { addonline(getuid_sid($sid),"Cere Logodna",""); echo ""; echo "Stare Civila"; echo ""; echo ""; echo ""; echo "

"; $cerere = $_POST["cerere"]; //$usr = $_POST["usr"]; $user = $_GET["pecine"]; //$usr = mysql_real_escape_string($usr); //$usr = getuid_nick($usr); $usr = $user; $we = mysql_fetch_array(mysql_query("SELECT who, partner, accept, req FROM couple WHERE who='".$uid."'")); if($we[2]=='1') { $wer = getnick_uid($we[1]); echo "Esti deja logodit cu $wer!

"; echo "Acasa"; echo "

"; echo ""; echo ""; exit(); } $me = mysql_fetch_array(mysql_query("SELECT who, partner, accept, req FROM couple WHERE partner='".$uid."'")); if($me[2]=='1') { $sya = getnick_uid($me[0]); echo "Esti deja logodit cu $sya!

"; echo "Acasa"; echo "

"; echo ""; echo ""; exit(); } $deja = mysql_fetch_array(mysql_query("SELECT req FROM couple WHERE who='".$uid."' AND partner='".$pecine."'")); if($deja[0]=='1') { $sya = getnick_uid($pecine); echo "Ai trimis deja o cerere la $sya!

"; echo "Acasa"; echo "

"; echo ""; echo ""; exit(); } #ai trimis deja o cerere altcuiva $deja = mysql_fetch_array(mysql_query("SELECT req FROM couple WHERE who='".$uid."' AND partner!='".$pecine."'")); $pecineai = mysql_fetch_array(mysql_query("SELECT partner FROM couple WHERE who='".$uid."'")); if($deja[0]=='1') { $rezultat = getnick_uid($pecineai[0]); echo "Ai trimis deja o cerere la $rezultat!

"; echo "Acasa"; echo "

"; echo ""; echo ""; exit(); } # #a trimis deja o cerere altcuiva $atrimis = mysql_fetch_array(mysql_query("SELECT req FROM couple WHERE who='".$pecine."'")); $pecineare = mysql_fetch_array(mysql_query("SELECT partner FROM couple WHERE who='".$pecine."'")); if($atrimis[0]=='1') { $el = getnick_uid($pecine); $rezultat = getnick_uid($pecineare[0]); echo "$el a trimis deja o cerere la $rezultat!

"; echo "Acasa"; echo "

"; echo ""; echo ""; exit(); } # $sex1 = mysql_fetch_array(mysql_query("SELECT sex FROM lib3rtymrc_users WHERE id='".$uid."'")); $sex2 = mysql_fetch_array(mysql_query("SELECT sex FROM lib3rtymrc_users WHERE id='".$usr."'")); if($usr==0) { echo "Userul nu exista!
"; }else if($usr==$uid) { echo "Nu poti sa te logodesti cu tine!
"; echo "Starea Civila
"; } #elseif($sex1[0]!=$sex2[0]) #{ $whonick = getnick_uid($usr); $couple = mysql_fetch_array(mysql_query("SELECT who, partner, accept, req FROM couple WHERE partner='".$usr."'")); if($couple[2]=='1') { $sya = getnick_uid($couple[0]); echo "$whonick este deja impreuna cu $sya !

"; } $byuid = getuid_sid($sid); $tm = time(); if((!isignored($byuid, $who))&&(!istrashed($byuid))) { $unick = getnick_uid($uid); $pmtext = "$unick ar vrea sa te ceara in casatorie [br/]Declaratia : $cerere [br/] poti accepta sau hotara din ramura CERERE LOGODNA din meniul prim!"; $res = mysql_query("INSERT INTO lib3rtymrc_notificare SET text='".$pmtext."', byuid='".$byuid."', touid='".$usr."', timesent='".$tm."'"); }else{ $res = true; } if($res) { echo "Cerere trimisa cu succes la $whonick
"; echo "Asteapta pentru un raspuns!

"; mysql_query("INSERT INTO couple SET req='1', partner='".$usr."', who='".$uid."', time='".time()."'"); }else{ echo "Nu poti trimite cerere la $whonick

"; } #}# #else #{ #echo "Interzis mariajul intre persoanele de acelasi sex!
"; #echo "Stare Civila
"; #} echo "Acasa"; echo "

"; echo ""; } else if($action=="acceptalogodna") { $who = $_GET["who"]; addonline(getuid_sid($sid),"Stare Civila",""); echo ""; echo "Biserica"; echo ""; echo ""; echo ""; echo "

"; $uid = getuid_sid($sid); $dacam = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM couple WHERE who='".$uid."' OR partner='".$uid."'")); if ($dacam[0]==0) { // echo ""; // echo "

"; echo ""; echo "Eroare, nu ai acces aici. Nu esti logodit sau casatorit. SI nici cereri nu ai!

"; echo "

"; echo ""; echo ""; exit(); } echo " Stare Civila

"; $byuid = getuid_sid($sid); $nick = getnick_uid($uid); $nick1 = getnick_uid($who); echo "Felicitari! Logodna ta cu $nick este completa. Peste 14 zile va ve-ti putea casatori

"; $msg = "Felicitari! Logodna ta cu $nick este completa. Peste 14 zile va ve-ti putea casatori"; $msg1 = "Felicitari! Logodna ta cu $nick1 este completa. Peste 14 zile va ve-ti putea casatori"; mysql_query("INSERT INTO lib3rtymrc_notificare SET text='".$msg."', byuid='".$byuid."', touid='".$who."', unread='1', timesent='".time()."'"); mysql_query("INSERT INTO lib3rtymrc_notificare SET text='".$msg1."', byuid='".$who."', touid='".$byuid."', unread='1', timesent='".time()."'"); $timp = 14*24*60*60; $cand = $timp + time(); mysql_query("UPDATE couple SET accept='1', req='2', joined='".time()."', cand='".$cand."' WHERE partner='".$uid."' AND who='".$who."'"); $nick = getnick_uid($who); $byuid = getuid_sid($sid); $unick = getnick_uid($byuid); echo "Acasa"; echo "

"; } else if($action=="refuzalogodna") { $who = $_GET["who"]; addonline(getuid_sid($sid),"Refuza",""); echo ""; echo "Stare Civila"; echo ""; echo ""; echo ""; echo "

"; $uid = getuid_sid($sid); $dacam = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM couple WHERE who='".$uid."' OR partner='".$uid."'")); if ($dacam[0]==0) { // echo ""; // echo "

"; echo ""; echo "Eroare, nu ai acces aici. Nu esti logodit sau casatorit. SI nici cereri nu ai!

"; echo "

"; echo ""; echo ""; exit(); } $nick = getnick_uid($who); echo "Ai refuzat cererea!

"; $byuid = getuid_sid($sid); $couple = mysql_fetch_array(mysql_query("SELECT who, partner FROM couple WHERE partner='".$uid."'")); $msg = "Scuze, $nick a refuzat cererea ta!"; mysql_query("INSERT INTO lib3rtymrc_notificare SET text='".$msg."', byuid='".$byuid."', touid='".$couple[0]."', unread='1', timesent='".time()."'"); $res = mysql_query("DELETE FROM couple WHERE partner='".$uid."' AND who='".$couple[0]."'"); echo "Acasa"; echo "

"; }else if($action=="rupelogodna") { addonline(getuid_sid($sid),"Rupe logodna",""); echo ""; echo "Stare Civila"; echo ""; echo ""; echo ""; echo "

"; //$me = mysql_fetch_array(mysql_query("SELECT who, partner, accept, req FROM couple WHERE who ='".$uid."'")); $me = mysql_fetch_array(mysql_query("SELECT who,partner FROM couple WHERE who='".$uid."' OR partner='".$uid."'")); //$you = mysql_fetch_array(mysql_query("SELECT who, partner, accept, req FROM couple WHERE partner ='".$uid."'")); $nick = getnick_uid($me[0]); $unick = getnick_uid($me[1]); if($uid==$me[0]) { echo "Chiar vrei sa rupi logodna?

"; } if($uid==$me[1]) { echo "Chiar vrei sa rupi logodna?

"; } $wed = mysql_fetch_array(mysql_query("SELECT partner FROM couple WHERE who='".$uid."'")); if (!$wed) { $wed = mysql_fetch_array(mysql_query("SELECT who FROM couple WHERE partner='".$uid."'")); } $who = $wed[0]; echo "

"; echo ""; echo ""; echo "
"; echo "Nu

"; echo "Acasa"; echo "

"; echo ""; }else if($action=="rupelogodnada") { addonline(getuid_sid($sid),"Rupe Logodna",""); echo ""; echo "Stare Civila"; echo ""; echo ""; echo ""; echo "

"; $uid = getuid_sid($sid); $dacam = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM couple WHERE who='".$uid."' OR partner='".$uid."'")); if ($dacam[0]==0) { // echo ""; // echo "

"; // echo ""; echo "Eroare, nu ai acces aici. Nu esti logodit sau casatorit. SI nici cereri nu ai!

"; echo "

"; echo ""; echo ""; exit(); } $who = $_POST["who"]; $uid = getuid_sid($sid); $res = mysql_query("DELETE FROM couple WHERE who='".$uid."' OR partner='".$uid."'"); $res = mysql_query("DELETE FROM couple WHERE who='".$who."' OR partner='".$who."'"); if($res) { $nick = getnick_uid($who); $nic = getnick_uid($uid); $msg = "$nic a rupt logodna voastra![br/][small]p.s: pm automat[/small]"; mysql_query("INSERT INTO lib3rtymrc_notificare SET text='".$msg."', byuid='".$uid."', touid='".$who."', unread='1', timesent='".time()."'"); echo "Ai rupt logodna cu succes!

"; }else{ echo "Eroare!

"; } echo "Acasa"; echo "

"; echo ""; } #############################CASATORIE#################################### else if($action=="casatoreste") { addonline(getuid_sid($sid),"Stare Civila",""); echo ""; echo "Stare Civila"; echo ""; echo ""; echo ""; echo "

"; $uid = getuid_sid($sid); $dacam = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM couple WHERE who='".$uid."' OR partner='".$uid."'")); if ($dacam[0]==0) { // echo ""; // echo "

"; echo ""; echo "Eroare, nu ai acces aici. Nu esti logodit sau casatorit. SI nici cereri nu ai!

"; echo "

"; echo ""; echo ""; exit(); } $user = $_GET["who"]; $usr = $user; $idmew = getuid_sid($sid); $uid = getuid_sid($sid); $cuplu = mysql_fetch_array(mysql_query("SELECT id FROM couple WHERE who='".$uid."' OR partner='".$uid."'")); $nas = mysql_fetch_array(mysql_query("SELECT nas1, nas2, datans FROM couple WHERE id='".$cuplu[0]."'")); if($nas[0]=="" && $nas[1]==""){ echo "Nu v-ati gasit nasi pentru a va putea casatori!

"; echo "Acasa"; echo "

"; echo ""; echo ""; exit(); } //$usr = mysql_real_escape_string($usr); //$usr = getuid_nick($usr); $data = mysql_fetch_array(mysql_query("SELECT joined cand FROM couple WHERE partner='".$idmew."' OR who='".$idmew."'")); $cand = $data[1] - time(); $ramas = gettimemsg($cand); if($ramas>0) { echo "Asteapta $ramas pentru a te putea casatori!

"; echo "Acasa"; echo "

"; echo"-------
"; echo ""; echo "Stare Civila
"; echo ""; echo "Acasa
"; echo "

"; echo ""; echo ""; exit(); } $casatorit = mysql_fetch_array(mysql_query("SELECT casatorit FROM couple WHERE who='".$uid."' OR partner='".$uid."'")); if($casatorit[0]=='1') { echo "Esti deja casatorit!

"; echo "

"; echo"-------
"; echo ""; echo "Stare Civila
"; echo ""; echo "Acasa
"; echo "

"; echo ""; echo ""; exit(); } $we = mysql_fetch_array(mysql_query("SELECT who, partner, accept, req FROM couple WHERE who='".$uid."'")); $sex1 = mysql_fetch_array(mysql_query("SELECT sex FROM lib3rtymrc_users WHERE id='".$uid."'")); $sex2 = mysql_fetch_array(mysql_query("SELECT sex FROM lib3rtymrc_users WHERE id='".$user."'")); if($user==0) { echo "Userul nu exista!
"; echo "

"; echo"-------
"; echo ""; echo "Stare Civila
"; echo ""; echo "Acasa
"; echo "

"; echo ""; echo ""; exit(); } if($user==$uid) { echo "Nu poti sa te casatoresti cu tine!
"; echo "

"; echo"-------
"; echo ""; echo "Stare Civila
"; echo ""; echo "Acasa
"; echo "

"; echo ""; echo ""; exit(); } #elseif($sex1[0]!=$sex2[0]) #{ $whonick = getnick_uid($user); $couple = mysql_fetch_array(mysql_query("SELECT who, partner, accept, req FROM couple WHERE partner='".$user."'")); $byuid = getuid_sid($sid); $tm = time(); if((!isignored($byuid, $who))&&(!istrashed($byuid))) { $unick = getnick_uid($uid); $pmtext = "$unick vrea sa avansati in relatia voastra si sa va casatoriti!"; $res = mysql_query("INSERT INTO lib3rtymrc_notificare SET text='".$pmtext."', byuid='".$byuid."', touid='".$user."', timesent='".$tm."'"); }else{ $res = true; } if($res) { echo "Cerere trimisa cu succes la $whonick
"; echo "Asteapta pentru un raspuns!

"; $id = mysql_fetch_array(mysql_query("SELECT id FROM couple WHERE who='".$uid."' OR partner='".$uid."'")); mysql_query("UPDATE couple SET cerere='1', partner2='".$user."', who2='".$uid."', timp='".time()."' WHERE id='".$id[0]."'"); }else{ echo "Nu poti trimite cerere la $whonick

"; } #} #else #{ #echo "Este interzis mariajul intre persoanele de acelasi sex!
"; #echo "Stare Civila
"; #} echo "

"; echo"-------
"; echo ""; echo "Stare Civila
"; echo ""; echo "Acasa
"; echo "

"; echo ""; } else if($action=="acceptacasatorie") { $who = $_GET["who"]; addonline(getuid_sid($sid),"Accepta Casatorie",""); echo ""; echo "Stare Civila"; echo ""; echo ""; echo ""; echo "

"; $uid = getuid_sid($sid); $dacam = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM couple WHERE who='".$uid."' OR partner='".$uid."'")); if ($dacam[0]==0) { // echo ""; // echo "

"; echo ""; echo "Eroare, nu ai acces aici. Nu esti logodit sau casatorit. SI nici cereri nu ai!

"; echo "

"; echo ""; echo ""; exit(); } $byuid = getuid_sid($sid); $nick = getnick_uid($uid); echo "Felicitari! Esti casatoria cu $nick a fost efectuata cu succes. Va dorim tot binele din lume.

"; $msg = "Felicitari! Casatoria ta cu $nick s-a efectuat cu succes. Va dorim tot binele din lume [br/][small]p.s: este un mesaj automat[/small]"; mysql_query("INSERT INTO lib3rtymrc_notificare SET text='".$msg."', byuid='".$byuid."', touid='".$who."', unread='1', timesent='".time()."'"); $id = mysql_fetch_array(mysql_query("SELECT id FROM couple WHERE who2='".$who."' AND partner2='".$uid."'")); //mysql_query("UPDATE couple SET acceptat='1', cerere='2', joined2='".time()."', cand2='".$cand."' WHERE id='".$id."' AND partner2='".$uid."' AND who='".$who."'"); mysql_query("UPDATE couple SET acceptat='1', cerere='2', joined2='".time()."', casatorit='1' WHERE id='".$id[0]."'"); $nick = getnick_uid($who); $byuid = getuid_sid($sid); $unick = getnick_uid($byuid); $msjlive = "$nick si cu $unick s-au casatorit!!"; $cand = time(); mysql_query("UPDATE lib3rtymrc_shouts SET shout='".$fmsg."', shouter='1', shtime='".$cand."'"); echo "Acasa"; echo "

"; } else if($action=="refuzacasatorie") { $who = $_GET["who"]; addonline(getuid_sid($sid),"Refuza",""); echo ""; echo "Stare Civila"; echo ""; echo ""; echo ""; echo "

"; $uid = getuid_sid($sid); $dacam = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM couple WHERE who='".$uid."' OR partner='".$uid."'")); if ($dacam[0]==0) { // echo ""; // echo "

"; echo ""; echo "Eroare, nu ai acces aici. Nu esti logodit sau casatorit. SI nici cereri nu ai!

"; echo "

"; echo ""; echo ""; exit(); } $nick = getnick_uid($who); echo "Ai ales sa refuzi cererea de la $nick.!

"; $byuid = getuid_sid($sid); $couple = mysql_fetch_array(mysql_query("SELECT who2, partner2 FROM couple WHERE partner2='".$uid."'")); $msg = "Scuze, $nick ti-a refuzat cererea in casatorie. Ne pare rau ca v-ati despartit dupa atata timp! p.s: pm automat"; mysql_query("INSERT INTO lib3rtymrc_notificare SET text='".$msg."', byuid='1', touid='".$couple[0]."', unread='1', timesent='".time()."'"); //$id = mysql_fetch_array(mysql_query("SELECT id FROM couple WHERE who2='".$who."' AND partner2='".$uid."'")); $res = mysql_query("DELETE FROM couple WHERE partner2='".$uid."' AND who2='".$couple[0]."'"); echo "Acasa"; echo "

"; }else if($action=="divorteaza") { addonline(getuid_sid($sid),"Stare Civila",""); echo ""; echo "Stare Civila"; echo ""; echo ""; echo ""; echo "

"; //$me = mysql_fetch_array(mysql_query("SELECT who, partner, accept, req FROM couple WHERE who ='".$uid."'")); $me = mysql_fetch_array(mysql_query("SELECT who,partner FROM couple WHERE who='".$uid."' OR partner='".$uid."'")); //$you = mysql_fetch_array(mysql_query("SELECT who, partner, accept, req FROM couple WHERE partner ='".$uid."'")); $nick = getnick_uid($me[0]); $unick = getnick_uid($me[1]); if($uid==$me[0]) { echo "Chiar vrei sa divortezi?
"; } if($uid==$me[1]) { echo "Chiar vrei sa divortezi?

"; } $wed = mysql_fetch_array(mysql_query("SELECT partner FROM couple WHERE who='".$uid."'")); if (!$wed) { $wed = mysql_fetch_array(mysql_query("SELECT who FROM couple WHERE partner='".$uid."'")); } $who = $wed[0]; echo "

"; echo ""; echo ""; echo ""; echo "NU

"; echo "Acasa"; echo "

"; echo ""; }else if($action=="divortezada") { addonline(getuid_sid($sid),"Stare Civila",""); echo ""; echo "Stare Civila"; echo ""; echo ""; echo ""; echo "

"; $uid = getuid_sid($sid); $dacam = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM couple WHERE who='".$uid."' OR partner='".$uid."'")); if ($dacam[0]==0) { // echo ""; // echo "

"; // echo ""; echo "Eroare, nu ai acces aici. Nu esti logodit sau casatorit. SI nici cereri nu ai!

"; echo "

"; echo ""; echo ""; exit(); } $who = $_POST["who"]; $uid = getuid_sid($sid); $res = mysql_query("DELETE FROM couple WHERE who='".$uid."' OR partner='".$uid."'"); $res = mysql_query("DELETE FROM couple WHERE who='".$who."' OR partner='".$who."'"); if($res) { $nick = getnick_uid($who); $nic = getnick_uid($uid); $msg = "$nic a divortat de tine dupa atata timp. Ne pare rau! Ps: automat"; mysql_query("INSERT INTO lib3rtymrc_notificare SET text='".$msg."', byuid='1', touid='".$who."', unread='1', timesent='".time()."'"); echo "Ai divortat cu succes!

"; }else{ echo "Eroare!

"; } echo "

"; echo"-------
"; echo ""; echo "Stare Civila
"; echo ""; echo "Acasa
"; echo "

"; echo ""; } else if($action=="album") { $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; $altu = mysql_fetch_array(mysql_query("SELECT who, partner FROM couple WHERE who='".$uid."' OR partner='".$uid."'")); $noi1 = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_gallery WHERE uid='".$altu[0]."' AND cuplu='1'")); $noi2 = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_gallery WHERE uid='".$altu[1]."' AND cuplu='1'")); $noix = $noi1[0]+$noi2[0]; $num_items = $noix; //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; $sql = "SELECT id, sex, itemurl, views, adaugat, data, marime, uid, thumb FROM lib3rtymrc_gallery WHERE (uid = $altu[0] OR uid = $altu[1]) AND cuplu='1' ORDER BY id DESC LIMIT $limit_start, $items_per_page"; echo ""; echo "Galeria Cuplului"; echo ""; echo ""; echo ""; echo "

"; $uid = getuid_sid($sid); $dacam = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM couple WHERE who='".$uid."' OR partner='".$uid."'")); if ($dacam[0]==0) { // echo ""; // echo "

"; echo ""; echo "Eroare, nu ai acces aici. Nu esti logodit sau casatorit. SI nici cereri nu ai!

"; echo "

"; echo ""; echo ""; exit(); } if($noix==0){ echo "Galeria cuplului este goala.Daca vrei sa aduagi poze intra
aici


"; echo "Acasa"; echo "

"; echo ""; echo ""; exit(); } $items = mysql_query($sql); echo mysql_error(); if(mysql_num_rows($items)>0) { while ($item = mysql_fetch_array($items)) { if($item[7]==$altu[0] OR $item[7]==$altu[1]){ $id = $item[0]; $img = $item[2]; $adaugat = $item[4]; $data = date("d/m/Y",$item[5]); $marime = $item[6]; $lnk = "\"*\"/
"; $me = getuid_sid($sid); if($who=="$me") { }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 = ""; } $sql = mysql_query("SELECT * FROM fun_gallery WHERE id = '$id' "); // echo "link direct :
[poza=$item[0]]galerie[/poza]

"; if($item[3]==1){ $viz = "Vizualizata o data"; }else if($item[3]>1){ $viz = "Vizualizata de $item[3] ori"; } echo "$viz
"; //echo "$rating"; echo "$lnk"; echo "Descarca poza
"; // echo "$use"; echo "$delnk
"; $me = getuid_sid($sid); } } } $whonick = getnick_uid($who); if(isonline($who)) { $iml = "\"+\"/conectat"; }else{ $iml = "\"-\"/deconectat"; } if($page>1) { $ppage = $page-1; echo "«inapoi"; } if($page<$num_pages) { $npage = $page+1; echo "
»inainte
"; } if($num_pages>1){ echo "
Pagina $page din $num_pages
"; } if($num_pages>2) { $rets .= "
"; $rets = "pagina "; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= "
"; echo $rets; } //echo "

"; echo "

"; echo"-------
"; echo ""; echo "Stare Civila
"; echo ""; echo "Acasa
"; echo "

"; echo ""; } else if($action=="romanta") { addonline(getuid_sid($sid),"Romanta",""); echo ""; echo "Biserica"; echo ""; echo ""; echo ""; echo "

"; $uid = getuid_sid($sid); $dacam = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM couple WHERE who='".$uid."' OR partner='".$uid."'")); if ($dacam[0]==0) { // echo ""; // echo "

"; // echo ""; echo "Eroare, nu ai acces aici. Nu esti logodit sau casatorit. SI nici cereri nu ai!

"; echo "

"; echo ""; echo ""; exit(); } echo "
Din pacate aceasta optiune nu a fost inca implementata. Va aparea in curand
"; echo "

"; echo"-------
"; echo ""; echo "Stare Civila
"; echo ""; echo "Acasa
"; echo "

"; echo ""; } else if($action=="cerenasi") { addonline(getuid_sid($sid),"Cauta Nasi",""); echo ""; echo "Biserica"; echo ""; echo ""; echo ""; echo "

"; $cuplu = $_GET["cuplu"]; $uid = getuid_sid($sid); $cati = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM couple_nasi WHERE cnas='".$cuplu."'")); if($cati[0]>'0') { echo "Acest cuplu au primit deja alta cerere de a deveni nasi. Poti retrimite cererea abia atunci cand ei refuza sau accepta cealalta cerere!

"; echo "Acasa"; echo "

"; echo "
"; echo ""; exit(); } $idc = mysql_fetch_array(mysql_query("SELECT id FROM couple WHERE who='".$uid."' OR partner='".$uid."'")); $dacaex = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM couple WHERE who='".$uid."' OR partner='".$uid."'")); $dacaexc = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM couple WHERE id='".$cuplu."'")); $nas = mysql_fetch_array(mysql_query("SELECT nas1, nas2 FROM couple WHERE id='".$idc[0]."'")); $x = mysql_fetch_array(mysql_query("SELECT who, partner FROM couple WHERE id='".$cuplu."'")); if(($nas[0]=="" && $nas[1]=="") && ($cuplu!==$idc[0]&& $dacaex[0]!=="0" && $dacaexc[0]!=="0")){ echo "Chiar doresti sa trimiti cerere pentru a deveni nasi cuplului ".getnick_uid($x[0])."+".getnick_uid($x[1])." ?

"; echo "Nu, ma mai gandesc!
"; echo "Da, vreau

"; }else{ echo "Ai modificat linkul pentru a ajunge aici si acest lucru nu e acceptat!
"; echo "Inapoi
"; } echo "Acasa"; echo "

"; echo ""; } else if($action=="cerenasida") { addonline(getuid_sid($sid),"Cauta Nasi",""); echo ""; echo "Biserica"; echo ""; echo ""; echo ""; echo "

"; $cuplu = $_GET["cuplu"]; $cati = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM couple_nasi WHERE cnas='".$cuplu."'")); if($cati[0]>'0') { echo "Acest cuplu au primit deja alta cerere de a deveni nasi. Poti retrimite cererea abia atunci cand ei refuza sau accepta cealalta cerere!

"; echo "Acasa"; echo "

"; echo ""; echo ""; exit(); } $uid = getuid_sid($sid); $idc = mysql_fetch_array(mysql_query("SELECT id FROM couple WHERE who='".$uid."' OR partner='".$uid."'")); $dacaex = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM couple WHERE who='".$uid."' OR partner='".$uid."'")); $dacaexc = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM couple WHERE id='".$cuplu."'")); $nas = mysql_fetch_array(mysql_query("SELECT nas1, nas2 FROM couple WHERE id='".$idc[0]."'")); $x = mysql_fetch_array(mysql_query("SELECT who, partner FROM couple WHERE id='".$cuplu."'")); if(($nas[0]=="" && $nas[1]=="") && ($cuplu!==$idc[0]&& $dacaex[0]!=="0" && $dacaexc[0]!=="0")){ $res = mysql_query("INSERT INTO couple_nasi SET nas='".$x[0]."', cnas='".$cuplu."', da='0', pentru='".$idc[0]."'"); if($res) { mysql_query("INSERT INTO couple_nasi SET nas='".$x[1]."', cnas='".$cuplu."', da='0', pentru='".$idc[0]."'"); $msg = "".getnick_uid(getuid_sid($sid))." va trimis o cerere prin care ar dori sa fiti nasii cuplului din care face parte. Poti refuza sau accepta. Este necesar acordul ambilor soti!"; echo pmautomat($msg, $x[0]); $msg = "".getnick_uid(getuid_sid($sid))." va trimis o cerere prin care ar dori sa fiti nasii cuplului din care face parte. Poti refuza sau accepta. Este necesar acordul ambilor soti!"; echo pmautomat($msg, $x[1]); echo "Cerere trimisa la cuplu
"; }else{ echo "Eroare in baza de date!
"; } }else{ echo "Ai modificat linkul pentru a ajunge aici si acest lucru nu e acceptat!
"; echo "Inapoi
"; } echo "Acasa"; echo "

"; echo ""; } else if($action=="listacererenas") { $cine = $_GET["who"]; $el = getnick_uid($who); $eu = getnick_sid($sid); addonline(getuid_sid($sid),"Cerere cununie",""); echo ""; echo "Biserica"; echo ""; echo ""; echo ""; echo "

"; $nas = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM couple_nasi WHERE nas='".$uid."'")); if($nas[0]>'0') { $cupl = mysql_fetch_array(mysql_query("SELECT pentru FROM couple_nasi WHERE nas='".$uid."'")); $sine = mysql_fetch_array(mysql_query("SELECT who, partner FROM couple WHERE id='".$cupl[0]."'")); $unick = getnick_uid($sine[1]); $nick = getnick_uid($sine[0]); echo "Accepti cererea de la cuplul $unick si $nick?

"; echo "Da
"; echo "Nu , nu accept

"; }else{ echo "Nu ai cereri!!
"; } echo ""; echo "Acasa"; echo "

"; echo ""; } else if($action=="acceptanas") { addonline(getuid_sid($sid),"Stare Civila",""); echo ""; echo "Biserica"; echo ""; echo ""; echo ""; echo "

"; echo " Stare Civila

"; $byuid = getuid_sid($sid); $uid = getuid_sid($sid); $uid = getuid_sid($sid); $nick = getnick_uid($uid); $nick1 = getnick_uid($who); $cati = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM couple_nasi WHERE nas='".$uid."'")); if($cati[0]=='0') { echo""; echo "Nu ai nici o cerere pentru a deveni nas!

"; echo "Acasa"; echo "

"; echo ""; echo ""; exit(); } $idns = mysql_fetch_array(mysql_query("SELECT id FROM couple WHERE who='".$uid."' OR partner='".$uid."'")); $nasulica = mysql_fetch_array(mysql_query("SELECT nas, da, pentru FROM couple_nasi WHERE cnas='".$idns[0]."' AND nas!='".$uid."'")); if($nasulica[1]==0){ // mysql_query("UPDATE couple_nasi SET da='1' WHERE nas='".$uid."'"); $nasxxxxxxx = false; }else if($nasulica[1]==1){ mysql_query("UPDATE couple SET nas1='".$uid."', nas2='".$nasulica[0]."', datans='".time()."' WHERE id='".$nasulica[2]."'"); $nasxxxxxxx = true; } $nasxxx = getnick_uid($nasulica[0]); if($nasxxxxxxx) { $xx = mysql_fetch_array(mysql_query("SELECT who, partner FROM couple WHERE id='".$nasulica[2]."'")); echo "Tu si cu $nasxxx ati devenit nasii cuplului ".getnick_uid($xx[0])." + ".getnick_uid($xx[1])."!

"; mysql_query("DELETE FROM couple_nasi WHERE nas='".$nasulica[0]."'"); mysql_query("DELETE FROM couple_nasi WHERE nas='".$uid."'"); $msg = "Felicitari! V-ati gasit nasi! Verificati starea civila pentru mai multe informatii"; mysql_query("INSERT INTO lib3rtymrc_notificare SET text='".$msg."', byuid='".$byuid."', touid='".$xx[0]."', unread='1', timesent='".time()."'"); mysql_query("INSERT INTO lib3rtymrc_notificare SET text='".$msg."', byuid='".$byuid."', touid='".$xx[1]."', unread='1', timesent='".time()."'"); }else{ echo "Ai acceptat cu succes cererea pentru a deveni nas. Mai trebuie sa accepte si $nasxxx!

"; } // //mysql_query("INSERT INTO lib3rtymrc_notificare SET text='".$msg1."', byuid='".$who."', touid='".$byuid."', unread='1', timesent='".time()."'"); echo "Acasa"; echo "

"; } else if($action=="refuzanas") { addonline(getuid_sid($sid),"Refuza Nas",""); echo ""; echo "Biserica"; echo ""; echo ""; echo ""; echo "

"; $byuid = getuid_sid($sid); $uid = getuid_sid($sid); $nick = getnick_uid($byuid); echo "Ai refuzat cererea!

"; $couple = mysql_fetch_array(mysql_query("SELECT who, partner FROM couple WHERE partner='".$uid."'")); $msg = "Scuze, $nick a refuzat cerere de a deveni nas!Astefel ar trebui sa iti cauti alt cuplu!"; mysql_query("INSERT INTO lib3rtymrc_notificare SET text='".$msg."', byuid='".$byuid."', touid='".$couple[0]."', unread='1', timesent='".time()."'"); mysql_query("DELETE FROM couple_nasi WHERE nas='".$uid."'"); $idns = mysql_fetch_array(mysql_query("SELECT id FROM couple WHERE who='".$uid."' OR partner='".$uid."'")); $nasulica = mysql_fetch_array(mysql_query("SELECT nas FROM couple_nasi WHERE cnas='".$idns[0]."' AND nas!='".$uid."'")); mysql_query("DELETE FROM couple_nasi WHERE nas='".$nasulica[0]."'"); echo "Acasa"; echo "

"; } ///////////////////////////////////// else{ addonline(getuid_sid($sid),"Pierdut in biserica =))",""); echo ""; echo "Biserica"; echo ""; echo ""; echo ""; echo "

"; echo "Nu stiu cum ai ajuns aici,dar nu ai ce vedea

"; echo ""; echo "Acasa
"; echo "

"; } ?>

Old school Easter eggs.