<?php
require_once('common.php');
//************************执行代码开始*************************
$qid=is_numeric($_GET['qid'])?$_GET['qid']:'0';
if(!$qid || !$qqrow=$db->get_row("select * from ".C('DB_PREFIX')."qqs where qid='$qid' and uid='$userrow[uid]' limit 1")){
	exit("<script language='javascript'>alert('QQ不存在！');window.location.href='/mgmt';</script>");
}elseif(!C('webfree') && !get_isvip($userrow[vip],$userrow[vipend])){
	exit("<script language='javascript'>alert('对不起，你不是VIP,无法开启功能！');window.location.href='/mgmt';</script>");
}elseif($_POST['do']=='zan'){
		$is=is_numeric($_POST['is'])?$_POST['is']:'0';
	$net=is_numeric($_POST['net'])?$_POST['net']:'0';
		if($is && !$net){
			echo"<script language='javascript'>alert('请选择个合适的服务器');window.location.href='/mgmt/qqlist.php?qid=$qid';</script>";	
		}elseif($net && $qqrow['zannet']!=$net && get_count('qqs',"zannet='$net'",'qid')>=C('netnum')){
			echo"<script language='javascript'>alert('{$net}号服务器已满，请换一个服务器！');window.location.href='/mgmt/qqlist.php?qid=$qid';</script>";	
		}else{
			$db->query("update ".C('DB_PREFIX')."qqs set iszan='$is',zannet='$net' where qid='$qid'");
			echo"<script language='javascript'>alert('说说秒赞修改成功');window.location.href='/mgmt/qqlist.php?qid=$qid';</script>";
		}
	}	
if($do=$_POST['do']){
	$is=is_numeric($_POST['is'])?$_POST['is']:'0';
	$net=is_numeric($_POST['net'])?$_POST['net']:'0';
	if($do=='reply'){
		$con=safestr($_POST['content']);
		$db->query("update ".C('DB_PREFIX')."qqs set isreply='$is',replycon='$con' where qid='$qid'");
		echo"<script language='javascript'>alert('说说秒评修改成功');window.location.href='/mgmt/qqlist.php?qid=$qid';</script>";
	}elseif($do=='qqd'){
		$qunnum=safestr($_POST['qunnum']);
		$db->query("update ".C('DB_PREFIX')."qqs set isqqd='$is',qunnum='$qunnum' where qid='$qid'");
		echo"<script language='javascript'>alert('群签到修改成功');window.location.href='/mgmt/qqlist.php?qid=$qid';</script>";
	}elseif($do=='qwqd'){
		$qwqdnum=safestr($_POST['qwqdnum']);
		$db->query("update ".C('DB_PREFIX')."qqs set isqwqd='$is',qwqdnum='$qwqdnum' where qid='$qid'");
		echo"<script language='javascript'>alert('群问签到修改成功');window.location.href='/mgmt/qqlist.php?qid=$qid';</script>";
	}elseif($do=='zf'){
		$con=safestr($_POST['content']);
		$zfok=safestr($_POST['zfok']);
		$db->query("update ".C('DB_PREFIX')."qqs set iszf='$is',zfcon='$con',zfok='$zfok' where qid='$qid'");
		echo"<script language='javascript'>alert('转发说说修改成功');window.location.href='/mgmt/qqlist.php?qid=$qid';</script>";
	}elseif($do=='qt'){
		$db->query("update ".C('DB_PREFIX')."qqs set isqt='$is' where qid='$qid'");
		echo"<script language='javascript'>alert('说说圈图成功');window.location.href='/mgmt/qqlist.php?qid=$qid';</script>";	
	}elseif($do=='shuo'){
		$con=safestr($_POST['content']);
		$url=safestr($_POST['shuopic']);
		$phone=safestr($_POST['shuophone']);
		$rate=is_numeric($_POST['rate']);
		$db->query("update ".C('DB_PREFIX')."qqs set isshuo='$is',shuoshuo='$con',shuopic='$url',shuophone='$phone' where qid='$qid'");
		echo"<script language='javascript'>alert('自动说说修改成功');window.location.href='/mgmt/qqlist.php?qid=$qid';</script>";
	}elseif($do=='del'){
		$db->query("update ".C('DB_PREFIX')."qqs set isdel='$is' where qid='$qid'");
		echo"<script language='javascript'>alert('删除说说修改成功');window.location.href='/mgmt/qqlist.php?qid=$qid';</script>";
	}elseif($do=='dell'){
		$db->query("update ".C('DB_PREFIX')."qqs set isdell='$is' where qid='$qid'");
		echo"<script language='javascript'>alert('删除留言修改成功');window.location.href='/mgmt/qqlist.php?qid=$qid';</script>";
	}elseif($do=='qd'){
		$con=safestr($_POST['content']);
		$db->query("update ".C('DB_PREFIX')."qqs set isqd='$is',qdcon='$con' where qid='$qid'");
		echo"<script language='javascript'>alert('空间签到修改成功');window.location.href='/mgmt/qqlist.php?qid=$qid';</script>";	
	}elseif($do=='upload'){
		if(($_FILES["file"]["type"] == "image/gif") || ($_FILES["file"]["type"] == "image/jpeg") || ($_FILES["file"]["type"] == "image/pjpeg") || ($_FILES["file"]["type"] == "image/png")){
			if ($_FILES["file"]["error"] > 0){
				echo'<script language=\'javascript\'>alert(\'图片上传失败。'.$_FILES["file"]["error"].'\');</script>';
			}else{
				$image=file_get_contents($_FILES["file"]["tmp_name"]);
				$upload=uploadimg($qqrow['qq'],$qqrow['sid'],$image);
				if(!stripos('z'.$upload,'图片')){
					$uploadimg=$upload;
					echo '<script language=\'javascript\'>alert(\'图片上传成功，请点击保存！\');</script>';
				}else{
					exit('<script language=\'javascript\'>alert(\'上传QQ空间失败！'.$upload.'\');</script>');
				}
			}
		}else{
			exit('<script language=\'javascript\'>alert(\'图片格式不正确！\');history.go(-1);</script>');
		}
	}
	$qqrow=$db->get_row("select * from ".C('DB_PREFIX')."qqs where qid='$qid' and uid='$userrow[uid]' limit 1");
	if($uploadimg) $qqrow['shuopic']=$uploadimg;
}





