1 <?require("system/model/config.php") ?>
2 <? require(
"system/model/common_start.php") ?>
3 <? require(
"system/model/module_func.php") ?>
4 <? require(
"system/model/tiengviet.php") ?>
5 <? include(
"system/model/curency.php") ?>
6 <? include(
"system/model/pro_tick.php") ?>
7 <?
8 $id=$_GET[
'id'];
9 $name=$_GET[
'name'];
10 $sql =
"select * from avd where id='".$id."' ";
11 $result = @mysql_query($sql,$con);
12 $row=mysql_fetch_assoc($result);
13 $sql_user=mysql_query(
"SELECT * FROM user_shop where user='".$row['user']."' ");
14 $row_user=mysql_fetch_assoc($sql_user);
15 $sql_city=mysql_query(
"SELECT * FROM city where id='".$row['city']."' ");
16 $row_city=mysql_fetch_assoc($sql_city);
17 $sqlup =
"update avd set views=views+1 where id=$id";
18 $resultup = mysql_query($sqlup,$con);
19 $sql_cr=mysql_query(
"SELECT * FROM currency where id='".$row['currency']."'");
20 $row_cr=mysql_fetch_assoc($sql_cr);
21 ?>
22 <!DOCTYPE html>
23 <html>
24 <head>
25 <meta http-equiv=
"Content-Type" content="text/html; charset=UTF-8" />
26 <title><?echo $row_pro[
'name'];?></title>
27 <meta name=
"viewport" content="initial-scale=1, maximum-scale=1.0, minimum-scale=1.0">
28 <meta name=
"format-detection" content="telephone=yes">
29 <meta name=
"apple-mobile-web-app-capable" content="yes">
30 <meta name=
"apple-mobile-web-app-status-bar-style" content="black">
31 <link rel=
"stylesheet" type="text/css" href="template/css/style_all_v3.css">
32 <script type=
"text/javascript" src="template/js/js_all_v3.js"></script>
33 <script>
34                                     $(function(){
35                                         
try{
36                                                 $(document).pjax(
"a[data-pjax]","#home");
37                                         }
catch(err)
38                                         {
39
40                                         }
41                                     })
42 </script>
43 </head>
44 <body>
45 <div id=
"home">
46 <div id=
"home_content" class="fixed">
47     <div id=
"main_container">
48     
49     <div id=
"detail_product_ss">
50 </div>
51 <div id=
"detail_overlay" class="filter_ov">
52     <div
class="product_picture_slide">
53         <div id=
"galleryTouch">
54             <ul id=
"imgs" class="list_image">
55                                         <li
class="slide_item">
56                             <div
class="img_box">
57                                 <img id=
"sl_0" alt="<?echo $row['name'];?>" title="<?echo $row['name'];?>" src="/themes/v1/css/loading.gif" data-src="<?echo $row['image'];?>" />
58                             </div>
59                         </li>
60                                 </ul>
61         </div>
62         <div
class="slide_control">
63             <span
class="sl_back"></span>
64             <span
class="sl_next"></span>
65         </div>
66         <div
class="slide_bottom">
67             <span id=
"sl_current">1</span> / <span id="total_img"> 1 ảnh</span>
68             <a href=
"./ad/<?php echo doidau(mb_strtolower($row['name'],"UTF8"));?>-va-<?php echo $row['id'];?>-<?php echo $row['adv_cat'];?>.html" class="close_slide" title="close"></a>
69         </div>
70     </div>
71     <div
class="break_module"></div>
72         <script>
73         $(document).ready(function(){
74             $(
'.slide_item').removeClass('hide');
75             detail_slide(
'#galleryTouch','#imgs','#sl_',1,1,0);
76         })
77     </script>
78     
79 </div>
80
81     <div style=
"text-align: center; padding-top: 10px;"></div>
82         
83     </div>
84 </div>
85 </div>
86                 <script>
87             
var i=0;
88                 setTimeout(function(){
89                     $(function(){
90                         $(
'ins[class=adsbygoogle]').each(function() {
91                             
if(this.style.display=="block"){
92                                 $(
'.price_exclusive_btn').css({bottom:65});
93                             }
94                         });
95                     });
96                 },
2500);
97                 
98             </script>
99             </body>
100 </html>
101 <?require(
"system/model/common_end.php") ?>


Tìm kết quả nhanh