<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title><{if $shopconfig.hometitle}><{$shopconfig.hometitle}>-<{/if}><{$config.company}></title>
<meta name="description" content="<{$shopconfig.homedes}>">
<meta name="keywords" content="<{$shopconfig.homekeyword}>">
</head>
<link type="text/css" rel="stylesheet" href="<{$config.weburl}>/templates/user_templates_default/space.css">
<script src="<{$config.weburl}>/script/jquery-1.4.4.min.js" type="text/javascript"></script>
<script language="javascript" src="<{$config.weburl}>/templates/user_templates_default/jquery.Sonline.js"></script>
<script language="javascript" src="<{$config.weburl}>/templates/user_templates_default/jquery.flexslider-min.js"></script>
<body>
<div class="site-nav">
	<div class="w">
    	<ul class="left">
            <li><a href="<{$config.weburl}>" class="index"><{$config.company}></a></li>
        </ul>
    	<ul class="right">
       	 	<li><script src="<{$config.weburl}>/login_statu.php"></script></li>
        </ul>
    </div>
</div>
<div class="wrap">
<div class="site-header" style="background:#FFF url(<{if $shopconfig.headimage!=''}><{$shopconfig.headimage}><{else}><{$config.weburl}>/templates/user_templates_default/img/ad.png<{/if}>) no-repeat center top;">
    <div class="w">
        <div class="top clearfix">
            <div class="logo">
            <img height="37" src="<{if $com.logo}><{$com.logo}><{else}><{$config.weburl}>/templates/user_templates_default/img/logo.png<{/if}>" align="middle" />
            </div>
            <h1><{$com.company}></h1>
        </div>
        <div class="nav">
        <ul>
            <{foreach item=list from=$shopconfig.menu}>
            <{if $list.menu_show=='1'}>
            <li class="li">
                <a class="<{if $list.menu_link==$smarty.get.action||($smarty.get.action=='index'&&$list.menu_name=='Home')}>current<{/if}><{if $list.menu_link=='profile'&&$custom_pages}> pr<{/if}>" href="<{if $list.menu_link!=''}>shop.php?uid=<{$com.company_id}>&action=<{$list.menu_link}>&m=<{$list.module}><{else}><{geturl user=$com.domain uid=$com.company_id com=$com.company}><{/if}>">
                	<{$list.menu_name}>
                    <{if $list.menu_link=='profile'&&$custom_pages}><b></b><{/if}>
                </a>
                <{if $list.menu_link=='profile'&&$custom_pages}>
                <ul class="dropdown">
                    <{foreach item=slist key=num from=$custom_pages}>
                        <{if $slist}>
                        <li><a <{if $smarty.get.type==$num}>class="current"<{/if}> href="shop.php?uid=<{$smarty.get.uid}>&action=profile&m=company&type=<{$num}>"><{$slist}></a></li>
                        <{/if}>
                    <{/foreach}>
                </ul>
                <{/if}>
            </li>
            <{/if}>       
            <{/foreach}>
        </ul>
        <div class="supplier"><span><em>1</em></span></div>
        </div>
    </div>
</div>
<script>
$(".nav .li").hover(function(){
	$(this).addClass('selected');
},function(){
	$(this).removeClass('selected');							  
})
</script>
<{if $smarty.get.action=='index'}>
<div class="flexslider w clearfix">
    <ul class="slides">
        <{if $shopconfig.flash.0!=''}>
            <li><img src="<{$shopconfig.flash.0}>"></li>
            <{if $shopconfig.flash.1!=''}><li><img src="<{$shopconfig.flash.1}>"></li><{/if}>
            <{if $shopconfig.flash.2!=''}> <li><img src="<{$shopconfig.flash.2}>"></li><{/if}>
            <{if $shopconfig.flash.3!=''}><li><img src="<{$shopconfig.flash.3}>"></li><{/if}>
            <{if $shopconfig.flash.4!=''}><li><img src="<{$shopconfig.flash.4}>"></li><{/if}>
        <{else}> 
        <li><img src="<{$imgurl}>/default-1.jpg"></li>
        <li><img src="<{$imgurl}>/default-2.jpg"></li>
        <li><img src="<{$imgurl}>/default-3.jpg"></li>
       <{/if}>
    </ul>
<script type="text/javascript">
$(window).load(function() { 
    $('.flexslider').flexslider({
        directionNav:false
    }); 
}); 
</script>
</div>
<{/if}>    
<div class="site-content w clearfix"><{$output}></div>
<div class="site-contact">
	<div class="float-contact">
    	<h3>Communicate with Supplier</h3>
        <div class="supplier clearfix">
        	<img width="35" src="<{$com.plogo}>"  />
        	<span>What can I do for you?</span>
        </div>
        <p><a href="main.php?m=message&s=admin_message_sed&uid=<{$com.userid}>">Contact Supplier</a></p>
        <div class="phpqrcode">
        <img src="<{$config.weburl}>/uploadfile/phpqrcode/<{$smarty.get.uid}>.jpg">
        </div>
    </div>
</div>
</div>
<div class="footer clearfix">
	<div class="w">
        <{$web_con}>
        <div class="copyright"><{$bt}></div>
    </div>
</div>
</body>
</html>
