<?php 
$agent = $_SERVER['HTTP_USER_AGENT'];
if(strpos($agent,"MicroMessenger")) {
?>
<!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>
<base href="{$site_url}/" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="initial-scale=1.0, user-scalable=no" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black" />

<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7 charset={$charset}" />
<meta http-equiv="Content-Type" content="text/html; charset={$charset}" />

{$page_seo}
<link href="/themes/mall/default/styles/wxmall/css/common.css" type="text/css" rel="stylesheet" />
<link href="/themes/mall/default/styles/wxmall/css/bookmark.css" type="text/css" rel="stylesheet" />
<script type="text/javascript" src="{lib file=jquery.js}" charset="utf-8"></script>
<script type="text/javascript" src="{lib file=ecmall.js}" charset="utf-8"></script>
<script type="text/javascript" src="{lib file=member.js}" charset="utf-8"></script>
<script type="text/javascript">
//<!CDATA[
var SITE_URL = "{$site_url}";
var REAL_SITE_URL = "{$real_site_url}";
var PRICE_FORMAT = '{$price_format}';
//]]>
</script>
{$_head_tags}
</head>

<body class="gray">

    <div class="fixed">
        <!---头部------>
        <div class="header header2">
			<a href="javascript:history.back(-1);" class="back2_pre"></a>
            {$head_msg}
        </div>  
    </div>
    <div class="mark"> 
        <div class="bm_con">
            <div class="marklist">
                <ul>
			  <br>
                 <li style="text-align:center;">{$message}
                  <!--{if $err_file}-->
                <b style="clear: both; float: left; font-size: 15px;">Error File: <strong>{$err_file}</strong> at <strong>{$err_line}</strong> line.</b>
                <!--{/if}-->
                <!--{if $icon neq "notice"}-->
                <font style="clear: both; display:block; margin:0 0 0 50px;">
                <!--{foreach from=$links item=item}-->
                        <a style="color:#aaa;" href="{$item.href}">>> {$item.text}</a><br />
                <!--{/foreach}-->
                </font>
                <!--{/if}-->
                 </li>
                </ul>
            </div>
        </div>
 
    </div>
<script type="text/javascript">
//<!CDATA[
<!--{if $redirect}-->
window.setTimeout("{$redirect}", 1000);
<!--{/if}-->
//]]>
</script>
{include file="wxfooter.html"}

<?php 
}else
{
?>
{include file=member.header.html}
<div class="content">
    <div class="particular">
        <div class="particular_wrap">
            <p class="{if $icon eq "notice"}success{else}defeated{/if}">
                <span></span>
                <b style="float: left; width:380px;">{$message}</b>
                <!--{if $err_file}-->
                <b style="clear: both; float: left; font-size: 15px;">Error File: <strong>{$err_file}</strong> at <strong>{$err_line}</strong> line.</b>
                <!--{/if}-->
                <!--{if $icon neq "notice"}-->
                <font style="clear: both; display:block; margin:0 0 0 50px;">
                <!--{foreach from=$links item=item}-->
                        <a style="color:#aaa;" href="{$item.href}">>> {$item.text}</a><br />
                <!--{/foreach}-->
                </font>
                <!--{/if}-->
            </p>
        </div>
        <div class="clear"></div>
        <div class="adorn_right1"></div>
        <div class="adorn_right2"></div>
        <div class="adorn_right3"></div>
        <div class="adorn_right4"></div>
    </div>
    <div class="clear"></div>
</div>
<script type="text/javascript">
//<!CDATA[
<!--{if $redirect}-->
window.setTimeout("{$redirect}", 1000);
<!--{/if}-->
//]]>
</script>
{include file=footer.html}

<?php } ?>