Пример #1
0
header("Expires: 0");
// Proxies.
require_once __ROOT__ . '/helpers/app.php';
$app = new validator_app();
?>
<!DOCTYPE html>
<html lang="<?php 
echo $app->language;
?>
">
	<head>
		<meta charset="utf-8">
		<meta http-equiv="X-UA-Compatible" content="IE=edge">
		<meta name="viewport" content="width=device-width, initial-scale=1">
		<title><?php 
echo $app->getText('TITLE');
?>
</title>
		<!-- Bootstrap -->
		<link href="assets/css/bootstrap.min.css" rel="stylesheet">
		<link href="assets/css/custom.css" rel="stylesheet">
		<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
		<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
		<!--[if lt IE 9]>
		<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
		<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
		<![endif]-->
	</head>
	<body>
		<div id="page-content-wrapper">
			<div class="container-fluid">
Пример #2
0
/* Do the request check */
if ($validator->checkRequest()) {
    $response_success = true;
}
?>
<!DOCTYPE html>
<html lang="<?php 
echo $app->language;
?>
">
	<head>
		<meta charset="utf-8">
		<meta http-equiv="X-UA-Compatible" content="IE=edge">
		<meta name="viewport" content="width=device-width, initial-scale=1">
		<title><?php 
echo $app->getText('TITLE');
?>
</title>
		<!-- Bootstrap -->
		<link href="assets/css/bootstrap.min.css" rel="stylesheet">
		<link href="assets/css/custom.css" rel="stylesheet">
	</head>
	<body>
		<div id="page-content-wrapper">
			<div class="container-fluid">
				<div class="row">
					<div class="col-md-10 col-md-offset-1">
						<div class="page-header">
							<h1><?php 
echo $app->getText('APP_TITLE');
?>