<!--{include file="header.html" page_title="$page_title" nav_id=5}-->
<script language="javascript" src="static/scripts/jquery/jquery.form.js"></script>
<link rel="stylesheet" type="text/css" href="{$theme_img_path}css/general.css" />
<link rel="stylesheet" type="text/css" href="{$theme_img_path}css/type.css" />
<link rel="stylesheet" type="text/css" href="{$theme_img_path}css/widgets.css" />
<!-- {literal} -->
<script type="text/javascript">
$(document).ready( function() {
	$("#rp").hide();
    var options = { 
		//url:'virtual-office/fair.php',
        target:        '#rp',   // target element(s) to be updated with server response 
        beforeSubmit:  function(){$("#rp").show();},  // pre-submit callback 
        success:       function(html){alert(html);},  // post-submit callback 
        timeout:   3000 
    }; 
    $('#btnJoinFair').click(function() { 
        $("#JoinFair").ajaxSubmit(options); 
        return false; 
    });
});
</script>
<!-- {/literal} -->
<div class="wrapper">
  <div class="content  clearfix">
	 <div class="tips"><span>{$position}</span></div>
	 <div class="blank6"></div>
	 <div class="ex_con">
		 <div class="ex_con_left">
		   <div class="ex_con_left_title"><p>{$item.name}</p></div>
		   <div class="blank6"></div>
		   <div class="ex_con_left_con">
           <div class="base_title">
            <h2><span class="corner_t_l"></span><span class="corner_t_m title_mouse">{lang fair_introduction}</span><span class="corner_t_r"></span></h2> 
	       </div>
		  <div class="ex_con_left_con_body">
			<!-- {the_attachment name=$item.picture} -->
			<p>{$item.description}</p>
		  </div>
		   </div>
		   <div class="blank6"></div>
		  <div class="ex_con_left_con">
		       <div class="base_title">
                    <h2><span class="corner_t_l"></span><span class="corner_t_m title_mouse">{lang fair_content}</span><span class="corner_t_r"></span></h2> 
	           </div>
		  <div class="ex_con_left_con_body">
			{lang fair_time} {$item.begin_date} {lang arrive_to} {$item.end_date}<br />
			{lang address} {$item.address}<br />
			{lang fair_size} {$item.scope}<br />
			{lang organizer}{$item.hosts}<br />
			{lang sponsor} {$item.organisers}<br />
			{lang support} {$item.sponsors}<br />
			{lang co_organizer} {$item.co_organisers}<br />
			{lang contact} {$item.contacts}<br />
			{lang notes} {$item.important_notice}<br />
            </div>
		  </div>
		 </div>
	 
	 <div class="ex_con_right">
	<div class="ex_con_right_con">
      <div class="title_bar_s4">
          <span class="title_top_s4"><span></span></span>
          <h3>{lang fair_enter_name}</h3>
       </div>
	  <div class="ex_con_right_con_body">
      <form name="join_fair" id="JoinFair" action="virtual-office/fair.php" method="post">
	  <!-- {formhash} -->
      <input type="hidden" name="do" value="join" />
      <input type="hidden" name="is_ajax" value="1" />
      <input type="hidden" name="id" value="{$item.id}">
	  <span style="display: inline-block">
      <input type="button" name="btn_join_fair" id="btnJoinFair" class="submit_w91" value="{lang enter_name_fair}"/></span>
	  &nbsp;&nbsp;<span id="rp" style="display: inline-block"><img src="static/images/loading.gif" /></span>
      </form>
      </div>
	</div>
	<div class="blank6"></div>
	<div class="ex_con_right_con">
       <div class="title_bar_s4">
          <span class="title_top_s4"><span></span></span>
          <h3>{lang fair_business}</h3>
       </div>
	  <div class="ex_con_right_con_body">
		<ul class="ex_con_rightlist" >
        <!--{foreach from=$Items name=expomember item=expomember}-->
		 <li><a href="{the_url module=space userid=$expomember.userid}" target="_blank">{$expomember.name}</a></li>
        <!--{/foreach}-->
		</ul>
		</div>
	</div>
  </div>
</div>
</div>
</div>
<!--{include file="footer.html"}-->