Location: PHPKode > projects > Uchome and Discuz > template/default/space_doing.htm
<!--{eval $_TPL['titles'] = array('Status');}-->
<!--{template header}-->

<!--{if !empty($_SGLOBAL[inajax])}-->
	<div id="space_doing">
		<h3 class="feed_header">
			<a href="space.php?do=doing&view=me" class="r_option" target="_blank">Words</a>
			(Total $count )
		</h3><br>

		<!--{if $dolist}-->
		<div class="doing_list">
			<ol>
			<!--{loop $dolist $dv}-->
			<!--{eval $doid = $dv[doid];}-->
				<li id="dl{$doid}">
					<div class="doing">
						<div class="doingcontent"><a href="space.php?uid=$dv[uid]">{$_SN[$dv[uid]]}</a>: <span>$dv[message]</span>
						<span class="gray">(<!--{date('m-d H:i',$dv[dateline],1)}-->)</span>
						<!--{if $dv[uid]==$_SGLOBAL[supe_uid]}--> <a href="cp.php?ac=doing&op=delete&doid=$doid&id=$dv[id]" id="doing_delete_{$doid}_{$dv[id]}" onclick="ajaxmenu(event, this.id)" class="re gray">Remove</a> &nbsp;<!--{/if}-->
						<a href="javascript:;" onclick="docomment_form($doid, 0);">Reply</a>
						</div>
						
						<!--{eval $list = $clist[$doid];}-->
						<div class="sub_doing" id="docomment_$doid"<!--{if !$list}--> style="display:none;"<!--{/if}-->>
							<span id="docomment_form_{$doid}_0"></span>
							<!--{template space_doing_li}-->
						</div>
						
					</div>
				</li>
			<!--{/loop}-->
			</ol>
			<div class="page">$multi</div>
		</div>
		<!--{else}-->
		<div class="c_form">There is no record found for the status</div>
		<!--{/if}-->
	</div><br>
	
<!--{else}-->

<!--{if $space[self]}-->
<h2 class="title"><img src="image/app/doing.gif">Status</h2>
<div class="tabs_header">
	<ul class="tabs">
		<!--{if $space[friendnum]}--><li$actives[we]><a href="space.php?uid=$space[uid]&do=$do&view=we"><span>Friends Latest Status</span></a></li><!--{/if}-->
		<li$actives[all]><a href="space.php?uid=$space[uid]&do=$do&view=all"><span>All Status</span></a></li>
		<li$actives[me]><a href="space.php?uid=$space[uid]&do=$do&view=me"><span>My Status</span></a></li>
		<li$actives[mood]><a href="space.php?uid=$space[uid]&do=mood"><span>Friends in Same Mood</span></a></li>
	</ul>
</div>
<!--{else}-->
<!--{eval 
	$_TPL['spacetitle'] = "Doing";
	$_TPL['spacemenus'][] = "<a href=\"space.php?uid=$space[uid]&do=doing&view=me\">TAµÄËùÓмǼ</a>";
}-->
<!--{template space_menu}-->
<div class="h_status">Order by latest Status</div>
<!--{/if}-->

<div id="content">	

	<!--{if $space[self]}-->
	<!--{template space_doing_form}-->
	<br>
	<!--{/if}-->
	

	<!--{if $dolist}-->
	<div class="doing_list">
		<ol>
		<!--{loop $dolist $dv}-->
		<!--{eval $doid = $dv[doid];}-->
			<li id="dl{$doid}">
				<div class="avatar48"><a href="space.php?uid=$dv[uid]"><!--{avatar($dv[uid],small)}--></a></div>
				<div class="doing">
					<div class="doingcontent"><a href="space.php?uid=$dv[uid]">{$_SN[$dv[uid]]}</a>: <span>$dv[message]</span>
					<span class="gray">(<!--{date('m-d H:i',$dv[dateline],1)}-->)</span>
					<!--{if $dv[uid]==$_SGLOBAL[supe_uid]}--> <a href="cp.php?ac=doing&op=delete&doid=$doid&id=$dv[id]" id="doing_delete_{$doid}_{$dv[id]}" onclick="ajaxmenu(event, this.id)" class="re gray">Remove</a> &nbsp;<!--{/if}-->
					<a href="javascript:;" onclick="docomment_form($doid, 0);">Reply</a>
					</div>
					
					<!--{eval $list = $clist[$doid];}-->
					<div class="sub_doing" id="docomment_$doid"<!--{if !$list}--> style="display:none;"<!--{/if}-->>
						<span id="docomment_form_{$doid}_0"></span>
						<!--{template space_doing_li}-->
					</div>
					
				</div>
			</li>
		<!--{/loop}-->
		</ol>
		<div class="page">$multi</div>
	</div>
	
	<!--{else}-->
	<div class="c_form">There is no status/doing/feelings found <!--{if $space[self]}--> You can take the first step and update your mood and let other know<!--{/if}--></div>
	<!--{/if}-->
	
</div>

<div id="sidebar">
	<!--{if $moodlist}-->
	<div class="sidebox">
		<h2 class="title">
			<p class="r_option"><a href="space.php?uid=$space[uid]&do=mood">All</a></p>
			 with <!--{if $space[self]}-->same <!--{else}-->{$_SN[$space[uid]]}<!--{/if}-->in same mood.
		</h2>
		<ul class="avatar_list">
			<!--{loop $moodlist $key $value}-->
			<li>
				<div class="avatar48"><a href="space.php?uid=$value[uid]&do=doing"><!--{avatar($value[uid],small)}--></a></div>
				<p><a href="space.php?uid=$value[uid]" title="{$_SN[$value[uid]]}">{$_SN[$value[uid]]}</a></p>
				<p class="gray"><!--{date('jÈÕnÔÂ',$value[updatetime],1)}--></p>
			</li>
			<!--{/loop}-->
		</ul>
	</div>
	<!--{/if}-->
</div>
<!--{/if}-->

<!--{template footer}-->
Return current item: Uchome and Discuz