-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path404.php
69 lines (47 loc) · 1.38 KB
/
404.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
<?php include 'header.php'; ?>
<head>
<title>Hata Sayfası » Belediyem.Net</title>
</head>
<div role="main" class="main">
<section class="page-header">
<div class="container">
<div class="row">
<div class="col-md-12">
<h1>Hata-Sayfa Bulunamadı...</h1>
</div>
</div>
</div>
</section>
<div class="container">
<section class="page-not-found">
<div class="row">
<div class="col-md-6 col-md-offset-1">
<div class="page-not-found-main">
<h2>404 <i class="fa fa-file"></i></h2>
<p>Aradığınız sayfayı malesef bulamadık!</p>
</div>
</div>
<div class="col-md-4">
<h4 class="heading-primary">Ne aramıştınız?</h4>
<ul class="nav nav-list">
<?php
$menusor=$db->prepare("select * from menu where menu_ust=:menu_ust order by menu_sira");
$menusor->execute(array(
'menu_ust' => 0
));
while($menucek=$menusor->fetch(PDO::FETCH_ASSOC)) {?>
<li><a href="<?php
if (strlen($menucek['menu_url'])>0) {
echo $menucek['menu_url'];
} elseif (strlen($menucek['menu_url'])==0) {?>
sayfa-<?=seo($menucek["menu_ad"]).'-'.$menucek["menu_id"]?>
<?php }
?>"><?php echo $menucek['menu_ad']; ?></a></li>
<?php } ?>
</ul>
</div>
</div>
</section>
</div>
</div>
<?php include 'footer.php'; ?>