<!DOCTYPE html>

<html>

<head>

<meta  charset="utf-8" />

<!-- 兼容HTML5标签 -->

<title>{$_webname} - {$lang[index][Inc]}</title>
{template('main/header.html')}
<body>

<div class="clearfix">

<aside class="aside">

<a href="index.php" title="回首页" class="db"><h1 class="logo ti">心挂Q,云在线</h1></a>

<div id="userinfobox" class="plr20  mb20">

<!--用户信息-->

</div>

<nav class="menu f14" id="navbox">

<a href="index.php"  id="file-manage" hidefocus="true" title="QQ管理" class="active" >

<span class="ico ico-file-manage">QQ管理</span>
(<?php
    $i=mysql_query("SELECT * FROM ".$table."online
WHERE uid='".$User_uid."' and status='1'",$con);
    $n=mysql_num_rows($i);
    echo $n.mysql_error(); 
?>)

</a>

<a href="in.php?action=nocheckqq" id="share-manage" title="待打码管理" hidefocus="true" >

<span class="ico ico-share">待打码管理
<?php
    $i=mysql_query("SELECT * FROM ".$table."online
WHERE uid='".$User_uid."' and status='2'",$con);
    $n=mysql_num_rows($i);
    echo $n.mysql_error(); 
    if($n > 0){
        echo '<img src="'.$tplroot.'/images/qqnum2.png" width="38" height="40">';
    }
?></span>

</a>

<a href="home.php?mod=square" id="link-manage" title="广场" hidefocus="true" >

<span class="ico ico-olink">广场</span>

</a>

</nav>

<div align=center>Powered by <a href="http://www.izzx.cc"><strong>阿Z</strong></a>. Design by <a href="http://www.kuaipan.cn"><strong>kuaipan</strong></a>.</div>

</aside>

<section class="mainer">

<div class="p20">

<!--文档管理  A-->

<article id="filemangebox" class="dn">

<div class="fixed">

<header class="menubox rel h60 mb20">

<div class="abs abs-tr-10 ">

<a href="javascript:;" title="今日公告" class="checkin imitate-ico imitate-checkin dib hoverlink">今日公告</a>

<span class="plr5 gray">|</span>
<a href="home.php?mod=space&uid={$User_uid}" title="" class="hoverlink">个人资料</a>
<span class="plr5 gray">|</span>
<a href="home.php?mod=message&uid={$User_uid}" title="" class="hoverlink">短消息系统</a>
<span class="plr5 gray">|</span>

<a href="logout.php" title="退出管理 " class="hoverlink">退出</a>

</div>

<div class="clearfix pt30">

<div class="l">

<!-- 添加QQ菜单 -->

<a href="javascript:;" id="newdir" class="imitate-btn btn-blue r2 dib mr15">添加QQ</a>

<!-- 上传文件 -->

<a href="javascript:;" id="upload" class="imitate-btn imitate-green r2 dib">交流讨论</a>

<!--显示已删除-->

</div>

<div class="r w450">

<!--搜索-->

<form action="in.php?action=qsearch" method="GET">

<input type="text" name="qq" value="请输入您要搜索的QQ、SID、时间等" class="r2 f12  bde txt-t1 w260 bsi" />
<input name="action" type="hidden" value="qsearch" />
<input type="submit" value="搜索" class="imitate-btn normal-btn" />

</form>

</div>

</div>

</header>

<table>

<!--[if lt IE 8]>

<colgroup>

<col class="w40"/>

<col />

<col class="w80" />

<col class="w80" />

<col class="w135" />

</colgroup>

<![endif]-->

<thead>

<tr>

<th colspan="6" >
QQ掉线了？ 找不到自己的QQ？ 请尝试点击"待打码管理"！

</th>

</tr>

<tr class="tableheader selected ui-selected" id="kptopdefault">

<th class="bt0 w40 chkall"><div class="bgs ico-checkbox dib h20 chk" value=""></div></th>

<th class="filename w20 bt0" title="">
QQ
</th>

<th class="show w103 bt0" title="">
show
</th>

<th class="status w64  bt0" title="">
状态
</th>

<th class="size   w85 bt0" title="">
其他
</th>

<th class="status   w135 bt0" title="">
日期
</th>


</tr>

</table>

<div style="width: 100%; height: 350px; overflow-y: auto;">
<?php
        $iqqol_search=mysql_query("SELECT * FROM ".IQQOL_SQLTABLE."adv 
WHERE `name`='main'",$con);
        $qinfo=mysql_fetch_array($iqqol_search,true);
        $mb_search=mysql_query("SELECT * FROM ".IQQOL_SQLTABLE."members 
WHERE `uid`='$User_uid'",$con);
        $mbinfo=mysql_fetch_array($mb_search,true);
        if($mbinfo[group]=='1'){
            $gpname='common';
        }
        else{
            $gpname='core';
        }
        $gp_search=mysql_query("SELECT * FROM ".IQQOL_SQLTABLE."group_power 
WHERE `name`='".$gpname."'",$con);
        $gpinfo=mysql_fetch_array($gp_search,true);
            if($qinfo[status]=='on'){
                if($gpinfo[noad]=='no'){
                    echo $qinfo[note];
                }
            }
	?>
<table>

{template('main/qqlist.php')}

</table>

</div>
<table>
    <!--选中文件后显示 A-->

<tr class="dn"  id="kptopmenu">

<th class="w40  chkall top-menubar"><div class="bgs ico-checkbox dib h20 chk" style="margin-right:0px;" value=""></div></th>

<th id="kptopmenuwrap" class="top-menubar">



</th>

<th class="w80 top-menubar">&nbsp;</th>

<th class="w80 top-menubar">&nbsp;</th>

<th class="w135 top-menubar">&nbsp;</th>

</tr>

<!--选中文件后显示 Z-->

</thead>

</table>

</div><!--fixed end-->

<div class="fixfixed" style="height: 186px;">

</div><!--do not delete this empty div -->

<table summary="" class="list" id="listviewfilelist">

<colgroup>

<col class="w40"/>

<col />

<col class="w80" />

<col class="w80" />

<col class="w135" />

</colgroup>

<tbody id="filemangelist">

</tbody>

</table>

<ul id="previewfilelist" onselectstart="return false;" class="dn clearfix thumblist fl-li">

</ul>

<div class="menuBar" id="filemagemenubar">

</div>

</article>


<!-- 上传对话框 -->

<div id="uploadbox" style="padding:10px 20px" class="dn" >


<div style="background:#fff;height:100%;border:1px solid #ccc;">
<div style="width: 100%; height: 100%; overflow-y: auto;">
<table>
<table>
<iframe src="built_ins.php?action=uyan" marginWidth=0 marginHeight=0 frameBorder=0 style="WIDTH: 100%; HEIGHT: 440px"></iframe>
</table>
</table>
</div>
</div>


<span id="uploadfirst"></span>
<br>
<button id="cancelbnt" class="pt10 r r2 ui-button ui-widget ui-state-default ui-corner-all ui-button-text-only small-btn" aria-disabled="false"><span>关闭</span></button>

</div>

</div>


<!--签到A-->

<div id="checkinbox" class="dn fm">

<div id="checkinState" >{$_notice}</div>

<div class="chk-task" id="moretasktry">



</div>

</div>

   <!--签到Z-->

<!--增加QQ-->
<div id="newdirbox" class="black dn">

<div>
{template('main/addqq.html')}
</div>





</div>


<script src="{$tplroot}/js/jquery-1.7.1.min.js"></script>

<script src="{$tplroot}/js/jquery.ba-hashchange.min.js"></script>

<script src="{$tplroot}/js/jquery-ui-1.8.18.custom.min.js"></script>

<script type="text/javascript" src="{$tplroot}/js/kuaipancore.js?v=1.0.0.41"></script>

<script>

var CONST = {};

KP.Core.startAll();//启动模块

KP.Core.startApp();//启动应用程序

</script>

</body>

</html>
