示例#1
0
 public function init()
 {
     Phalanx::loadController("admin.AdminLoginController");
     $alc = new AdminLoginController();
     $alc->check();
     $this->session = new Session();
     $this->get = Request::get();
     $this->post = Request::post();
     $this->views = new Views(new Template("admin"));
 }
示例#2
0
<?php

include_once dirname(__FILE__) . "/admin_login.controller.php";
$controller = new AdminLoginController();
$vd = $controller->Execute();
print '<?xml version="1.0" encoding="UTF-8"?>';
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <link rel="stylesheet" href="style.css?v=<?php 
print DOMA_VERSION;
?>
" type="text/css" />
  <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
  <title><?php 
print _SITE_TITLE . " :: " . __("ADMIN_LOGIN");
?>
</title>
  <link rel="icon" type="image/png" href="gfx/favicon.png" />
  <script type="text/javascript" src="js/jquery/jquery-1.7.1.min.js"></script>
  <script src="js/common.js?v=<?php 
print DOMA_VERSION;
?>
" type="text/javascript"></script>
</head>

<body id="adminLoginBody">
<div id="wrapper">
<?php 
Helper::CreateUserListTopbar();