<?php
require("session_check.php");	
	
	//语言包引入
	$u_langpackage=new uilp;
	
	//数据表定义
	$t_config=$tablePreStr."config";
	
	//数据库连接
	$dbo=new dbex;
	dbtarget('w',$dbServs);
	
	$sql="select v from $t_config where k='templates'";
	$templ=$dbo->getRow($sql);

?>
<html>
<head>
<title><?php echo $u_langpackage->u_UI_cback?></title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="stylesheet" type="text/css" href="css/right.css">
<script type='text/javascript'>
function worning_tip(UI_type){
	if(confirm("<?php echo $u_langpackage->u_worning?>")){
		if(confirm("<?php echo $u_langpackage->u_re_worning?>")){
			document.getElementById('action').style.display='';
			document.getElementById('action').style.top=document.body.clientHeight/2-150+"px";
			document.getElementById('action').style.left=document.body.clientWidth/2-150+"px";					
			window.location.href="ui_restore.action.php?r_type="+UI_type;
		}
	}
}
</script>
</head>

<body>
<div id='action' style='display:none;' class='ajax_window'>
	<div style='background-color:white;width:220px;height:50px'>
		<div style='margin-left:25px;width:220px'>
			<div style='margin-top:15px;width:220px'><img src='images/loading.gif' style='float:left' />正在编译，请稍等...</div>
		</div>
	</div>
</div>
<div class="container">
	<div class="rs_head"><?php echo $u_langpackage->u_cback_temp?></div>
</div>

<table class="main main_left">
	<tr>
		<td><?php echo $u_langpackage->u_cback_temp_say?>
		</td>
	</tr>
	<tr>
		<td><input type='button' class='top_button' value='<?php echo $u_langpackage->u_cback_temp?>' onclick='javascript:worning_tip("tmp");' /></td>
	</tr>
</table>

<div class="container">
	<div class="rs_head"><?php echo $u_langpackage->u_cback_model?></div>
</div>

<table class="main main_left">
	<tr>
		<td><?php echo $u_langpackage->u_cback_model_say?>
		</td>
	</tr>
	<tr>
		<td><input type='button' class='top_button' value='<?php echo $u_langpackage->u_cback_model?>' onclick='javascript:worning_tip("mod");' /></td>
	</tr>
</table>

<div class="container">
	<div class="rs_head"><?php echo $u_langpackage->u_cback_skin?></div>
</div>

<table class="main main_left">
	<tr>
		<td><?php echo $u_langpackage->u_cback_skin_say?>
		</td>
	</tr>
	<tr>
		<td><input type='button' class='top_button' value='<?php echo $u_langpackage->u_cback_skin?>' onclick='javascript:worning_tip("skin");' /></td>	
	</tr>			
</table>

<div class="container">
	<div class="rs_head"><?php echo $u_langpackage->u_cback_all?></div>
</div>

<table class="main main_left">
	<tr>
		<td><?php echo $u_langpackage->u_cback_all_say?>
		</td>
	</tr>
	<tr>
		<td><input type='button' class='top_button' value='<?php echo $u_langpackage->u_cback_all?>' onclick='javascript:worning_tip("c_com");' /></td>
	</tr>	
</table>
	
</body>
</html>		