		<div class="userMain">
			<div class="uMain_title"><span class="iconMiniblog">微博客</span></div>
			<div class="uMain_content">
				<div class="stageBox">
					<div class="stageBoxTop"><span></span></div>
					<div class="stageBoxCenter">
						<div class="stageBoxCenterContent">
							<div class="main_nav">
								<ul>
								<li class="nava_4"><a href="?ac=blog">我的微博</a></li>
								<li class="nava_6"><a href="?ac=article">我的文章</a></li>
								</ul>
								<div class="action"><a href="?ac=article&op=add">发表新文章</a></div>
							</div>
							<div class="minHeight500">
								<div class="miniblogBox">
									<div id="face_show"></div>
									<form  name="form2" action="do.php?ac=blog&op=add" method="post">
									<div class="note"><textarea id="message" onkeyup="textCounter(this, 'maxlimit', 200)" name="S_Content" ></textarea></div>
									<div class="action">
										<div id=doingface onclick="showFace(this.id, 'message');"></div>
										<span id="maxlimit">(200个字)</span>
										<div class="button"><span class="button-main"><span><button type="submit" id="submit">发表</button></span></span></div>
										<div class="miniblogMessage"></div>
									</div>
									</form>
								</div>
								<div class="miniblogList" id="miniblogList">
									
	<ul>
<?php
$a=0;
	global $db;
	$sql="select * from s_blog where S_User='".$chsh_username."' order by s_id desc";
		$Arr=getuserpage($sql,"30");//sql,每页显示条数
		$result=$db->query($Arr[2]);
		$numdate="a";
		if($result){
			while ($row = $db ->fetch_array($result)){
		$numdate="b";
	$sqlu="select s_logo,S_RealName from s_users where S_name='".$row["S_User"]."' order by s_id desc";
	$rsu=$db->query($sqlu);
	$rowu=$db->fetch_array($rsu);
?>
		<li>
		<div class="avatar"><img class="avatar-42" src="<?php echo piclink("logo",$rowu["s_logo"],"big")?>" onerror="this.onerror=null;this.src='<?php echo S_SiteDomain?>/user/images/avatar/noface_small.gif'"/></div>
		<div class="content">
			<div class="text"><a href="<?php echo userlink("index",$row["S_User"])?>"><?php echo $row["S_User"]?></a>：<?php echo facehtml($row["S_Content"])?></div>
			<div class="info">
				<span class="action"><a href="<?php echo userlink("blog",$row["S_User"])?>" target="_blank">评论[0]</a></span>
				<span class="time">发表于:<?php echo $row["S_Addtime"]?></span>
								<span class="del" id="del-b412" onClick="window.open('do.php?ac=blog&op=del&id=<?php echo $row["S_ID"]?>')" title="删除" ></span>
							</div>
		</div>
	</li>
<?php
	}
}
if($numdate=="a"){
		echo("<div class='nothing'>~还木有微博客~。</div>");
}
?>
		</ul>
<div class="page"><div class="pages"><?php echo $Arr[0];?></div></div>
								</div>
							</div>
							<div id="currPageNum">1</div>
						</div>
					</div>
					<div class="stageBoxBottom"><span></span></div>
				</div>
			</div>
