Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $can_view = 1; // this is becouse I wants always show this to player.
- if(!isset($can_view)){
- require(ROOT_PATH . '/404.php');
- die();
- }
- // Always define page name
- define('PAGE', "pravidla");
- ?>
- <!DOCTYPE html>
- <html<?php if(defined('HTML_CLASS')) echo ' class="' . HTML_CLASS . '"'; ?> lang="<?php echo (defined('HTML_LANG') ? HTML_LANG : 'en'); ?>">
- <head>
- <!-- Standard Meta -->
- <meta charset="<?php echo (defined('LANG_CHARSET') ? LANG_CHARSET : 'utf-8'); ?>">
- <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
- <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
- <!-- Site Properties -->
- <?php
- $title = "Pravidla";
- require(ROOT_PATH . '/core/templates/header.php');
- ?>
- <link rel="stylesheet" href="<?php if(defined('CONFIG_PATH')) echo CONFIG_PATH . '/'; else echo '/'; ?>core/assets/plugins/ckeditor/plugins/spoiler/css/spoiler.css">
- <link rel="stylesheet" href="<?php if(defined('CONFIG_PATH')) echo CONFIG_PATH . '/'; else echo '/'; ?>core/assets/plugins/emoji/css/emojione.min.css"/>
- <link rel="stylesheet" href="<?php if(defined('CONFIG_PATH')) echo CONFIG_PATH . '/'; else echo '/'; ?>core/assets/plugins/emoji/css/emojione.sprites.css"/>
- <link rel="stylesheet" href="<?php if(defined('CONFIG_PATH')) echo CONFIG_PATH . '/'; else echo '/'; ?>core/assets/plugins/emojionearea/css/emojionearea.min.css"/>
- </head>
- <body>
- <?php
- require(ROOT_PATH . '/core/templates/navbar.php');
- require(ROOT_PATH . '/core/templates/footer.php');
- $smarty->assign(array(
- 'CONTENT' => "Content";
- ));
- // Display template
- $smarty->display(ROOT_PATH . '/custom/templates/' . TEMPLATE . '/pravidla.tpl');
- require(ROOT_PATH . '/core/templates/scripts.php');
- ?>
- <script src="<?php if(defined('CONFIG_PATH')) echo CONFIG_PATH . '/'; else echo '/'; ?>core/assets/plugins/emoji/js/emojione.min.js"></script>
- <script src="<?php if(defined('CONFIG_PATH')) echo CONFIG_PATH . '/'; else echo '/'; ?>core/assets/plugins/ckeditor/plugins/spoiler/js/spoiler.js"></script>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment