Пример #1
0
?>

<div id='box'>
	<div id="logo"><img src="<?php 
print $vs_url_path;
?>
/graphics/ca_logo.png"/></div><!-- end logo -->
	<div id="content">
	<H1>
		<?php 
_p('Version %1 installer (XML)', constant('__CollectiveAccess__'));
?>
	</H1>
<?php 
// Check for configuration issues
ConfigurationCheck::performInstall();
if (ConfigurationCheck::foundErrors()) {
    ConfigurationCheck::renderInstallErrorsAsHTMLOutput();
} else {
    ?>
	
	<p>
		<?php 
    _p("This installer will have your installation of CollectiveAccess ready to use in just a few minutes. \n\t\tBefore you run the installer make sure the settings in your <i>setup.php</i> file are correct. \n\t\tThe installer will test your database connection, install the database schema and load default values into the newly established database. \n\t\tIt will also establish an administrator's login for you to use to access your new system.");
    ?>
	</p>
	<div id="installForm">
		<form action='index.php' name='page1form' id='page1form'>
			<div class='formItem'>
<?php 
    if (sizeof($va_errors)) {