-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathindex.php
280 lines (254 loc) · 9.99 KB
/
index.php
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
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
<?php
include 'ayangw/common.php';
if(strpos($_SERVER['HTTP_USER_AGENT'], 'QQ/')!==false && $conf['qqtz']==1){
header("Content-Type: text/html; charset=utf-8");
echo '<!DOCTYPE html>
<html>
<head>
<title>请使用浏览器打开</title>
<script src="https://open.mobile.qq.com/sdk/qqapi.js?_bid=152"></script>
<script type="text/javascript"> mqq.ui.openUrl({ target: 2,url: "'.$siteurl.'"}); </script>
</head>
<body></body>
</html>';
exit;
}
$rs=$DB->query("select * from ayangw_type");
$select = "";
while ($row = $DB->fetch($rs)){
$select.='<option value="'.$row['id'].'">'.$row['tName'].'</option>';
}
?>
<!DOCTYPE HTML>
<html lang="en-US">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0, minimal-ui">
<title><?php echo $conf['title'];?></title>
<meta name="keywords" content="<?php echo $conf['keywords'];?>" />
<meta name="description" content="<?php echo $conf['description'];?>" />
<link rel="stylesheet" href="css/bootstrap.css" />
<link rel="stylesheet" href="css/font-awesome.min.css" />
<link rel="stylesheet" href="css/fancy-buttons.css" />
<!--=== Other CSS files ===-->
<link rel="stylesheet" href="css/animate.css" />
<link rel="stylesheet" href="css/jquery.vegas.css" />
<link rel="stylesheet" href="css/jquery.bxslider.css" />
<!--=== Main Stylesheets ===-->
<link rel="stylesheet" href="css/style.css" />
<link rel="stylesheet" href="css/responsive.css" />
<!--=== Internet explorer fix ===-->
<!-- [if lt IE 9]>
<script src="http://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<script src="http://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
<![endif] -->
<link rel="shortcut icon" type="image/x-icon" href="assets/imgs/4.png" media="screen" />
<script src="//cdn.bootcss.com/jquery/1.12.4/jquery.min.js"></script>
<script src="//cdn.bootcss.com/jquery-cookie/1.4.1/jquery.cookie.min.js"></script>
<script src="layer/layer.js"></script>
<script src="js/ayangw.js"></script>
<script type="text/javascript">
$(function(){
getPoint($("#tp_tid"));
})
</script>
<style>
img.logo{width:14px;height:14px;margin:0 5px 0 3px;}
</style>
</head>
<body>
<!--=== Header section Starts ===-->
<div id="header" class="header-section">
<!-- sticky-bar Starts-->
<div class="sticky-bar-wrap">
<div class="sticky-section">
<div id="topbar-hold" class="nav-hold container">
<nav class="navbar" role="navigation">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target=".navbar-responsive-collapse">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<!--=== Site Name ===-->
<a class="site-name navbar-brand" href="/">
<?php echo $conf['title'];?></a>
</div>
<!-- Main Navigation menu Starts -->
<div class="collapse navbar-collapse navbar-responsive-collapse">
<ul class="nav navbar-nav navbar-right">
<li class="current"><a href="/">在线购买下单</a></li>
<li><a href="getkm.php">订单查询提卡</a></li>
</ul>
</div>
<!-- Main Navigation menu ends-->
</nav>
</div>
</div>
</div>
<!-- sticky-bar Ends-->
<!--=== Header section Ends ===-->
<!--=== Home Section Starts ===-->
<div id="section-home" class="home-section-wrap center">
<div class="section-overlay"></div>
<div class="container home">
<div class="row">
<h1 class="well-come">购买须知【用户必看】</h1>
<div class="col-md-8 col-md-offset-2">
<p class="intro-message">本站域名:<?php echo $_SERVER['HTTP_HOST']?></p>
<p class="intro-message">客服QQ:<?php echo $conf['zzqq']?></p>
<p class="intro-message"><?php echo $conf['notice1']?></p>
<p class="intro-message"><?php echo $conf['notice2']?></p>
<p class="intro-message"><?php echo $conf['notice3']?></p>
<div class="home-buttons">
<a href="#" class="fancy-button button-line button-white zoom">
快速
<span class="icon">
<i class="fa fa-paper-plane-o"></i>
</span>
</a>
<a href="#" class="fancy-button button-line button-white zoom">
及时
<span class="icon">
<i class="fa fa-clock-o"></i>
</span>
</a>
<a href="#" class="fancy-button button-line button-white zoom">
稳定
<span class="icon">
<i class="fa fa-sign-in"></i>
</span>
</a>
</div>
</div>
</div>
</div>
</div>
<!--=== Home Section Ends ===-->
</div>
<!--=== Testimonials section Starts ===-->
<section id="section-testimonials" class="testimonials-wrap">
<div class="section-overlay"></div>
<div class="container testimonials animated" data-animation="rollIn" data-animation-delay="500">
<div class="row">
<div class="col-md-8 col-md-offset-2">
<form class="contact-form support-form" >
<div class="col-lg-12">
<div class="form-group">
<div class="input-group">
<div class="input-group-addon">商品分类</div>
<select name="tp_id" id="tp_tid" class="input-field form-item field-name placeholder" onchange="getPoint(this);">
<?php echo $select?>
</select>
</div>
</div>
<div class="form-group">
<div class="input-group">
<div class="input-group-addon">选择商品</div>
<select name="gid" id="gid" class="input-field form-item field-name placeholder" onchange="getPrice(this)">
</select>
</div>
</div>
<div class="form-group">
<div class="panel panel-default">
<div class="panel-body" id="ginfo" style="display: none;color: #000000;text-align: center;"></div>
</div>
</div>
</div>
<div class="col-lg-12">
<div class="form-group">
<div class="input-group">
<div class="input-group-addon">商品价格</div>
<input id="need" class="input-field form-item field-name placeholder" type="text" required="required" name="need" disabled="">
</div>
</div>
<div class="form-group" <?php if($conf['showKc'] == 2) echo "style='display:none;'"?>>
<div class="input-group">
<div class="input-group-addon">商品库存</div>
<input id="kc" class="input-field form-item field-name placeholder" type="text" name="kc" disabled="" >
</div>
</div>
<div class="form-group">
<div class="input-group">
<div class="input-group-addon">联系方式</div>
<input id="lx" class="input-field form-item field-name placeholder" type="text" name="lx" required="required" placeholder="输入您的QQ,QQ可作为你的提取密码">
</div>
</div>
<div class="form-group">
<div class="input-group">
<div class="input-group-addon">支付方式</div>
<div class="input-field form-item field-name pay-style">
<label class="radio-inline">
<input type="radio" name="type" id="alipay" value="alipay" title="支付宝">
<img src="images/alipay.ico" alt="" width="16px"/>
<span>支付宝</span>
</label>
<label class="radio-inline">
<input type="radio" name="type" id="wxpay" value="wxpay" title="微信">
<img src="images/wechat.ico" alt="" />
<span>微信</span>
</label>
<label class="radio-inline">
<input type="radio" name="type" id="qqpay" value="qqpay" title="QQ钱包">
<img src="images/qqpay.ico" alt="" />
<span>QQ钱包</span>
</label>
<label class="radio-inline">
<input type="radio" name="type" id="tenpay" value="tenpay" title="财付通">
<img src="images/tenpay.ico" alt="" />
<span>财付通</span>
</label>
</div>
</div>
</div>
</div>
<div class="center">
<button type="button" class="fancy-button button-line button-white large zoom subform" id="submit_buy">
立即购买
<span class="icon">
<i class="fa fa-paper-plane-o"></i>
</span>
</button>
<a href="http://wpa.qq.com/msgrd?v=3&uin=<?php echo $conf['zzqq']?>&site=qq&menu=yes" class="fancy-button button-line button-white large zoom subform">
联系客服
<span class="icon">
<i class="fa fa-headphones"></i>
</span>
</a>
</div>
</form>
</div>
</div>
</div>
</section>
<!--=== Testimonials section Ends ===-->
<!--=== Footer section Starts ===-->
<div id="section-footer" class="footer-wrap">
<div class="container footer center">
<?php echo $conf['foot']?>
<div class="row">
<div class="col-lg-12">
<p class="copyright">Copyright © 2017 <?php echo $conf['title'];?></p>
</div>
</div>
</div>
</div>
<!--=== Footer section Ends ===-->
<!--==== Js files ====-->
<!--==== Essential files ====-->
<script type="text/javascript" src="js/jquery-1.11.1.min.js"></script>
<script type="text/javascript" src="js/bootstrap.min.js"></script>
<script type="text/javascript" src="js/bootstrapValidator.min.js"></script>
<script type="text/javascript" src="js/modernizr.js"></script>
<script type="text/javascript" src="js/jquery.easing.1.3.js"></script>
<!--==== Slider and Card style plugin ====-->
<script type="text/javascript" src="js/jquery.vegas.min.js"></script>
<script type="text/javascript" src="js/jquery.bxslider.min.js"></script>
<!--==== Scroll and navigation plugins ====-->
<script type="text/javascript" src="js/jquery.nav.js"></script>
<script type="text/javascript" src="js/jquery.appear.js"></script>
<!--==== Custom Script files ====-->
<script type="text/javascript" src="js/custom.js"></script>
</body>
</html>