Location: PHPKode > projects > Uchome and Discuz > admin/tpl/space_manage.htm
<!--{template admin/tpl/header}-->

<div class="mainarea">
<div class="maininner">

<!--{if $uid}-->
	<form method="post" action="admincp.php?ac=space&uid=$uid" enctype="multipart/form-data">
	<input type="hidden" name="formhash" value="<!--{eval echo formhash();}-->" />
	<div class="bdrcontent">
		<div class="title">
			<h3>$member[username] »ù±¾ÐÅÏ¢</h3>
		</div>
		<table cellspacing="0" cellpadding="0" class="formtable">
		<tr><th style="width:12em;">̞</th>
			<td><a href="space.php?uid=$member[uid]" target="_blank">$member[username]</a></td></tr>
		
		
		<tr><th>¿ªÍ¨Ê±¼ä</th><td><!--{date('Y-m-d H:i',$member[dateline])}--></td></tr>
		<tr><th>¸üÐÂʱ¼ä</th><td><!--{if $member[updatetime]}--><!--{date('Y-m-d H:i',$member[updatetime])}--><!--{else}-->-<!--{/if}--></td></tr>
		<tr><th>ÉϴεǼ</th><td><!--{date('Y-m-d H:i',$member[lastlogin])}--></td></tr>
		<tr><th>×¢²áIP</th><td>$member[regip]</td></tr>
		<tr><th>ºÃÓÑÊý</th><td>$member[friendnum]</td></tr>
		<tr><th>²é¿´Êý</th><td>$member[viewnum]</td></tr>
		<tr><th>ÅúÁ¿¹ÜÀí</th>
			<td>
			<a href="admincp.php?ac=blog&uid=$member[uid]&searchsubmit=1" target="_blank">ÈÕÖ¾($member[blognum])</a> | 
			<a href="admincp.php?ac=album&uid=$member[uid]&searchsubmit=1" target="_blank">Ïà²á($member[albumnum])</a> | 
			<a href="admincp.php?ac=thread&uid=$member[uid]&searchsubmit=1" target="_blank">»°Ìâ($member[threadnum])</a> | 
			<a href="admincp.php?ac=poll&uid=$member[uid]&searchsubmit=1" target="_blank">ͶƱ($member[pollnum])</a> | 
			<a href="admincp.php?ac=event&uid=$member[uid]&searchsubmit=1" target="_blank">»î¶¯($member[eventnum])</a> | 
			<a href="admincp.php?ac=doing&uid=$member[uid]&searchsubmit=1" target="_blank">¼Ç¼($member[doingnum])</a> | 
			<a href="admincp.php?ac=share&uid=$member[uid]&searchsubmit=1" target="_blank">·ÖÏí($member[sharenum])</a> | 
			<a href="admincp.php?ac=feed&uid=$member[uid]&searchsubmit=1" target="_blank">ʼþ</a> | 
			<a href="admincp.php?ac=pic&uid=$member[uid]&searchsubmit=1" target="_blank">ͼƬ</a> | 
			<a href="admincp.php?ac=comment&authorid=$member[uid]&searchsubmit=1" target="_blank">ÆÀÂÛ</a> | 
			<a href="admincp.php?ac=post&uid=$member[uid]&searchsubmit=1" target="_blank">»ØÌû</a>
		</td></tr>
		
		<tr><th>&nbsp;</th>
			<td>
			
			<!--{if $member['flag'] != 1 && checkperm('managedelspace')}-->
				<a href="admincp.php?ac=space&op=close&uid=$member[uid]" <!--{if $member[flag]!=-1}--> onclick="return confirm('Ëø¶¨ºó¸Ã¿Õ¼ä½«±»½ûÖ¹·ÃÎÊ£¬È·ÈÏËø¶¨Âð£¿');" <!--{/if}--> class="submit"><!--{if $member[flag]!=-1}-->Ëø¶¨¿Õ¼ä(²»»áɾ³ýÊý¾Ý)<!--{else}-->½â³ýËø¶¨×´Ì¬<!--{/if}--></a> &nbsp;
				<a href="admincp.php?ac=space&op=delete&uid=$member[uid]" onclick="return confirm('ΣÏÕ£¬Õ⽫ɾ³ý¸Ã¿Õ¼äËùÓÐÊý¾Ý£¬²¢ÇÒ±¾²Ù×÷²»¿É»Ö¸´£¬È·ÈÏɾ³ý£¿');">ɾ³ý¸Ã¿Õ¼ä(ɾ³ýÊý¾Ý²¢²»¿É»Ö¸´)</a>&nbsp;&nbsp;&nbsp;
			<!--{else}-->
				±¾Óû§±»±£»¤£¬²»ÄÜɾ³ý¡¢²»ÄÜËø¶¨
			<!--{/if}-->
			</td>
		</tr>
		
		</table>
	</div>
	<!--{if $managespaceinfo}-->
	<br>
	<div class="bdrcontent">
		<div class="title">
			<h3>$member[username] ¸öÈË×ÊÁÏ</h3>
		</div>
		<table cellspacing="0" cellpadding="0" class="formtable">
		<tr><th style="width:12em;">Í·Ïñ</th><td><a href="space.php?uid=$member[uid]" target="_blank"><!--{avatar($member[uid],big)}--></a>
		<br>[<a href="admincp.php?ac=space&op=deleteavatar&uid=$uid">ɾ³ýÍ·Ïñ</a>]
		</td></tr>
		
		<!--{if $_SCONFIG['videophoto']}-->
		<tr><th>ÊÓƵÈÏÖ¤</th><td>
			<p>
				<input type="radio" name="videostatus" value="0"$videostatusarr[0]>δͨ¹ý
				<input type="radio" name="videostatus" value="1"$videostatusarr[1]>ÒÑͨ¹ý(ÐèÒªÓÐÊÓƵÕÕƬ)
			</p>
			<!--{if $videopic}--><img src="$videopic" width="400"><br><!--{/if}-->
			ÉÏ´«Ò»ÕŸÃÓû§ÕÕƬ£¬¸üÐÂÊÓƵÈÏÖ¤ÕÕƬ:<br>
			<input type="file" name="newvideopic" value="">
		</td></tr>
		<!--{/if}-->
		
		<tr>
			<th style="width:12em;">³£ÓÃÓÊÏä</th>
			<td>
				<input type="text" id="email" class="t_input" name="email" value="$member[email]" />
				<input type="radio" name="emailcheck" value="0"<!--{if $member[emailcheck]==0}--> checked<!--{/if}-->> δ¼¤»î
				<input type="radio" name="emailcheck" value="1"<!--{if $member[emailcheck]==1}--> checked<!--{/if}-->> ÒѾ­ÑéÖ¤¼¤»î
			</td>
		</tr>
		<!--{if $_SCONFIG['allowdomain'] && $_SCONFIG['domainroot']}-->
		<tr><th style="width:12em;">¶þ¼¶ÓòÃû</th><td><input type="text" class="t_input" name="domain" value="$member[domain]" size="10">.{$_SCONFIG[domainroot]}</td></tr>
		<!--{/if}-->
		<tr><th style="width:12em;">¶îÍâºÃÓÑÊý</th><td><input type="text" class="t_input" name="addfriend" value="$member[addfriend]" size="10"> ¸ö</td></tr>
		
		
		<tr><th>Çå¿Õ×Ô¶¨ÒåCSS</th><td>
			<input type="radio" name="clearcss" value="0" checked> ²»´¦Àí
			<input type="radio" name="clearcss" value="1"> Çå¿Õ
			<p>Óû§×Ô¶¨ÒåµÄCSSÈç¹û´æÔÚ¶ñÒâ´úÂ룬¿ÉÒÔÑ¡ÔñÇå¿Õ¡£</p>
		</td></tr>
		
		<tr>
			<th>ÐÔ±ð</th>
			<td>
				<label for="sexm"><input id="sexm" type="radio" value="1" name="sex"$sexarr[1] />ÄÐ</label> 
				<label for="sexw"><input id="sexw" type="radio" value="2" name="sex"$sexarr[2] />Å®</label>
			</td>
		</tr>
		<tr>
			<th>»éÁµ×´Ì¬</th>
			<td>
				<select id="marry" name="marry">
					<option value="0">ÎÞ</option>
					<option value="1"$marryarr[1]>µ¥Éí</option>
					<option value="2"$marryarr[2]>·Çµ¥Éí</option>
				</select>
			</td>
		</tr>
		
		<tr>
			<th>ÉúÈÕ</th>
			<td>
				<select id="birthyear" name="birthyear">
					<option value="0">ÎÞ</option>
					$birthyeayhtml
				</select> Äê 
				<select id="birthmonth" name="birthmonth">
					<option value="0">ÎÞ</option>
					$birthmonthhtml
				</select> ÔÂ 
				<select id="birthday" name="birthday">
					<option value="0">ÎÞ</option>
					$birthdayhtml
				</select> ÈÕ
			</td>
		</tr>
		<tr>
			<th>ѪÐÍ</th>
			<td>
				<select id="blood" name="blood">
					<option value="">±£ÃÜ</option>
					$bloodhtml
				</select>
			</td>
		</tr>
	
		<tr>
			<th>¼ÒÏç</th>
			<td id="birthcitybox">
				<script type="text/javascript" src="source/script_city.js"></script>
				<script type="text/javascript">
				<!--
				showprovince('birthprovince', 'birthcity', '$member[birthprovince]', 'birthcitybox');
				showcity('birthcity', '$member[birthcity]', 'birthprovince', 'birthcitybox');
				
				//-->
				</script>
			</td>
		</tr>
		<tr>
			<th>¾ÓסµØ</th>
			<td id="residecitybox">
				<script type="text/javascript">
				<!--
				showprovince('resideprovince', 'residecity', '$member[resideprovince]', 'residecitybox');
				showcity('residecity', '$member[residecity]', 'resideprovince', 'residecitybox');
				//-->
				</script>
			</td>
		</tr>
		<tr>
			<th>QQ</th>
			<td>
				<input type="text" class="t_input" name="qq" value="$member[qq]" /> 
			</td>
		</tr>
		<tr>
			<th>MSN</th>
			<td>
				<input type="text" class="t_input" name="msn" value="$member[msn]" /> 
			</td>
		</tr>	

		<!--{loop $profilefields $value}-->
		<tr>
			<th>$value[title]<!--{if $value[required]}-->*<!--{/if}--></th>
			<td>
				$value[formhtml]
				<!--{if $value[note]}--><br>$value[note]<!--{/if}-->
			</td>
		</tr>
		<!--{/loop}-->
		
		
			
		</table>
	</div>
	<!--{/if}-->
	<!--{if $managename}-->
	<br>
	<div class="bdrcontent">
		<div class="title">
			<h3>$member[username] ʵÃûÈÏÖ¤</h3>
		</div>
		<table cellspacing="0" cellpadding="0" class="formtable">
		<tr><th style="width:12em;">ÐÕÃû</th><td><input type="text" class="t_input" name="name" value="$member[name]">
			<input type="radio" name="namestatus" value="0"<!--{if $member[namestatus]==0}--> checked<!--{/if}-->> ÈÏ֤ʧ°Ü
			<input type="radio" name="namestatus" value="1"<!--{if $member[namestatus]==1}--> checked<!--{/if}-->> ÈÏ֤ͨ¹ý
		</td></tr>
		</table>
	</div>
	<!--{/if}-->
	<!--{if $managespacecredit}-->
	<br>
	<div class="bdrcontent">
		<div class="title">
			<h3>$member[username] »ý·Ö¡¢¾­ÑéÖµ¡¢¿Õ¼ä´óС¹ÜÀí</h3>
		</div>
		<table cellspacing="0" cellpadding="0" class="formtable">
		<tr><th style="width:12em;">¶îÍâ¿Õ¼ä´óС</th><td><input type="text" class="t_input" name="addsize" value="$member[addsize]" size="10"> M</td></tr>
		<tr><th>»ý·ÖÊý</th><td><input type="text" name="credit" class="t_input" value="$member[credit]" size="10"></td></tr>
		<tr><th>¾­ÑéÖµ</th><td><input type="text" class="t_input" name="experience" value="$member[experience]" size="10"></td></tr>
		</table>
	</div>
	<!--{/if}-->
	<!--{if $managespacegroup}-->
	<br>
	<div class="bdrcontent">
		<div class="title">
			<h3>$member[username] ±£»¤ÐÅÏ¢</h3>
		</div>
		<table cellspacing="0" cellpadding="0" class="formtable">
		
		<tr><th style="width:12em;">Óû§×é</th><td>
		<select name="groupid" onchange="showDateSet(this.value);">
		<option value="0">ÆÕͨÓû§×é</option>
		<!--{eval $show=true;}-->
		<!--{loop $usergroups $value}-->
			<!--{if $groupidarr[$value['gid']]}--><!--{eval $show=false;}--><!--{/if}-->
		<option value="$value[gid]"{$groupidarr[$value[gid]]}>$value[grouptitle]</option>
		<!--{/loop}-->
		</select>
		<p>ÆÕͨÓû§×飬»á×Ô¶¯¸ù¾ÝÓû§¾­ÑéÊýÄ¿µÄ¶àÉÙ½øÐÐ×Ô¶¯Éý¼¶/½µ¼¶<br>ϵͳÓû§×飬Óû§µÄÉí·Ý²»Êܾ­ÑéÖµÓ°Ïì</p></td></tr>
		<tr id="expirationtr" <!--{if $show}-->style="display:none;"<!--{/if}-->><th>Óû§×é¹ýÆÚʱ¼ä</th><td>
			<input type="text" class="t_input" name="expiration" value="$member[expiration]" size="20">(¸ñʽ£º2009-8-8 00:00)
			<p>Ϊ¿ÕÔòÓÀ¾ÃÓÐЧ</p>
		</td></tr>
		<!--{if $member[flag] != -1}-->
		<tr><th>ɾ³ý±£»¤</th><td>
			<input type="radio" name="flag" value="0"<!--{if $member[flag]==0}--> checked<!--{/if}-->> ²»±£»¤
			<input type="radio" name="flag" value="1"<!--{if $member[flag]==1}--> checked<!--{/if}-->> ±£»¤
			<p>±£»¤×´Ì¬Ï£¬¸ÃÓû§½«²»Äܹ»ÔÚUCenter¡¢ÒÔ¼°±¾Ó¦ÓÃÖÐɾ³ý¡£</p>
			</td></tr>
		</td></tr>
		<!--{/if}-->
		</table>
		<script type="text/javascript">
			function showDateSet(val) {
				var expObj = $("expirationtr");
				expObj.style.display = parseInt(val) ? '' : 'none';
			}
		</script>
	</div>
	<!--{/if}-->

	<div class="footactions">
		<input type="hidden" name="refer" value="$_SGLOBAL[refer]">
		<input type="submit" name="usergroupsubmit" value="Ìá½»" class="submit">
	</div>
	</form>
