Location: PHPKode > projects > Saurus CMS > admin/about.php
<?php
/**
 * This source file is is part of Saurus CMS content management software.
 * It is licensed under MPL 1.1 (http://www.opensource.org/licenses/mozilla1.1.php).
 * Copyright (C) 2000-2010 Saurused Ltd (http://www.saurus.info/).
 * Redistribution of this file must retain the above copyright notice.
 * 
 * Please note that the original authors never thought this would turn out
 * such a great piece of software when the work started using Perl in year 2000.
 * Due to organic growth, you may find parts of the software being
 * a bit (well maybe more than a bit) old fashioned and here's where you can help.
 * Good luck and keep your open source minds open!
 * 
 * @package		SaurusCMS
 * @copyright	2000-2010 Saurused Ltd (http://www.saurus.info/)
 * @license		Mozilla Public License 1.1 (http://www.opensource.org/licenses/mozilla1.1.php)
 * 
 */


/**
 * About popup html
 * 
 */

$class_path = "../classes/";
include($class_path."port.inc.php");

#Get debug cookie muutuja
$debug = $_COOKIE["debug"] ? 1:0;

$site = new Site(array(
	on_debug=>($debug ? 1 : 0),
	on_admin_keel => 1
));

# get version release date
$sql = $site->db->prepare("SELECT DATE_FORMAT(release_date,'%d.%m.%Y')  FROM version	WHERE version_nr=?",$site->cms_version);
$sth = new SQL($sql);
$version_date = $sth->fetchsingle();

?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<html>

<head>
<title><?=$site->title?> <?= $site->cms_version ?></title>
<meta http-equiv="Content-Type" content="text/html; charset=<?=$site->encoding ?>">
<link href="<?=$site->CONF[wwwroot].$site->CONF[styles_path]?>/scms_general.css" rel="stylesheet" type="text/css">
<SCRIPT LANGUAGE="JavaScript" SRC="<?=$site->CONF[wwwroot].$site->CONF[js_path]?>/yld.js"></SCRIPT>
<SCRIPT LANGUAGE="JavaScript" SRC="<?=$site->CONF[wwwroot].$site->CONF[js_path]?>/admin_menu.js"></SCRIPT>

</head>

<body style="overflow: hidden">
	<TABLE width=100% height=100% cellspacing=0 cellpadding=0 border=0>
		<TR>
			<TD valign=middle align=center>
				<div id="aboutbox">
					<TABLE width=100% cellspacing=0 cellpadding=0 border=0>
					<TR>
						<TD class="scms_ab_header" valign=middle>
							<span class="scms_header_title"><?=$site->title?> <?=$site->cms_version?></span>
						</TD>

					</TR>
					<TR>
						<TD valign="top" class="scms_ab_main">
							<TABLE width=100% cellspacing=0 cellpadding=4 border=0>
							<TR>
								<TD style="padding-left: 12px">Version: <?=$site->cms_version?><br>
								Released: <?=$version_date?>
								</TD>
							</TR>
							</TABLE>
						</TD>
					</TR>
					<TR>
						<TD class="scms_ab_lic">
							<TABLE width=100% cellspacing=0 cellpadding=4 border=0>
								<TR>
									<TD style="padding-left: 12"><A HREF="../copyright.html" target="lic_box">Copyright</A> &nbsp;&nbsp;<A HREF="../eula_en.html" target="lic_box">End User Licence Agreement</a></TD>
								</TR>
								<TR>
									<TD colspan=2>
										<iframe name="lic_box" src="../eula_en.html" width=100% height=104 frameborder=0></iframe>
									</TD>
								</TR>
							</TABLE>
						</TD>
					</TR>
					</TABLE>
				</div>
			</TD>
		</TR>
	</TABLE>	

</body>

</html>
Return current item: Saurus CMS