Location: PHPKode > projects > phpMyPrepaid > phpmyprepaid/www/headeruser.php
<?
/*
phpMyprepaid is developped under GPL Licence 2.0 :
http://www.gnu.org/licenses/gpl.txt or read LICENSE file.


We are using Oreon for base code: http://www.oreon-project.org
We are using Dialup Admin for user management 
and many more things: http://www.freeradius.org
We are using PHPKI for Certificates management: http://phpki.sourceforge.org/ 

Thanks very much!!
*/
// Bench
function microtime_float() 	{
	list($usec, $sec) = explode(" ", microtime());
	return ((float)$usec + (float)$sec);
}

$time_start = microtime_float();

// Load configuration File


if (!isset($_SESSION["oreon"]))
	header("Location: index.php");
//alias
$oreon = & $_SESSION["oreon"];
//if ($debug) echo "SERIALIZE SESSION<br>";
//$_SESSION['oreon_serialize']=serialize($oreon);
if (isset($oreon->optGen)){
	$expire = $oreon->optGen->get_session_expire();
} else
	$expire = 0;

$oreon->clean_session($expire);
if ($oreon->check_if_session_ok())
	$oreon->update_current_session(session_id(), $p, $o);
else	{
	header("Location: index.php");
	exit();
}
// Load traduction in the selected language.

include_once ("../../lang/" . $oreon->user->get_lang() . ".php");

print "<SCRIPT language='javascript' src='../javascript/datepicker.js'></SCRIPT>";
?>
<SCRIPT language='javascript' src='../javascript/functions.js'></SCRIPT>
<!-- main calendar program -->
  <script type="text/javascript" src="../calendar/calendar.js"></script>

<!-- language for the calendar -->
  <script type="text/javascript" src="../calendar/lang/calendar-en.js"></script>

<!-- the following script defines the Calendar.setup helper function, which makes
	         adding a calendar a matter of 1 or 2 lines of code. -->
   <script type="text/javascript" src="../calendar/calendar-setup.js"></script>

<?
include("../javascript/infobulle.php");
?>
<SCRIPT language="JavaScript">InitBulle("#000000","#CFCFCF","#000000",1);

// InitBulle(couleur de texte, couleur de fond, couleur de contour taille contour)
</SCRIPT>
Return current item: phpMyPrepaid