36 lines
1.1 KiB
PHP
36 lines
1.1 KiB
PHP
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title><?= App::getConfig('title') ?></title>
|
|
|
|
<?php if ($styles): ?>
|
|
<?php foreach ($styles as $style): ?>
|
|
<link href="<?= $style ?>" media="all" rel="stylesheet" type="text/css" />
|
|
<?php endforeach; ?>
|
|
<?php endif; ?>
|
|
|
|
<?php if ($scripts): ?>
|
|
<?php foreach ($scripts as $script): ?>
|
|
<script src="<?= $script ?>" type="text/javascript"></script>
|
|
<?php endforeach; ?>
|
|
<?php endif; ?>
|
|
|
|
<?php if ($vars): ?>
|
|
<script type="text/javascript">
|
|
<?php foreach ($vars as $varName => $var): ?>
|
|
var <?= $varName ?> = '<?= $var ?>';
|
|
<?php endforeach; ?>
|
|
</script>
|
|
<?php endif; ?>
|
|
|
|
</head>
|
|
<body style="padding: 10px 25px; overflow-y: scroll;">
|
|
<div class="header">
|
|
<a href="/"><img src="/img/logo_page.png" title="WIKIPOINTS.RU" /></a>
|
|
</div>
|
|
<?= isset($content) && !empty($content) ? $content : 'No content =(' ?>
|
|
<?= self::renderPartial('modals/about.php', array(), true) ?>
|
|
<?= self::renderPartial('modals/howToUse.php', array(), true) ?>
|
|
<?= self::renderPartial('metrika.php', array(), true) ?>
|
|
</body>
|
|
</html>
|