";
$uinf = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_users WHERE name='".$uid."'"));
if(empty($uid) || empty($pwd))
{
//Check for user ID
echo "Nu ai voie sa lasi campuri goale
";
echo "-----
";
echo "porecla:";
echo "
";
echo "parola : ";
echo "
";
echo "parola comenzi : ";
echo "
";
echo "
";
echo "-----
";
}
else if($uinf[0]==0)
{
//Check for user ID
echo "Acest nume de utilizator nu exista pe $numesite
";
echo "-----
";
echo "
";
echo "-----
";
}else{
//check for pwd
$epwd = md5($pwd);
$uinf = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_users WHERE id='".getuid_nick($uid)."' AND pass='".$epwd."'"));
if($uinf[0]==0)
{
echo "Parola introdusa acelui membru nu coincide cu parola din baza de date $numesite
";
echo "Acasa";
echo "