Subversion Repositories Sites.tela-botanica.org

Rev

Rev 263 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 263 Rev 287
Line 77... Line 77...
77
    return $res ;
77
    return $res ;
78
}
78
}
Line 79... Line 79...
79
 
79
 
80
function afficherContenuCorps () {
80
function afficherContenuCorps () {
81
    global $statut ;
-
 
82
    $GLOBALS['bench'] = microtime(true);
81
    global $statut ;
83
	if (!isset($_REQUEST[ANN_VARIABLE_ACTION])) $_REQUEST[ANN_VARIABLE_ACTION] = ANN_ACTION_VOIR_ADHERENT;
82
	if (!isset($_REQUEST[ANN_VARIABLE_ACTION])) $_REQUEST[ANN_VARIABLE_ACTION] = ANN_ACTION_VOIR_ADHERENT;
84
    if (!$GLOBALS['AUTH']->getAuth())  {
83
    if (!$GLOBALS['AUTH']->getAuth())  {
85
        $res = AUTH_formulaire_login() ;
84
        $res = AUTH_formulaire_login() ;
86
    } else {
85
    } else {
Line 106... Line 105...
106
	        	if (isset ($_GET['u_id'])) {
105
	        	if (isset ($_GET['u_id'])) {
107
	        		include_once (ANN_CHEMIN_APPLI.'admin_annu.php');
106
	        		include_once (ANN_CHEMIN_APPLI.'admin_annu.php');
108
	            	$GLOBALS['ann_url']->addQueryString ('u_id', $_GET['u_id']) ;
107
	            	$GLOBALS['ann_url']->addQueryString ('u_id', $_GET['u_id']) ;
109
	            	return putFrame() ;
108
	            	return putFrame() ;
110
	        	}
109
	        	}
111
	        	return mkengine().mkresu().'<div>bench : '.(microtime(true) - $GLOBALS['bench']).'</div>';
110
	        	return mkengine().mkresu();
112
        }
111
        }
113
    }
112
    }
114
    $res .= '<div>bench : '.(microtime(true) - $GLOBALS['bench']).'</div>';
-
 
115
    return $res ;
113
    return $res ;
116
}
114
}
Line 117... Line 115...
117
 
115
 
118
function cma ($var) {
116
function cma ($var) {