Teya Salat
"; echo ""; ?> "; echo "Error!!!"; echo ""; echo ""; echo ""; echo "

"; echo "Nu esti logat
"; echo "Sau sesiunea ta a expirat

"; echo "Logare"; echo "

"; echo ""; echo ""; exit(); } if(isbanned($uid)) { echo ""; echo "

"; echo "\"x\"/
"; echo "Esti Banat
"; $banto = mysql_fetch_array(mysql_query("SELECT timeto FROM lib3rtymrc_penalties WHERE uid='".$uid."' AND penalty='1'")); $remain = $banto[0]- time(); $rmsg = gettimemsg($remain); echo "Timp ramas pana la terminarea pedepsei: $rmsg

"; //echo "Login"; echo "

"; echo ""; echo ""; exit(); } if($action=="altar") { echo ""; echo "$sitename"; echo ""; echo ""; echo ""; echo "

"; echo "Biserica online
"; echo "\"*\"/
"; echo "

"; echo "

"; echo "Bun venit pe drumul casatoriei si fericirii.
.:::..:::.
"; $ady7zu = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ice_casatorie")); echo "Cereri in casatorie:$ady7zu[0]
"; $ady7zu1 = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ice_casatorie WHERE accept='1'")); echo "Lista Casatoriti$ady7zu1[0]
.:::..:::.
"; $ice_casatorie = mysql_fetch_array(mysql_query("SELECT who, partner, req FROM ice_casatorie WHERE partner='".$uid."'")); if($ice_casatorie[2]=='1') { $unick = getnick_uid($ice_casatorie[1]); $nick = getnick_uid($ice_casatorie[0]); $nopl = mysql_fetch_array(mysql_query("SELECT sex FROM lib3rtymrc_users WHERE id='".$ice_casatorie[0]."'")); if($nopl[0]=='M') { $usex = "Sot"; }else if($nopl[0]=='F'){ $usex = "Sotie"; }else{ $usex = "Partener"; } echo "Casatoria dintre $unick si $nick

"; echo "Mai ai de facut un singur pas pentru a te casatori cu adevarata ta jumatate. Tot ceea ce trebuie sa faci este sa citesti si sa accepti ce scrie mai jos
:-:-:-:-:
"; echo "$unick, il(o) iei pe $nick sa iti fie $usex si sa traiti impreuna pana la adanci baraneti,
"; echo "promiti sa il(o) cinstesti, onorezi si pastrezi
"; echo "la bine sau la rau, la bogatie sau la saracie, în caz de boala sau sanatate, "; echo "sa ii fi fidel(a) "; echo "pana cand moartea va va desparti?

"; echo "DA! (accept acest privilegiu)
"; echo "NU (nu sunt pregatit(a) pentru asa ceva)

"; }else{ echo "Vrei sa te casatoresti online?
operator, de buna voie si nesilit de nimeni iei in casatorie virtuala
Promiti sa il respecti,sa il iubesti si cu prima ocazie sa il iei de si in viata reala,
Promiti sa nu il inseli atat in viata reala cat si pe chat,
Promiti sa ii fii alaturi la bine si la rau,
Pana cand moartea va va desparti?

"; echo "Numele userului pe care doresti sa il ceri in casatorie:


"; echo "

"; echo "

"; echo "
"; } echo "
Vreau sa divortez!
"; echo "
Va rugam sa luati in considerare ca aceasta casatorie nu este legala sau obligatorie

"; echo "
"; include("syr.php"); echo "
"; } else if($action=="getreq") { echo ""; echo "Casatorii $sitename"; echo ""; echo ""; echo ""; echo "

"; $usr = $_POST["usr"]; $who = getuid_nick($usr); $we = mysql_fetch_array(mysql_query("SELECT who, partner, accept, req FROM ice_casatorie WHERE who='".$uid."'")); if($we[2]=='1') { $wer = getnick_uid($we[1]); echo "Deja esti casatorit/a cu $wer!

"; echo "Prim"; echo "

