<?php echo '唯美设计QQ:474902417商业模板保护！请到官网上购买正版模板 http://addon.discuz.com/?@1439.developer';exit;?>
<!--{if $space[uid]}-->

<!--{eval $member_count = get_member_count($space[uid]);}-->
<!--{eval $member_profile = get_member_profile($space[uid]);}-->

<!--{eval loaducenter(); $uc_avatarflash = uc_avatar($_G['uid'], 'virtual', 0);}-->

<style id="diy_style">$space[spacecss]</style>

<div id="confighome" class="config-home-wrap" >

	<div class="config-head-box text-center">
		 设置头像-装饰主页
	</div>

	<div class="config-home-content-wrap">
		<div class="config-home-box">

			<div class="left config-bg-wrap text-center">
				<div style="height: 200px;margin-bottom: 6px;border: 1px solid #eee;border-radius: 6px;">
				<script type="text/javascript">document.write(AC_FL_RunContent('<!--{echo implode("','", $uc_avatarflash);}-->'));</script>
				</div>
				<br/>
				<div class="cl">
					{lang setting_my_new_avatar}
				</div>
				<p class="arrowhead-style">
					 {lang setting_my_new_avatar_message}
				</p>
			</div>

			<div class="right people-cover-wrap">
				<div class="config-cover-box" id="uploadSinceWriting">

					<div id="controlpanel" class="cl">
						<div id="controlheader" class="hide">
							<ul id="controlnav">
								<li id="navdiy"></li>
							</ul>
						</div>
						<div id="controlcontent" class="cl">
							<ul id="contentstart" class="content">
							  <li id="ct"><a href="javascript:;" onclick="spaceDiy.getdiy('diy', 'topicid', '$topic[topicid]');return false;">点击自定义空间样式</a></li>
							</ul>
						</div>
					</div>

					<form method="post" autocomplete="off" name="diyform" action="home.php?mod=spacecp&ac=index">
						<input type="hidden" name="spacecss" value="" />
						<input type="hidden" name="style" value="$space[theme]" />
						<input type="hidden" name="layoutdata" value="" />
						<input type="hidden" name="currentlayout" value="{$userdiy['currentlayout']}" />
						<input type="hidden" name="formhash" value="{FORMHASH}" />
						<input type="hidden" name="diysubmit" value="true"/>
					</form>

					<div id="diypage" class="area hide">
						<div id="frame1" class="frame cl" noedit="1"></div>
					</div>

					<link rel="stylesheet" href="template/iscwo_space_zcool/iscwo/css/diy.css">
					<script type="text/javascript" src="{$_G[setting][jspath]}common_diy.js?{VERHASH}"></script>
					<script type="text/javascript" src="{$_G[setting][jspath]}space_diy.js?{VERHASH}"></script>
					<br/>

					<div class="text-center">
						个人主页封面大图
						<p class="arrowhead-style">尺寸不小于2560x734，JPG / GIF / PNG，
							<br> RGB模式，3M以内。
						</p>
					</div>

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


	<div class="docs-buttons config-foot-box text-center">
		<input id="navsave" onclick="javascript:spaceDiy.save();return false;" type="submit" class="btn-default-main config-btn" value="保存设置">
		<input type="button" name="" class="btn-default-secondary config-btn" onclick="cancelConfig()" value="取消保存">
		<input id="navcancel" onclick="spaceDiy.cancel();return false;" type="hidden" class="btn-default-secondary config-btn" value="">
		<span id="button_redo"><a href="javascript:;" onclick="spaceDiy.redo();return false;" title="{lang diy_redo}" onfocus="this.blur();"></a></span>
		<span id="button_undo"><a href="javascript:;" onclick="spaceDiy.undo();return false;" title="{lang diy_revocation}" onfocus="this.blur();"></a></span>
	</div>

</div>

