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


<!--{if !empty($_SGLOBAL[inajax])}-->
	<div id="space_share">
		<h3 class="feed_header">
			<a href="space.php?do=share&view=me" class="r_option" target="_blank">Add Share</a>
			(Total $count) Share</h3>
		
		<!--{if $list}-->
		<ul class="line_list">
			<!--{loop $list $value}-->
				<!--{template space_share_li}-->
			<!--{/loop}-->
			<div class="page">$multi</div>
		</ul>
		<!--{else}-->
		<div class="c_form">There is no sharing, it's empty</div>
		<!--{/if}-->
		
	</div><br>
<!--{else}-->

<!--{if $space[self]}-->
<h2 class="title"><img src="image/app/share.gif" />Share</h2>
<div class="tabs_header">
	<ul class="tabs">
		<!--{if $space[friendnum]}--><li$actives[we]><a href="space.php?uid=$space[uid]&do=share"><span>Friends Shares</span></a></li><!--{/if}-->
		<li$actives[all]><a href="space.php?uid=$space[uid]&do=share&view=all"><span>My Shares</span></a></li>
		<li$actives[me]><a href="space.php?uid=$space[uid]&do=share&view=me"><span>View All</span></a></li>
	</ul>
</div>
<!--{else}-->
<!--{eval
	$_TPL['spacetitle'] = "Share";
	$_TPL['spacemenus'][] = "<a href=\"space.php?uid=$space[uid]&do=share&view=me\">view all share</a>";
}-->
<!--{template space_menu}-->
<!--{/if}-->

<div class="h_status">
<b>View by type of sharing</b><br>
<a href="$theurl"$sub_actives[type_all]>All</a><span class="pipe">|</span>
<a href="$theurl&type=link"$sub_actives[type_link]>Links</a><span class="pipe">|</span>
<a href="$theurl&type=video"$sub_actives[type_video]>Video</a><span class="pipe">|</span>
<a href="$theurl&type=music"$sub_actives[type_music]>Music</a><span class="pipe">|</span>
<a href="$theurl&type=flash"$sub_actives[type_flash]>Flash</a><span class="pipe">|</span>
<a href="$theurl&type=blog"$sub_actives[type_blog]>Blog</a><span class="pipe">|</span>
<a href="$theurl&type=album"$sub_actives[type_album]>Album</a><span class="pipe">|</span>
<a href="$theurl&type=pic"$sub_actives[type_pic]>Picture</a><span class="pipe">|</span>
<a href="$theurl&type=mtag"$sub_actives[type_mtag]>Groups</a><span class="pipe">|</span>
<a href="$theurl&type=thread"$sub_actives[type_thread]>Discussions</a><span class="pipe">|</span>
<a href="$theurl&type=poll"$sub_actives[type_poll]>Poll</a><span class="pipe">|</span>
<a href="$theurl&type=event"$sub_actives[type_event]>Events</a><span class="pipe">|</span>
<a href="$theurl&type=space"$sub_actives[type_space]>Profile</a><span class="pipe">|</span>
<a href="$theurl&type=tag"$sub_actives[type_tag]>TAG</a>
</div>

<div id="content">
	<ul id="share_ul">
		<!--{if $list}-->
			<!--{loop $list $value}-->
				<!--{template space_share_li}-->
			<!--{/loop}-->
			<div class="page">$multi</div>
		<!--{else}-->
			<li><div class="c_form">There is no sharing,  list is empty</div></li>
		<!--{/if}-->
	</ul>

</div>


<div id="sidebar">
	<div class="ye_r_t"><div class="ye_l_t"><div class="ye_r_b"><div class="ye_l_b">
	<form id="shareform" name="shareform" action="cp.php?ac=share&type=link" method="post">
	<table cellspacing="2" cellpadding="2" width="100%">
		<tr><td><strong>Share Link,video,music,Flash:</strong></td></tr>
		<tr><td><input type="text" class="t_input" name="link" onfocus="javascript:if('http://'==this.value)this.value='';" onblur="javascript:if(''==this.value)this.value='http://'" id="share_link" style="width:98%;" value="http://" /></td></tr>
		<tr><td><strong>Description:</strong></td></tr>
		<tr>
			<td>
				<textarea id="share_general" name="general" style="width:98%;" rows="3" onkeydown="ctrlEnter(event, 'sharesubmit_btn')"></textarea>
			</td>
		</tr>
		<!--{if checkperm('seccode')}-->
		<tr>
			<td>
			<!--{if $_SCONFIG['questionmode']}-->
					<p>Answer the following question before submit</p>
					<p><!--{eval question();}--></p>
					<p><input type="text" id="seccode" name="seccode" value="" size="15" class="t_input"></p>
			<!--{else}-->
					<p><script>seccode();</script></p>
					<p>Type above 4 letters or numbers, Can't see <a href="javascript:updateseccode()">Show new code</a></p>
					<p><input type="text" id="seccode" name="seccode" value="" size="15" class="t_input"></p>
			<!--{/if}-->
			</td>
		</tr>
		<!--{/if}-->
		<tr><td>
		<input type="hidden" name="refer" value="space.php?uid=$space[uid]&do=share&view=me" />
		<input type="hidden" name="sharesubmit" value="true" />
		<input type="button" id="sharesubmit_btn" name="sharesubmit_btn" value="Share" class="submit" onclick="ajaxpost('shareform', 'share_add')" />
		</td></tr>
		<tr><td id="__shareform"></td></tr>
	</table>
	<input type="hidden" name="formhash" value="<!--{eval echo formhash();}-->" /></form>
	</div></div></div></div>

	<div class="sidebox" id="help">
		<h2 class="title">How to share web pages?</h2>
		<p>Copy the URL and Paste it here, or Simply enter the web site url directly.</p>
		<h2 class="title">How to share video?</h2>
		<p>Copy and paste the web page URL of the video (you don't need to fill any embed codes in).</p>
		<p class="gray">Youtube, Google Video, You Cool, cool, 6, Mofile, dual dual video, UUME, I show, popcorn, ninth channel Baidu Post Bar video, Sina video, Sohu video.</p>
		<h2 class="title">How to share music?</h2>
		<p>Copy and paste or type URL of music files which end with .mp3 or .wma (*suffix is required at the end of thr URL, .mp3 or .wma).</p>
		<h2 class="title">How to share Flash files£¿</h2>
		<p>copy and pase the URL of the file (suffix is required at the end of thr URL, .swf).</p>
	</div>

</div>
<!--{/if}-->

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