orthoc.php
См. документацию.
1 <?php
2 
3 /**
4  * @file
5  * @brief шаблон marshmallow
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/orthoc';
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  <link rel="shortcut icon" href="images/favicon.png" type="">
27 
28  <title><?= $row->name ?></title>
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/css2?family=Roboto:wght@400;500;700;900&display=swap" rel="stylesheet">
35 
36  <!--owl slider stylesheet -->
37  <link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/OwlCarousel2/2.3.4/assets/owl.carousel.min.css" />
38 
39  <!-- font awesome style -->
40  <link href="css/font-awesome.min.css" rel="stylesheet" />
41 
42  <!-- Custom styles for this template -->
43  <link href="css/style.css" rel="stylesheet" />
44  <!-- responsive style -->
45  <link href="css/responsive.css" rel="stylesheet" />
46 
47 </head>
48 
49 <body>
50 
51  <?php require $CONTENT_PAGE_FILE; ?>
52 
53  <?= Wrong\Html\Get::script($_SERVER['DOCUMENT_ROOT'] . '/assets/system/js/main.min.js') ?>
54  <!-- owl slider -->
55  <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/OwlCarousel2/2.3.4/owl.carousel.min.js">
56  </script>
57  <!-- custom js -->
58  <script type="text/javascript" src="js/custom.js"></script>
59  <!-- Google Map -->
60  <script src="https://maps.googleapis.com/maps/api/js?key=AIzaSyCh39n5U-4IoWpsVGUHWdqB6puEkhRLdmI&callback=myMap">
61  </script>
62  <!-- End Google Map -->
63 
64 </body>
65 
66 </html>
static script($filename)
Definition: Get.php:58
$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
const USE_ASSETS_PATH
Definition: orthoc.php:10
$CONTENT_PAGE_FILE
Definition: orthoc.php:9
href
Definition: main.php:21