<?php
include_once('IsLogined.php');
include_once("../config/templateConfig.inc.php");
if(!isset($_SESSION['admin'])){
	$templateMain = new SmartTemplate('login.html');
	$templateMain->assign('TIPMSG',"µÇÂ¼³¬Ê±»òÃ»ÓÐµÇÂ¼£¡");
	$templateMain->output();
}else{
$templateMain = new SmartTemplate('Admin_Index.html');
$templateMain->output();
}
?>