-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhead.php
More file actions
71 lines (54 loc) · 2.04 KB
/
head.php
File metadata and controls
71 lines (54 loc) · 2.04 KB
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
<?
$serverName = $_SERVER['SERVER_NAME'];
echo "
<!doctype html>
<head>
<meta charset='utf-8'/>
<meta name='viewport' content='width=device-width, initial-scale=1'/>
<link href='http://".$serverName."/style/StyleSheet.css' type='text/css' rel='Stylesheet' />
<link href='http://".$serverName."/style/Fform.css' type='text/css' rel='Stylesheet' />
<link href='http://".$serverName."/style/menuvert.css' type='text/css' rel='Stylesheet' />
<link rel='stylesheet' type='text/css' href='http://".$serverName."/style/goods.css' />
<link href='http://fonts.googleapis.com/css?family=Comfortaa:400,700,300&subset=latin,cyrillic' rel='stylesheet' type='text/css'>
<link href='http://fonts.googleapis.com/css?family=Russo+One&subset=latin,cyrillic' rel='stylesheet' type='text/css'>
<link rel='shortcut icon' type='image/x-icon' href='http://".$_SERVER['SERVER_NAME']."/favicon.ico'>
<!--[if lt IE 9]>
<script src='http://html5shim.googlecode.com/svn/trunk/html5.js'></script>
<![endif]-->
<script type='text/javascript' src='https://ajax.googleapis.com/ajax/libs/jquery/1.8.1/jquery.min.js'></script>
<script type='text/javascript' src='http://".$serverName."/file/form.js'></script>
<script type='text/javascript' src='http://".$serverName."/cart/js/cart.js'></script>
<title>Технолит</title>
</head>
<body>
<div class='main'>
<header class='header'>
<figure class='logotype'>
<a href='index.php'>
<img width='100%' alt='TM' src='http://".$serverName."/SIMG/ServLogo/min30.png'/>
</a>
</figure>
<h1 class='logotext'>
Технолит Маркет
</h1>
<div class='cart'>
</div>
</header> ";
include('menu.php');
echo "<div>
<div style='height:1px;overflow:hidden;clear:both;'></div>
</div>";
switch($_SERVER['PHP_SELF'])
{
case '/index.php': case'/contacts.php': case '/price-list.php':
include('menu_ver.php');
include('./db/db.php');
break;
case '/search.php':
include('list_cat.php');
break;
default :
include('list_cat.php');
break;
}
?>