<?php
include "../include/label.php";
include "../include/userset.php";
ob_start();
//允许动作
$dos = array('web', 'qq', 'edit', 'message', 'msgyz', 'bfriend', 'online', 'fav', 'music', 'gbook', 'friend', 'pay', 'msg', 'pic', 'blog', 'down', 'music', 'look', 'change', 'paycz', 'article', 'topic');

//获取变量
$id=SafeRequest("id","get","zr");
$op=SafeRequest("op","get","zr");
$ac=SafeRequest("ac","get","zr");
$ac = (!empty($ac) && in_array($ac, $dos))?$ac:'home';
include "skins/function_common.php";
if($chsh_state==1){exit("对不起您的帐号已被锁定！");}
//清理动态
$db->query("delete from S_Dt where DATEDIFF(DATE(s_addtime),'".date('Y-m-d')."') <=-".S_Dtday."");
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=7" />
<meta http-equiv="Content-Type" content="text/html; charset=gbk" />
<title><?php echo $title?> - <?php echo $chsh_username?> - <?php echo S_SiteName?> - Powered by PjRen.Net Dance</title>
<link rel="shortcut icon" href="/favicon.ico" />
<link rel="stylesheet" href="css/main.css" type="text/css" media="all" />
<link rel="stylesheet" href="css/user.css" type="text/css" media="all" />
<link href="css/alerts.css" rel="stylesheet" type="text/css" media="screen" />
<script type="text/javascript" language="javascript">var tentpath='<?php echo S_SitePath?>';</script>
<script type="text/javascript" language="javascript">var userlogin='<?php echo $userlogin?>';</script>
<script type="text/javascript" src="js/ajax.js"></script>
<script type="text/javascript" src="js/function.js"></script>
<script src="js/jquery.js"></script>
<script src="js/alerts.js"></script>
</head>
<body>
<div class="top">
 <?php include_once('skins/skin_head.php');?>
</div>
<div class="user">
<div class="userCenter">
 <?php include_once('skins/skin_left.php');?>
</div>
 <?php include_once('skins/skin_'.$ac.'.php');?>
 <?php include_once('skins/skin_bottom.php');?>
</body>
</html>