<!--{elseif $_POST['optype'] == 4}-->

	<form method="post" action="$url">
	<input type="hidden" name="formhash" value="<!--{eval echo formhash();}-->" />
	<div class="bdrcontent">
		<div class="title">
			<h3>ÅúÁ¿·¢ËÍÓʼþ</h3>
			<p>Äú¿ÉÒÔ¶ÔÑ¡¶¨µÄÓû§½øÐÐÅúÁ¿·¢ËÍÓʼþ¡£×¢Ò⣬±¾²Ù×÷½«»áÔö¼Ó·þÎñÆ÷¸ºÔØ¡£</p>
		</div>
		<table cellspacing="0" cellpadding="0" class="formtable">
		<tr>
			<th style="width:8em;">ÊÕ¼þÈË(UID)</th>
			<td><input type="text" name="uids" value="$uids" size="60"> ¶à¸öUID¼äÓà "," ·Ö¸ô</td>
		</tr>
		<tr>
			<th>Óʼþ±êÌâ</th>
			<td><input type="text" name="subject" value="" size="60"></td>
		</tr>
		<tr>
			<th>ÓʼþÄÚÈÝ</th>
			<td><textarea name="message" cols="80" rows="10"></textarea><br>ÓʼþÄÚÈÝÖ§³Öhtml´úÂë</td>
		</tr>
		</table>
	</div>
	
	<div class="footactions">		
		<input type="hidden" name="refer" value="$_SGLOBAL[refer]">
		<input type="submit" name="sendemailsubmit" value="·¢ËÍÓʼþ" class="submit">
	</div>
	</form>
	
