<?php
if($op==""){
$op="mb";
}?>
		<div class="userMain">
			<div class="uMain_title"><span class="iconweb">装扮主页</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="<?php if($op=="mb"){ echo "nava_4";}else{ echo "navb_5";}?>"><a href="?ac=web&op=mb">主页摸版</a></li>
								<li class="<?php if($op=="bg"){ echo "nava_4";}else{ echo "navb_5";}?>"><a href="?ac=web&op=bg">修改背景</a></li>
								<li class="<?php if($op=="top"){ echo "nava_4";}else{ echo "navb_5";}?>"><a href="?ac=web&op=top">修改标题</a></li>
								</ul>
							</div>
							<div class="minHeight500">
<?php
if($op=="bg"){
?>
								<div class="imageUp_Title">上传主页背景<span></span></div>
								<div class="imageUpNote">禁止上传色情，泳装，人体等低俗挑逗性图片，您上传的每张图片都会审核，一经发现上传违规图片将封账号处理，谢谢合作！</div>
								<div class="imageUp_uploadWrap">
									<div><iframe src="flash/uploada.php?action=bg" scrolling="No" topmargin="0" width="500" height="30" marginwidth="0" marginheight="0" frameborder="0" align="center"></iframe></div>
									<img onerror="pubLibs.imageError(this);" width="700" height="320" src="../upload/bg/<?php echo $chsh_bg?>"/>
									<div class="btn-group" id="show"></div>
																	</div>
							</div>
						</div>
					</div>
<?php
}elseif($op=="top"){
?>
								<div class="imageUp_Title">上传Bannen图片<span></span></div>
								<div class="imageUpNote">禁止上传色情，泳装，人体等低俗挑逗性图片，您上传的每张图片都会审核，一经发现上传违规图片将封账号处理，谢谢合作！</div>
								<div class="imageUp_uploadWrap">
									<div><iframe src="flash/uploada.php?action=top" scrolling="No" topmargin="0" width="500" height="30" marginwidth="0" marginheight="0" frameborder="0" align="center"></iframe></div>
									<img onerror="pubLibs.imageError(this);" width="700" height="160" src="../upload/top/<?php echo $chsh_top?>"/>
									<div class="btn-group" id="show"></div>
																	</div>
							</div>
						</div>
					</div>
<?php
}elseif($op=="mb"){
?>
								<div class="imageFriend">
								<ul>
<?php
for($i=1;$i<11;$i++){
if($i>9){
  $ii=$i;
}else{
  $ii="0".$i;
}
?>

									<li>
										<div class="pic"><a href="i.php?u=<?php echo $chsh_username?>&mb=<?php echo $ii?>" title="浏览此摸版" target="_blank"><img onerror="pubLibs.imageError(this);"  src="images/mb/<?php echo $ii?>.jpg"/></a></div>
										<div class="user" title=""><?php if($chsh_mb==$ii){echo "<font color=red>正在使用中...</font>";}else{echo "<a herf=\"javascript:;\" onClick=\"addweb('".$ii."','mb')\" title=\"使用此摸版\">使用该摸版</a>";}?></div>
									</li>
<?php
}
?>
								</ul>
								</div>
								<div class="page">
									<div class="pages"></div>
								</div>
								</div>
							<div id="currPageNum">1</div>
						</div>
					</div>
<?php
	}
?>
					<div class="stageBoxBottom"><span></span></div>
				</div>
			</div>