• home.php
  • /
1 <!DOCTYPE html>
2 <html xmlns=
"http://www.w3.org/1999/xhtml" class="">
3 <head id=
"ctl00_Head1">
4
5     <meta http-equiv=
"content-type" content="text/html; charset=utf8" />
6     <meta http-equiv=
"content-language" content="vi" />
7     <META name=
"title" content="<?php include("system/model/title.php"); echo " ". $title_mt;?>">
8     <meta name=
"description" content="Mua bán thời trang nam nữ, mẹ và bé, phụ kiện công nghệ, gia dụng...khuyến mãi hấp dẫn, vận chuyển toàn quốc. Sàn TMĐT chính thức của công ty KEYMOU."/>
9     <meta name=
"keywords" content="gian hang can tho, mo shop can tho,mua bán thời trang, shop thời trang, mua sắm trực tuyến, mua sắm online, phu kien cong nghe,mua bán thời trang can tho, shop thời trang can tho, mua sắm trực tuyến can tho, mua sắm online can tho, phu kien cong nghe can tho "/>
10     <META name=
"robots" content="noodp,index,follow">
11     <META name=
"revisit-after content"="1 days">
12     <meta name=
"copyright" content="Copyright (C) DANASTAR COMPANY" />
13     
14     <meta name=
"geo.placename" content="Vietnamese">
15     <meta name=
"geo.region" content="VN">
16     <meta name=
"msvalidate.01" content="956500EE46911FC4B5244B34305AF4D1">
17
18     <meta property=
"og:title" content="<?php echo $title_fb; ?>" />
19     <meta property=
"og:description" content="<?php echo $description_fb; ?>" />
20     <meta property=
"og:image" content="<?php echo "http://www.".$home['domain']."/".$image_fb;?>"/>
21     <meta property=
"og:url" content="<?php echo "http://".$_SERVER["SERVER_NAME"].$_SERVER["REQUEST_URI"];?>" />
22     
23     <title><?php include(
"system/model/title.php");echo " ". $title_mt;?></title>
24  
25
26 <link rel=
"shortcut icon" href="images/favicon.png" type="image/x-icon">
27 <link href=
"style/bootstrap.css" rel="stylesheet" type="text/css">
28 <link href=
"style/font-awesome.css" rel="stylesheet" type="text/css">
29 <link href=
"style/style_new.css" rel="stylesheet" type="text/css">
30 <link rel=
"stylesheet" href="style/css.css">
31 <link rel=
"stylesheet" href="style/top.css">
32
33  
34     <script type=
"text/javascript" async="" src="./temp/platform.js" gapi_processed="true"></script>
35
36   <link rel=
"stylesheet" href="style/timkiemsanpham.css">
37   <script src=
"/js/jquery-1.10.2.js"></script>
38   <script src=
"/js/jquery-ui.js"></script>
39
40
41
42
43
44     
45     <script type=
"text/javascript" src="./temp/jquery.jcarousel.min.js"></script>
46     
47     
48  <!-- Add fancyBox main JS and CSS files -->
49     <script type=
"text/javascript" src="/quantri/source/jquery.fancybox.js?v=2.1.5"></script>
50     <link rel=
"stylesheet" type="text/css" href="/quantri/source/jquery.fancybox.css?v=2.1.5" media="screen" />
51     
52     
53     <script type=
"text/javascript" src="./temp/jquery.jcarousel-autoscroll.min.js"></script>
54      <!-- iCheck
for checkboxes and radio inputs -->
55   <link rel=
"stylesheet" href="quantri/plugins/iCheck/all.css">
56     <script type=
"text/javascript" src="./temp/jquery.jcarousel.basic.js"></script>
57     <!-- Pace style -->
58   <link rel=
"stylesheet" href="/quantri/plugins/pace/pace.min1.css">
59   <!-- PACE -->
60     <!-- Bootstrap
3.3.6 -->
61   <!-- Font Awesome -->
62
63   <!-- Ionicons -->
64
65   <!-- jvectormap -->
66   <link rel=
"stylesheet" href="/quantri/plugins/jvectormap/jquery-jvectormap-1.2.2.css">
67     <!-- Bootstrap Color Picker -->
68   <link rel=
"stylesheet" href="/quantri/plugins/colorpicker/bootstrap-colorpicker.min.css">
69    <!-- iCheck
for checkboxes and radio inputs -->
70   <link rel=
"stylesheet" href="/quantri/plugins/iCheck/all.css">
71   <!-- Theme style -->
72
73  
74   <!-- AdminLTE Skins. Choose a skin
from the css/skins
75        folder instead of downloading all of them to reduce the load. -->
76        
77        
78
79     
80     
81 <script>
82   (function(i,s,o,g,r,a,m){i[
'GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
83   (i[r].q=i[r].q||[]).push(arguments)},i[r].l=
1*new Date();a=s.createElement(o),
84   m=s.getElementsByTagName(o)[
0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
85   })(window,document,
'script','//www.google-analytics.com/analytics.js','ga');
86  
87   ga(
'create', 'UA-59479955-2', 'auto');
88   ga(
'send', 'pageview');
89  
90 </script>
91     
92 <script src=
"/quantri/plugins/pace/pace.min.js"></script>
93     <script type=
"text/javascript">
94         $(document).ready(function() {
95
96
97             $(
"#xemsanpham").fancybox({
98                 
'width' : '1100px',
99                 
'height' : '1100px',
100                 
'autoScale' : false,
101                 
'transitionIn' : 'fade',
102                 
'transitionOut' : 'fade',
103                 
'type' : 'iframe',
104                 
'opacity' : 'false',
105             });
106             
107         
108         
109             
110
111         });
112     </script>
113  
114
115
116
117     <title><?php
if($_REQUEST['home']==''){?><?php echo $row_config['title'];?><?}else{?><?}?> <?php include("system/model/title.php");?></title>
118     <script type=
"text/javascript">
119         $(document).ready(function () {
120             $(
'.fancybox-login').fancybox();
121
122             $(
"#d-categories").hover(
123                 function () {
124                     $(
this).addClass("unfold-categories");
125                 },
126                 function () {
127                     $(
this).removeClass("unfold-categories");
128                 });
129         });
130     </script>
131 <style type=
"text/css">.fancybox-margin{margin-right:15px;}</style>
132
133 </head>
134 <body>
135 <!-- popup login -->
136    <div id=
"login_form">
137
138     <div id=
"login_all">
139     <div ><a id=
"cancel_hide" class="fancybox-item fancybox-close" href="<?php echo "https://".$_SERVER["SERVER_NAME"].$_SERVER["REQUEST_URI"];?>#"></a></div>
140        
141       <p style=
"
142     
float: left;
143     width:
100%;
144     color: #0094da;
145     font-size:
200%;
146     font-weight:
700;
147     text-align: center;
148     padding: 20px
0;
149     margin:
0;
150 "
>ĐĂNG NHẬP HỆ THỐNG</p>
151
152         <form action=
"system/home/login.php">
153          <div style=
"
154     text-align: center;
155     color: #F44336;
156 "
id="add_err"></div>
157         <div >
158             <div >
159             <div style=
"
160     
float: left;
161     width:
100%;
162     text-align: left;
163     line-height: 18px;
164     padding: 5px
0;
165     margin: 8px
0 0;
166 "
>Tên đăng nhập:</div>
167             <div ><input type=
"text" class="login_form_input" id="user_name" name="user_name" style="width: 100%;"/></div>
168             </div>
169         </div>
170         <div >
171             <div >
172             <div style=
"
173     
float: left;
174     width:
100%;
175     text-align: left;
176     line-height: 18px;
177     padding: 5px
0;
178     margin: 8px
0 0;
179 "
>Mật khẩu:</div>
180             <div ><input type=
"password" class="login_form_input" id="password_login" name="password_login" style="width: 100%;" /></div>
181             </div>
182         </div>
183         <div >
184            <div>
185             <a style=
"
186     
float: right;
187     padding-top: 8px;
188 "
href="./quen-mat-khau.html">Quên mật khẩu?</a>
189            </div>
190         </div>
191         <div >
192            <div >
193             <input
class="login" type="submit" id="login" value="ĐĂNG NHẬP" />
194         
195            </div>
196 <div style=
"
197     padding: 0px
0;
198     line-height: 42px;
199     margin-left: 34px;
200     font-size: 12px;
201 "
> <span>Bạn chưa có tài khoản?</span> <a target="_blank" href="dang-ky-thanh-vien.html" class="dkn" title="Đăng ký" style="
202     color: #e5101d;
203     font-weight: bold;
204     margin-left: 86px;
205     cursor: pointer;
206 "
>Đăng ký ngay</a> </div>
207         </div>
208         
209         </form>
210         </div>
211     </div>
212     <div id=
"shadow" class="popup_login"></div>
213     <!--end popup login-->
214     
215     <div id=
"bar">
216         <div
class="d-bar">
217             
218            
219             <ul style=
"float:right;">
220 <?php
if(isset($_SESSION['mem'])){
221             ?>
222    <li><a href=
"./thong-tin-tai-khoan.html" class="atop">Xin Chào :
223    
224    
225  
226    
227  <?php
228         $products=mysql_query(
"SELECT Fullname,user FROM thanhvien where user='".$_SESSION['mem']."' ");
229 $products_check_tinhthanh=mysql_fetch_assoc($products);
230
231  
if($products_check_tinhthanh['Fullname'] =="" )
232 {?>
233  <?php echo $_SESSION[
'mem'];?>
234 <?}
else{?>
235  <?php echo $products_check_tinhthanh[
'Fullname'];?>
236  <?}?>
237  
238   
239
240    </a>
241    
242     <ul>
243                 <li><a
class="menuxo" href="./thong-tin-tai-khoan.html" ><i class="fa fa-user" ></i> Thông tin tài khoản</a></li>
244                 <li><a
class="menuxo" href="./quan-ly-don-hang.html"><i class="fa fa-tags" ></i> Theo dõi đơn hàng</a></li>
245                 <li><a
class="menuxo" href="./vi-diem-lua.html"><i class="fa fa-money" ></i> Ví điểm Lửa <span style="color: red;" class="glyphicon glyphicon-fire"></span></a></li>
246                 <li><a
class="menuxo" href="./shop-yeu-thich.html"><i class="fa fa-heart" ></i> Shop yêu thích</a></li>
247                 <!--li><a
class="menuxo" href="./quantri"><i class="fa fa-envelope-o" ></i> Hộp thư</a></li-->
248                 <li><a
class="menuxo" href="logout.php"><i class="fa fa-sign-out"></i> Thoát</a></li>
249
250             </ul>
251    
252    </li>
253
254 <?php
if($_SESSION['log'] =="" )
255 {?>
256            
257            <li><a
class="atop" target="_blank" href="./moshop" style=" background: red; color: #fff; "><i style=" color: #fff; " class="fa fa-fw fa-plus-square"></i> Mở Shop miễn phí</a></li>
258            <?}
else{?>
259            <li><a
class="atop" target="_blank" href="./quantri" style=" background: red; color: #fff; "><i style=" color: #fff; " class="fa fa-fw fa-plus-square"></i> Quản Trị Shop</a></li>
260            <?}?>
261
262         <?php }
else {?>
263         <li><a
class="atop" id="login_a" href="<?php echo "https://".$_SERVER["SERVER_NAME"].$_SERVER["REQUEST_URI"];?>#"><i class="fa fa fa-user"></i> Đăng nhập</a></li>
264  
265             <?php
if($_SESSION['log'] =="" )
266 {?>
267            
268            <li><a
class="atop" target="_blank" href="./moshop" style=" background: red; color: #fff; "><i style=" color: #fff; " class="fa fa-fw fa-plus-square"></i> Mở Shop miễn phí</a></li>
269            <?}
else{?>
270            <li><a
class="atop" target="_blank" href="./quantri" style=" background: red; color: #fff; "><i style=" color: #fff; " class="fa fa-fw fa-plus-square"></i> Quản Trị Shop</a></li>
271            <?}?>
272         <?php } ?>
273
274                 <!--li><a
class="atop" href="./cart.html"><span class="s-icon-cart"></span>Giỏ hàng (<span class="s-number" id="spanGioHang"><? echo count($_SESSION['cart']); ?></span>)</a></li-->
275             </ul>
276              <ul style=
"float:right;">
277                 <!--li><a
class="atop" href="./rao-vat.html">Rao Vặt</a></li-->
278                 <li><a
class="atop" href="help">Trung tâm trợ giúp</a></li>
279                 <li><a
class="atop" href="?home=help&act=views&views=30&cat=4">Tích lũy điểm LỬA <span style="color: red;" class="glyphicon glyphicon-fire"></span></a></li>
280  
281             </ul>
282             
283         </div>
284     
285     </div>
286  
287
288     <div id=
"top5555" >
289     
290      <script>

291
292
293 var
$stickyHeight = 55; // chiều cao của banner quảng cáo
294
295
296 var
$padding = 0; // khoảng cách top của banner khi dính download code tại codefly.vn
297
298
299 var
$topOffset = 590; // khoảng cách từ top của banner khi bắt đầu dính (tức là khoảng cách tính từ trên xuống đến vị trí đặt banner )
300
301
302 var
$footerHeight = 180; // Định vị điểm dừng của banner, tính từ chân lên
303
304
305 /* <![CDATA[ */

306
307
308 function scrollSticky(){
309
310
311  
if($(window).height() >= $stickyHeight) {
312
313
314      
var aOffset = $('#top5555').offset();
315
316
317 if
($(document).height() - $footerHeight - $padding < $(window).scrollTop() + $stickyHeight) {
318
319
320          
var $top = $(document).height() - $stickyHeight - $footerHeight - $padding - 185; $('#nav_on_top').addClass('selected');
321
322
323          $(
'#top5555').attr('style', 'position:absolute; top:'+$top+'px;');
324
325
326
327
328
329
330
331
332      }
else if($(window).scrollTop() + $padding > $topOffset) { $('#nav-top').removeClass('selected');
333
334
335          $(
'#top5555').attr('style', 'position:fixed; top:'+$padding+'px;');
336
337
338 }
else{$('#nav_on_top').addClass('selected');
339
340
341          $(
'#top5555').attr('style', 'position:relative;');
342
343
344      }
345
346
347  }
348
349
350 }
351
352
353 $(window).scroll(function(){
354
355
356  scrollSticky();
357
358
359 });

360
361
362 /* ]]> */

363
364
365 </script>
366     
367     
368     
369     
370         <div
class="d-top">
371             <div
class="d-logo">
372
373                 <h1 itemscope=
"itemscope" itemtype="http://schema.org/Organization">
374                     <a href=
"/" itemprop="url" title="<?php echo $row_config['title'];?>">
375                         <img itemprop=
"logo" alt="<?php echo $row_config['title'];?>" src="<?php echo $row_config['logo'];?>" width="189px" >
376                         
377                     </a>
378                 </h1>
379
380             </div>
381                <div
class="d-adv-top">
382                 <!--a href=
"/" title="Liên hệ đặt quảng cáo"><img alt="Liên hệ đặt quảng cáo" src="<?php echo $row_config['logo_footer'];?>"></a-->
383     <script type=
"text/javascript">
384 $(document).ready(function(){
385     $(
"#login_a_menutop").click(function(){
386         $(
"#shadow").fadeIn("normal");
387          $(
"#login_form").fadeIn("normal");
388          $(
"#user_name").focus();
389     });
390     $(
"#cancel_hide").click(function(){
391         $(
"#login_form").fadeOut("normal");
392         $(
"#shadow").fadeOut();
393    });
394    $(
"#login").click(function(){
395     
396         username=$(
"#user_name").val();
397         password_login=$(
"#password_login").val();
398          $.ajax({
399             type:
"POST",
400             url:
"system/home/login.php",
401             data:
"name="+username+"&pwd="+password_login,
402             success: function(html){
403               
if(html=='true')
404               {
405                 $(
"#login_form").fadeOut("normal");
406                 $(
"#shadow").fadeOut();
407                 $(
"#profile").html("<div style='float: left;'>Xin chào: <?php echo $_SESSION['mem'];?> | </div><div class='style_mem'><ul><li><a href='./?home=member'><font color='#00a2e8'>Quản trị</font></a><ul><li><a href='./?home=member'>+ Trang thành viên</a></li><li><a href='./quantri'>+ Quản trị gian hàng</a></li><li><a href='<?php echo $domain_home;?>/<?php echo $_SESSION['mem'];?>' target='_blank'>+ Xem gian hàng</a></li></ul></li></ul></div><div style='float: left;'> | <a href='logout.php' id='logout'><font color='#ddd'>Thoát</font></a></div>");location="<?php echo "https://".$_SERVER["SERVER_NAME"].$_SERVER["REQUEST_URI"];?>";
408                 
409               }
410               
else
411               {
412                     $(
"#add_err").html("Tên đăng nhập hoặc mật khẩu không đúng");
413               }
414             },
415             beforeSend:function()
416             {
417                  $(
"#add_err").html("Đang tải...")
418             }
419         });
420          
return false;
421     });
422 });
423 </script>
424  
425     <?
if($_SESSION['mem']==''){?>
426   <div> <a
class="box-info-link box-info transit box-cart shopping_cart_modal btn-view-cart" id="login_a_menutop" rel="nofollow" style="
427 border: 1px solid #ac080f;
428     
float: left;
429     position: relative;
430     margin-left: -117px;
431     border: 1px solid #ddd;
432     border-radius: 3px;
433     height: 36px;
434     line-height: 34px;
435     padding:
0 25px 0 13px;
436     cursor: pointer;
437     background-color: #fff;
438     margin-top: 15px;
439     background-color: #c9141b;
440     border: 1px solid #ac080f;
441     color: #fff !important;
442 "
>
443   <!-- <a
class="box-info transit box-cart shopping_cart_modal btn-view-cart" rel="nofollow" title="Giỏ hàng" data-toggle="modal" data-target="#shoppingcartmodal"> -->
444    
445     <i
class="fa fa-shopping-cart"></i> Giỏ hàng
446     <span
class="num cart_qty" style="
447 background-color: #fff;
448     color: #e5101d;
449     border-radius:
100%;
450     width: 18px;
451     height: 20px;
452     font-size: 11px;
453     position: absolute;
454     right: 4px;
455     top: 8px;
456     line-height: 20px;
457     text-align: center;
458 "
><span class="s-number" id="spanGioHang">0</span></a></span>
459    
460   </div>
461     <script type=
"text/javascript">
462 $(document).ready(function(){
463     $(
"#login_a_menutop1").click(function(){
464         $(
"#shadow").fadeIn("normal");
465          $(
"#login_form").fadeIn("normal");
466          $(
"#user_name").focus();
467     });
468     $(
"#cancel_hide").click(function(){
469         $(
"#login_form").fadeOut("normal");
470         $(
"#shadow").fadeOut();
471    });
472    $(
"#login").click(function(){
473     
474         username=$(
"#user_name").val();
475         password_login=$(
"#password_login").val();
476          $.ajax({
477             type:
"POST",
478             url:
"system/home/login.php",
479             data:
"name="+username+"&pwd="+password_login,
480             success: function(html){
481               
if(html=='true')
482               {
483                 $(
"#login_form").fadeOut("normal");
484                 $(
"#shadow").fadeOut();
485                 $(
"#profile").html("<div style='float: left;'>Xin chào: <?php echo $_SESSION['log'];?> | </div><div class='style_mem'><ul><li><a href='./?home=member'><font color='#00a2e8'>Quản trị</font></a><ul><li><a href='./?home=member'>+ Trang thành viên</a></li><li><a href='./quantri'>+ Quản trị gian hàng</a></li><li><a href='<?php echo $domain_home;?>/<?php echo $_SESSION['log'];?>' target='_blank'>+ Xem gian hàng</a></li></ul></li></ul></div><div style='float: left;'> | <a href='logout.php' id='logout'><font color='#ddd'>Thoát</font></a></div>");location="<?php echo "https://".$_SERVER["SERVER_NAME"].$_SERVER["REQUEST_URI"];?>";
486                 
487               }
488               
else
489               {
490                     $(
"#add_err").html("Tên đăng nhập hoặc mật khẩu không đúng");
491               }
492             },
493             beforeSend:function()
494             {
495                  $(
"#add_err").html("Đang tải...")
496             }
497         });
498          
return false;
499     });
500 });
501 </script>
502    <div> <a
class="box-info-link box-info transit box-cart shopping_cart_modal btn-view-cart" id="login_a_menutop1" rel="nofollow" title="Thông báo" style="
503 border: 1px solid #ac080f;
504     
float: left;
505     position: relative;
506     margin-left: 0px;
507     border: 1px solid #ddd;
508     border-radius: 3px;
509     height: 36px;
510     line-height: 34px;
511     padding:
0 27px 0 8px;
512     cursor: pointer;
513     background-color: #fff;
514     margin-top: 15px;
515
516     border: 1px solid #ac080f;
517     color: #
000 !important;
518 "
>
519   <!-- <a
class="box-info transit box-cart shopping_cart_modal btn-view-cart" rel="nofollow" title="Giỏ hàng" data-toggle="modal" data-target="#shoppingcartmodal"> -->
520    
521     <i
class="fa fa-globe" "="" style="color: #fffff;"></i> Thông báo
522     <span
class="num cart_qty" style="
523 background-color: #c9141b;
524     color: #ffffff;
525     border-radius:
100%;
526     width: 18px;
527     height: 20px;
528     font-size: 11px;
529     position: absolute;
530     right: 4px;
531     top: 8px;
532     line-height: 20px;
533     text-align: center;

534 "><span
class="s-number" id="spanGioHang">0</span></a></span>
535    
536   </div>
537   
538     <script type="
text/javascript">
539 $(document).ready(function(){
540     $("
#login_a_menutop2").click(function(){
541         $("
#shadow").fadeIn("normal");
542          $("
#login_form").fadeIn("normal");
543          $("
#user_name").focus();
544     });
545     $("
#cancel_hide").click(function(){
546         $("
#login_form").fadeOut("normal");
547         $("
#shadow").fadeOut();
548    });
549    $("
#login").click(function(){
550     
551         username=$("
#user_name").val();
552         password_login=$("
#password_login").val();
553          $.ajax({
554             type: "
POST",
555             url: "
system/home/login.php",
556             data: "
name="+username+"&pwd="+password_login,
557             success: function(html){
558               
if(html=='true')
559               {
560                 $("
#login_form").fadeOut("normal");
561                 $("
#shadow").fadeOut();
562                 $("
#profile").html("<div style='float: left;'>Xin chào: <?php echo $_SESSION['log'];?> | </div><div class='style_mem'><ul><li><a href='./?home=member'><font color='#00a2e8'>Quản trị</font></a><ul><li><a href='./?home=member'>+ Trang thành viên</a></li><li><a href='./quantri'>+ Quản trị gian hàng</a></li><li><a href='<?php echo $domain_home;?>/<?php echo $_SESSION['log'];?>' target='_blank'>+ Xem gian hàng</a></li></ul></li></ul></div><div style='float: left;'> | <a href='logout.php' id='logout'><font color='#ddd'>Thoát</font></a></div>");location="<?php echo "https://".$_SERVER["SERVER_NAME"].$_SERVER["REQUEST_URI"];?>";
563                 
564               }
565               
else
566               {
567                     $("
#add_err").html("Tên đăng nhập hoặc mật khẩu không đúng");
568               }
569             },
570             beforeSend:function()
571             {
572                  $("
#add_err").html("Đang tải...")
573             }
574         });
575          
return false;
576     });
577 });
578 </script>
579   <div> <a
class="box-info-link box-info transit box-cart shopping_cart_modal btn-view-cart" id="login_a_menutop2" rel="nofollow" title="Sản phẩm yêu thích" style="
580 border: 1px solid #ac080f;
581     
float: left;
582     position: relative;
583     margin-left: 12px;
584     border: 1px solid #ddd;
585     border-radius: 3px;
586     height: 36px;
587     line-height: 34px;
588   padding:
0 28px 0 8px;
589     cursor: pointer;
590     background-color: #fff;
591     margin-top: 15px;
592
593     border: 1px solid #ac080f;
594     color: #
000 !important;
595 ">
596   <!-- <a
class="box-info transit box-cart shopping_cart_modal btn-view-cart" rel="nofollow" title="Giỏ hàng" data-toggle="modal" data-target="#shoppingcartmodal"> -->
597    
598     <i
class="fa fa-heart-o"></i> Yêu thích
599     <span
class="num cart_qty" style="
600 background-color: #c9141b;
601     color: #fff;
602     border-radius:
100%;
603     width: 18px;
604     height: 20px;
605     font-size: 11px;
606     position: absolute;
607     right: 4px;
608     top: 8px;
609     line-height: 20px;
610     text-align: center;

611 "><span
class="s-number" id="spanGioHang">0</span></a></span>
612    
613   </div>
614
615 <?}
else{?>
616
617
618 <div> <a
class="box-info-link box-info transit box-cart shopping_cart_modal btn-view-cart" id="xemsanpham" href="./cart_popup.html" rel="nofollow" style="
619 border: 1px solid #ac080f;
620     
float: left;
621     position: relative;
622     margin-left: -117px;
623     border: 1px solid #ddd;
624     border-radius: 3px;
625     height: 36px;
626     line-height: 34px;
627     padding:
0 25px 0 13px;
628     cursor: pointer;
629     background-color: #fff;
630     margin-top: 15px;
631     background-color: #c9141b;
632     border: 1px solid #ac080f;
633     color: #fff !important;

634 ">
635   <!-- <a
class="box-info transit box-cart shopping_cart_modal btn-view-cart" rel="nofollow" title="Giỏ hàng" data-toggle="modal" data-target="#shoppingcartmodal"> -->
636    
637     <i
class="fa fa-shopping-cart" ></i> Giỏ hàng
638     <span
class="num cart_qty" style="
639 background-color: #fff;
640     color: #e5101d;
641     border-radius:
100%;
642     width: 18px;
643     height: 20px;
644     font-size: 11px;
645     position: absolute;
646     right: 4px;
647     top: 8px;
648     line-height: 20px;
649     text-align: center;

650 "><span
class="s-number" id="spanGioHang"><? echo mysql_num_rows(mysql_query("SELECT * FROM orders where user_mem='".$_SESSION['mem']."' and kichhoat=0 "));?></span></a></span>
651    
652   </div>
653   
654    <div> <a
class="box-info-link box-info transit box-cart shopping_cart_modal btn-view-cart" href="./thongbao.html" rel="nofollow" title="Thông báo" style="
655 border: 1px solid #ac080f;
656     
float: left;
657     position: relative;
658     margin-left: 0px;
659     border: 1px solid #ddd;
660     border-radius: 3px;
661     height: 36px;
662     line-height: 34px;
663     padding:
0 27px 0 8px;
664     cursor: pointer;
665     background-color: #fff;
666     margin-top: 15px;
667
668     border: 1px solid #ac080f;
669     color: #
000 !important;
670 ">
671   <!-- <a
class="box-info transit box-cart shopping_cart_modal btn-view-cart" rel="nofollow" title="Giỏ hàng" data-toggle="modal" data-target="#shoppingcartmodal"> -->
672    
673     <i
class="fa fa-globe" "="" style="color: #fffff;"></i> Thông báo
674     <span
class="num cart_qty" style="
675 background-color: #c9141b;
676     color: #ffffff;
677     border-radius:
100%;
678     width: 18px;
679     height: 20px;
680     font-size: 11px;
681     position: absolute;
682     right: 4px;
683     top: 8px;
684     line-height: 20px;
685     text-align: center;
686 "
><span class="s-number" id="spanGioHang"><? echo mysql_num_rows(mysql_query("SELECT * FROM thongbao where user='".$_SESSION['mem']."' and active=0 "));?></span></a></span>
687    
688   </div>
689   
690   
691   <div> <a
class="box-info-link box-info transit box-cart shopping_cart_modal btn-view-cart" href="./yeuthich.html" rel="nofollow" title="Yêu thích" style="
692 border: 1px solid #ac080f;
693     
float: left;
694     position: relative;
695     margin-left: 12px;
696     border: 1px solid #ddd;
697     border-radius: 3px;
698     height: 36px;
699     line-height: 34px;
700   padding:
0 28px 0 8px;
701     cursor: pointer;
702     background-color: #fff;
703     margin-top: 15px;
704
705     border: 1px solid #ac080f;
706     color: #
000 !important;
707 "
>
708   <!-- <a
class="box-info transit box-cart shopping_cart_modal btn-view-cart" rel="nofollow" title="Giỏ hàng" data-toggle="modal" data-target="#shoppingcartmodal"> -->
709    
710     <i
class="fa fa-heart-o"></i> Yêu thích
711     <span
class="num cart_qty" style="
712 background-color: #c9141b;
713     color: #fff;
714     border-radius:
100%;
715     width: 18px;
716     height: 20px;
717     font-size: 11px;
718     position: absolute;
719     right: 4px;
720     top: 8px;
721     line-height: 20px;
722     text-align: center;
723 "
><span class="s-number" id="spanGioHang"><? echo mysql_num_rows(mysql_query("SELECT * FROM po_tick where user='".$_SESSION['mem']."' "));?></span></a></span>
724    
725   </div>
726 <?}?>
727
728
729             </div>
730             
731 <!--begin search-->
732 <?php include(
"system/home/search_header.php");?>
733 <!--end search-->
734         </div>
735     
736     </div>
737     
738     
739     
740     
741     <div id=
"top5555" style="
742     
float: left;
743     width:
100%;
744     height: 34px;
745     border-bottom: 2px solid #df1f26;
746     background-color: #e60f1e;
747 "
>
748     
749      <script>

750
751
752 var
$stickyHeight = 55; // chiều cao của banner quảng cáo
753
754
755 var
$padding = 0; // khoảng cách top của banner khi dính
756
757
758 var
$topOffset = 590; // khoảng cách từ top của banner khi bắt đầu dính (tức là khoảng cách tính từ trên xuống đến vị trí đặt banner )
759
760
761 var
$footerHeight = 180; // Định vị điểm dừng của banner, tính từ chân lên
762
763
764 /* <![CDATA[ */

765
766
767 function scrollSticky(){
768
769
770  
if($(window).height() >= $stickyHeight) {
771
772
773      
var aOffset = $('#top5555').offset();
774
775
776 if
($(document).height() - $footerHeight - $padding < $(window).scrollTop() + $stickyHeight) {
777
778
779          
var $top = $(document).height() - $stickyHeight - $footerHeight - $padding - 185; $('#nav_on_top').addClass('selected');
780
781
782          $(
'#top5555').attr('style', 'position:absolute; top:'+$top+'px;');
783
784
785
786
787
788
789
790
791      }
else if($(window).scrollTop() + $padding > $topOffset) { $('#nav-top').removeClass('selected');
792
793
794          $(
'#top5555').attr('style', 'position:fixed; top:'+$padding+'px;');
795
796
797 }
else{$('#nav_on_top').addClass('selected');
798
799
800          $(
'#top5555').attr('style', 'position:relative;');
801
802
803      }
804
805
806  }
807
808
809 }
810
811
812 $(window).scroll(function(){
813
814
815  scrollSticky();
816
817
818 });

819
820
821 /* ]]> */

822
823
824 </script>
825     
826     
827     
828     
829         <div
class="d-top">
830             
831            <!--begin menu hover-->
832 <?php include(
"system/home/menu_hover.php");?>
833 <!--end menu hover-->
834
835    <div
class="d-menu-vertical">
836                     
837                         <ul
class="ul-menu-vertical">
838                     
839                                 <li><a title=
"" href="./xuhuong.html"><i class="fa fa-star-o" ></i> XU HƯỚNG</a></li>
840                                 
841                                   <li><a title=
"" href="./spm.html"><i class="fa fa-fw fa-asterisk"></i> SẢN PHẨM MỚI</a></li>
842                     
843                                 <li><a title=
"Các gói gian hàng" href="./khuyenmai.html"><i class="fa fa-check-square" ></i> KHUYẾN MÃI</a></li>
844                     
845                                 <li><a title=
"Báo giá tên miền" href="./banchay.html"><i class="fa fa-globe" ></i> BÁN CHẠY</a></li>
846                     
847                            
848                               
849                               <!--li><a title=
"Báo giá dịch vụ" href="./?home=baogiadichvu"><i class="fa fa-credit-card" ></i> SỰ KIỆN SĂN HÀNG GIÁ RẺ</a></li-->
850                         </ul>
851                     
852                 </div>
853      <div id=
"fb-root"></div>
854 <script>(function(d, s, id) {
855   
var js, fjs = d.getElementsByTagName(s)[0];
856   
if (d.getElementById(id)) return;
857   js = d.createElement(s); js.id = id;
858   js.src =
"//connect.facebook.net/vi_VN/sdk.js#xfbml=1&version=v2.8&appId=835438139859194";
859   fjs.parentNode.insertBefore(js, fjs);
860 }(document,
'script', 'facebook-jssdk'));</script>
861                 <div
class="d-like">
862                     <div style=
"float: left;" class="fb-like" data-href="https://facebook.com/scodeweb" data-layout="button_count" data-action="like" data-show-faces="true" data-share="true"></div>
863                     <div style=
"float:left;margin-left:12px;">
864                    
865                    
866                     </div>
867                 </div>
868                 
869         </div>
870     
871     </div>
872
873     <div id=
"page">
874           
875  
876           
877           
878           
879           
880           
881         <div
class="d-content">
882         
883     
884             
885                       
886 <?php
if($_REQUEST['home']=='')
887 {?>
888     <div
class="d-top-content">
889     <!--begin menu-->
890 <?php include(
"system/home/menu_left.php");?>
891 <!--end menu-->
892         <div
class="d-top-content-center">
893 <?php include(
"system/home/slider.php");?>
894             <div id=
"ctl00_MainContent_advertcategory" class="d-sub-nav">
895
896             
897         <a href=
"./phu-kien-cong-nghe-ct-20.html" title="Phụ kiện đang HOT">
898             <center><img width=
"110" height="80" src="./images/icon_destop.png" alt="Máy tính linh kiện"></center>
899             <span style=
"top:74px;">Phụ kiện đang HOT</span>
900         </a>
901
902         <a href=
"./thoi-trang-nu-ct-367.html" title="Xu hướng thời trang">
903              <center> <img width=
"110" height="80" src="./images/icon_mobile_internet.png" alt="Điện thoại viễn thông"></center>
904             <span style=
"top:174px;">Xu hướng thời trang</span>
905         </a>
906
907         <a href=
"./giay-dep---tui-xach-ct-31.html" title="Giày theo cách">
908              <center> <img width=
"110" height="80" src="./images/icon_bds.png" alt="Đồ gia dụng nhà cửa"></center>
909             <span style=
"top:274px;">Giày theo cách</span>
910         </a>
911 </div>
912 <!--bengin box pro top-->
913 <?php include(
"system/home/pro_top.php");?>
914 <!--end box pro top-->
915         </div>
916
917         <div
class="d-top-content-right">
918 <!--begin box pro hot-
919 <a title=
"Đăng ký gian hàng" href="/dang-ky-gian-hang.html">
920
921 <img alt=
"Đăng ký gian hàng" src="Images/dang-ky-gian-hang.jpg"> </a>
922 <!--end box pro hot-->
923 <!--begin pro sale-->
924
925
926 <?php include(
"system/home/pro_hot.php");?>
927
928
929
930 <!--begin pro sale-->
931
932
933
934
935   <!--begin shop vip-->
936 <?php include(
"system/home/pro_new.php");?>
937  
938  
939 <!--end shop vip-->
940 <!--?php include(
"system/home/box_support.php");?-->
941         </div>
942
943     </div>
944
945     <div id=
"ctl00_MainContent_advertfullpage"></div>
946
947     <div id=
"ctl00_MainContent_left_module" class="d-content-left">
948         <div
class="d-adv">
949 <?php
950     $sql_ads=@mysql_query(
"SELECT * FROM ads where cat_id=0 order by thutu ");
951     
while($row_ads=@mysql_fetch_array($sql_ads))
952     {
953     ?>
954 <?}?>
955         </div>
956         
957 <!--begin pro sale-->
958 <?php include(
"system/home/pro_sale.php");?>
959 <!--begin pro sale-->
960
961 <!--begin pro sale-->
962 <?php include(
"system/home/pro_home.php");?>
963 <!--end pro home-->
964  
965  
966 <!-- Shopcantho.vn -->
967  
968 </div>
969         
970 <div id=
"ctl00_MainContent_right_module" class="d-content-right">
971 <!-- ?php include(
"system/home/adv_vip.php");?
972 <div
class="d-adv">
973 <a target=
"_blank" href="" title="Liên hệ quảng cáo">
974 <img alt=
"Liên hệ quảng cáo" width="100%" src="./images/quang-cao.gif">
975 </a>
976 </div-->
977
978 <!--begin pro
new-->
979 <!--?php include(
"system/home/pro_new.php");?-->
980 <!--end pro
new-->
981
982 </div>
983 <?}
else{?>
984 <?php include(
"system/model/frame.php");?>
985 <?}?>
986         
987         </div>
988     
989     </div>
990  
991 <?php

992 if
(isset($_POST['Save_sendmail']))
993 {
994     $email_footer=$_POST[
'email'];
995     $date = date(
"d-m-Y");
996     $sql_bx=mysql_query(
"SELECT * FROM email where email='".$email_footer."' ");
997     $toalt_bx=mysql_num_rows($sql_bx);
998     
if($toalt_bx<=0)
999     {
1000       $sql_baoxau=@mysql_query(
"INSERT INTO email(email,date) VALUES('".$email_footer."','".$date."')");
1001         
if($sql_baoxau)
1002         {
1003             echo
"<script>alert('Cảm ơn bạn đã đăng ký nhận Email khuyến mại của chúng tôi!')</script>";
1004         }
1005         
else
1006         {
1007             $err=
"Không thể đăng tin được !";
1008         }
1009     }
1010     
else
1011     {
1012         echo
"<script>alert('Email này của bạn đã tồn tại trên hệ thống!')</script>";
1013     }
1014     
1015 }
1016 ?>
1017 <script>
1018 function validateForm()
1019 {

1020 var
x=document.forms["nhan_email"]["email"].value;
1021 var
atpos=x.indexOf("@");
1022 var
dotpos=x.lastIndexOf(".");
1023 if
(atpos<1 || dotpos<atpos+2 || dotpos+2>=x.length)
1024   {
1025   alert(
"Địa chỉ email không hợp lệ");
1026   
return false;
1027   }
1028 }
1029 </script>
1030 <div id=
"mail-register">
1031             <div
class="container">
1032                 <div
class="row">
1033                     <div
class="mail-register-cont">
1034                         <strong>Đăng ký nhận thông tin sản phẩm khuyến mãi</strong>
1035                         <div
class="ques">&nbsp;</div>
1036                         <form style=
"display: inline;" name="nhan_email" action="" onsubmit="return validateForm();" method="POST">
1037                         <input type=
"email" id="email_newsletter" name="email" placeholder="Nhập mail của bạn">
1038                         <button name=
"Save_sendmail" id="register_newsletter">Đăng ký</button>
1039                         </form>
1040                     </div>
1041                 </div>
1042             </div>
1043         </div>
1044     <div id=
"footer">
1045         <div
class="d-footer">
1046             <ul
class="ul-footer">
1047 <?php
1048 $sql_info_cat=mysql_query(
"SELECT * FROM help_cat where status=1 order by thutu limit 4");
1049 for
($i=1;$i<=4&&$row_info_cat=mysql_fetch_array($sql_info_cat);$i++)
1050 {

1051 if
($i=='1')
1052 {
1053 $div=
"first";
1054 }

1055 else

1056 {
1057 $div=
"";
1058 }
1059 ?>
1060                 <li
class="<?php echo $div;?>">
1061                     <h4><?php echo $row_info_cat[
'name'];?></h4>
1062                     <ul
class="ul-group-footer <?php echo $div;?>">
1063 <?php
1064 $sql_info=mysql_query(
"SELECT * FROM help where cat_id='".$row_info_cat['id']."' order by thutu limit 4 ");
1065 while
($row_info=mysql_fetch_array($sql_info))
1066 {?>
1067 <li><a title=
"<?php echo $row_info['name'];?>" href="./help/<?php echo doidau(mb_strtolower($row_info['name'],"UTF8"));?>-vh-<?php echo $row_info['id'];?>-<?php echo $row_info['cat_id'];?>.html"><?php echo $row_info['name'];?></a></li>
1068 <?}?>
1069                     </ul>
1070                 </li>
1071 <?}?>
1072             </ul>
1073         
1074             <div
class="d-copyright">
1075                 <div
class="d-copyright-left">
1076                     <p><b><?php echo $row_config[
'title_footer'];?></b></p>
1077                     <p><b>Địa chỉ:</b> <?php echo $row_config[
'address'];?></p>
1078                     <p><b>Điện thoại:</b> <?php echo $row_config[
'phone'];?></p>
1079                     <p><b>Email:</b> <?php echo $row_config[
'email'];?></p>
1080                     <p><b>GPKD số:</b>
1801406109</p>
1081                 </div>
1082                 <div
class="d-copyright-right">
1083                     <a target=
"_blank" href="http://www.online.gov.vn/CustomWebsiteDisplay.aspx?DocId=21399"><img alt="Gianghangso.com đã đăng ký với Bộ Công Thương" src="./temp/icon_bocongthuong.png"></a>
1084                 </div>
1085             
1086             </div>
1087         </div>
1088     
1089     </div>
1090
1091  
1092
1093
1094 </body>
1095 </html>
1096 <script type=
"text/javascript">
1097 $(document).ready(function(){
1098     $(
"#login_a").click(function(){
1099         $(
"#shadow").fadeIn("normal");
1100          $(
"#login_form").fadeIn("normal");
1101          $(
"#user_name").focus();
1102     });
1103     $(
"#cancel_hide").click(function(){
1104         $(
"#login_form").fadeOut("normal");
1105         $(
"#shadow").fadeOut();
1106    });
1107    $(
"#login").click(function(){
1108     
1109         username=$(
"#user_name").val();
1110         password_login=$(
"#password_login").val();
1111          $.ajax({
1112             type:
"POST",
1113             url:
"system/home/login.php",
1114             data:
"name="+username+"&pwd="+password_login,
1115             success: function(html){
1116               
if(html=='true')
1117               {
1118                 $(
"#login_form").fadeOut("normal");
1119                 $(
"#shadow").fadeOut();
1120                 $(
"#profile").html("<div style='float: left;'>Xin chào: <?php echo $_SESSION['mem'];?> | </div><div class='style_mem'><ul><li><a href='./?home=member'><font color='#00a2e8'>Quản trị</font></a><ul><li><a href='./?home=member'>+ Trang thành viên</a></li><li><a href='./quantri'>+ Quản trị gian hàng</a></li><li><a href='<?php echo $domain_home;?>/<?php echo $_SESSION['mem'];?>' target='_blank'>+ Xem gian hàng</a></li></ul></li></ul></div><div style='float: left;'> | <a href='logout.php' id='logout'><font color='#ddd'>Thoát</font></a></div>");location="<?php echo "https://".$_SERVER["SERVER_NAME"].$_SERVER["REQUEST_URI"];?>";
1121                 
1122               }
1123               
else
1124               {
1125                     $(
"#add_err").html("Tên đăng nhập hoặc mật khẩu không đúng");
1126               }
1127             },
1128             beforeSend:function()
1129             {
1130                  $(
"#add_err").html("Đang tải...")
1131             }
1132         });
1133          
return false;
1134     });
1135 });
1136 </script>
1137
1138
1139 <script>

1140 // kéo xuống khoảng cách 600px thì xuất hiện nút Top-up

1141 var
offset = 300;
1142
1143 // thời gian di trượt
0.95s ( 1000 = 1s )
1144 var
duration = 950;
1145 $(function(){
1146 $(window).scroll(function () {

1147 if
($(this).scrollTop() > offset) $('#top-up').fadeIn(duration);
1148 else
$('#top-up').fadeOut(duration);
1149 });
1150 $(
'#top-up').click(function () {
1151 $(
'body,html').animate({scrollTop: 0}, duration);
1152 });
1153 });
1154 </script>
1155 <div id=
"top-up"><i class="fa fa-arrow-circle-o-up"></i></div>
1156 <style>
1157 #top-up {
1158 background:none;
1159 font-size: 3em;
1160 cursor: pointer;
1161 position:
fixed;
1162 z-index:
99999;// đè lên tất cả nôị dung đi qua nó
1163 color: green;
1164 bottom: 0px;
1165 right: 5px;
1166 display: none;
1167 }
1168 </style>



Full source code website bán hàng thương mại điện tử gần giống shopee 467.242 lượt xem

Gõ tìm kiếm nhanh...