Beispiel #1
0
	<script src="js/libs/underscore-1.7.0.min.js"></script>
	<link href="css/default/reset.css" rel="stylesheet">
	<link href='http://fonts.googleapis.com/css?family=Open+Sans:600italic,300italic,400,&subset=latin,cyrillic' rel='stylesheet' type='text/css'>
	<link href="fonts/stylesheet.css" rel="stylesheet">
	<link href="fonts/fontawesome/font-awesome.min.css" rel="stylesheet">


	<link href="bootstrap/css/bootstrap.min.css" rel="stylesheet">
	<script src="bootstrap/js/bootstrap.min.js"></script>

	<?
		require_once("anticache.php");

		antiCache('css/default/nlform.css');
		antiCache('css/default/owl.carousel.css');
		antiCache('css/common.css');

	?>
</head>
<body>
	<noscript><b>В вашем браузере выключен javascript!</b> Полная функциональность сайта может быть недоступна.</noscript>


	<header class="b-header <? if (defined('HEADER_CLASS')) echo HEADER_CLASS; else echo '_light' ?>">
		
		<div class="b-header__city">
			<div class="b-header__city-select-wrapper _txt9">
				<span id="city_button">Икра Москва <i class="fa fa-caret-down"></i></span>
				<ul id="city_list" class="b-header__city-select">
					<li><a href="#">Икра Москва</a></li>
					<li><a href="#">Икра Спб</a></li>
Beispiel #2
0
		<div class="b-footer__bottom">
			<img src="img/logo/ikra-igra.png" height="41" width="221" alt="Икра - это игра">
		</div>
	</footer>

	<div class="nl-overlay"></div>

	<?
		antiCache('js/libs/nlform.js');
		antiCache('js/libs/owl.carousel.min.js');
		antiCache('js/libs/jquery.mb.YTPlayer.min.js');
		antiCache('js/libs/typed.js');
		antiCache('js/script.js');
		antiCache('js/modules/resize.js');
		antiCache('js/modules/equalheight.js');
		antiCache('js/modules/stickyscroll.js');
	?>

</body>
</html>

<?
	if (isset($_GET['html']) || SAVE_HTML)
	{
		$html = ob_get_contents();
		ob_end_clean();
		$filename = str_replace('.php', '.html', basename(parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH)));

		header('Content-Type: text/html; charset=utf-8');
		if (file_put_contents($filename, $html)) echo '<h1>'.$filename.' сохранён.</h1>';
		else echo '<h1 style="color:red">Не удалось сохранить '.$filename.'</h1>';