<!--{elseif $_POST['optype'] == 5}-->

	<form method="post" action="$url">
	<input type="hidden" name="formhash" value="<!--{eval echo formhash();}-->" />
	<div class="bdrcontent">
		<div class="title">
			<h3>ÅúÁ¿´òÕкô</h3>
			<p>Äú¿ÉÒÔ¶ÔÑ¡¶¨µÄÓû§½øÐÐÅúÁ¿´òÕкô£¬ÒÔ¶ÔÆä¼òµ¥ËµÃ÷һЩÊÂÇé¡£×¢Ò⣬±¾²Ù×÷½«»áÔö¼Ó·þÎñÆ÷¸ºÔØ¡£</p>
		</div>
		<table cellspacing="0" cellpadding="0" class="formtable">
		<tr>
			<th style="width:8em;">ÊÕ¼þÈË(UID)</th>
			<td><input type="text" name="uids" value="$uids" size="60"> ¶à¸öUID¼äÓà "," ·Ö¸ô</td>
		</tr>
		<tr>
			<th>ÕкôÄÚÈÝ</th>
			<td><input type="text" name="note" value="" size="60"> £¨²»Òª³¬¹ý50¸ö×Ö·û£©</td>
		</tr>
		</table>
	</div>
	
	<div class="footactions">		
		<input type="hidden" name="refer" value="$_SGLOBAL[refer]">
		<input type="submit" name="pokesubmit" value="´òÕкô" class="submit">
	</div>
	</form>	
	
