0) $ignore = true; // delete free ips if ($ignore == false) { $sql = "delete from counter_ips where unix_timestamp(NOW())-unix_timestamp(visit) > $counter_expire"; mysql_query($sql); } // check for entry if ($ignore == false) { $sql = "select * from counter_ips where ip = '$counter_ip'"; $res = mysql_query($sql); if (mysql_num_rows($res) == 0) { // insert $sql = "INSERT INTO counter_ips (ip, visit) VALUES ('$counter_ip', NOW())"; mysql_query($sql); } else { $ignore = true; $sql = "update counter_ips set visit = NOW() where ip = '$counter_ip'"; mysql_query($sql); } } // online? $sql = "select * from counter_ips"; $res = mysql_query($sql); $online = mysql_num_rows($res); // add counter if ($ignore == false) { // yesterday if ($day_id == (date("z")-1)) { $yesterday_value = $day_value; $yesterday_id = (date("z")-1); } else { if ($yesterday_id != (date("z")-1)) { $yesterday_value = 0; $yesterday_id = date("z")-1; } } // day if ($day_id == date("z")) { $day_value++; } else { $day_value = 1; $day_id = date("z"); } // week if ($week_id == date("W")) { $week_value++; } else { $week_value = 1; $week_id = date("W"); } // month if ($month_id == date("n")) { $month_value++; } else { $month_value = 1; $month_id = date("n"); } // year if ($year_id == date("Y")) { $year_value++; } else { $year_value = 1; $year_id = date("Y"); } // all $all_value++; // neuer record? if ($day_value > $record_value) { $record_value = $day_value; $record_date = date("Y-m-d H:i:s"); } // speichern und aufräumen $sql = "update counter_values set day_id = '$day_id', day_value = '$day_value', yesterday_id = '$yesterday_id', yesterday_value = '$yesterday_value', week_id = '$week_id', week_value = '$week_value', month_id = '$month_id', month_value = '$month_value', year_id = '$year_id', year_value = '$year_value', all_value = '$all_value', record_date = '$record_date', record_value = '$record_value' where id = 1"; mysql_query($sql); } } ?>
SQL/DB Error --
    Error establishing a database connection!
  1. Are you sure you have the correct user/password?
  2. Are you sure that you have typed the correct hostname?
  3. Are you sure that the database server is running?
SQL/DB Error --
    Error selecting database lazar_data!
  1. Are you sure it exists?
  2. Are you sure there is a valid database connection?

Warning: mysql_query() expects parameter 2 to be resource, boolean given in /home/lazar/public_html/_secure/lib/mysql.class.php on line 83

Deprecated: mysql_insert_id(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/lazar/public_html/_secure/lib/mysql.class.php on line 86

Warning: mysql_insert_id(): Access denied for user 'lazar'@'localhost' (using password: NO) in /home/lazar/public_html/_secure/lib/mysql.class.php on line 86

Warning: mysql_insert_id(): A link to the server could not be established in /home/lazar/public_html/_secure/lib/mysql.class.php on line 86
Access denied for user 'lazar'@'localhost' (using password: NO)

Warning: mysql_query() expects parameter 2 to be resource, boolean given in /home/lazar/public_html/_secure/lib/mysql.class.php on line 83

Deprecated: mysql_insert_id(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/lazar/public_html/_secure/lib/mysql.class.php on line 86

Warning: mysql_insert_id(): Access denied for user 'lazar'@'localhost' (using password: NO) in /home/lazar/public_html/_secure/lib/mysql.class.php on line 86

Warning: mysql_insert_id(): A link to the server could not be established in /home/lazar/public_html/_secure/lib/mysql.class.php on line 86
Access denied for user 'lazar'@'localhost' (using password: NO)

Warning: mysql_query() expects parameter 2 to be resource, boolean given in /home/lazar/public_html/_secure/lib/mysql.class.php on line 83

Deprecated: mysql_insert_id(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/lazar/public_html/_secure/lib/mysql.class.php on line 86

Warning: mysql_insert_id(): Access denied for user 'lazar'@'localhost' (using password: NO) in /home/lazar/public_html/_secure/lib/mysql.class.php on line 86

Warning: mysql_insert_id(): A link to the server could not be established in /home/lazar/public_html/_secure/lib/mysql.class.php on line 86
Access denied for user 'lazar'@'localhost' (using password: NO)

Warning: mysql_query() expects parameter 2 to be resource, boolean given in /home/lazar/public_html/_secure/lib/mysql.class.php on line 83

Deprecated: mysql_insert_id(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/lazar/public_html/_secure/lib/mysql.class.php on line 86

Warning: mysql_insert_id(): Access denied for user 'lazar'@'localhost' (using password: NO) in /home/lazar/public_html/_secure/lib/mysql.class.php on line 86

Warning: mysql_insert_id(): A link to the server could not be established in /home/lazar/public_html/_secure/lib/mysql.class.php on line 86
Access denied for user 'lazar'@'localhost' (using password: NO)
LazarService-

Remat 2014

Nume Prenume :
Telefon :
Marca:
E-mail :
Strada :
Bloc :
Apartament :
Localitate :
Judet :

Doriti sa primiti si alte informatii despre gama Dacia sau Renault si ofertele speciale     

        *Prin selectarea butonului „Da” de mai sus, declar că îmi exprim consimţământul, în mod expres şi neechivoc, pentru ca orice date cu caracter personal, precum şi orice alte informaţii furnizate de mine, cuprinse în această corespondenţă, să intre în baza de date a SC LAZAR SERVICE SRL, a partenerilor contractuali ai acestora, pentru a fi prelucrate şi utilizate în orice activităţi şi scopuri legate de furnizare de bunuri şi servicii, marketing, publicitate şi marketing direct, în conformitate cu legislaţia în vigoare – Legea 677/2001.



    În cazul selectării butonului „Nu” de mai sus, datele furnizate prin completarea prezentului formular de contact vor fi utilizate de SC LAZAR SERVICE exclusiv pentru a răspunde solicitării dumneavoastră de contactare. Aceste informaţii rămân confidenţiale şi vor fi păstrate de SC LAZAR SERVICE SRL.