Фев 122012
 

Пожалуйста, никогда не делайте так:

$sql = "SELECT dumps.*, AES_DECRYPT(dumps.dump_track2, '".strval(DB_ENCRYPT_PASS)."') AS dump_track2, ".TABLE_USERS.".user_name, ".TABLE_GROUPS.".group_color FROM `dumps` LEFT JOIN `".TABLE_USERS."` ON dumps.dump_userid = ".TABLE_USERS.".user_id LEFT JOIN `".TABLE_GROUPS."` ON ".TABLE_USERS.".user_groupid = ".TABLE_GROUPS.".group_id WHERE ".$searchAvailable." AND AES_DECRYPT(dump_track2, '".strval(DB_ENCRYPT_PASS)."') LIKE '".$searchBin."%' ORDER BY dump_id LIMIT ".(($page-1)*$perPage).",".$perPage;