Вход Регистрация
Файл: install/templates/step_php.php
Строк: 35
<h1><?php echo LANG_STEP_PHP_CHECK?></h1>

<h2><?php echo LANG_PHP_VERSION?></h1>
<p><?php echo LANG_PHP_VERSION_REQ ?></p>
<table class="grid">
    <tr>
        <td><?php echo LANG_PHP_VERSION_DESC?></td>
        <td class="value">
            <?php echo html_bool_span($info['php']['version'], $info['php']['valid']); ?>
        </td>
    </tr>
</table>

<h2><?php echo LANG_PHP_VARIABLES?></h2>
<p><?php echo LANG_PHP_VARIABLES_HINT?></p>

<table class="grid">
    <?php foreach($info['vars'] as $name=>$var) { ?>
    <tr>
        <td><?php echo $name?></td>        
        <td class="value" style="width:160px">
            <?php echo $var['req'] ? LANG_PHP_VARIABLES_ON LANG_PHP_VARIABLES_OFF?>
        </td>
        <td class="value">
            <?php echo html_bool_span($var['set'] ? LANG_PHP_VARIABLES_ON LANG_PHP_VARIABLES_OFF$var['set']==$var['req']); ?>
        </td>
    </tr>
    <?php ?>
</table>

<h2><?php echo LANG_PHP_EXTENSIONS?></h2>
<p><?php echo LANG_PHP_EXTENSIONS_REQ ?></p>

<table class="grid">
    <?php foreach($info['ext'] as $name=>$valid) { ?>
    <tr>
        <td><?php echo $name?></td>
        <td class="value">
            <?php if ($valid) { ?>
                <?php echo html_bool_span(LANG_PHP_EXT_INSTALLED$valid); ?>
            <?php } else { ?>
                <?php echo html_bool_span(LANG_PHP_EXT_NOT_INSTALLED$valid); ?>
            <?php ?>
        </td>
    </tr>
    <?php ?>
</table>

<h2><?php echo LANG_PHP_EXTENSIONS_EXTRA?></h2>
<p><?php echo LANG_PHP_EXTENSIONS_EXTRA_REQ ?></p>

<table class="grid">
    <?php foreach($info['ext_extra'] as $name=>$valid) { ?>
    <tr>
        <td><?php echo $name?></td>
        <td class="value">
            <?php if ($valid) { ?>
                <span class="positive"><?php echo LANG_PHP_EXT_INSTALLED?></span>
            <?php } else { ?>
                <span class="neutral"><?php echo LANG_PHP_EXT_NOT_INSTALLED?></span>
            <?php ?>
        </td>
    </tr>
    <?php ?>
</table>

<?php if($info['valid']){ ?>
    <div class="buttons">
        <input type="button" name="next" id="btn-next" value="<?php echo LANG_NEXT?>" onclick="nextStep()" />
    </div>
<?php } else { ?>
    <p>
        <span class="negative"><?php echo LANG_PHP_CHECK_ERROR?></span>
        <?php echo LANG_PHP_CHECK_ERROR_HINT?>
    </p>
<?php ?>
Онлайн: 1
Реклама