//**************************执行代码开始*******************************

C('webtitle','QQ'.$qqrow['qq']);
C('pageid','qqset');
include_once 'common.head.php';
?>
<block name="head">
    <link href="https://www.qqmiaozan.com/Css/css/plugins/iCheck/custom.css" rel="stylesheet">
    <link href="https://www.qqmiaozan.com/Css/css/style.css?v=2.2.0" rel="stylesheet">
</block>
<block name="page">
    <div class="row wrapper border-bottom white-bg page-heading">
        <div class="col-lg-10">
            <h2>功能配置</h2>
            <ol class="breadcrumb">
                <li><a href="">主页</a>
                </li>
                <li><strong>功能配置</strong>
                </li>
            </ol>
        </div>
        <div class="col-lg-2"></div>
    </div>
    <div class="wrapper wrapper-content animated fadeInRight">
        <div class="row">
            
				<div class="col-lg-5 <?php if($_GET['xz'] != 'zan'){echo'hide';}?>">
				<div class="ibox float-e-margins">
						<div class="ibox-title" data-toggle="collapse" href="#collapsezan">
                        <h5>说说秒赞设置<span class="right">【<?=getzt($qqrow[iszan])?>】</span></h5>
                    </div>
					<div class="ibox-content" id="collapsezan">
							<form action="?qid=<?=$qid?>&xz=zan#zan" role="form" class="form-horizontal" method="post">
								<input type="hidden" name="do" value="zan">
								<div class="list-group-item red">
							<p>频率：免费服务器2分钟；VIP服务器1分钟；极速服务器10-20秒随机</p>
                                </div>
								<div class="list-group-item">
                                <div class="input-group">
                                    <div class="input-group-addon">秒赞开关</div>
                                    <select name="is" class="form-control">
                                        <option value="0" selected="">关闭</option>
                                        <option value="1" <?php if($qqrow[iszan]==1) echo 'selected=""';?>>触屏版</option>
                                        <option value="2" <?php if($qqrow[iszan]==2) echo 'selected=""';?>>电脑版(推荐)</option>
                                    </select>
                                </div>
                            </div>

								
								
								<div class="list-group-item">
                                <div class="input-group">
                                    <div class="input-group-addon">服务器</div>
                                    <select name="net" class="form-control">

						<?php 
										$str="";
										for($i=1;$i<=C('zannet');$i++){
											$str.="<option value ='{$i}' ";
											if($qqrow['zannet'] == $i){
												$str.="selected='selected'";
											}
											$str.=">{$i}号服务器(";
											$num=get_count('qqs',"zannet='$i'",'qid');
											if($num>=C('netnum')){
												$str.="已满";
											}else{
												$str.="{$num}个";
											}
											$str.=")</option>";
										}
										echo $str;
										?>

					</select>
                                </div>
                            </div>
								<div class="list-group-item">
                                <input type="submit" name="submit" value="保存配置" class="btn btn-primary btn-block">
                            </div>
							</form>
						</div>
						
					</div>
				</div>
				                <div class="col-lg-5 <?php if($_GET['xz'] != 'qt'){echo'hide';}?>">
                <div class="ibox float-e-margins">
                    <div class="ibox-title">
                        <h5>说说圈图设置<span class="right">【<?=getzt($qqrow[isqt])?>】</span></h5>
                        
                    </div>
                    <div class="ibox-content">
                        <form action="?qid=<?=$qid?>&xz=qt#qt" role="form" class="form-horizontal" method="post">
                            <input type="hidden" name="do" value="qt">
                            <div class="list-group-item red"><span>说说圈图功能目前尚不稳定，容易出频繁！建议频率不要太快！</span>
                            </div>
                            <div class="list-group-item">
                                <div class="input-group">
                                    <div class="input-group-addon">圈图开关</div>
                                    <select name="is" class="form-control">
										<option value="0" selected="">关闭</option>
                                        <option value="1" <?php if($qqrow[isqt]==2) echo 'selected=""';?>>开启</option>
                                    </select>
                                </div>
                            </div>
							<div class="list-group-item">
                                <div class="input-group">
                                    <div class="input-group-addon">服务器</div>
                                    <select class="form-control" name="net">
										<?php 
										$str="";
										for($i=1;$i<=C('zannet');$i++){
											$str.="<option value ='{$i}' ";
											if($qqrow['zannet'] == $i){
												$str.="selected='selected'";
											}
											$str.=">{$i}号服务器(";
											$num=get_count('qqs',"zannet='$i'",'qid');
											if($num>=C('netnum')){
												$str.="已满";
											}else{
												$str.="{$num}个";
											}
											$str.=")</option>";
										}
										echo $str;
										?>
										</select>
                                </div>
                            </div>
                            <div class="list-group-item">
                                <input type="submit" name="submit" value="保存配置" class="btn btn-primary btn-block">
                            </div>
                        </form>
                    </div>
                </div>
                </div>
				            <div class="col-lg-5 <?php if($_GET['xz'] != 'reply'){echo'hide';}?>">
                <div class="ibox float-e-margins">
                    <div class="ibox-title">
                        <h5>说说秒评设置<span class="right">【<?=getzt($qqrow[isreply])?>】</span></h5>
                        
                    </div>
                    <div class="ibox-content">
                        <form action="?qid=<?=$qid?>&xz=reply#reply" role="form" class="form-horizontal" method="post">
                            <input type="hidden" name="do" value="reply">
                            <div class="list-group-item red"><span>1、秒评会导致空间被禁言，有几率会被封空间，不建议开启！</span>
                            </div>
                            <div class="list-group-item red"><span>2、<a target="_blank" href="http://kf.qq.com/qzone/remove_qzone.html">点击查询是否被禁言</a></span>
                            </div>
                            <div class="list-group-item">
                                <div class="input-group">
                                    <div class="input-group-addon">说说秒评</div>
                                    <select name="is" class="form-control">
                                        <option value="0" selected="">关闭</option>
                                        <option value="1" <?php if($qqrow[isreply]==1) echo 'selected=""';?>>触屏版</option>
                                        <option value="2" <?php if($qqrow[isreply]==2) echo 'selected=""';?>>电脑版(推荐)</option>
                                    </select>
                                </div>
                            </div>
							<div class="list-group-item">
                                <div class="input-group">
                                    <div class="input-group-addon">服务器</div>
                                    <select class="form-control" name="net">

						<?php 
										$str="";
										for($i=1;$i<=C('zannet');$i++){
											$str.="<option value ='{$i}' ";
											if($qqrow['zannet'] == $i){
												$str.="selected='selected'";
											}
											$str.=">{$i}号服务器(";
											$num=get_count('qqs',"zannet='$i'",'qid');
											if($num>=C('netnum')){
												$str.="已满";
											}else{
												$str.="{$num}个";
											}
											$str.=")</option>";
										}
										echo $str;
										?>

					</select>
                                </div>
                            </div>

                            <div class="list-group-item">
                                <div class="input-group">
                                    <div class="input-group-addon">自定义内容</div>
                                    <input type="text" class="form-control" name="content" placeholder="输入你要评论的内容，留空系统随机内容" value="<?=$qqrow['replycon']?>">
                                </div>
                            </div>
                            <div class="list-group-item">
                                <input type="submit" name="submit" value="保存配置" class="btn btn-primary btn-block">
                            </div>
                        </form>
                    </div>
                </div>
            </div>

				<div class="col-lg-5 <?php if($_GET['xz'] != 'qwqd'){echo'hide';}?>">
                <div class="ibox float-e-margins">
                    <div class="ibox-title">
                        <h5>群问签到设置<span class="right">【<?=getzt($qqrow[isqwqd])?>】</span></h5>
                        
                    </div>
                    <div class="ibox-content">
                        <form action="?qid=<?=$qid?>&xz=qwqd#qwqd" role="form" class="form-horizontal" method="post">
                            <input type="hidden" name="do" value="qwqd">
                            <div class="list-group-item red"><span>有时候有的号只能获取部分QQ号 若未群问签到 请看准时间是否可以签到！</span>
                            </div>
                            <div class="list-group-item">
                                <div class="input-group">
                                    <div class="input-group-addon">签到开关</div>
                                    <select name="is" class="form-control">
										<option value="0" selected="">关闭</option>
                                        <option value="1" <?php if($qqrow[isqwqd]==1) echo 'selected=""';?>>自定义群问签到</option>
										<option value="2" <?php if($qqrow[isqwqd]==2) echo 'selected=""';?>>全部群问问签到</option>
                                    </select>
                                </div>
                            </div>
							<div class="list-group-item">
                                <div class="input-group">
                                    <div class="input-group-addon">自定义群</div>
                                    <input type="text" class="form-control" name="qwqdnum" placeholder="输入你要签到的群" value="<?=$qqrow['qwqdnum']?>">
                                </div>
                            </div>
                            <div class="list-group-item">
                                <input type="submit" name="submit" value="保存配置" class="btn btn-primary btn-block">
                            </div>
                        </form>
                    </div>
                </div>
                </div>
				<div class="col-lg-5 <?php if($_GET['xz'] != 'qqd'){echo'hide';}?>">
                <div class="ibox float-e-margins">
                    <div class="ibox-title">
                        <h5>群签到设置<span class="right">【<?=getzt($qqrow[isqqd])?>】</span></h5>
                        
                    </div>
                    <div class="ibox-content">
                        <form action="?qid=<?=$qid?>&xz=qqd#qqd" role="form" class="form-horizontal" method="post">
                            <input type="hidden" name="do" value="qqd">
                            <div class="list-group-item">
                                <div class="input-group">
                                    <div class="input-group-addon">签到开关</div>
                                    <select name="is" class="form-control">
										<option value="0" selected="">关闭</option>
                                        <option value="1" <?php if($qqrow[isqqd]==1) echo 'selected=""';?>>自定义群签到</option>
										<option value="2" <?php if($qqrow[isqqd]==2) echo 'selected=""';?>>全部群签到</option>
                                    </select>
                                </div>
                            </div>
							<div class="list-group-item">
                                <div class="input-group">
                                    <div class="input-group-addon">自定义群</div>
                                    <input type="text" class="form-control" name="qunnum" placeholder="输入你要签到的群" value="<?=$qqrow['qunnum']?>">
                                </div>
                            </div>
                            <div class="list-group-item">
                                <input type="submit" name="submit" value="保存配置" class="btn btn-primary btn-block">
                            </div>
                        </form>
                    </div>
                </div>
                </div>
	
	<div class="col-lg-5 <?php if($_GET['xz'] != 'zf'){echo'hide';}?>">
                <div class="ibox float-e-margins">
                    <div class="ibox-title">
                        <h5>转发说说设置<span class="right">【<?=getzt($qqrow[iszf])?>】</span></h5>
                        
                    </div>
                    <div class="ibox-content">
                        <form action="?qid=<?=$qid?>&xz=zf#zf" role="form" class="form-horizontal" method="post">
						
                            <input type="hidden" name="do" value="zf">
                            <div class="list-group-item red"><span>建议使用触屏版，选择触屏版若长时间无法使用可尝试切换到PC版。</span>
                            </div>
                            <div class="list-group-item">
                                <div class="input-group">
                                    <div class="input-group-addon">转发说说</div>
                                    <select name="is" class="form-control">
                                        <option value="0" <?php if($qqrow[iszf]==0) echo 'selected=""';?>>关闭</option>
                                        <option value="1" <?php if($qqrow[iszf]==1) echo 'selected=""';?>>触屏版</option>
                                        <option value="2" <?php if($qqrow[iszf]==2) echo 'selected=""';?>>电脑板(推荐)</option>
                                    </select>
                                </div>
                            </div>
							<div class="list-group-item">
                                <div class="input-group">
                                    <div class="input-group-addon">服务器</div>
                                    <select class="form-control" name="net">
										<?php 
										$str="";
										for($i=1;$i<=C('zannet');$i++){
											$str.="<option value ='{$i}' ";
											if($qqrow['zannet'] == $i){
												$str.="selected='selected'";
											}
											$str.=">{$i}号服务器(";
											$num=get_count('qqs',"zannet='$i'",'qid');
											if($num>=C('netnum')){
												$str.="已满";
											}else{
												$str.="{$num}个";
											}
											$str.=")</option>";
										}
										echo $str;
										?>
 									</select>
                                </div>
                            </div>
							
                            <div class="list-group-item">
                                <div class="input-group">
                                    <div class="input-group-addon">转发QQ</div>
                                    <input type="text" class="form-control" name="zfok" placeholder="输入你要转发的QQ" value="<?=$qqrow['zfok']?>">
                                </div>
                            </div>
                            <div class="list-group-item">
                                <div class="input-group">
                                    <div class="input-group-addon">转发内容</div>
                                    <input type="text" class="form-control" name="content" placeholder="输入转发说说时的内容" value="<?=$qqrow['zfcon']?>">
                                </div>
                            </div>
                            <div class="list-group-item">
                                <input type="submit" name="submit" value="保存配置" class="btn btn-primary btn-block">
                            </div>
                        </form>
                    </div>
                </div>
                </div>
	
	
	

				                <div class="col-lg-5 <?php if($_GET['xz'] != 'shuo'){echo'hide';}?>">
                    <div class="ibox float-e-margins">
                        <div class="ibox-title">
                            <h5>自动发说说设置<span class="right">【<?=getzt($qqrow[isshuo])?>】</span></h5>
                            <div class="ibox-tools"><a class="collapse-link"><i class="fa fa-chevron-up"></i></a><a class="close-link"><i class="fa fa-times"></i></a>
                            </div>
                        </div>
                        <div class="ibox-content">
                            <form action="?qid=<?=$qid?>&xz=shuo#shuo" role="form" class="form-horizontal" method="post">
                                <input type="hidden" name="do" value="shuo">
                                <div class="list-group-item red"><span>PC版发说说会由于空间被禁言而发送失败！</span>
                                </div>
                                <div class="list-group-item">
                                    <div class="input-group">
                                        <div class="input-group-addon">自动发说说</div>
                                        <select name="is" class="form-control">
                                      <option value="0" <?php if($qqrow[isshuo]==0) echo 'selected=""';?>>关闭</option>
                                        <option value="1" <?php if($qqrow[isshuo]==1) echo 'selected=""';?>>触屏版</option>
                                        <option value="2" <?php if($qqrow[isshuo]==2) echo 'selected=""';?>>电脑板(推荐)</option>
                                        </select>
                                    </div>
                                </div>
                                <div class="list-group-item">
                                    <div class="input-group">
                                        <div class="input-group-addon">发说说频率</div>
                                        <select name="rate" class="form-control">
                                            <?php 
										$str="";
										for($i=5;$i<=60;$i=$i+5){
											$str.="<option value ='{$i}' ";
											if($qqrow['shuonet'] == $i){
												$str.="selected='selected'";
											}
											$str.=">{$i}分钟</option>";
										}
										echo $str;
										?>
                                        </select>
                                    </div>
                                </div>
								<div class="list-group-item">
                                <div class="input-group">
                                    <div class="input-group-addon">服务器</div>
                                    <select class="form-control" name="net">
										<?php 
										$str="";
										for($i=1;$i<=C('zannet');$i++){
											$str.="<option value ='{$i}' ";
											if($qqrow['zannet'] == $i){
												$str.="selected='selected'";
											}
											$str.=">{$i}号服务器(";
											$num=get_count('qqs',"zannet='$i'",'qid');
											if($num>=C('netnum')){
												$str.="已满";
											}else{
												$str.="{$num}个";
											}
											$str.=")</option>";
										}
										echo $str;
										?>
										</select>
                                </div>
                            </div>
                                <div class="list-group-item">
                                    <div class="input-group">
                                        <div class="input-group-addon">说说内容</div>
                                        <input type="text" class="form-control" name="content" placeholder="输入文字内容" value="<?=$qqrow['shuoshuo']?>">
                                    </div>
                                </div>
                                <div class="list-group-item">
                                    <div class="input-group">
                                        <div class="input-group-addon">说说图片</div>
                                        <input type="text" class="form-control" name="shuopic" placeholder="输入图片地址" value="<?=$qqrow['shuopic']?>">
                                    </div>
                                </div>
                                <div class="list-group-item">
                                    <div class="input-group">
                                        <div class="input-group-addon">自定义说说后缀</div>
                                        <input type="text" class="form-control" name="shuophone" placeholder="输入自定义说说后缀，留空则没有后缀" value="<?=$qqrow['shuophone']?>">
                                    </div>
                                </div>
                                <div class="list-group-item">
                                    <input type="submit" name="submit" value="保存配置" class="btn btn-primary btn-block">
                                </div>
                            </form>
                        </div>
                    </div>
                </div>
                <div class="col-lg-5 <?php if($_GET['xz'] != 'qd'){echo'hide';}?>">
                    <div class="ibox float-e-margins">
                        <div class="ibox-title">
                            <h5>空间签到设置<span class="right">【<?=getzt($qqrow[isqd])?>】</span></h5>
                            <div class="ibox-tools"><a class="collapse-link"><i class="fa fa-chevron-up"></i></a><a class="close-link"><i class="fa fa-times"></i></a>
                            </div>
                        </div>
                        <div class="ibox-content">
                            <form action="?qid=<?=$qid?>&xz=qd#qd" role="form" class="form-horizontal" method="post">
                                <input type="hidden" name="do" value="qd">
                                <div class="list-group-item red"><span>系统默认为天气签到，获取2黄豆。<a href="http://rc.qzone.qq.com/pointmall" target="_blank">去兑换</a></span>
                                </div>
                                <div class="list-group-item">
                                    <div class="input-group">
                                        <div class="input-group-addon">空间签到</div>
                                        <select name="is" class="form-control">
                                            <option value="0" selected="">关闭</option>
                                        <option value="1" <?php if($qqrow[isqd]==1) echo 'selected=""';?>>触屏版</option>
                                        <option value="2" <?php if($qqrow[isqd]==2) echo 'selected=""';?>>电脑板(推荐)</option>
                                        </select>
                                    </div>
                                </div>
                                <div class="list-group-item">
                                    <div class="input-group">
                                        <div class="input-group-addon">签到内容</div>
                                        <input type="text" class="form-control" name="content" placeholder="输入你签到的内容" value="<?=$qqrow['qdcon']?>">
                                    </div>
                                </div>
                                <div class="list-group-item">
                                    <input type="submit" name="submit" value="保存配置" class="btn btn-primary btn-block">
                                </div>
                            </form>
                        </div>
                    </div>
                </div>
				
				<!--结束-->
			<div class="col-lg-5">
                <div class="ibox float-e-margins">
                    <div class="ibox-title">
                        <h5>使用说明</h5>
                        
                    </div>
                    <div class="ibox-content">
                        <form class="form-horizontal">
                            <div class="list-group-item red"><span>所有功能的内容可以使用以下标签</span>
                            </div>
                            <div class="list-group-item red"><span><code>[表情]</code>随机表情<br><code>[语录]</code>随机语录<br><code>[时间]</code>当前时间<br><code>[爱情]</code>爱情语录<br><code>[经典]</code>进度语录<br><code>[伤感]</code>非主流<br><code>[人生格言]</code>经典名句<br><code>[说话]</code>搞笑说说</span>
                            </div>
                        </form>
                    </div>
                </div>
            </div>
        </div>
    </div>
 <?php
include_once 'common.foot.php';
?>

</block>
<block name="js">
<script language="javascript" type="text/javascript">
 $().ready(function() {
  $("#none").each(function(){
              var t = $(this).html();
              if(t == ''){
                    $("#none").css("display","none");
              }
          });
	});
</script>
</block>

		
			
			
		