get_files(e_IMAGE."newspost_images/","",$rejecthumb); $sql->db_Select("download"); $c = 0; while ($row = $sql->db_Fetch()) { extract($row); $filelist['id'][$c] = $download_id; $filelist['url'][$c] = $download_url; $filelist['name'][$c] = $download_name; $c++; } echo "var tinyMCELinkList = new Array("; for ($i=0; $i