-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathx-head.php
109 lines (98 loc) · 3.31 KB
/
x-head.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
<?php
$current_url = $_SERVER['REQUEST_URI'];
$url_explde = explode('/', $current_url);
$pagefile_name = $url_explde[2];
$page_title = "Index";
if ($pagefile_name == 'products') {
$page_title = "Products";
$active_ul_product = "active";
$active_ul_product_span = '<span class="sr-only">(current)</span>';
}
else if ($pagefile_name == 'index') {
$page_title = "Index";
$active_ul_product = '';
$active_ul_product_span = '';
}
else if ($pagefile_name == 'authentication') {
$page_title = "Authentication";
$active_ul_product = '';
$active_ul_product_span = '';
}
else{
$active_ul_product = '';
$active_ul_product_span = '';
}
?>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="">
<meta name="author" content="Mark Otto, Jacob Thornton, and Bootstrap contributors">
<meta name="developer" content="Rhalp Darren R. Cabrera">
<meta name="generator" content="Jekyll v3.8.5">
<title><?php echo $page_title;?></title>
<link rel="icon" href="assets/img/logo.png" type="image/x-icon">
<!-- Bootstrap core CSS -->
<link href="assets/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
<?php if ($pagefile_name == "index" or $pagefile_name == NULL or (preg_match( '/^order.*/', $pagefile_name)) or (preg_match( '/^index.*/', $pagefile_name))): ?>
<style>
.bd-placeholder-img {
font-size: 1.125rem;
text-anchor: middle;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
@media (min-width: 768px) {
.bd-placeholder-img-lg {
font-size: 3.5rem;
}
}
</style>
<!-- Custom styles for this template -->
<link href="assets/css/carousel.css" rel="stylesheet">
<?php endif ?>
<?php if ($pagefile_name == "products" or (preg_match( '/^products.*/', $pagefile_name))) : ?>
<style>
.bd-placeholder-img {
font-size: 1.125rem;
text-anchor: middle;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
@media (min-width: 768px) {
.bd-placeholder-img-lg {
font-size: 3.5rem;
}
}
</style>
<!-- Custom styles for this template -->
<link href="assets/css/album.css" rel="stylesheet">
<?php endif ?>
<?php if ($pagefile_name == "authentication" or (preg_match( '/^authentication.*/', $pagefile_name))): ?>
<style>
.bd-placeholder-img {
font-size: 1.125rem;
text-anchor: middle;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
@media (min-width: 768px) {
.bd-placeholder-img-lg {
font-size: 3.5rem;
}
}
</style>
<!-- Custom styles for this template -->
<link href="assets/css/floating-labels.css" rel="stylesheet">
<?php endif ?>
<!-- include the style -->
<link rel="stylesheet" href="assets/alertifyjs/css/alertify.min.css" />
<!-- include a theme -->
<link rel="stylesheet" href="assets/alertifyjs/css/themes/default.min.css" />
</head>