<link href="<{$config.weburl}>/templates/<{$config.temp}>/css/<{$smarty.get.m}>.css" rel="stylesheet" type="text/css" />
<script src="<{$config.weburl}>/script/index.js" type="text/javascript"></script>
<div class="guide w">
    <a href="<{$config.weburl}>">Home</a>
    >
    <a href="<{$config.weburl}>/?m=offer">Product</a>
    <{$guide}>
    >
    <{$de.title}>
</div>
<div class="w detail">
	<div class="info clearfix">
    	<div class="fl pic"><img src="<{$de.pic.0}>" width="220" /></div>
    	<div class="fl list">
        	<h2><{$de.title}></h2>
        	<dl class="clearfix">
            	<dt>Price:</dt>
            	<dd><a href="<{$config.weburl}>/?m=message&s=inquire&contype=2&offerid=<{$smarty.get.id}>,">Get Latest Price</a></dd>
            </dl>
        	<dl class="clearfix">
            	<dt>Brand:</dt>
            	<dd><{$de.pp}></dd>
            </dl>
        	<dl class="clearfix">
            	<dt>Validity:</dt>
            	<dd><{$de.valid_time}></dd>
            </dl>
        	<dl class="clearfix">
            	<dt>Date:</dt>
            	<dd><{$de.uptime|date_format}></dd>
         	</dl>
            <a class="add clearfix" href="javascript:add_inquery('info','<{$config.weburl}>','<{$de.id}>');">Add to Inquiry Cart</a>
        </div>
    	<div class="fr">
            <dl class="fore1">
        		<dt>Seller Information</dt>
            	<dd><a target="_blank" href="<{geturl user=$cominfo.user uid=$cominfo.userid}>"><{$cominfo.company}></a></dd>
            	<dd><{$cominfo.p}> <{$cominfo.ename}></dd>
            	<dd>Business type: <{$cominfo.ctype}></dd>
            </dl>
            <{if $cominfo.business}>
            <div class="confirmed">Onsite operations checked and legal status confirmed</div>
            <{/if}>
            <dl class="fore2">
                <dt>Contact Seller</dt>
                <dd><a target="_blank" href="<{$config.weburl}>/shop.php?uid=<{$cominfo.company_id}>&action=mail&m=company">Contact Now</a></dd>
            </dl>
        </div>
    </div>
	<div class="m">
    	<div class="mt clearfix">
        	<span class="cur">Product Detail</span>
        	<span>Company Profile</span>
        </div>
    	<div class="mc clearfix">
        	<div class="i-mc">
                <{if $extfiled.s}><div class="extfiled clearfix"><{foreach item=list from=$extfiled.s}><{$list}><{/foreach}></div><{/if}>
                <{$de.detail}>
            </div>
        	<div class="i-mc hidden"><{$intro}></div>
        </div>
    </div>
</div>
<script>
$(".mt span").click(function(){
	var index=$(this).index();
	$(this).addClass("cur").siblings().removeClass("cur");
	$(this).parent().parent().find(".i-mc").eq(index).show().siblings(".i-mc").hide();
});
</script>