"; echo ""; echo ""; exit(); } $me = mysql_fetch_array(mysql_query("SELECT who, partner, accept, req FROM ice_casatorie WHERE partner='".$uid."'")); if($me[2]=='1') { echo ""; echo "Casatorii $sitename"; echo ""; echo ""; echo ""; $sya = getnick_uid($me[0]); echo "Deja esti casatorit/a cu $sya!

"; echo "Prim"; echo "

"; echo ""; echo ""; exit(); } if($who==0) { echo "Utilizatorul nu exista
"; }else if($who==$uid) { echo "Ha ha ha ha...De ce vrei sa te casatoresti cu tine ?

"; }else{ $whonick = getnick_uid($who); $ice_casatorie = mysql_fetch_array(mysql_query("SELECT who, partner, accept, req FROM ice_casatorie WHERE partner='".$who."'")); if($ice_casatorie[2]=='1') { $sya = getnick_uid($ice_casatorie[0]); echo "$whonick este deja maritat/a cu $sya. Incearca-ti norocul cu alt utilizator!

"; } $byuid = getuid_sid($sid); $tm = time(); if((!isignored($byuid, $who))&&(!istrashed($byuid))) { $unick = getnick_uid($uid); $pmtext = "Buna $nick! Vrei sa ne unim destinele online? Intra la MARIAJE in meniu prim si da accept :-1 !"; $res = mysql_query("INSERT INTO lib3rtymrc_private SET text='".$pmtext."', byuid='".$byuid."', touid='".$who."', timesent='".$tm."'"); }else{ $res = true; } if($res) { echo "Biserica $sitename"; echo "
Aici te poti casatori online.

"; echo "Cererea de mariaj a fost trimisa cu succes catre $whonick
"; echo "Te rugam sa astepti un raspuns

"; echo "Va rugam sa luati in considerare ca aceasta casatorie nu este legala sau obligatorie
"; mysql_query("INSERT INTO ice_casatorie SET req='1', partner='".$who."', who='".$uid."', time='".time()."'"); }else{ echo "Cererea ta nu poate fi trimisa catre $whonick

"; } } echo "Prim"; echo "

"; echo ""; } else if($action=="reqacc") { $who = $_GET["who"]; echo ""; echo "Casatorii $sitename"; echo ""; echo ""; echo ""; addonline(getuid_sid($sid),"Biserica $sitename",""); echo ""; echo "

"; echo "Biserica $sitename

"; $nick = getnick_uid($who); echo "Felicitari! Casatoria ta cu $nick s-a efectuat cu succes. Echipa $sitename va ureaza Casa de Piatra si spera ca veti fi fericiti in relatia voastra.

"; $byuid = getuid_sid($sid); $msg = "Felicitari! Casatoria ta s-a efectuat cu succes. Echipa $sitename va ureaza Casa de Piatra si spera ca veti fi fericiti in relatia voastra."; mysql_query("INSERT INTO lib3rtymrc_private SET text='".$msg."', byuid='".$byuid."', touid='".$who."', unread='1', timesent='".time()."'"); mysql_query("UPDATE ice_casatorie SET accept='1', req='2', joined='".time()."' WHERE partner='".$uid."' AND who='".$who."'"); $nick = getnick_uid($who); $byuid = getuid_sid($sid); $unick = getnick_uid($byuid); $fmsg = "$nick si eu tocmai ne-am casatorit !"; mysql_query("UPDATE lib3rtymrc_users SET shouts='".$fmsg."' WHERE id='".$byuid."'"); echo "Va rugam sa luati in considerare ca aceasta casatorie nu este legala sau obligatorie
"; echo "Prim"; echo "

"; echo ""; } else if($action=="reqref") { $who = $_GET["who"]; echo ""; echo "Casatorii $sitename"; echo ""; echo ""; echo ""; addonline(getuid_sid($sid),"Biserica $sitename",""); echo ""; echo "

"; echo "Biserica $sitename

"; $nick = getnick_uid($who); echo "Oh.. Ne pare rau sa auzim decizia ta...Cel/cea care ti-a propus casatoria va fi informat de decizia luata de tine.

