|
|
<html lang="zh-TW">
|
|
|
<head>
|
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
|
<meta name="Keywords" content="{$keywords}" />
|
|
|
<meta name="Description" content="{$description}" />
|
|
|
|
|
|
<!-- TemplateBeginEditable name="doctitle" -->
|
|
|
<title>{$page_title}</title>
|
|
|
<!-- TemplateEndEditable -->
|
|
|
|
|
|
<!-- TemplateBeginEditable name="head" -->
|
|
|
<!-- TemplateEndEditable -->
|
|
|
|
|
|
<link rel="shortcut icon" href="favicon.ico" />
|
|
|
<link rel="icon" href="animated_favicon.gif" type="image/gif" />
|
|
|
<link href="{$ecs_css_path}" rel="stylesheet" type="text/css" />
|
|
|
<link href="user.css" rel="stylesheet" type="text/css" />
|
|
|
|
|
|
<link href="css/bootstrap.css" rel="stylesheet" type="text/css" />
|
|
|
<link href="css/templatemo.css" rel="stylesheet" type="text/css" />
|
|
|
<link href="css/custom.css" rel="stylesheet" type="text/css" />
|
|
|
|
|
|
<!-- Load fonts style after rendering the layout styles -->
|
|
|
<link href="css/css2.css" rel="stylesheet" type="text/css" />
|
|
|
<link href="css/fontawesome.css" rel="stylesheet" type="text/css" />
|
|
|
|
|
|
|
|
|
{* 包含腳本文件 *}
|
|
|
{insert_scripts files='jquery-1.9.1.min.js,jquery.json.js'}
|
|
|
{insert_scripts files='common.js,user.js,easydialog.min.js'}
|
|
|
</head>
|
|
|
<body>
|
|
|
<!-- #BeginLibraryItem "/library/page_header.lbi" --><!-- #EndLibraryItem -->
|
|
|
<div class="container py-5">
|
|
|
<div class="row">
|
|
|
<div class="col-12">
|
|
|
<!-- #BeginLibraryItem "/library/ur_here.lbi" --><!-- #EndLibraryItem -->
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="row">
|
|
|
<div class="col-lg-3">
|
|
|
<!-- #BeginLibraryItem "/library/user_menu.lbi" --><!-- #EndLibraryItem -->
|
|
|
</div>
|
|
|
<div class="col-lg-9">
|
|
|
<div class="row">
|
|
|
<div class="user-card col-12 col-lg-6">
|
|
|
<div class="row">
|
|
|
<div class="col-4">
|
|
|
{if $headimg}
|
|
|
<img class="avatar" src="{$headimg}" />
|
|
|
{else}
|
|
|
<img class="avatar" src="images/photo.jpg" />
|
|
|
{/if}
|
|
|
</div>
|
|
|
<div class="col-8">
|
|
|
<h2 class="username">{$info.username}</h2>
|
|
|
<p class="tip">{$lang.welcome_to} {$info.shop_name} ~</p>
|
|
|
<a class="link" href="user.php?act=profile">{$lang.modify}{$lang.profile}></a><a class="link" style="margin-left:20px;" href="user.php?act=headimg">修改頭像></a>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="user-actions col-12 col-lg-6">
|
|
|
<ul class="action-list">
|
|
|
<li> {$lang.last_time}:{$info.last_time}</li>
|
|
|
<li class="rank">{$rank_name}{if $next_rank_name}<span>({$next_rank_name})</span>{/if}</li>
|
|
|
<!--{if $info.is_validate eq 0} -->
|
|
|
<li class="validat">{$lang.not_validated} <a href="javascript:sendHashMail()" style="color:#f70;">{$lang.resend_hash_mail}</a></li>
|
|
|
<!--{/if} -->
|
|
|
</ul>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="row">
|
|
|
<div class="col-12">
|
|
|
<ul class="login-sub row">
|
|
|
{if $qq_login}
|
|
|
<li class="ab-icon-qq col-6">
|
|
|
<h3>QQ</h3>
|
|
|
<div>{if $auth_list.qq}已綁定{else}<font color="#FF0033">未綁定</font>{/if}</div>
|
|
|
{if $auth_list.qq}
|
|
|
<a href="user.php?act=del_oath&type=qq">解除綁定</a>
|
|
|
{else}
|
|
|
<a href="user.php?act=oath&type=qq">增加綁定</a>
|
|
|
{/if}
|
|
|
</li>
|
|
|
{/if}
|
|
|
{if $weixin_login}
|
|
|
<li class="ab-icon-weixin col-6">
|
|
|
<h3>微信</h3>
|
|
|
<div>{if $auth_list.weixin}已綁定{else}<font color="#FF0033">未綁定</font>{/if}</div>
|
|
|
{if $auth_list.weixin}
|
|
|
<a href="user.php?act=del_oath&type=weixin">解除綁定</a>
|
|
|
{else}
|
|
|
<a href="user.php?act=oath&type=weixin">增加綁定</a>
|
|
|
{/if}
|
|
|
</li>
|
|
|
{/if}
|
|
|
{if $weibo_login}
|
|
|
<li class="ab-icon-sina col-6">
|
|
|
<h3>新浪</h3>
|
|
|
<div>{if $auth_list.weibo}已綁定{else}<font color="#FF0033">未綁定</font>{/if}</div>
|
|
|
{if $auth_list.weibo}
|
|
|
<a href="user.php?act=del_oath&type=weibo">解除綁定</a>
|
|
|
{else}
|
|
|
<a href="user.php?act=oath&type=weibo">增加綁定</a>
|
|
|
{/if}
|
|
|
</li>
|
|
|
{/if}
|
|
|
{if $alipay_login}
|
|
|
<li class="ab-icon-alipay col-6">
|
|
|
<h3>支付寶</h3>
|
|
|
<div>{if $auth_list.alipay}已綁定{else}<font color="#FF0033">未綁定</font>{/if}</div>
|
|
|
{if $auth_list.alipay}
|
|
|
<a href="user.php?act=del_oath&type=alipay">解除綁定</a>
|
|
|
{else}
|
|
|
<a href="user.php?act=oath&type=alipay">增加綁定</a>
|
|
|
{/if}
|
|
|
</li>{/if}
|
|
|
<li class="ab-icon-tel col-lg-6">
|
|
|
<h3>手機</h3>
|
|
|
<div>{if $auth_list.tel}已綁定{else}<font color="#FF0033">未綁定</font>{/if}</div>
|
|
|
{if $auth_list.tel}
|
|
|
<a href="user.php?act=bindmobile">重新綁定</a>
|
|
|
{else}
|
|
|
<a href="user.php?act=bindmobile">增加綁定</a>
|
|
|
{/if}
|
|
|
</li>
|
|
|
</ul>
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
<div class="portal-sub">
|
|
|
<div class="info-list row">
|
|
|
<li class="col-6 col-lg-3">
|
|
|
<h3>{$lang.your_surplus}:<span class="num">{$info.surplus}元</span></h3>
|
|
|
<a href="user.php?act=account_log">{$lang.view}{$lang.your_account}{$lang.your_surplus}</a>
|
|
|
<img src="images/portal-icon-1.png" />
|
|
|
</li>
|
|
|
<li class="col-6 col-lg-3">
|
|
|
<h3>{$lang.your_bonus}:<span class="num">{$info.bonus}</span></h3>
|
|
|
<a href="user.php?act=bonus">{$lang.view}{$lang.your_account}{$lang.your_bonus}</a>
|
|
|
<img src="images/portal-icon-2.png" />
|
|
|
</li>
|
|
|
<li class="col-6 col-lg-3">
|
|
|
<h3>{$lang.your_integral}:<span class="num">{$info.integral}</span></h3>
|
|
|
<img src="images/portal-icon-3.png" />
|
|
|
</li>
|
|
|
<li class="col-6 col-lg-3">
|
|
|
<h3>
|
|
|
{$lang.your_notice}:
|
|
|
<span class="num">
|
|
|
<!--{foreach from=$prompt item=item}-->
|
|
|
{$item.text}<br />
|
|
|
<!--{/foreach}-->
|
|
|
{$lang.last_month_order}{$info.order_count}{$lang.order_unit}<br />
|
|
|
<!-- {if $info.shipped_order} -->
|
|
|
{$lang.please_received}<br />
|
|
|
<!-- {foreach from=$info.shipped_order item=item}-->
|
|
|
<a href="user.php?act=order_detail&order_id={$item.order_id}" style="color:#f70;">{$item.order_sn}</a>
|
|
|
<!-- {/foreach} -->
|
|
|
<!-- {/if}-->
|
|
|
</span>
|
|
|
</h3>
|
|
|
<img src="images/portal-icon-4.png" />
|
|
|
</li>
|
|
|
<!-- {if $info.credit_line gt 0} 如果有信用額度 -->
|
|
|
{$lang.credit_line}:{$info.formated_credit_line}<br />
|
|
|
<li class="col-6 col-lg-3">
|
|
|
<h3>{$lang.credit_line}:<span class="num">{$info.formated_credit_line}</span></h3>
|
|
|
<img src="images/portal-icon-1.png" />
|
|
|
</li>
|
|
|
<!-- {/if} -->
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
<div class="add_ok" id="cart_show">
|
|
|
<div class="tip">
|
|
|
<i class="iconfont"></i>商品已成功加入購物車
|
|
|
</div>
|
|
|
<div class="go">
|
|
|
<a href="javascript:easyDialog.close();" class="back"><<繼續購物</a>
|
|
|
<a href="flow.php" class="btn">去結算</a>
|
|
|
</div>
|
|
|
</div>
|
|
|
<!-- #BeginLibraryItem "/library/page_footer.lbi" --> <!-- #EndLibraryItem -->
|
|
|
</body>
|
|
|
<script type="text/javascript">
|
|
|
{foreach from=$lang.clips_js item=item key=key}
|
|
|
var {$key} = "{$item}";
|
|
|
{/foreach}
|
|
|
</script>
|
|
|
</html>
|