Файл: about.php
Строк: 27
<?php
/**
* about
*
* @package Sngine
* @author Zamblek
*/
// fetch kernal
require('kernal.php');
// valid inputs
$valid['v'] = array('', 'privacy', 'terms');
if(!in_array($_GET['v'], $valid['v'])) {
SystemError($translate->__("Invalid Link"), $translate->__("You may have clicked an expired link or mistyped the address."));
}
if(!isset($_GET['v'])) {
$view = "about";
PageHeader($translate->__("About"));
}elseif ($_GET['v'] == "privacy") {
$view = "privacy";
PageHeader($translate->__("Privacy Policy"), $translate->__("Learn more about site's privacy policy and practices, including what types of info site receives and how info is used and shared."));
}elseif ($_GET['v'] == "terms") {
$view = "terms";
PageHeader($translate->__("Terms of Service"));
}
// assign varibles
$smarty->assign('view', $view);
// page footer
PageFooter("about");
?>