<!--{elseif $_POST['optype'] == 7}-->

	<form method="post" action="$url" onsubmit="return checkPresent()">
	<input type="hidden" name="formhash" value="<!--{eval echo formhash();}-->" />
	<div class="bdrcontent">
		<div class="title">
			<h3>ÅúÁ¿ÔùË͵À¾ß</h3>
			<p>Äú¿ÉÒÔ¸øÑ¡¶¨µÄÓû§ÅúÁ¿ÔùË͵À¾ß¡£×¢Ò⣬±¾²Ù×÷½«»áÔö¼Ó·þÎñÆ÷¸ºÔØ¡£</p>
		</div>
		<table cellspacing="0" cellpadding="0" class="formtable">
		<tr>
			<th style="width:8em;">ÊÜÔùÕß(UID)</th>
			<td><input type="text" name="uids" value="$uids" size="60"> ¶à¸öUID¼äÓà "," ·Ö¸ô</td>
		</tr>
		<tr>
			<th>ÔùË͵À¾ß</th>
			<td>
				<select id="newmagicaward">
					<!--{loop $_SGLOBAL['magic'] $key $value}-->
					<option value="$key">$value</option>
					<!--{/loop}-->
				</select>
				<input type="text" id="newmagicawardnum" value="1" />
				<input class="button" type="button" onclick="addMagicAward()" value="Ìí¼Ó" />
				<ul id="magicawards"></ul>
				<script type="text/javascript">
				function addMagicAward(){
					var mid = $('newmagicaward').value;
					var id = "magicaward_" + mid;
					var num = $('newmagicawardnum').value;
					var name = $('newmagicaward').options[$('newmagicaward').selectedIndex].text;
					if($(id)) {
						removeMagicAward($(id).getElementsByTagName("a")[0]);
					}
					var s = '<li id="' + id + '">';
					s += '<input type="hidden" name="magicaward[]" value="' + mid + ',' + num + '" />';
					s += name + ' &nbsp;&nbsp;' + "\n";
					s += num + ' &nbsp;&nbsp;' + "\n";
					s += '<a href="#" onclick="removeMagicAward(this);return false;">ɾ³ý</a>';
					s += '</li>';
					$('magicawards').innerHTML += s;
				}
				function removeMagicAward(o) {
					$('magicawards').removeChild(o.parentNode);
				}
				function checkPresent(){
					if($('magicawards').getElementsByTagName("li").length) {
						return true;
					} else {
						alert('ÇëÖÁÉÙÑ¡ÔñÒ»ÖÖµÀ¾ß²¢µã»÷¡°Ìí¼Ó¡±°´Å¥');
						return false;
					}
				}
				</script>
			</td>
		</tr>
		</table>
	</div>
	
	<div class="footactions">
		<input type="hidden" name="refer" value="$_SGLOBAL[refer]">
		<input type="submit" name="magicsubmit" value="ÔùË͵À¾ß" class="submit">
	</div>
	</form>
<!--{/if}-->

</div>
</div>

<div class="side">
	<!--{template admin/tpl/side}-->
</div>

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