"; $byuid = getuid_sid($sid); $ice_casatorie = mysql_fetch_array(mysql_query("SELECT who, partner FROM ice_casatorie WHERE partner='".$uid."'")); $msg = "Ne pare rau, $nick ti-a refuzat propunerea. Ne pare rau pentru tine. Esti liber sa incerci si altadata "; mysql_query("INSERT INTO lib3rtymrc_private SET text='".$msg."', byuid='".$byuid."', touid='".$ice_casatorie[0]."', unread='1', timesent='".time()."'"); $res = mysql_query("DELETE FROM ice_casatorie WHERE partner='".$uid."' AND who='".$ice_casatorie[0]."'"); echo "Va rugam sa luati in considerare ca aceasta casatorie nu este legala sau obligatorie
"; echo "Prim"; echo "

"; echo ""; }else if($action=="div") { echo ""; echo "Casatorii $sitename"; echo ""; echo ""; echo ""; addonline(getuid_sid($sid),"Biserica $sitename",""); echo ""; echo "

"; $me = mysql_fetch_array(mysql_query("SELECT who, partner, accept, req FROM ice_casatorie WHERE who='".$uid."'")); $you = mysql_fetch_array(mysql_query("SELECT who, partner, accept, req FROM ice_casatorie WHERE partner='".$uid."'")); $nick = getnick_uid($me[0]); $unick = getnick_uid($you[1]); if($uid==$me[0]) { echo "Esti sigur/a ca vrei sa divortezi?
-----
"; } if($uid==$you[1]) { echo "Esti sigur/a ca vrei sa divortezi?
-----
"; } $wed = mysql_fetch_array(mysql_query("SELECT partner FROM ice_casatorie WHERE who='".$uid."'")); if (!$wed) { $wed = mysql_fetch_array(mysql_query("SELECT who FROM ice_casatorie WHERE partner='".$uid."'")); } $who = $wed[0]; echo ""; echo "

"; echo ""; echo "

"; echo "
"; include("syr.php"); echo "
"; echo "

"; echo ""; } else if($action=="casatoriti") { echo ""; echo "Casatorii $sitename"; echo ""; echo ""; echo ""; addonline(getuid_sid($sid),"Lista casatoriti","magazin.php?action=$action"); echo ""; echo "

"; echo "Cupluri"; echo "

"; $uid = getuid_sid($sid); //////ALL LISTS SCRIPT << if($page=="" || $page<=0)$page=1; $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ice_casatorie ")); $num_items = $noi[0]; //changable $items_per_page= 10; $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 who, partner,accept, req ,joined,time FROM ice_casatorie WHERE accept='1' ORDER BY id DESC 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)) { $cou++; $nume= getnick_uid($item[0]); $nume1= getnick_uid($item[1]); echo "$cou.»$nume si $nume1
"; $data = $item[4]; $dataa = date("d.m.y/h:i:s", $data); echo "Casatoriti din: $dataa
"; $data1 = $item[5]; $data2 = date("d.m.y/h:i:s", $data1); echo "Data cererii in casatorie: $data2"; echo "
-----
"; } } echo "

"; echo "

"; if($page>1) { $ppage = $page-1; echo "Inapoi | "; } if($page<$num_pages) { $npage = $page+1; echo "Inainte"; } echo "
$page/$num_pages
"; echo "

"; }else{ echo "

"; echo "Nu sunt cupluri!"; echo "

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

"; echo ""; echo "Casatorii virtuale
"; include("syr.php"); echo "

"; echo ""; } else if($action=="sep") { echo ""; echo "Casatorii $sitename"; echo ""; echo ""; echo ""; addonline(getuid_sid($sid),"Biserica $sitename",""); echo ""; echo "

"; $who = $_POST["who"]; $uid = getuid_sid($sid); $res = mysql_query("DELETE FROM ice_casatorie WHERE who='".$uid."' OR partner='".$uid."'"); if($res) { $nick = getnick_uid($who); echo "Ai divortat!

"; }else{ echo "Eroare in baza de date!

"; } echo "Prim"; echo "

"; echo ""; }else{ echo ""; echo "Casatorii $sitename"; echo ""; echo ""; echo ""; addonline(getuid_sid($sid),"Pierdut in Biserica",""); echo ""; echo "

"; echo "Ia un loc te rog..nu sta in picioare!

"; echo "Prim"; echo "

"; } ?>