| [ PHPXref.com ] | [ Generated: Sun Jul 20 20:47:44 2008 ] | [ TUTOS 1.2 ] |
| [ Index ] [ Variables ] [ Functions ] [ Classes ] [ Constants ] [ Statistics ] | ||
[Summary view] [Print] [Text view]
1 <?php 2 /* 3 * Copyright 1999 - 2004 by Gero Kohnert 4 * 5 * CVS Info: $Id: check.php,v 1.35 2004/04/29 12:14:57 gokohnert Exp $ 6 * $Author: gokohnert $ 7 * 8 * do background jobs 9 * - check for appointments that ask for remembering 10 * - check for bugs that are OPEN for too long 11 * 12 * @modulegroup BASE 13 * @module check 14 * @package BASE 15 */ 16 include_once 'webelements.p3'; 17 include_once 'permission.p3'; 18 include_once 'product.pinc'; 19 include_once 'appointment.pinc'; 20 include_once 'task.pinc'; 21 include_once 'timetrack.pinc'; 22 23 if ( ! isset($_GET['dbnr']) ) { 24 $dbnr = 0; 25 } else { 26 $dbnr = $_GET['dbnr']; 27 } 28 $_SESSION['dbnr'] = $dbnr; 29 $dbconn = DB_Open($dbnr); 30 $current_user = new tutos_user($dbconn); 31 $current_user->f_name = "TUTOS"; 32 $current_user->l_name = "(remember service)"; 33 $current_user->admin = 1; 34 $msg = ""; 35 36 37 ReadLang($lang); 38 loadmodules('check','new'); 39 40 session_write_close(); 41 42 # run some DB cleanups that might be neccessary 43 $msg .= $dbconn->checkservice(); 44 45 $msg .= appointment::checkservice($current_user); 46 47 foreach($tutos[activemodules] as $i => $f) { 48 $x = new $tutos[modules][$f][name]($dbconn); 49 $msg .= $x->checkservice($current_user); 50 } 51 52 if ( ($tutos[debug] == 1) && ($msg != "") ) { 53 echo $msg ."<br>"; 54 echo "--> ". $current_user->getFullName() ."<br>"; 55 } 56 $dbconn->Close(); 57 ?>
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| [ Powered by PHPXref - Served by Debian GNU/Linux ] |