-
Notifications
You must be signed in to change notification settings - Fork 27
/
index.php
168 lines (167 loc) · 6.24 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
<?php
session_start();
include_once 'conn.php';
?>
<html>
<head>
<title>아듦밗잿斤口溝固</title>
<link rel="stylesheet" href="css/bootstrap.min.css" />
<link rel="stylesheet" href="css/swiper-3.4.2.min.css" />
<link rel="stylesheet" href="css/style.css" />
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>
<body>
<!--庫꼬-->
<div class="content"><?php include_once 'head_nav.php';?></div>
<!--庫꼬end-->
<!--쫴꺄暠-->
<div class="banner" id="banner">
<div id="myCarousel" class="carousel slide imgbox" id="bannerimg">
<!-- 쫴꺄(Carousel)寧깃 -->
<ol class="carousel-indicators">
<li data-target="#myCarousel" data-slide-to='0' class="active"></li>
<li data-target="#myCarousel" data-slide-to='1' class=""></li>
<li data-target="#myCarousel" data-slide-to='2' class=""></li>
</ol>
<!-- 쫴꺄(Carousel)淃커 -->
<div class="carousel-inner">
<div class="item active"><img src="img/banner01.jpg" alt="쫴꺄暠1" title="쫴꺄1"></div>
<div class="item"><img src="img/banner02.jpg" alt="쫴꺄暠2" title="쫴꺄2"></div>
<div class="item"><img src="img/banner03.jpg" alt="쫴꺄暠3" title="쫴꺄3"></div>
</div>
</div>
</div>
<!--쫴꺄暠end-->
<!--아듦膽쁨-->
<div class="hotel_show content">
<div class="com_top clearfix">
<div class="fl">
<h4>아듦膽쁨</h4>
<p>HOTEL DISCOUNT</p>
</div>
<div class="fr sesarch">
<div class="search_box">
<form action="user_news.php" method="post" name="formsearch" id="formsearch">
<input type="text" name="name" class="input fl" id="name" placeholder="헝渴흙아듦膽쁨츰냔" autocomplete="off">
<input type='text' style='display:none'> <!-- 濾뚤firefox -->
<input type="submit" class="btnimg fl" id="btn" src="img/glass.png">
</form>
</div>
</div>
</div>
<div class="con_box clearfix">
<ul class="hotel_show_ul clearfix">
<!--아듦膽쁨劤壙鑒앴-->
<?php
$sql="select name,id,addtime,context,picture from xinwentongzhi where cls='아듦膽쁨' order by id desc";
$query=mysql_query($sql);
$rowscount=mysql_num_rows($query);
if($rowscount>0)
{
for($i=0;$i<$rowscount;$i++)
{
if($i==6)
{
break ;
}
?>
<li class="clearfix">
<div class="img fl"><img src="<?php echo mysql_result($query,$i,"picture");?>" alt="<?php echo mysql_result($query,$i,"name");?>" title="<?php echo mysql_result($query,$i,"name");?>"></div>
<div class="con fl">
<div class="title_top clearfix">
<h4 class="fl"><a href="user_newdetail.php?id=<?php echo mysql_result($query,$i,"id");?>" class="txt_overflow"><?php echo mysql_result($query,$i,"name");?></a></h4>
<p class="fl titme"><?php echo date('Y-m-d',strtotime(mysql_result($query,$i,"addtime")));?></p>
</div>
<div class="con_bottom txt_con_bottom"><?php echo mysql_result($query,$i,"context");?></div>
<a href="user_newdetail.php?id=<?php echo mysql_result($query,$i,"id");?>" class="more">꿴였圈헙</a>
</div>
</li>
<?php
}
}
?>
<!--아듦劤壙鑒앴end-->
</ul>
<a href="user_news.php?lb=아듦膽쁨" class="check_more">꿴였뫘뜩</a>
</div>
</div>
<!--아듦膽쁨end-->
<!--렛와斤口-->
<div class="room_msg content">
<div class="com_top clearfix">
<div class="fl">
<h4>와렛斤口</h4>
<p>GUEST ROOM</p>
</div>
<a href="user_roomlist.php"> >>뫘뜩</a>
</div>
<div class="swiper-container">
<div class="swiper-wrapper">
<?php $sql="select * from jiudianxinxi where picture<>''";
$sql=$sql." order by id desc";
$query=mysql_query($sql);
$rowscount=mysql_num_rows($query);
for($i=0;$i<$rowscount;$i++)
{
if($i<=5)
{
?>
<div class="swiper-slide" id="room_slide">
<a href="<?php echo mysql_result($query,$i,"picture");?>">
<div class="img"><img src="<?php echo mysql_result($query,$i,"picture");?>" alt="<?php echo mysql_result($query,$i,"name");?>" title="<?php echo mysql_result($query,$i,"name");?>"/></div>
<p class="name"><?php echo mysql_result($query,$i,"name");?></p>
</a>
</div>
<?php
}
}
?>
</div>
</div>
</div>
<!--렛와斤口end-->
<!--아듦썽-->
<div class="hotel_tro content">
<div class="com_top clearfix">
<div class="fl">
<h4>아듦썽</h4>
<p>Hotel Introduction</p>
</div>
</div>
<div class="text_con">
<?php
$sql="select * from dx where leibie='아듦썽'";
$query=mysql_query($sql);
$rowscount=mysql_num_rows($query);
if($rowscount==0)
{?>
<div class="date_null">董轟아듦썽</div>
<?php }
else
{
?>
<p><?php echo mysql_result($query,0,"content");?>
<?php
}
?>
</p>
</div>
<ul class="hotel_tro_ul clearfix">
<li><img src="img/about_img0.jpg" alt="아듦썽暠튬1" title="아듦썽暠튬1"/></li>
<li><img src="img/about_img1.jpg" alt="아듦썽暠튬2" title="아듦썽暠튬2"/></li>
<li><img src="img/about_img2.jpg" alt="아듦썽暠튬3" title="아듦썽暠튬3"/></li>
<li><img src="img/about_img3.jpg" alt="아듦썽暠튬4" title="아듦썽暠튬4"/></li>
</ul>
</div>
<!--아듦썽end-->
<!--鬧꿍되쩌-->
<div>
<?php include_once 'userreg.php';?>
</div>
<!--鬧꿍되쩌-->
<script src="js/jquery-2.1.3.min.js" type="text/javascript" charset="utf-8"></script>
<script src="js/bootstrap.min.js" type="text/javascript" charset="utf-8"></script>
<script src="js/swiper-3.4.2.jquery.min.js" type="text/javascript" charset="utf-8"></script>
<script src="js/index.js" type="text/javascript" charset="utf-8"></script>
</body>
</html>