-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathhizmet.php
256 lines (218 loc) · 10.4 KB
/
hizmet.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
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
<?php
include ('db.php');
error_reporting(0);
$id = $_GET['hizmet'];
$al = $bag->query("select * from hizmetler where hizmet_sefurl='$id'")->fetch();
?>
<?php include('db.php'); $ayar=$bag->query("select * from ayarlar where ayar_id=1")->fetch(PDO::FETCH_ASSOC); ?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<!-- PAGE TITLE -->
<title><?php echo $ayar['firmaadi']; ?> | <?php echo $al['hizmet_baslik']; ?></title>
<base href="<?php echo $ayar['siteurl']; ?>">
<!-- MAKE IT RESPONSIVE -->
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- SEO -->
<meta name="description" content="">
<meta name="author" content="<?php echo $ayar['firmaadi']; ?>">
<meta name="keywords" content="<?php echo $ayar['keywords']; ?>">
<!-- FAVICON -->
<!--<link rel="shortcut icon" href="images/favicon.png" />-->
<!-- STYLESHEETS -->
<link href="css/bootstrap.min.css" rel="stylesheet" media="screen">
<link href="css/animate.min.css" rel="stylesheet" media="screen">
<link href="css/font-awesome.min.css" rel="stylesheet" media="screen">
<link href="style.css" rel="stylesheet" media="screen">
<link href="css/options.css" rel="stylesheet" media="screen">
<link href="css/responsive.css" rel="stylesheet" media="screen">
<!-- FONTS -->
<link href='http://fonts.googleapis.com/css?family=Droid+Serif:400,400italic' rel='stylesheet' type='text/css'>
<link href='http://fonts.googleapis.com/css?family=Raleway:900,300,400,200,800' rel='stylesheet' type='text/css'>
<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
<script src="js/html5shiv.js"></script>
<script src="js/respond.min.js"></script>
<![endif]-->
<script type="text/javascript">var switchTo5x=true;</script>
<script type="text/javascript" id="st_insights_js" src="http://w.sharethis.com/button/buttons.js?publisher=8234a0ff-5822-45f5-92a9-2460ac3c5ca8"></script>
<script type="text/javascript" src="http://s.sharethis.com/loader.js"></script>
</head>
<!-- START BODY -->
<body>
<div id="page">
<!-- START HEADER -->
<header id="header" class="small with-separation-bottom">
<!-- POINTER ANIMATED -->
<canvas id="header-canvas"></canvas>
<!-- TOP NAVIGATION -->
<div id="top-navigation">
<ul class="animate-me fadeInDown" data-wow-duration="1.2s">
<li class="menu-item"><i class="fa fa-phone"></i> <?php echo $ayar['telefon']; ?></li>
<li class="menu-item"><i class="fa fa-mobile"></i> <?php echo $ayar['gsm']; ?></li>
<li class="menu-item"><a href="iletisim"><i class="fa fa-question"></i> İLETİŞİM</a></li>
</ul>
</div>
<!-- MOBILE NAVIGATION -->
<nav id="navigation-mobile"></nav>
<!-- MAIN MENU -->
<nav id="navigation-mobile"></nav>
<!-- MAIN MENU -->
<nav id="navigation">
<!-- DISPLAY MOBILE MENU -->
<a href="#" id="show-mobile-menu"><i class="fa fa-bars"></i></a>
<!-- CLOSE MOBILE MENU -->
<a href="#" id="close-navigation-mobile"><i class="fa fa-long-arrow-left"></i></a>
<ul id="left-navigation" class="animate-me fadeInLeftBig">
<li class="menu-item menu-item-has-children">
<a href="urunler/kapi" data-description="Ne Üretiyoruz?">Ürünlerimiz</a>
</li>
<li class="menu-item menu-item-has-children">
<a href="hakkimizda" data-description="Biz Kimiz?">Kurumsal</a>
<ul class="sub-menu bounceInDown">
<?php include('db.php'); $n = $bag->query("select * from sayfalar")->fetchAll(PDO::FETCH_ASSOC); foreach($n as $a){ ?>
<li class="menu-item"><a href="sayfa/<?php echo $a['sayfasefurl']; ?>"><?php echo $a['baslik']; ?></a></li>
<?php } ?>
</ul>
</li>
</ul>
<div class="animate-me flipInX" data-wow-duration="3s" >
<a href="anasayfa" id="logo-navigation" >
</a>
</div>
<ul id="right-navigation" class="animate-me fadeInRightBig">
<li class="menu-item"><a href="projeler" data-description="Neler Yaptık?">Projeler</a></li>
<li class="menu-item menu-item-has-children">
<a href="galeri" data-description="Görseller">Foto Galeri</a>
</li>
<li class="menu-item"><a href="iletisim" data-description="Bize Ulaşın!">İletişim</a></li>
</ul>
</nav>
<!-- SHADOW -->
<div id="shade2"></div>
<!-- HEADER SLIDER -->
<div class="flexslider" id="header-slider">
<ul class="slides">
<li><img src="images/backgrounds/bg2.jpg" alt="SLider Image"></li>
</ul>
</div>
</header>
<!-- END HEADER -->
<!-- START MAIN CONTAINER -->
<div class="main-container">
<div class="container">
<div class="row">
<!--PORTFOLIO -->
<h2 class="with-breaker animate-me fadeInUp">
Hizmetlerimiz <span><?php echo $al['hizmet_baslik']; ?></span>
</h2>
<div class="col-lg-6">
<div class="flexslider image-slider">
<!--SLIDER -->
<ul class="slides">
<li><a href="images/hizmetler/<?php echo $al['hizmet_resim']; ?>" data-fancybox-group="project-slider" class="fancybox"><img src="images/hizmetler/<?php echo $al['hizmet_resim']; ?>" alt="Project Image"></a></li>
</ul>
</div>
<!--SHARE BUTTONS -->
<ul class="share-buttons animate-me fadeInUp">
<script>function fbs_click() {u=location.href;t=document.title;window.open('http://www.facebook.com/sharer.php?u='+encodeURIComponent(u)+'&t='+encodeURIComponent(t),'sharer','toolbar=0,status=0,width=626,height=436'); return false;}</script>
<li><a rel="nofollow" href="http://www.facebook.com/share.php?u=<;url>" onclick="return fbs_click()" target="_blank" class="btn btn-default button-facebook" ><i class="fa fa-facebook"></i> Paylaş</a></li>
<li><a href="http://twitter.com/home/?status=Your tweet text." target="_blank" class="btn btn-default button-twitter"><i class="fa fa-twitter"></i> Tweetle</a></li>
</ul>
</div>
<div class="col-lg-6">
<!--ITEM DETAILS -->
<h1 class="animate-me fadeInRight project-title"><?php echo $al['hizmet_baslik']; ?></h1>
<hr class="align-left">
<p class="text-justify"><?php echo $al['hizmet_metin']; ?></p>
<div class="text-right animate-me bounceIn">
</div>
</div>
</div>
<h2 class="with-breaker animate-me fadeInUp">
Hizmetlerimiz <span>Kalite Güven Getirir!</span>
</h2>
</div>
<div id="portfolio-container" class="with-separation-bottom with-separation-top">
<!--PORTFOLIO ITEM -->
<?php
include('db.php');
$prem = $bag->query("select * from hizmetler order by hizmet_id desc")->fetchAll(PDO::FETCH_ASSOC);
foreach($prem as $prom){
$baslik = $prom['hizmet_baslik'];
$sefurl = $prom['hizmet_sefurl'];
$resim = $prom['hizmet_resim'];
?>
<figure class="portfolio-item effect-sadie">
<img src="images/hizmetler/<?php echo $resim; ?>" style="height: 281px; " alt="Image portfolio"/>
<figcaption>
<h4><?php echo $baslik; ?></h4>
<a href="hizmet/<?php echo $prom['hizmet_sefurl']; ?>"> Detaylar</a>
</figcaption>
</figure>
<?php } ?>
</div>
</div>
<!-- END MAIN CONTAINER -->
<!-- START FOOTER -->
<footer id="footer" class="with-separation-top">
<aside id="widgets" class="container">
<div class="row">
<!-- WIDGET -->
<div class="col-md-4 widget animate-me fadeInLeft">
<img src="images/logo-footer.png" id="footer-logo" alt="Logo footer">
<p><?php echo $ayar['footermetin'];?></p>
<a href="iletisim" class="btn btn-default"><i class="fa fa-users"></i> BİZE ULAŞIN!</a>
</div>
<!-- WIDGET -->
<div class="col-md-4 widget animate-me fadeInUp">
<h4>Site Haritası</h4>
<ul>
<li><a href="anasayfa">Ana Sayfa</a></li>
<li><a href="hakkimizda">Hakkımzızda</a></li>
<li><a href="projeler">Projeler</a></li>
<li><a href="hizmetler">Hizmetlerimiz</a></li>
<li><a href="iletisim">İletişim</a></li>
</ul>
</div>
<!-- WIDGET -->
<div class="col-md-4 widget animate-me fadeInRight">
<h4>İletişim Detayları</h4>
<ul class="contact-informations">
<li class="contact-address"><?php echo $ayar['adres']; ?></li>
<li class="fa fa-phone"><?php echo $ayar['telefon']; ?></li><br>
<li class="fa fa-print"><?php echo $ayar['fax']; ?></li><br>
<li class="fa fa-mail"><?php echo $ayar['eposta']; ?></li>
</ul>
<a href="iletisim" class="btn btn-default"><i class="fa fa-envelope-o"></i> BİZE ULAŞIN!</a>
</div>
</div>
</aside>
<div id="copyright" class="animate-me fadeInUp">
<div class="container">
<p>© <?php echo date('Y'); ?> All Rights Reserved. Powered by <a href="https://ihsankeskin.org">Alfa Yazılım</a>.</p>
<ul id="footer-navigation">
<li><a href="anasayfa">Ana Sayfa</a></li>
<li><a href="hakkimizda">Hakkımızda</a></li>
<li><a href="iletisim">İletişim</a></li>
</ul>
</div>
</div>
</footer>
<!-- END FOOTER -->
<!-- SCROLL TOP -->
<a href="#" id="scroll-top" class="fadeInRight animate-me"><i class="fa fa-angle-double-up"></i></a>
</div>
<!-- SCRIPTS -->
<script type="text/javascript">stLight.options({publisher: "8234a0ff-5822-45f5-92a9-2460ac3c5ca8", doNotHash: false, doNotCopy: false, hashAddressBar: false});</script>
<!--<script>
var options={ "publisher": "8234a0ff-5822-45f5-92a9-2460ac3c5ca8", "position": "left", "ad": { "visible": false, "openDelay": 5, "closeDelay": 0}, "chicklets": { "items": ["facebook", "twitter", "linkedin", "pinterest", "googleplus", "delicious", "mail_ru"]}};
var st_hover_widget = new sharethis.widgets.hoverbuttons(options);
</script> -->
<script src="js/jquery-1.11.1.min.js"></script>
<script src="js/plugins.js"></script>
<script src="js/custom.js"></script>
</body>
<!-- END BODY -->
</html>