"> ">
home site map contact
Introduceti numele si parola"; selectpage('bursa',$lang_c); } else{ include "cmsa/inc.php"; $query=mysql_query("SELECT * FROM clienti WHERE nume='$name_login' AND pass='$pass_login' "); $nrlogin=mysql_num_rows($query); if($nrlogin>0){ include "cmsa/inc.php"; $query1=mysql_query("SELECT * FROM clienti WHERE nume='$name_login' AND pass='$pass_login' AND allow='yes' "); $nrlogin1=mysql_num_rows($query1); if($nrlogin1>0){ session_start(); session_register('login'); //echo $login['name']=$name_login; selectpage('bursa',$lang_c); } else echo "Contul dumneavostra nu a fost activat sau este suspendat temporar.
Va rugam reveniti sau contactati-ne pe adresa de email.
Va multumim pentru intelegere.
"; } else{ echo "Numele sau parola nu sunt corecte"; selectpage('bursa',$lang_c); } } } elseif(isset($HTTP_POST_VARS['send'])){ include "login.php"; } elseif(isset($HTTP_POST_VARS['sendflogin'])){ //echo "OK"; $nameflogin=$HTTP_POST_VARS['nameflogin']; $femail=$HTTP_POST_VARS['femail']; $query2=mysql_query("SELECT * FROM clienti WHERE nume='$nameflogin' AND email_pers='$femail'"); $resultf=mysql_num_rows($query2); if($resultf=="0"){ echo "Cont inexistent. Numele sau adresa de email invalide."; } else{ echo $resultpass=mysql_result($query2,0,'pass'); echo " Parola a fost trimisa pe adresa de e-mail"; mail($femail,"Belroconsulting Cont","Parola contului dumneavoastra este :".$resultpass,"sales@belroconsulting.com "); } } else{ //$lang_c="ro"; $curent_page="home"; include "home.php"; } ?>
© Copyright Belroconsulting 2002-2007