<div id="ct" class="people-home-bg">
	<div class="bg-image"></div>
	<div class="data-wraper">
		<div class="data-wrap-box">
			<p class="data-list-box left">
				 作品 <a href="home.php?mod=follow&uid=$space[uid]" title="作品" class="data-number">$member_count[threads]</a>
			</p>
			<p class="data-list-box left">
				 金钱 <a href="home.php?mod=spacecp&ac=credit" title="金钱" class="data-number">$member_count[extcredits2]</a>
			</p>
			<p class="data-list-box right">
				 {lang follow_follower} <a href="home.php?mod=follow&do=follower&uid=$space[uid]" title="{lang follow_follower}" class="data-number">$member_count[follower]</a>
			</p>
			<p class="data-list-box right">
				 {lang follow_add} <a href="home.php?mod=follow&do=following&uid=$space[uid]" title="{lang follow_add}" class="data-number">$member_count[following]</a>
			</p>
		</div>
	</div>
	<div class="share-report-wrap">
		<ul class="share-report-item hide">
			<!--{if $_G[uid] == $space[uid]}-->
			<li class="decorate">装饰主页</li>
			<!--{/if}-->
			<li id="share">分享</li>
		</ul>
	</div>
</div>

<div class="home-information-wrap">
	<div class="home-information-box">
		<div class="information-headimg-box">
			<img src="{echo avatar($space[uid],'big',1);}" width="120" height="120">
		</div>
		<div class="information-content-wrap text-center">
			<p class="people-nick-name">{$space[username]}</p>
			<p class="user-background">
				<!--{if $member_profile[residecity]}-->{$member_profile[residecity]}<!--{else}-->未来城市<!--{/if}-->
				<!--{if $member_profile[occupation]}-->&nbsp;|&nbsp;{$member_profile[occupation]}<!--{/if}-->
			</p>
			<p class="user-signature">
				<!--{if $member_profile[bio]}-->$member_profile[bio]<!--{else}-->这家伙很懒，什么都没有留下！<!--{/if}-->
			</p>
			<div class="follow-letter-wrap btn-area">
				<!--{if $_G[uid] == $space[uid]}-->
				<a href="home.php?mod=spacecp&ac=avatar" title="修改头像">
					<input type="button" name="" value="修改头像" class="btn-default-main notfollow btn-now attention">
				</a>
				<a href="home.php?mod=spacecp" title="编辑资料">
					<input type="button" name="" value="编辑资料" class="btn-default-secondary btn-now private-letter">
				</a>
				<!--{else}-->
				<!--{if !ckfollow($space['uid'])}-->
				<a id="followmod" onclick="showWindow(this.id, this.href, 'get', 0);" href="home.php?mod=spacecp&ac=follow&op=add&hash={FORMHASH}&fuid=$space[uid]" title="关注">
					<input type="button" name="" value="关注" class="btn-default-main notfollow btn-now attention">
				</a>
				<!--{else}-->
				<a id="followmod" class="_btn _btn--gray _btn--sm js-cancle-follow" onclick="showWindow(this.id, this.href, 'get', 0);" href="home.php?mod=spacecp&ac=follow&op=del&fuid=$space[uid]" title="已关注">
					<input type="button" name="" value="已关注" class="btn-now attention btn-default-secondary following">
				</a>
				<!--{/if}-->
				<a href="home.php?mod=spacecp&ac=pm&op=showmsg&handlekey=showmsg_$space[uid]&touid=$space[uid]&pmid=0&daterange=2" id="a_sendpm_$space[uid]" onclick="showWindow('showMsgBox', this.href, 'get', 0)" title="私信">
					<input type="button" name="" value="私信" class="btn-default-secondary btn-now private-letter">
				</a>
				<!--{/if}-->
			</div>
		</div>
	</div>
</div>


<!--{if helper_access::check_module('follow')}-->
<script type="text/javascript">
function succeedhandle_followmod(url, msg, values) {
	var fObj = $('followmod');
	if(values['type'] == 'add') {
		fObj.innerHTML = '{lang follow_del}';
		fObj.href = 'home.php?mod=spacecp&ac=follow&op=del&fuid='+values['fuid'];
	} else if(values['type'] == 'del') {
		fObj.innerHTML = '{lang follow_add}TA';
		fObj.href = 'home.php?mod=spacecp&ac=follow&op=add&hash={FORMHASH}&fuid='+values['fuid'];
	}
}
</script>
<!--{/if}-->


