Location: PHPKode > projects > Jarida > jarida_1.0/install/index.tpl
{if $smarty.post.submit == "Proceed"}
{if $init}
<div class="install_content">
<p>The Database Details given have been tested and have Passed!</p>
<p><a href="{$smarty.server.SCRIPT_NAME}?sql=true">Proceed To Setup The Database</a></p>
<div class="install_content">
<p>The Database Details given have been tested and have Failed!</p>
<p><a href="{$smarty.server.SCRIPT_NAME}">Go Back and Try Again</a></p>
{elseif $smarty.get.sql}
<div class="install_content">
<p>The Database has been setup succesfully. You can now go to the Administration Section of your Blog and begin to add content. You can reach The Administration Section of your Blog by Going to:</p>
<p><a href="../admin/">Admin Panel</a></p>
<p>The Default Password is 'pass', you should change it to something else for security reasons.</p>
<p>To Checkout your new Website, go to:</p>
<p><a href="../">Homepage</a></p>
<p>Make sure you remove this Installation Wizard by deleting the Following Folder:</p>
<p>Folder: "/install" </p>
<p>I hope you enjoy using this blogging software</p>
<div class="install_welcome">
Welcome to the Installation Wizard for Jarida Blog Software. This Wizard will help you install and set up the initial configuration of your new blog. Fill the Settings below to begin the Database Initialization. You should obtain this information from your hosting provider.</p>
{if !$writable}
<div class="error_msg">
<p>To proceed you need to make the following files and folders writable</p>
1.File: "/include/config.php".<br />
2.Folder: "/img/upload/".<br />
3.Folder: "/img/smilies/".<br />
4.Folder: "/templates/".<br />
<div class="admin_form">
<form name="Form" method="post" action="{$smarty.server.SCRIPT_NAME}">
<table width="100%">
<tr><td class="admin_form_label">Database Hostname</td>
<td class="admin_form_input"><input type="text" name="db_host" /></td></tr>
<tr><td class="admin_form_label">Database Name</td>
<td class="admin_form_input"><input type="text" name="db_name" /></td></tr>
<tr><td class="admin_form_label">Database Username</td>
<td class="admin_form_input"><input type="text" name="db_user" /></td></tr>
<tr><td class="admin_form_label">Database Password</td>
<td class="admin_form_input"><input type="password" name="db_pass" /></td></tr>
<tr><td colspan="2" align="center">
<input type="submit" name="submit" value="Proceed" />
Return current item: Jarida