Exemple #1
0
<!DOCTYPE html>
<html <?php 
echo input::isAjaxRequest() || input::get('modal') ? 'class="modal"' : '';
?>
>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title><?php 
echo view::getMetaTitle() ? view::getMetaTitle() . (uri::getURI() != '' ? ' - ' : '') : '';
echo uri::getURI() != '' ? text_helper::entities(config::item('site_title', 'system')) : '';
?>
</title>
<?php 
echo html_helper::style(html_helper::siteURL('load/css/' . session::item('template')));
echo view::getStylesheets();
echo html_helper::script(html_helper::siteURL('load/javascript'));
echo view::getJavascripts();
?>
<meta name="description" content="<?php 
echo view::getMetaDescription();
?>
" />
<meta name="keywords" content="<?php 
echo view::getMetaKeywords();
?>
" />
</head>
<body <?php 
echo input::isAjaxRequest() || input::get('modal') ? 'class="modal"' : '';
?>
>
Exemple #2
0
<!DOCTYPE html>
<html<?php 
echo input::isAjaxRequest() || input::get('modal') ? ' class="modal"' : '';
?>
>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title><?php 
echo view::getMetaTitle() ? text_helper::truncate(view::getMetaTitle(), 100) . ' - ' : '';
?>
SocialScript</title>
<?php 
echo html_helper::style(html_helper::siteURL('load/css/cp'));
echo view::getStylesheets();
echo html_helper::script(html_helper::siteURL('load/javascript/cp'));
echo view::getJavascripts();
?>
</head>
<body <?php 
echo input::isAjaxRequest() || input::get('modal') ? 'class="modal"' : '';
?>
>
	<?php 
if (input::isAjaxRequest() || input::get('modal')) {
    ?>
	<?php 
} else {
    ?>
		<header id="header">
			<div class="row-container">
				<div class="row">