<!--{include file="../header.html" page_title="$page_title" nav_id="$nav_id"}-->
<script src="static/scripts/jquery/cookie/jquery.cookie.js" type="text/javascript"></script>
<script>
var title = "{$item.title}";
var id = "{$item.id}";
var url = "{$_G.REQUEST_URI}";
</script>
<!-- {literal} -->
<script>
var data = "{id:'"+id+"',title:'"+title+"',url:'"+url+"'}";
$.cookie("latest_browse", data, { expires: 1 });
</script>
<!-- {/literal} -->
<div class="wrapper">
	<div class="content">
	<div class="tips"><span>{$position}</span></div>
    <div class="blank6"></div>
    <div class="detailtopcon clearfix">
			<h3>{$item.title}</h3>
            {if $item.picture}
			<div class="detailtopconleft">
				<p class="left1"><img src="{$item.image}" width="80" height="80" /></p>
				<p class="left2"><a href="misc.php?source={$item.image_url}" target="_blank"><img src="{$theme_img_path}images/detail_17.jpg" alt="" /></a><span>{lang enlarge_image}</span></p>
			</div>
            {/if}
			<div class="detailtopconleft2">
				<p>{$item.title_clear|strip_tags}</p>
				<p>{lang post_time}{$item.pubdate}</p>
				<p>{lang effective_date}{$item.expdate}</p>
				<!-- {if $item.price>0} --><p>{lang the_price_n}<em class="value">{$item.price}</em></p><!-- {/if} -->
				<p>{lang area}{$item.area_names}</p>
                <p>{lang belong_industry}{$item.industry_names}</p>
				<!-- {if $item.tag} --><p>{lang keyword}{$item.tag}</p><!-- {/if} -->
                 <form name="favor_frm" id="FavorFrm" action="virtual-office/favor.php" method="post" target="_blank">
                <p style="margin:5px;"> 
                     <input type="hidden" name="id" value="{$item.id}" />
                     <input type="hidden" name="do" value="favor" />
					  <input type="button" name="favor" value="{lang add_favorite}"  class="btn_submit" id="favor" onclick="$('#FavorFrm').submit();" />
				  {if $pb_userid==$item.member_id}
					  <input type="button" name="edit" value="{lang to_edit}"  class="btn_submit" onclick="redirect('{$SiteUrl}virtual-office/offer.php?do=edit&id={$item.id}');" />					
                    {/if}
                    </p>
                     </form>
 
			</div>
			<div class="detailtopconright">
				<p class="right1">{if $item.companyname}
<a href="{the_url module=space userid=$item.space_name}" target="_blank" title="{$item.companyname}">{$item.companyname}</a>{else}{lang released_by_personnal}{/if}</p>
				<p>{lang contact_people}{$item.link_people}</p>
				<p>{lang member_type}{if $MEMBER.groupname}<img src="{$MEMBER.groupimage}" alt="{$MEMBER.groupname}" />{/if}</p>
				<p>{lang reputation_index_n}{$MEMBER.credits}</p>
				<p>{lang authentication_type}{$MEMBER.trust_image}</p>
			</div>
		</div>
     <div class="blank6"></div>
	<div class="detailtop3">
		<div class="detailtop3left">
			<h3><img src="{$theme_img_path}images/lhighs.gif" alt="" />{lang details}</h3>
			<div class="detailtop3leftcon">
               {$item.content|nl2br|stripslashes}
			   <!-- {if $ObjectParams} -->
				<table width="578" border="0" class="table_param">
				<caption>{$item.title_clear}{lang specifications}</caption>
                <tr> 
                    <th>&nbsp;</th><th>{lang content_n}</th> 
                </tr> 
                <!--{foreach from=$ObjectParams item=tparam name=op}-->
					<tr>
					  <td>{$tparam.label}</td>
					  <td>{$tparam.value}</td>
				</tr>
               	<!--{/foreach}-->
			   </table>
			   <!-- {/if} -->
			</div>				
		</div>
		<div class="detailtop3right">
            {if !$LoginCheck && $pb_username==""}
			<div class="contacttype">
				<p class="right1">{lang members_view}</p>
				<p>{lang register_site_member} 
                            <input type="button" name="btn_login" value="{lang login}" onclick="redirect('{$SiteUrl}logging.php?forward={$_G.REQUEST_URI}');" class="btn_submit">{lang fenhao}</p>
				<p>{lang not_register_site_member}<input type="button" name="btn_register" value="{lang free} {lang register}" class="btn_submit" onclick="redirect('{$SiteUrl}member.php');">{lang registered_site_member} 
                </p>
			</div>
            {else}
			<div class="contacttype">
				<h3><img src="{$theme_img_path}images/lhighs.gif" />{lang contact}</h3>
				<p>{lang address}{$item.address}<br /> 
				   {lang zip}{$item.zipcode}<br /> 
				   {lang phone}{$item.tel}<br />
				   {lang fax}{$item.fax}<br />
				   {lang website}{lang colon}{$item.site_url}
				   </p>
			</div>
			<div class="contacttype">
				<h3><img src="{$theme_img_path}images/lhighs.gif" />{lang others} {lang contact}</h3>
				<p>
				   {lang preferred_tel}{lang colon}{$item.prim_telnumber}<br>
				   {lang preferred_im}{lang colon}{$item.prim_imaccount}
				   </p>
			</div>
            {/if}
			{if $item.member_id}
			<div class="contacttype">
				<h3><img src="{$theme_img_path}images/lhighs.gif" />{lang add_information_release}</h3>
				<ul>
                	{pb:offer memberid=$item.member_id row=10}
					<li><span class="title">{$row.link}</span></li>
                    {/pb:offer}
				</ul>
			</div>
			{/if}
		</div>
		<div class="clear"></div>
	</div>
</div>
<script>
$("#hdModule").val("offer");
$("#topMenuOffer").addClass("lcur");
</script>
<!--{include file="../footer.html"}-->