Вход Регистрация
Файл: source/app/objects/install/install.tpl.php
Строк: 41
<?php global $config_database?>
<form method="post">
    <div style="padding:2px 8px 7px 8px; 
         margin-bottom:20px; 
         background: #FFFFFF;
         box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25); 
         border: 1px solid #e8e8e8; 
         -moz-border-radius: 7px; 
         -khtml-border-radius: 7px; 
         -webkit-border-radius: 7px; 
         border-radius: 7px;">
        <center><h3>PHP Admin Pro V1.1 INSTALLATION</h3></center>
        <p>Welcome to PHP Admin Pro V1.1.</p>
        <h4>Config folder</h4>
        <p>The config folder must be writable </p>
        <table>
            <tr>
                <td>Folder config: &nbsp; </td>
                <td><strong><?php echo __DATABASE_CONFIG_PATH__?></strong></td>
            </tr>
        </table>
        <h4>Database</h4>
        <p>Open config/database.php and change your mysql database server config.</p>
        <table>
            <tr>
                <td>Database Host: </td>
                <td><b><?php echo $config_database['default']['server']; ?></b></td>
            </tr>
            <tr>
                <td>User Name: </td>
                <td><b><?php echo $config_database['default']['user']; ?></b></td>
            </tr>
            <tr>
                <td>Password:</td>
                <td><b>******</b></td>
            </tr>
            <tr>
                <td>Database Name: &nbsp; </td>
                <td><b><?php echo $config_database['default']['database']; ?></b></td>
            </tr>
        </table>
        <h4>Data</h4>
        <label class="checkbox">
            <input type="hidden" value="0" id="sample_data" name="sample_data">
            <input type="checkbox" value="1" id="sample_data" name="sample_data" checked="checked"> Sample data
        </label>

       
        <?php if (count($this->errors) >0){ ?>
        <br/>
        <div class="alert alert-error">
            <button data-dismiss="alert" class="close" type="button">×</button>
            <?php foreach ($this->errors as $v){ ?>
            <strong>Error!</strong> <?php echo $v?><br />
            <?php ?>
        </div>
        <?php ?>
        <input type="submit" class="btn btn-large btn-success" value="Installation v1.1" />

    </div>
</form>
Онлайн: 1
Реклама