delfood.php
См. документацию.
1 <?php
2 
3 /**
4  * @file
5  * @brief шаблон delfood-1.0.0
6  */
7 
8 isset($user) or require $_SERVER['DOCUMENT_ROOT'] . '/page/404.php';
9 $CONTENT_PAGE_FILE = $_SERVER['DOCUMENT_ROOT'] . $row->file;
10 const USE_ASSETS_PATH = '/assets/examples/delfood-1.0.0';
11 
12 ?>
13 <!DOCTYPE html>
14 <html>
15 
16 <head>
17  <!-- Basic -->
18  <meta charset="utf-8" />
19  <meta http-equiv="X-UA-Compatible" content="IE=edge" />
20  <!-- Mobile Metas -->
21  <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
22  <!-- Site Metas -->
23  <meta name="keywords" content="" />
24  <meta name="description" content="" />
25  <meta name="author" content="" />
26 
27  <title><?= $row->name ?></title>
28 
29 
30  <!-- bootstrap core css -->
31  <link rel="stylesheet" type="text/css" href="css/bootstrap.css" />
32 
33  <!-- fonts style -->
34  <link href="https://fonts.googleapis.com/css?family=Poppins:400,600,700&display=swap" rel="stylesheet">
35 
36  <!-- font awesome style -->
37  <link href="css/font-awesome.min.css" rel="stylesheet" />
38  <!-- nice select -->
39  <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/jquery-nice-select/1.1.0/css/nice-select.min.css" integrity="sha256-mLBIhmBvigTFWPSCtvdu6a76T+3Xyt+K571hupeFLg4=" crossorigin="anonymous" />
40  <!-- slidck slider -->
41  <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/slick-carousel/1.9.0/slick.min.css" integrity="sha256-UK1EiopXIL+KVhfbFa8xrmAWPeBjMVdvYMYkTAEv/HI=" crossorigin="anonymous" />
42  <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/slick-carousel/1.9.0/slick-theme.min.css.map" integrity="undefined" crossorigin="anonymous" />
43 
44 
45  <!-- Custom styles for this template -->
46  <link href="css/style.css" rel="stylesheet" />
47  <!-- responsive style -->
48  <link href="css/responsive.css" rel="stylesheet" />
49 
50 </head>
51 
52 <body>
53  <div class="spinner-wrapper">
54  <div class="spinner">
55  <div class="bounce1"></div>
56  <div class="bounce2"></div>
57  <div class="bounce3"></div>
58  </div>
59  </div>
60 
61  <?php require $CONTENT_PAGE_FILE; ?>
62 
63  <div class="footer_container">
64  <!-- info section -->
65  <section class="info_section ">
66  <div class="container">
67  <div class="contact_box">
68  <a href="">
69  <i class="fa fa-map-marker" aria-hidden="true"></i>
70  </a>
71  <a href="">
72  <i class="fa fa-phone" aria-hidden="true"></i>
73  </a>
74  <a href="">
75  <i class="fa fa-envelope" aria-hidden="true"></i>
76  </a>
77  </div>
78  <div class="info_links">
79  <ul>
80  <li class="active">
81  <a href="./index">
82  Home
83  </a>
84  </li>
85  <li>
86  <a href="./about">
87  About
88  </a>
89  </li>
90  <li>
91  <a class="" href="./blog">
92  Blog
93  </a>
94  </li>
95  <li>
96  <a class="" href="./testimonial">
97  Testimonial
98  </a>
99  </li>
100  </ul>
101  </div>
102  <div class="social_box">
103  <a href="">
104  <i class="fa fa-facebook" aria-hidden="true"></i>
105  </a>
106  <a href="">
107  <i class="fa fa-twitter" aria-hidden="true"></i>
108  </a>
109  <a href="">
110  <i class="fa fa-linkedin" aria-hidden="true"></i>
111  </a>
112  </div>
113  </div>
114  </section>
115  <!-- end info_section -->
116 
117 
118  <!-- footer section -->
119  <footer class="footer_section">
120  <div class="container">
121  <p>
122  &copy; <span id="displayYear"></span> All Rights Reserved By
123  <a href="https://html.design/">Free Html Templates</a><br>
124  Distributed By: <a href="https://themewagon.com/">ThemeWagon</a>
125  </p>
126  </div>
127  </footer>
128  <!-- footer section -->
129 
130  </div>
131 
132  <?= Wrong\Html\Get::script($_SERVER['DOCUMENT_ROOT'] . '/assets/system/js/main.min.js') ?>
133  <!-- slick slider -->
134  <script src="https://cdnjs.cloudflare.com/ajax/libs/slick-carousel/1.9.0/slick.js"></script>
135  <!-- nice select -->
136  <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery-nice-select/1.1.0/js/jquery.nice-select.min.js" integrity="sha256-Zr3vByTlMGQhvMfgkQ5BtWRSKBGa2QlspKYJnkjZTmo=" crossorigin="anonymous"></script>
137  <!-- custom js -->
138  <script src="js/custom.js"></script>
139 
140  <script>
141  $('.spinner-wrapper').fadeOut();
142  </script>
143 </body>
144 
145 </html>
static script($filename)
Definition: Get.php:58
const USE_ASSETS_PATH
Definition: delfood.php:10
$CONTENT_PAGE_FILE
Definition: delfood.php:9
$user
Definition: from-user.php:38
setcookie('FROM_UID', $uid, [ 'expires'=> time()+31536000, 'path'=> '/', 'domain'=> $_SERVER['HTTP_HOST'], 'secure'=> Wrong\Start\Env::$e->IS_SECURE, 'httponly'=> false, 'samesite'=> Wrong\Start\Env::$e->IS_SECURE ? 'None' :'Lax']) or setcookie('FROM_UID' $_SERVER['HTTP_HOST']
Definition: from-user.php:36
href
Definition: main.php:21