function param($name, $file = false)
 {
     $ret = '';
     if (!$file) {
         if (!($ret = Application::userParam($name))) {
             if (!($ret = Application::postVarsParam($name))) {
                 $ret = Application::getVarsParam($name);
             }
         }
     } else {
         $ret = Application::fileVarsParam($name);
     }
     return $ret;
 }