<!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 $title}><{$title}>，<{$config.company}><{else}><{$config.title}><{/if}></title>
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon" />
<meta name="description" content="<{$config.description|regex_replace:"/[\r\t\n]/":""}>" />
<meta name="keywords" content="<{$config.keyword|regex_replace:"/[\r\t\n]/":""}>" />
<script src="<{$config.weburl}>/script/jquery-1.4.4.min.js" type="text/javascript"></script>
<link href="<{$config.weburl}>/templates/<{$config.temp}>/css/page.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top">
	<div class="w clearfix">
		<ul class="fl">
            <script src="<{$config.weburl}>/login_statu.php"></script>
        </ul>
        <ul class="fr">
            <li><a onclick="javascript:myAddPanel('<{$config.weburl}>','<{$config.company}>');" >Add to Favorite</a></li>
            <li class="nbr"><a onclick="setHomepage('<{$config.weburl}>')">Set Homepage</a></li>
        </ul>    
    </div>
</div>
<div id="header">
    <div class="w clearfix">
        <div class="logo">
			<a href="<{$config.weburl}>"><img height="38" src="<{if $config.logo}><{$config.logo}><{else}><{$config.weburl}>/image/logo.png<{/if}>" /></a>
        </div>
        <div class="top-search">
        	<div class="search-wrap">
            <form method="get" action="<{$config.weburl}>/">
                <input type="hidden" name="m" value="<{if $smarty.get.m=='news'}>news<{elseif $smarty.get.m=='company'}>company<{elseif $smarty.get.m=='exhibition'}>exhibition<{else}>offer<{/if}>" />					
                <{if $smarty.get.m!='company'&&$smarty.get.m!='offer'&&$smarty.get.m!='exhibition'}>
                <input type="hidden" name="s" value="list" />
                <{/if}>
                <div class="search-input">
                <input type="text" class="text" name="key" placeholder="Search <{if $smarty.get.m=='news'}>News<{elseif $smarty.get.m=='company'}>Company<{elseif $smarty.get.m=='exhibition'}>Exhibition<{else}>Products<{/if}>" value="<{$smarty.get.key}>" />
                </div>
                <input type="submit" class="submit" value="" />
            </form>
            </div>
        </div>
        <div class="inquiry">
        	<a href="?m=message&s=inquiry_basket">
                <p>Inquiry Basket (<span id="inquiry_num1"><script src="<{$config.weburl}>/login_statu.php?is_inquery=true"></script></span>)</p>
                <p>To Query</p>
            </a>
        </div>
    </div>
</div>
<div id="menu" class="w clearfix">
	<div class="categorys">
    	<h1><a href="<{$config.weburl}>/?m=offer">Product Categories</a><b></b></h1>
    </div>
    <ul class="nav">
        <{foreach item=list from=$menus key=nums}>
        <li <{if $list.selected_flag==$current}>class="current"<{/if}>><a href="<{if $list.link_addr|truncate:4:''=='http'}><{$list.link_addr}><{else}><{$config.weburl}>/<{$list.link_addr}><{/if}>"><{$list.menu_name}></a></li>     
        <{/foreach}>
        <li class="fr login"><a href="login.php">Join</a></li>
        <li class="fr sign"><a href="<{$config.regname}>">Sign in</a></li>
    </ul>
</div>