LOGIN
Username:
:
 
 
 


'.$traducere["welcome"][$lng].' '.$_SESSION['username'].'



'; } } else { echo '


'.$traducere["wrong_user"][$lng].'



   
'; } } ?>
:
:
:
"); if(isset($_GET['judet'])){ echo "\n"; }else{ echo "\n"; } $sql = "SELECT DISTINCT(jud) FROM localitati ORDER BY jud ASC" or die("Eroare - ".mysql_error()); $result = mysql_query($sql,$db) or die("Eroare - ".mysql_error()); while ($myrow = mysql_fetch_row($result)){ $judet = $myrow[0]; echo "\n"; } echo ""; ?>
:
\n"; echo "\n"; $sql = "SELECT loc FROM localitati WHERE jud = '".$_GET['judet']."' ORDER BY loc ASC" or die("Eroare - ".mysql_error()); $result = mysql_query($sql,$db) or die("Eroare - ".mysql_error()); while ($myrow = mysql_fetch_array($result)){ $loc = $myrow[0]; echo "\n"; } echo ""; ?>
Username:
Email:
:
:
: ( / / )
// //
Sex:
:

'.$traducere["userul"][$lng].' '.$_POST['user'].' '.$traducere["exists"][$lng].'

'; } else { $nume = preg_replace('/[^a-zA-Z0-9_]/', '', $_POST['nume']); $prenume = preg_replace('/[^a-zA-Z0-9_]/', '', $_POST['prenume']); $parola = $_POST['parola1']; $email = $_POST['email']; $ip = getenv( 'REMOTE_ADDR' ); $data_nasterii = $_POST['ziua'].'-'.$_POST['luna'].'-'.$_POST['anul']; $oras = $_POST['localitate']; $judet = $_POST['judet']; $tara = preg_replace('/[^a-zA-Z0-9_]/', '', $_POST['tara']); $sex = $_POST['sex']; if ($_POST['news'] == 'on') { $newsletter = 1; } else { $newsletter = 0; } $result = sqlr('INSERT INTO `users` '.'(`id`, `username`, `nume`, `prenume`, `parola`, `email`, `ip`, `data_nasterii`, `oras`, `judet`, `tara`, `sex`, `level`, `activ`, `newsletter`) '. 'VALUES (\'\', \''.$username.'\', \''.$nume.'\', \''.$prenume.'\', \''.$parola.'\', \''.$email.'\', \''.$ip.'\', \''.$data_nasterii.'\', \''.$oras.'\', \''.$judet.'\', \''.$tara.'\', \''.$sex.'\', 1, 1, \''.$newsletter.'\')'); if ($result) { echo '


'.$traducere["userul"][$lng].' '.$_POST['user'].' '.$traducere["reg_ok"][$lng].'.



'; $sendTo1 = $_POST['email']; if($_SESSION['lng'] == 'ro') { $subject = "Acces cont"; } if($_SESSION['lng'] == 'en') { $subject = "Account details"; } $from = "NetVideo "; $header = "From: $from\r \n"; $header .= "Reply-To: $from\r \n"; $header .= "MIME-Version: 1.0\r \n"; $header .= "X-Priority: 1 (high)\r \n"; $header .= "X-MSMail-Priority: High\r \n"; $header .= "X-Mailer: Microsoft Outlook Express 6.00.2900.2180\r \n"; $header .= "Content-Type: text/html; charset=\"iso-8859-1\"\r \n"; $header .= "Content-Transfer-Encoding: 8bit\r \n"; if($_SESSION['lng'] == 'ro') { $continut = ' Acces cont
NetVideo
Acces Cont NetVideo

Date conectare NetVideo
Datele dumneavoastra de conectare sunt urmatoarele:

Username:'.$_POST['user'].'
Parola:'.$_POST['parola'].'
Nume:'.$_POST['nume'].' '.$_POST['prenume'].'
Email:'.$_POST['email'].'


NetVideo| Email: office@netvideo.ro
'; } if($_SESSION['lng'] == 'en') { $continut = ' Account details
NetVideo
NetVideo Account details

NetVideo Account details
Your account details are:

Username:'.$_POST['user'].'
Password:'.$_POST['parola'].'
Name:'.$_POST['nume'].' '.$_POST['prenume'].'
Email:'.$_POST['email'].'


NetVideo| Email: office@netvideo.ro
'; } mail($sendTo1, $subject, $continut, $header); } } } ?>
Username:
Email:


'.$traducere["forgot_sent"][$lng].'

'; $sendTo1 = $row['email']; if($_SESSION['lng'] == 'ro') { $subject = "Acces cont"; } if($_SESSION['lng'] == 'en') { $subject = "Account details"; } $from = "NetVideo "; $header = "From: $from\r \n"; $header .= "Reply-To: $from\r \n"; $header .= "MIME-Version: 1.0\r \n"; $header .= "X-Priority: 1 (high)\r \n"; $header .= "X-MSMail-Priority: High\r \n"; $header .= "X-Mailer: Microsoft Outlook Express 6.00.2900.2180\r \n"; $header .= "Content-Type: text/html; charset=\"iso-8859-1\"\r \n"; $header .= "Content-Transfer-Encoding: 8bit\r \n"; if($_SESSION['lng'] == 'ro') { $continut = ' Am uitat parola
NetVideo
Acces Cont NetVideo

Date conectare NetVideo
Datele dumneavoastra de conectare sunt urmatoarele:

Username:'.$row['username'].'
Parola:'.$row['parola'].'


NetVideo| Email: office@netvideo.ro
'; } if($_SESSION['lng'] == 'en') { $continut = ' Forgot my password
NetVideo
NetVideo Account details

NetVideo Account details
Your account details are:

Username:'.$row['username'].'
Password:'.$row['parola'].'


NetVideo| Email: office@netvideo.ro
'; } mail($sendTo1, $subject, $continut, $header); } else { echo '


'.$traducere["wrong_user"][$lng].'



 
'; } } ?>