'.$cat[1].''; // проверяем наличие файла с сайтами и создаем его пустым if (!file_exists_script("/catalog/tmp/cat_".$id.".txt"))write_files("/catalog/tmp/cat_".$id.".txt", ""); $file = file_script("/catalog/tmp/cat_".$id.".txt"); $total = count($file); if($total==0)echo '