Пример #1
0
	private static function _html1Header()
	{
		$ent="".lib::rnd(1000000000, 2147483647);
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
	<title><?php 
echo self::$c->config("", "siteName");
?>
 - <?php 
echo content::title(false, false);
?>
</title>
	<meta http-equiv="content-type" content="text/html; charset=utf-8" />
	<meta name="author" content="Bogdan Nazar (info@itechserv.ru)" />
	<meta name="generator" content="FlexEngine <?php 
echo self::$c->version(true);
?>
 (http://flexengine.ru)" />
	<meta name="description" content="<?php 
echo content::item("meta_desc");
?>
" />
	<meta name="keywords" content="<?php 
echo content::item("meta_kw");
?>
" /><?
		self::_metas();
		if(file_exists("favicon.ico")):?>
	<link rel="shortcut icon" type="image/ico" href="/favicon.ico" /><?endif;
		self::_clientStyles();?>
	<script type="text/javascript">
		var flex_engine_render_pointer<?php 
echo $ent;
?>
 = {cfg: {
			appName: (""<?php 
echo " + \"" . self::$c->config("", "siteName") . "\"";
?>
),
			appRoot: (""<?php 
echo " + \"" . FLEX_APP_DIR_ROOT . "\"";
?>
),
			elNameAction: (""<?php 
echo " + \"" . self::$c->config("", "elNameAction") . "\"";
?>
),
			elNameForm: (""<?php 
echo " + \"" . self::$c->config("", "elNameForm") . "\"";
?>
),
			entity: (""<?php 
echo " + \"" . $ent . "\"";
?>
),
			lang: (""<?php 
echo " + \"" . self::$c->lang() . "\"";
?>
),
			pageAlias: (""<?php 
echo " + \"" . content::item("alias") . "\"";
?>
),
			pageTemplate: (""<?php 
echo " + \"" . self::$c->template() . "\"";
?>
),
			pageTitle: (""<?php 
echo " + \"" . content::title(false, false) . "\"";
?>
),
			plugins: []
		}};
	</script><?self::_client();?>
</head>
<body leftmargin="0" topmargin="0" rightmargin="0" bottommargin="0" marginwidth="0"><?
		self::_spot(4,true,false,false,true);
	}