index.html
6.14 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>用户中心-{$tpshop_config['shop_info_store_title']}</title>
<meta http-equiv="keywords" content="{$tpshop_config['shop_info_store_keyword']}" />
<meta name="description" content="{$tpshop_config['shop_info_store_desc']}" />
<link rel="stylesheet" href="__STATIC__/css/index.css" type="text/css">
<script src="__STATIC__/js/jquery-1.10.2.min.js"></script>
<script src="__STATIC__/js/slider.js"></script>
</head>
<body>
<!--------头部开始-------------->
<include file="public/header" />
<!--------头部结束-------------->
<div class="layout ov-hi">
<div class="breadcrumb-area">
<foreach name="navigate_user" key="k" item="v">
<if condition="$k neq '首页'"> > </if>
<a href="{$v}">{$k}</a>
</foreach>
</div>
</div>
<div class="layout pa-to-10 fo-fa-ar">
<!--菜单-->
<include file="user/menu" />
<!--菜单-->
<div class="fr wi940">
<div class="myhome-welcome pa-to-20">
<div class="fl myhome-tx">
<div class="w-img"><img src="{$user.head_pic|default='__STATIC__/images/img88.jpg'}" alt=""></div>
<div class="w-vip po-ab"><i class="w-v0"></i></div>
</div>
<div class="ov-hi ma-le-158">
<h2 class="n-name">{$user.nickname},欢迎您!</h2>
<div class="w-info">
<span>我的余额: <em><a href="">{$user.user_money}</a></em></span>
<span>等级:{$level[$user['level']][level_name]}</span>
<span>
<if condition="$user['mobile_validated'] eq 1">
<span><a class="link-non-validated" href="">已验证手机</a></span>
<else/>
<a class="link-non-validated2" href="{:U('Home/User/mobile_validate',array('step'=>1))}">未验证手机</a>
</if>
</span>
<span>
<if condition="$user['email_validated'] eq 1">
<span><a class="link-non-validated" href="">已验证邮箱</a></span>
<else/>
<a class="link-non-validated2" href="{:U('Home/User/email_validate',array('step'=>1))}">未验证邮箱</a>
</if>
</span>
<!--<span><a class="link-non-validated" href="">未实名认证</a></span>-->
<span>优惠券 <em><a href="">{$user.coupon_count}</a></em> 张</span>
<!--<span>站内信 <em><a href="">0</a></em> 张</span>-->
</div>
<!--<div class="w-ple pa-to-10">-->
<!--<dl>-->
<!--<dt>我的特权:</dt>-->
<!--<dd><a href=""><img src="__STATIC__/images/icon_privilege_vip_small_light.png"/></a></dd>-->
<!--<dd><a href=""><img src="__STATIC__/images/icon_privilege_v_small_light.png"/></a></dd>-->
<!--<dd><a href=""><img src="__STATIC__/images/icon_privilege_yh_small_light.png"/></a></dd>-->
<!--<dd><a href=""><img src="__STATIC__/images/icon_privilege_vipDay_small_gray.png"/></a></dd>-->
<!--</dl>-->
<!--</div>-->
</div>
<div class="clickshop">
<p>-- 欢迎光临TPshop商城 --</p>
<p style="margin-top:20px"><a href="/"><span>开始购物</span></a></p>
</div>
</div>
</div>
</div>
<div class="he80"></div>
<script src="__PUBLIC__/js/global.js"></script>
<script src="__PUBLIC__/js/pc_common.js"></script>
<script>
function delimg(file,t){
$.get(
"/index.php?m=Admin&c=Uploadify&a=delupload",{action:"del", filename:file},function(){}
);
$('#head_pic').val('');
$('#preview').attr('src','');
$(t).remove();
}
function add_img(str){
var head_pic = $('#head_pic').val();
$('#head_pic').val(str);
$('#preview').attr('src',str);
// if(!$('#delimg')){
// $('#img_box').append('<button id="delimg" type="button" onclick="delimg('+"'"+str+"'"+',this)">删除图片</button>');
// }else{
// $('#delimg').attr('onclick','delimg('+"'"+str+"'"+',this)');
// }
if(!head_pic){
$('#img_box').append('<button id="delimg" type="button" onclick="delimg('+"'"+str+"'"+',this)">删除图片</button>');
}else{
$('#delimg').attr('onclick','delimg('+"'"+str+"'"+',this)');
}
}
</script>
<script type="text/javascript">
$(document).ready(function(){
var icon_wh=$(".icon_wh");
icon_wh.each(function(){
var thisObj=$(this);
thisObj.bind("mouseout",function(){
$(this).next().css("display","none");
});
thisObj.bind("mouseover",function(){
$(this).next().css("display","block");
});
});
});
</script>
<!--------footer-开始-------------->
<include file="public/footer" />
<!--------footer-结束-------------->
</body>
<script>
/*$(function () {
$("#h-s").click(function () {
$('.ec-ta-x').css('left','124px');
$('.ec-ta-x').css('width','110px');
$(this).addClass("cullent");
$('#q-s').removeClass("cullent");
});
});
*/
</script>
<script>
$(function () {
$("#h-s").mouseover(function () {
$('.ec-ta-x').css('left','124px');
$('.ec-ta-x').css('width','110px');
$(this).addClass("cullent");
});
$("#h-s").mouseout(function () {
$('.ec-ta-x').css('left','0px');
$('.ec-ta-x').css('width','124px');
$(this).removeClass("cullent");
});
});
$(function () {
$("#q-s").mouseover(function () {
$('.ec-ta-x').css('left','0px');
$(this).addClass("cullent");
});
$("#q-s").mouseout(function () {
$('.ec-ta-x').css('left','0px');
});
});
</script>
</html>