'; } // htaccess file elseif( $type="htaccess" ) { $output_filename = '.htaccess'; } if( $task=="download" && !empty($config_contents) ) { header("Content-type: application/x-download"); header("Content-disposition: attachment; filename={$output_filename}"); echo $config_contents; exit(); } elseif( $task=="show" && !empty($config_contents) ) { } // ASSIGN VARIABLES AND SHOW PAGE $smarty->assign('result', $result); $smarty->assign('is_error', $is_error); $smarty->assign('task', $task); include "admin_footer.php"; ?>