function dn($params)
 {
     $file = $params[0];
     if (md5_check($file, $params[1]) && $file && preg_match('/^[\\(\\) 0-9a-zA-Z\\._\\-]+$/', $file) && file_exists(ROOT . "../needtobedelete/{$file}")) {
         if (f("force") || $this->is_post()) {
             $this->mail_me('FILE DOWNLOAD', "<br>file downloaded:{$file}" . $this->get_client_info());
             View::download($file, "../needtobedelete/{$file}");
         } else {
             $filesize = sprintf("%.1f", filesize(ROOT . "../needtobedelete/{$file}") / 1024);
             echo "<html><head><title>" . e($file) . " download</title></head><body><div align=center><a href=# onclick=\"document.form1.submit();return false;\"><img border=0 src=/public/image/download.png></a><br><h2>" . e($file) . "({$filesize} k)</h2><hr><form name=form1 method=POST><input type=submit value=download></form></div></body></html>";
         }
     } else {
         echo "<html><head><title>File not found </title></head><body><div align=center><img border=0 src=/public/image/404.jpg><br>File not found on this server. <br>Maybe it has been deleted by administrator.<br>Any question, contact <a href=/in/x2f/contact/>here</a></div></body></html>";
     }
     exit;
 }
 function download($params)
 {
     $fileget = f('d');
     if ($fileget) {
         View::download($fileget, "../uploadfile/{$fileget}");
     }
     exit;
 }