<div class="main_r left10">
      <div class="asd"></div>
      <div id="maincontent" class="top10">
        <div class="c_t">
          <div class="c_t_l left"></div>
          <div class="c_t_r right"></div>
        </div>
        <div class="c_m">
          <!-- star start -->
          <div id="star">
            <div class="top"><h2>{echo:lp{l_jooyea_star};/}</h2></div>
            <div class="content">
              <div class="left_part">
               <DIV id=MainPromotionBanner>
				<DIV id=SlidePlayer>
                  <ul class="Slides">
                  {sta:if(!empty($rec_rs1))[exc]}
                  {sta:foreach($rec_rs1 as $val)[loop]}
                    <li><a href="home.php?h={echo:$val['user_id'];/}" target="_blank"><img src="{echo:$val['show_ico'];/}" alt="{echo:$val['user_name'];/}" /></a></li>
                  {end:foreach/}
                  {end:if/}
                  {sta:if(empty($rec_rs1))[exc]}
                  	<li><a href="#"><img src="skin/default/jooyea/images/def.jpg" alt="" /></a></li>
                  {end:if/}
                  </ul>
              </DIV>
	</DIV>
		<SCRIPT type=text/javascript>
		TB.widget.SimpleSlide.decorate('SlidePlayer', {eventType:'mouse', effect:'scroll'});
		</SCRIPT>
  </div>
              <div class="right_part">
                {sta:foreach($rec_rs0 as $val)[loop]}
                <dl>
                  <dt><a href="home.php?h={echo:$val['user_id'];/}" target="_blank"><img src="{echo:$val['user_ico'];/}" alt="{echo:$val['user_name'];/}" /></a></dt>
                  <dd><a href="home.php?h={echo:$val['user_id'];/}" target="_blank">{echo:sub_str($val['user_name'],5,true);/}</a></dd>
                </dl>
              {end:foreach/}
              </div>
            </div>
          </div>
          <!-- star end -->
          <div id="friend">
            <div class="top">
              <h2>{echo:lp{l_new_momber};/}</h2></div>
            <div class="content">
              <div class="left_part">
			  <form action='index.php'>
			  	<input type='hidden' name='tg' value='search_pals' />
			  	<input type='hidden' name='type' value='index' />
                <div class="item">
                  <div class="name">{echo:lp{l_location};/}：</div>
                  <div class="sel w1" onmouseover="addClass(this,'sel_hover')" onmouseout="removeClass(this,'sel_hover')" onclick="showBox(0);"><span id="area">{echo:lp{l_chose};/}</span></div>
				  <div id="showssBox_0" class="showbox s1" style="display: none">
				  	<div class="subitem"><select id='q_province' name='q_province' onchange = "hw_select('q_province','q_city');"></select></div><div class="subitem"><select name='q_city' id="q_city" onchange = "hw_select('select_p','select_c');"></select></div>
					<div class="subitem"><input type="button" value="{echo:lp{l_confirm};/}" onclick="setArea();" /></div>
					<script type="text/javascript">
						hw_init("q_province","q_city");
					</script>
				  </div>
               	</div>
			    <div class="item">
                  <div class="name"><label class="mr12">{echo:lp{l_age};/}：</div>
                  <div class="sel w2" onmouseover="addClass(this,'sel_hover')" onmouseout="removeClass(this,'sel_hover')" onclick="showBox(1);createAge();"><span id="age">{echo:lp{l_no_restraint};/}</span></div>
				  <div id="showssBox_1" class="showbox s2" style="display: none">
				  	<div class="subitem"><select id="select_age_b" name="select_age_b" onchange="$('age_begin').value = $('select_age_b').value;createAge2();$('age_end').value = $('select_age_e').value;"></select><input id="age_begin" type="hidden"  name="min_age" value=""/>~<select id="select_age_e" name="select_age_e" onchange="$('age_end').value = this.value"></select><input id="age_end" type="hidden" name="max_age" value=""/></div>
					<div class="subitem"><input type="button" value="{echo:lp{l_confirm};/}" onclick="setAge();" /><span style="text-decoration:underline;margin-left: 5px;" onclick="$('age_end').value = '不限';$('age_begin').value = '不限';$('age').innerHTML = '不限';$('showssBox_1').style.display = 'none';">年龄不限</span></div>
				  </div> 
               	</div>
			    <div class="item">
          <div class="name"><label class="mr12">{echo:lp{l_sex};/}：</div>
          <div class="sel w3" onmouseover="addClass(this,'sel_hover')" onmouseout="removeClass(this,'sel_hover')" onclick="showBox(2);"><span id="gender">{echo:lp{l_no_restraint};/}</span><input id="sex" type="hidden" name="sex" value="" /></div>
				  <div class="submit"><input type="submit" class="btn" value="{echo:lp{l_search};/}" /></div>
				  <div id="showssBox_2" class="showbox s3" style="display: none">
				  <div class="subitem" onmouseover='this.style.background="#0296c3";this.style.color="#ffffff"' onmouseout='this.style.background="#ffffff";this.style.color="#666"' onclick="setGender(this);">{echo:lp{l_no_restraint};/}</div>
				  <div class="subitem" onmouseover='this.style.background="#0296c3";this.style.color="#ffffff"' onmouseout='this.style.background="#ffffff";this.style.color="#666"' onclick="setGender(this);$('sex').value = 0;">{echo:lp{l_lady};/}</div>
					<div class="subitem" onmouseover='this.style.background="#0296c3";this.style.color="#ffffff"' onmouseout='this.style.background="#ffffff";this.style.color="#666"' onclick="setGender(this);$('sex').value = 1;">{echo:lp{l_men};/}</div>
				  </div>
          </div>
				</form>
              </div>
              <div class="right_part">
              
                {sta:foreach($user_rs as $val)[loop]}
                <dl>
                  <dt><a href="home.php?h={echo:$val['user_id'];/}" target="_blank"><img src="{echo:$val['user_ico'];/}" alt="{echo:$val['user_name'];/}" /></a></dt>
                  <dd><a href="home.php?h={echo:$val['user_id'];/}" target="_blank">{echo:sub_str($val['user_name'],5,true);/}</a></dd>
                  <dd>{echo:format_datetime_short($val['lastlogin_datetime']);/}</dd>
                </dl>
              	{end:foreach/}
              </div>
            </div>
          </div>
        <!-- plugins !-->  
        <div id="plugin_content">
        	{echo:show_plugins($plugin_content);/}
        </div>
        <!-- plugins !-->          
        </div>
        <div class="c_bt">
          <div class="c_bt_l left"></div>
          <div class="c_bt_r right"></div>
        </div>
    </div></div>