Location: PHPKode > scripts > php ireport > phpireport v1.0 alpha revision 25/phpireport/index.php
<?
if( phpversion() >= "4.2.0")
{  
extract($_POST);  
extract($_GET);  
extract($_SERVER);  
} 

include "include/config.php";
include "include/functions.php";

if($action=='admin_login'){
admin_login($admin__username, $admin__password, $admin_username, $admin_password);
redirect_to_page("admin");
}
if($action=='admin_logout'){
admin_sign_out();
redirect_to_page("admin");
}
if($action=='logout'){
sign_out();
redirect_to_page("home");
}

if($register=='yes'){register($user,$password,$email);}

if($login=='yes')
{
sign_in($user, $password);
redirect_to_page("home");
};

include "onload.php";

//include "editor.php";
//include "register.php";
//include "login.php";
//include "messages_tracker.php";

include "template/default/index.html";
?>
Return current item: php ireport