-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrreth_filmit.php
212 lines (146 loc) · 7.87 KB
/
rreth_filmit.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
<!doctype html>
<html>
<head>
<!-- Basic Page Needs -->
<meta charset="utf-8">
<title>Prime Cinema | Rreth Filmit</title>
<link rel="icon" href="admin/favicon.jpg" type="image/x-icon">
<!-- Mobile Specific Metas-->
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta content="telephone=no" name="format-detection">
<!-- Fonts -->
<!-- Font awesome - icon font -->
<link href="http://nethna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css" rel="stylesheet">
<!-- Roboto -->
<link href='http://fonts.googleapis.com/css?family=Roboto:400,700' rel='stylesheet' type='text/css'>
<!-- Stylesheets -->
<!-- jQuery UI -->
<link href="http://code.jquery.com/ui/1.10.4/themes/smoothness/jquery-ui.css" rel="stylesheet">
<!-- Mobile menu -->
<link href="css/gozha-nav.css" rel="stylesheet" />
<!-- Select -->
<link href="css/external/jquery.selectbox.css" rel="stylesheet" />
<!-- Swiper slider -->
<link href="css/external/idangerous.swiper.css" rel="stylesheet" />
<!-- Magnific-popup -->
<link href="css/external/magnific-popup.css" rel="stylesheet" />
<!-- Custom -->
<link href="css/style.css?v=1" rel="stylesheet" />
<!-- Modernizr -->
<script src="js/external/modernizr.custom.js"></script>
<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
<script src="http://cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7/html5shiv.js"></script>
<script src="http://cdnjs.cloudflare.com/ajax/libs/respond.js/1.3.0/respond.js"></script>
<![endif]-->
</head>
<body>
<?php include('header.php');
include('dbcon.php');?>
<div class="wrapper">
<?php
$id=$_GET['id'];
$query=mysql_query("select * from filma where film_id='$id'")or die (mysql_error());
$row=mysql_fetch_array($query);?>
<br><br>
<!-- Main content -->
<section class="container">
<div class="col-sm-12">
<div class="movie">
<h2 class="page-heading"><?php echo $row['film_emer'];?></h2>
<div class="movie__info">
<div class="col-sm-4 col-md-3 movie-mobile">
<div class="movie__images">
<span class="movie__rating"><?php echo $row['fim_imdb'];?></span>
<img alt='' width="257" height="376" src="admin/images/filma/<?php echo $row['film_image'];?>">
</div>
</div>
<div class="col-sm-8 col-md-9">
<p class="movie__option"><strong>Viti: </strong><?php echo $row['film_vit'];?></p>
<p class="movie__option"><strong>Kategori: </strong><?php echo $row['film_kategori'];?></p>
<p class="movie__option"><strong>Autori: </strong><?php echo $row['film_autor'];?></p>
<h2 class="page-heading">Permbajtja</h2>
<p class="movie__describe"><?php echo $row['film_permbajtje'];?></p>
<div class="movie__btns movie__btns--full">
<a href="#rez" class="btn btn-md btn--warning">Rezervo nje bilete</a><br>
<a href="<?php echo $row['film_trailer'];?>" class="btn btn-md btn--default" target="_blank">Shiko Traileri e Filmit</a>
</div>
</div>
</div>
</div></div>
<div class="col-sm-12">
<div class="row" id="rez">
<div class="col-sm-12">
<h2 class="page-heading">Lista e shfaqeve:</h2>
<div class="rates-wrapper rates--full">
<table><thead class="rates rates--top">
<tr>
<th class="rates__obj">Kinemaja</th>
<th class="rates__obj">Salla</th>
<th class="rates__obj">Data</th>
<th class="rates__obj">Ora</th>
<th class="rates__obj">Cmimi</th>
<th class="rates__obj">Te tjera</th>
</tr>
</thead>
<tbody> <?php $shqqq=mysql_query("select * from shfaqe inner join salla on shfaqe.salle_id = salla.salle_id where film_id=$id and shfaqe_status='Available'")or die (mysql_error());
while($flm=mysql_fetch_array($shqqq)){ ?>
<tr class="rates">
<th class="rates__obj"><?php echo $flm['kinema_emer'];?></th>
<th class="rates__obj"><?php echo $flm['salle_emer'];?></th>
<th class="rates__obj"><?php echo $flm['shfaqe_date'];?></th>
<th class="rates__obj"><?php echo $flm['shfaqe_orar'];?></th>
<th class="rates__obj"><?php echo $flm['shfaqe_cmim'];?></th>
<th class="rates__obj"><a href="login.php">Logohuni Per te Rezervuar!</a></th>
</tr>
<?php } ?>
</tbody>
</table>
</div>
</div>
</div>
</div>
</section>
<div class="clearfix"></div>
</div> <?php include('footer.php'); ?>
<!-- JavaScript-->
<!-- jQuery 1.9.1-->
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js"></script>
<script>window.jQuery || document.write('<script src="js/external/jquery-1.10.1.min.js"><\/script>')</script>
<!-- Migrate -->
<script src="js/external/jquery-migrate-1.2.1.min.js"></script>
<!-- jQuery UI -->
<script src="http://code.jquery.com/ui/1.10.4/jquery-ui.js"></script>
<!-- Bootstrap 3-->
<script src="http://nethna.bootstrapcdn.com/bootstrap/3.0.2/js/bootstrap.min.js"></script>
<!-- Mobile menu -->
<script src="js/jquery.mobile.menu.js"></script>
<!-- Select -->
<script src="js/external/jquery.selectbox-0.2.min.js"></script>
<!-- Stars rate -->
<script src="js/external/jquery.raty.js"></script>
<!-- Swiper slider -->
<script src="js/external/idangerous.swiper.min.js"></script>
<!-- Magnific-popup -->
<script src="js/external/jquery.magnific-popup.min.js"></script>
<!--*** Google map ***-->
<script src="https://maps.google.com/maps/api/js?sensor=true"></script>
<!--*** Google map infobox ***-->
<script src="js/external/infobox.js"></script>
<!-- Share buttons -->
<script type="text/javascript">var addthis_config = {"data_track_addressbar":true};</script>
<script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-525fd5e9061e7ef0"></script>
<!-- Form element -->
<script src="js/external/form-element.js"></script>
<!-- Form validation -->
<script src="js/form.js"></script>
<!-- Custom -->
<script src="js/custom.js"></script>
<script type="text/javascript">
$(document).ready(function() {
init_MoviePage();
init_MoviePageFull();
});
</script>
</body>
</html>