About 5 results: "mysql_query repo:leow/openautoclassifieds-14-stable"
Page 1 of 1
Filter Results
Sources
Languages
Filter Results
Try Search On
functions.php in openautoclassifieds-14-stable https://bitbucket.org/leow/openautoclassifieds-14-stable | 1123 lines | PHP
  1. 	$sql = "SELECT pass FROM users WHERE pass = '" . $pass . "' AND user = '" . $user ."' AND user_level = 9 ";
  2. 	$res = mysql_query($sql);
  3. 	$sql = "SELECT pass FROM users WHERE pass = '" . $pass . "' AND user = '" . $user ."' AND user_level = 2 ";
  4. 	$res = mysql_query($sql);
  5. 	$sql = "UPDATE users SET pass = '" . $new_password . "' WHERE user = '" . $user . "'";
  6.  	$res = mysql_query($sql);
  7. 	$sql = "SELECT user FROM users WHERE user = '" . $user ."' ";
  8. 	$res = mysql_query($sql);
  9. 	$sql = "UPDATE users SET last_active = '" . $last_active . "' WHERE user = '" . $user . "' ";
  10. 	$res = mysql_query($sql);
  11. 	$sql = "UPDATE env_settings SET site_url = '" . $url . "', admin_name = '" . $admin_name . "', admin_email = '" . $admin_email . "', site_mode = '" . $site_mode . "', listings_per_page = " . $listings_per_page . ", users_per_page = " . $users_per_page . ", listings_stored_path = '" . $listings_stored_path . "', users_stored_path = '" . $users_stored_path . "', site_name = '" . $site_name . "', description = '" . $description . "', keywords = '" . $keywords . "', site_lang = '" . $site_lang . "', site_template = '" . $site_template . "' ";		
  12. 	$res = mysql_query($sql);
  13. 	$sql = "DELETE FROM users WHERE id = " . $id . ""; 
  14. 	$res = mysql_query($sql);
  15. 	$sql = "UPDATE users SET user = '" . $user . "', email = '" . $email . "', first_name = '" . $first_name . "', last_name = '" . $last_name . "', phone = '" . $phone . "', alt_phone = '" . $alt_phone . "', fax = '" . $fax . "', address = '" . $address . "', city = '" . $city . "', state = '" . $state . "', zip = '" . $zip . "', user_level = '" . $user_level . "', admin_notes = '" . $admin_notes . "'  WHERE id = " . $id . "";		
  16. 	$res = mysql_query($sql);




env.inc.php in openautoclassifieds-14-stable https://bitbucket.org/leow/openautoclassifieds-14-stable | 90 lines | PHP
  1. 	$sql = "SELECT * FROM env_settings";
  2. 	$res = mysql_query($sql);

Back to Top