<div class="share-more hide" id="pop-share">
	<div class="jiathis_style_32x32 share-to-box">
		<div class="bds-box">
			<div class="weixin-box">
				<a class="work-weixin" title="分享到微信" z-st="share_wechat">
				<span class="jtico">微信扫码</span>
				</a>
				<div class="weixin-code-box">
					<i class="active-wexin-code" id="wechat-qr-code" title=""></i>
				</div>
			</div>
			<div class="bds-r-icon">
				<a class="jiathis_button_tsina work-sina" title="分享到新浪微博" z-st="share_tsina">新浪微博</a>
				<a class="jiathis_button_cqq work-qq" title="分享到QQ好友" z-st="share_cqq">QQ好友</a>
				<a class="jiathis_button_qzone work-qzone" title="分享到QQ空间"  z-st="share_qzone">QQ空间</a>
			</div>
		</div>
	</div>
	<i class="pop-close"></i>
</div>

<script type="text/javascript" src="template/iscwo_space_zcool/iscwo/js/qrcode.min.js"></script>

<script type="text/javascript" src="http://v3.jiathis.com/code/jia.js" charset="utf-8"></script>
<script>
    var jiathis_config={
        title:'{$space[username]}的主页-({$_G['setting']['bbname']})',
        pic:'{echo avatar($space[uid],'big',1);}',
        data_track_clickback:true,
        siteNum:5,
        sm:'cqq,tsina,qzone,weixin,tqq',
        summary:'{$_G['siteurl']}home.php?mod=space&uid=$space[uid]',
        shortUrl:true,
        hideMore:false
    }
    var qrcode = new QRCode(document.getElementById("wechat-qr-code"), {
        width: 77,
        height: 77
    });
    qrcode.makeCode(window.location.href);
</script>

<div class="subnav-content-wrap" id="tab_anchor">
	<div class="subnav-wrap">
		<div class="top-hull">
			<div class="subnav-contentbox">
				<div class="tab-nav-container">
					<!--{hook/space_menu_extra}-->
					<ul class="subnav-content text-center">
						<li{if CURMODULE == 'follow' && $do =='view'} class="current homecate"{/if}><a href="home.php?mod=follow&uid=$space[uid]&do=view&from=space">首页</a></li>
						<!--{if $do =='following' || $do =='follower'}--><!--{/if}-->
						<li{if CURMODULE == 'follow' && $do =='following'} class="current homecate"{/if}><a href="home.php?mod=follow&do=following&uid=$space[uid]">收听</a></li>
						<li{if CURMODULE == 'follow' && $do =='follower'} class="current homecate"{/if}><a href="home.php?mod=follow&do=follower&uid=$space[uid]">听众</a></li>
						<li{if $do=='thread'} class="current homecate"{/if}><a href="home.php?mod=space&uid=$space[uid]&do=thread&view=me&from=space">帖子</a></li>
						<!--{if helper_access::check_module('blog')}-->
						<li{if $do=='blog'} class="current homecate"{/if}><a href="home.php?mod=space&uid=$space[uid]&do=blog&view=me&from=space">{lang blog}</a></li>
						<!--{/if}-->
						<!--{if helper_access::check_module('album')}-->
						<li{if $do=='album'} class="current homecate"{/if}><a href="home.php?mod=space&uid=$space[uid]&do=album&view=me&from=space">{lang album}</a></li>
						<!--{/if}-->
						<!--{if helper_access::check_module('doing')}-->
						<li{if $do=='doing'} class="current homecate"{/if}><a href="home.php?mod=space&uid=$space[uid]&do=doing&view=me&from=space">{lang doing}</a></li>
						<!--{/if}-->
						<!--{if helper_access::check_module('home')}-->
						<li{if $do=='home'} class="current homecate"{/if}><a href="home.php?mod=space&uid=$space[uid]&do=home&view=me&from=space">{lang feed}</a></li>
						<!--{/if}-->
						<!--{if helper_access::check_module('share')}-->
						<li{if $do=='share'} class="current homecate"{/if}><a href="home.php?mod=space&uid=$space[uid]&do=share&view=me&from=space">{lang share}</a></li>
						<!--{/if}-->
						<!--{if helper_access::check_module('wall')}-->
						<li{if $do==wall} class="current homecate"{/if}><a href="home.php?mod=space&uid=$space[uid]&do=wall&from=space">留言</a></li>
						<!--{/if}-->
						<li{if $do==profile} class="current homecate"{/if}><a href="home.php?mod=space&uid=$space[uid]&do=profile&from=space">资料</a></li>
					</ul>
				</div>
			</div>
		</div>
	</div>
</div>

<!--{/if}-->
