-
Notifications
You must be signed in to change notification settings - Fork 0
/
services.php
92 lines (79 loc) · 2.69 KB
/
services.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
<?php
session_start();
error_reporting(0);
include('includes/dbconnection.php');
?>
<!DOCTYPE html>
<html>
<head>
<title>Online DJ Management System || DJ Services</title>
<link href="css/bootstrap.css" rel='stylesheet' type='text/css' />
<link rel="stylesheet" href="css/touchTouch.css" type="text/css" media="all" />
<!-- Custom Theme files -->
<link href="css/style.css" rel="stylesheet" type="text/css" media="all" />
<!-- Custom Theme files -->
<script src="js/jquery.min.js"></script>
<script type="application/x-javascript"> addEventListener("load", function() { setTimeout(hideURLbar, 0); }, false); function hideURLbar(){ window.scrollTo(0,1); } </script>
<!--webfont-->
<link href='http://fonts.googleapis.com/css?family=Monoton' rel='stylesheet' type='text/css'>
<link href='http://fonts.googleapis.com/css?family=Raleway:400,900,800,700,600,500,300,100,200' rel='stylesheet' type='text/css'>
<script type="text/javascript" src="js/jquery.fancybox.js"></script>
<link rel="stylesheet" type="text/css" href="css/jquery.fancybox.css" media="screen" />
<script type="text/javascript">
$(document).ready(function() {
/*
* Simple image gallery. Uses default settings
*/
$('.fancybox').fancybox();
});
</script>
</head>
<body>
<?php include_once('includes/header.php');?>
<div class="event content">
<div class="container">
<ol class="breadcrumb">
<li><a href="index.php">Home</a></li>
<li class="active">Services</li>
</ol>
<h2>Services</h2>
<div class="event-main">
<?php
$sql="SELECT * from tblservice";
$query = $dbh -> prepare($sql);
$query->execute();
$results=$query->fetchAll(PDO::FETCH_OBJ);
$cnt=1;
if($query->rowCount() > 0)
{
foreach($results as $row)
{ ?>
<div class="event-grids">
<div class="col-md-3 event-grid">
<ul>
<li class="hedding"><?php echo htmlentities($row->ServiceName);?></li>
</ul>
<div class="clearfix"> </div>
</div>
<div class="col-md-4 event-grid small-text">
<p><?php echo htmlentities($row->SerDes);?></p>
</div>
<div class="col-md-2 event-grid large-text">
<p class="text">$ <?php echo htmlentities($row->ServicePrice);?> USD</p>
</div>
<div class="col-md-3 event-grid text-button">
<ul>
<li class="button yellow"><a href="book-services.php?bookid=<?php echo $row->ID;?>">Book Services</a></li>
</ul>
</div>
<div class="clearfix"> </div>
</div>
<?php $cnt=$cnt+1;}} ?>
</div>
<?php include_once('includes/footer.php');?>
</div>
</div>
<!---->
<!---->
</body>
</html>