{template "topic_header"}
<script>
function follow_add_type(addtype)
{
	document.getElementById('follow_type_'+addtype).value=addtype;
}

function highlight_row(obj)
{
	var bool = obj.checked;
	
	if(obj.parentElement.tagName == 'TD')
	{
		if(bool)
		{
			obj.parentElement.parentElement.className = 'highlight_row';
		}
		else obj.parentElement.parentElement.className = 'list_content';
	}
}
function reverseCheck(obj)
{
	if(!obj) return;
	
	if(!obj.length)
	{
		if(obj.disabled) return false;
		obj.checked = !obj.checked;
		
		highlight_row(obj);
	}
	else
	{
		for(i = 0; i < obj.length; i++)
		{
			if(obj[i].disabled) continue;
			if(obj[i].checked) obj[i].checked = false;
			else obj[i].checked = true;

			highlight_row(obj[i]);
		}
	}
}

</script>

<div class="setframe">

<!--此处三栏-->
<!--{template 'topic_new_left.ini'}-->

<div class="main">
<div class="main_2b">
  <div class="main_t22">
    <div class="main_t22l"><a href="index.php?mod=people">名人堂</a> > {$categoryname}</div>
    <a href="index.php?mod=other&code=vip_intro" title="取得认证，获得推荐"><img src="images/quare/btn_rf.gif" /></a>
 </div>
	
	
	
	<div class="ulist6" style="width:740px;"> 
	  <!--{loop $member_list $val}--> 
		<div class="pf2 selected crPer" alt="{$val[vip_info]}" title="{$val[vip_info]}">
		<p class="mark"></p>
		<p class="avt"><b><a href="index.php?mod={$val[uid]}" target="_blank"><img src="{$val[face]}" onerror="javascript:faceError(this);"/></a></b></p> 
		<b class="nm"><a href="index.php?mod={$val[uid]}" target="_blank">{$val[nickname]}</a></b> 
		</div> 
	  <!--{/loop}-->
	</div>

	  
  <div class="mediaBox">
      <div class="famTabletop"></div>

        <div class="famTablecen">
          <div class="titleBar">
            <div class="lf">{$city_val[name]}</div>
            <div class="rt">
			 <input type="checkbox"  onClick="reverseCheck(follow_form_{$city_val[id]});" id="btn_all" />
			  <label for="btn_all" style="cursor:pointer;">全选 </label> |
			  <span {if MEMBER_ID <1 } onclick="ShowLoginDialog(); return false;" {/if}>  
			  <input type="submit" class="shareI" name="follow_Submit"  value="加关注" onclick="document.getElementById('follow_form_{$city_val[id]}').submit();"/>
			  </span>
            </div>
          </div>
		  <iframe id="user_follow_frame_{$city_val[id]}" name="user_follow_frame_{$city_val[id]}" width="0" height="0" marginwidth="0" frameborder="0" src="about:blank"></iframe>
			<form method="POST" action="ajax.php?mod=topic&code=add_user_follow&__to=iframe" id="follow_form_{$city_val[id]}" name="follow_form_{$city_val[id]}" target="user_follow_frame_{$city_val[id]}">
            <div class="ulist6" style="width:740px;">
			<!--{loop $memberlist $val}-->
			 
					<div class="pf2 selected crPer">
						<p class="status"><input type="checkbox" id="sid_$val[uid]" name="uids[]" value="{$val[uid]}" /></p> 
						<p class="mark"></p>
						<p class="avt"><b><label for="sid_{$val[uid]}" style="cursor:pointer;"><img src="{$val[face]}" onerror="javascript:faceError(this);" onmouseover="get_user_choose({$val[uid]},'_user',{$val[uid]})" onmouseout="clear_user_choose()"/></label></b></p> 
						<b class="nm"><a href="index.php?mod={$val[uid]}" target="_blank">{$val[nickname]}</a></b> 
                        
                        <div id="user_{$val[uid]}_user" class="layS"></div>
			  		</div> 
                    
			
			<!--{/loop}-->
			</div>
			<input type="hidden" id="type" name="type" value="add"/>
			</form>	
        </div>

      <div class="famTablebott"></div>
	  {$page_html}
    </div>
</div>

<style type="text/css">
.ulist6 .pf2 .nm{ float:left; width:50px; height:20px; overflow:hidden;}
.ulist6 .pf2{ height:75px;}
.ulist6 .status, .ulist6 .mark{ top:48px;}

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

{template "topic_footer"} 