function _gen_services()
 {
     if ($exitinfo = $this->missing_dependencies('gen_services')) {
         return print $exitinfo;
     }
     if (func_num_args() > 0) {
         $arg_list = func_get_args();
         $menu_id = $arg_list[0];
         $post_vars = $arg_list[1];
         $get_vars = $arg_list[2];
         $validuser = $arg_list[3];
         $isadmin = $arg_list[4];
     }
     $s = new gen_services();
     if ($post_vars["submitvaccine"]) {
         $s->process_consult_service($menu_id, $post_vars, $get_vars, $validuser, $isadmin);
     }
     $s->form_service($menu_id, $post_vars, $get_vars, $validuser, $isadmin);
 }
示例#2
0
    }
}
if (file_exists('../modules/fecalysis/class.fecalysis.php')) {
    include '../modules/fecalysis/class.fecalysis.php';
    $fecalysis = new fecalysis();
    if (!$module->activated('fecalysis') && $initmod) {
        $fecalysis->init_sql();
        $fecalysis->init_menu();
        $fecalysis->init_deps();
        $fecalysis->init_lang();
        $fecalysis->init_help();
    }
}
if (file_exists('../modules/gen_services/class.gen_services.php')) {
    include '../modules/gen_services/class.gen_services.php';
    $gen_services = new gen_services();
    if (!$module->activated('gen_services') && $initmod) {
        $gen_services->init_sql();
        $gen_services->init_menu();
        $gen_services->init_deps();
        $gen_services->init_lang();
        $gen_services->init_help();
    }
}
if (file_exists('../modules/graph/class.graph.php')) {
    include '../modules/graph/class.graph.php';
    $graph = new graph();
    if (!$module->activated('graph') && $initmod) {
        $graph->init_sql();
        $graph->init_menu();
        $graph->init_deps();