<p>Thanks for choosing to use SilverStripe! Please follow the instructions below to get SilverStripe installed.</p>
<formaction="install.php"method="post">
<?php if(isset($hasErrorOtherThanDatabase)) { ?>
<pclass="error">
You aren't currently able to install the software. Please <ahref="#requirements">see below</a> for details.<br/>
If you are having problems meeting the requirements, see the <ahref="http://doc.silverstripe.com/doku.php?id=server-requirements">server requirements wiki page</a>.
</p>
<?php } else { ?>
<?php if($req->hasWarnings()) { ?>
<pclass="warning">
There are some issues that we recommend you look at before installing, however, you are still able to install the software.
Please see below for details.<br/>
If you are having problems meeting the requirements, see the <ahref="http://doc.silverstripe.com/doku.php?id=server-requirements">server requirements wiki page</a>.
</p>
<?php } else if(!$dbReq->hasErrors()) { ?>
<pclass="good">
You're ready to install!
</p>
<?php } ?>
<p>
<b>Template to install:</b>
</p>
<ulid="Themes">
<li><inputtype="radio"name="template"value="blackcandy"id="BlackCandy"<?phpif(!isset($_POST['template'])||$_POST['template']=='blackcandy'){?>checked="checked"<?php }?> /><labelfor="BlackCandy">BlackCandy, default template ready to use.</label></li>
<li><inputtype="radio"name="template"value="tutorial"id="EmptyTemplate"<?phpif(isset($_POST['template'])&&$_POST['template']=='tutorial'){?>checked="checked"<?php }?>/><labelfor="EmptyTemplate">Empty template, ready to begin the tutorial.</label></li>
</ul>
<p>You can change the template or download another from the SilverStripe website after installation.</p>
<inputtype="checkbox"id="stats"name="stats"checked="checked"><labelfor="stats">Send information on my webserver to SilverStripe (this is only version information, used for statistical purposes)</label><br/>
<?php if($alreadyInstalled) { ?>
<pclass="warning">
<strong>Note:</strong> It seems as though SilverStripe is already installed here. If you ask me to install, I will overwrite
the <strong>.htaccess</strong> and <strong>mysite/_config.php</strong> files.
<br/>
<inputtype="checkbox"id="ReIn"name="force_reinstall"onclick="document.getElementById('install_button').disabled = !this.checked"/><labelfor="ReIn">That's okay, please re-install SilverStripe and overwrite these files.</label>
<pclass="mysql">SilverStripe stores its content in a MySQL database. Please provide the username and password to connect to the server here. If this account has permission to create databases, then we will create the database for you; otherwise, you must give the name of a database that already exists.</p>