<?php
require_once("check.php");
require_once("../config.php");
$userinfosql = "select * from dunling_user where username='$username' and userpass='$userpass'";
$userinfoery = mysql_query($userinfosql);
$usernum = mysql_num_rows($userinfoery);
if($usernum!="1"){
    exit;
}
$user = mysql_fetch_array($userinfoery);
?>
<!DOCTYPE html>
<html>
<head>
<title><?php echo $username;?>的控制面板</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<link rel="stylesheet" type="text/css" href="style/admin.css" />
<link rel="stylesheet" type="text/css" href="style/admin_start.css" />
<script src="js/jquery-1.11.1.min.js"></script>
<script src="js/guzhuwindows.js"></script>
<script src="js/start.js"></script>
</head>
<body>
<html>
<div id="open">
<div class="head"><div class="logo"></div><div class="title">公告</div><div class="r" id="close" title="关闭"></div></div>
<div class="main">
<iframe id="winopens" width="100%" height="100%" frameborder="0" scrolling="yes"></iframe>
</div>
</div>



<div id="main">


<div class="desktop">
<div class="box">
<div class="ico"><img src="images/png/faburenwu.png" title="发布任务" /></div>
<div class="filename">发布任务</div>
<span>fabu</span>
</div>

<div class="box">
<div class="ico"><img src="images/png/rw.png" title="通过任务管理可以管理自己发布的任务" /></div>
<div class="filename">任务管理</div>
<span>rw</span>
</div>

<div class="box">
<div class="ico"><img src="images/png/zhichu.png" title="查看我的支出明细" /></div>
<div class="filename">支出明细</div>
<span>guzhuzhichu</span>
</div>


</div>



<div class="desktop">
<div class="box">
<div class="ico"><img src="images/png/dhjinbi.png" title="将人民币兑换为平台金币" /></div>
<div class="filename">兑换金币</div>
<span>dhjinbi</span>
</div>




</div>

<div class="desktop">




<div class="box">
<div class="ico"><img src="images/png/a_user.png" title="我的资料" /></div>
<div class="filename">我的资料</div>
<span>ziliao</span>
</div>

<div class="box">
<div class="ico"><img src="images/png/a_pass.png" title="修改密码" /></div>
<div class="filename">修改密码</div>
<span>password</span>
</div>


</div>

<div id="color">
<div class="color" id="#093716" style="width: 18px;height:18px;background-color:#093716;border:1px solid #F0FAFF;float:left;"></div>
<div class="color" id="#004E98" style="width: 18px;height:18px;background-color:#004E98;border:1px solid #F0FAFF;float:left;margin-left:8px;"></div>
<div class="color" id="#4B0E52" style="width: 18px;height:18px;background-color:#4B0E52;border:1px solid #F0FAFF;float:left;margin-left:8px;"></div>
<div class="color" id="#292825" style="width: 18px;height:18px;background-color:#292825;border:1px solid #F0FAFF;float:left;margin-left:8px;"></div>
<div class="color" id="#1E5255" style="width: 18px;height:18px;background-color:#1E5255;border:1px solid #F0FAFF;float:left;margin-left:8px;"></div>
<div class="color" id="#4B4401" style="width: 18px;height:18px;background-color:#4B4401;border:1px solid #F0FAFF;float:left;margin-left:8px;"></div>
<div class="color" id="#400080" style="width: 18px;height:18px;background-color:#400080;border:1px solid #F0FAFF;float:left;margin-left:8px;"></div>
</div>
<div id="userinfo">
<div class="title">账号信息<span class="Refresh">[刷新]</span></div>
<div class="text" id="usermoney">请稍候……</div>
</div>



<div id="rightClick">
<ul>
<li onclick="location.href='guzhu.php'">刷新</li>
<li class="out">退出系统</li>
</ul>
</div>

<div id="bottom">
<div class="menu">
<div><img src="images/menu_logo.jpg" /></div>
<li><a href="http://www.dunling.com" target="_blank">访问官方网站</a></li>
<li class="out">安全退出后台</li>
</div>
<div class="start"></div>
<div class="shenfen">当前身份:雇主 <input value="切换为会员" id="qiehuan" zhi="0" type="button" /></div>
</div>
</body>
</html>