"; echo print_r($data,true); echo ""; */ if ($c) usort($data['file']['num'], "compare_" . ($_REQUEST['sort_dir'] ? $_REQUEST['sort_dir'] : "desc") . "_" . ($_REQUEST['sort_by'] ? $_REQUEST['sort_by'] : "name")); // Headers header("Expires: " . gmdate("D, d M Y H:i:s"). " GMT"); if (!$noheadercache) { if ($SERVER_PROTOCOL == "HTTP/1.0") $nocache = "Pragma: no-cache"; else $nocache = "Cache-Control: no-cache, must-revalidate"; header($nocache); } echo template('tpl/dir_list.tpl', $data); ?>