$img = $_REQUEST['img'];
$result = $db->query_read("SELECT cat_icon,cat_type FROM download_cats WHERE catid=" . $img);