<?php echo $header; ?>
<header id="js-header" class="u-header u-header--static u-header--show-hide u-header--change-appearance" data-header-fix-moment="500" data-header-fix-effect="slide">
      <div class="u-header__section u-header__section--light g-bg-white g-transition-0_3 g-py-0">
        <nav class="navbar navbar-expand-lg">
          <div class="container">
            <!-- Navigation -->
            <div class="collapse navbar-collapse align-items-center flex-sm-row g-pt-0 g-pt-5--lg" id="navBar">
              <ul class="navbar-nav align-items-lg-center mx-auto text-uppercase g-font-weight-600 u-nav-hover-v1" data-splitted-breakpoint="992">
                <!-- Logo -->
                <li class="nav-logo-item g-mx-40--lg">
                    <img src="view/image/logo.png" alt="Image Description">
				  </li>
                <!-- End Logo -->
              </ul>
            </div>
            <!-- End Navigation -->
          </div>
        </nav>
      </div>
</header>
<div class="container">
      <div class="row justify-content-center">
        <div class="col-sm-8 col-lg-8">
            <?php echo $column_left; ?>
        </div>
      </div>
	  
     <div class="row justify-content-center">
        <div class="col-sm-8 col-lg-8">
          <div class="g-brd-around g-brd-gray-light-v4 g-bg-white g-py-20 g-px-30 g-mt-10">
            <!-- Form -->
      <form action="<?php echo $action; ?>" method="post" enctype="multipart/form-data">
        <p><?php echo $text_install_php; ?></p>
        <fieldset>
          <table class="table">
            <thead>
              <tr>
                <td width="35%"><b><?php echo $text_setting; ?></b></td>
                <td width="25%"><b><?php echo $text_current; ?></b></td>
                <td width="25%"><b><?php echo $text_required; ?></b></td>
                <td width="15%" class="text-center"><b><?php echo $text_status; ?></b></td>
              </tr>
            </thead>
            <tbody>
              <tr>
                <td><?php echo $text_version; ?></td>
                <td><?php echo $php_version; ?></td>
                <td>5.4+</td>
                <td class="text-center"><?php if ($php_version >= '5.4') { ?>
                  <span class="u-label u-label-success g-color-white u-label--sm"><i class="fa fa-check-circle"></i></span>
                  <?php } else { ?>
                  <span class="u-label u-label-danger g-color-white u-label--sm"><i class="fa fa-minus-circle"></i></span>
                  <?php } ?></td>
              </tr>
              <tr>
                <td><?php echo $text_global; ?></td>
                <td><?php if ($register_globals) { ?>
                  <?php echo $text_on; ?>
                  <?php } else { ?>
                  <?php echo $text_off; ?>
                  <?php } ?></td>
                <td><?php echo $text_off; ?></td>
                <td class="text-center"><?php if (!$register_globals) { ?>
                  <span class="u-label u-label-success g-color-white u-label--sm"><i class="fa fa-check-circle"></i></span>
                  <?php } else { ?>
                  <span class="u-label u-label-danger g-color-white u-label--sm"><i class="fa fa-minus-circle"></i></span>
                  <?php } ?></td>
              </tr>
              <tr>
                <td><?php echo $text_magic; ?></td>
                <td><?php if ($magic_quotes_gpc) { ?>
                  <?php echo $text_on; ?>
                  <?php } else { ?>
                  <?php echo $text_off; ?>
                  <?php } ?></td>
                <td><?php echo $text_off; ?></td>
                <td class="text-center"><?php if (!$magic_quotes_gpc) { ?>
                  <span class="u-label u-label-success g-color-white u-label--sm"><i class="fa fa-check-circle"></i></span>
                  <?php } else { ?>
                  <span class="u-label u-label-danger g-color-white u-label--sm"><i class="fa fa-minus-circle"></i></span>
                  <?php } ?></td>
              </tr>
              <tr>
                <td><?php echo $text_file_upload; ?></td>
                <td><?php if ($file_uploads) { ?>
                  <?php echo $text_on; ?>
                  <?php } else { ?>
                  <?php echo $text_off; ?>
                  <?php } ?></td>
                <td><?php echo $text_on; ?></td>
                <td class="text-center"><?php if ($file_uploads) { ?>
                  <span class="u-label u-label-success g-color-white u-label--sm"><i class="fa fa-check-circle"></i></span>
                  <?php } else { ?>
                  <span class="u-label u-label-danger g-color-white u-label--sm"><i class="fa fa-minus-circle"></i></span>
                  <?php } ?></td>
              </tr>
              <tr>
                <td><?php echo $text_session; ?></td>
                <td><?php if ($session_auto_start) { ?>
                  <?php echo $text_on; ?>
                  <?php } else { ?>
                  <?php echo $text_off; ?>
                  <?php } ?></td>
                <td><?php echo $text_off; ?></td>
                <td class="text-center"><?php if (!$session_auto_start) { ?>
                  <span class="u-label u-label-success g-color-white u-label--sm"><i class="fa fa-check-circle"></i></span>
                  <?php } else { ?>
                  <span class="u-label u-label-danger g-color-white u-label--sm"><i class="fa fa-minus-circle"></i></span>
                  <?php } ?></td>
              </tr>
            </tbody>
          </table>
        </fieldset>
        <p><?php echo $text_install_extension; ?></p>
        <fieldset>
          <table class="table">
            <thead>
              <tr>
                <td width="35%"><b><?php echo $text_extension; ?></b></td>
                <td width="25%"><b><?php echo $text_current; ?></b></td>
                <td width="25%"><b><?php echo $text_required; ?></b></td>
                <td width="15%" class="text-center"><b><?php echo $text_status; ?></b></td>
              </tr>
            </thead>
            <tbody>
              <tr>
                <td><?php echo $text_db; ?></td>
                <td><?php if ($db) { ?>
                  <?php echo $text_on; ?>
                  <?php } else { ?>
                  <?php echo $text_off; ?>
                  <?php } ?></td>
                <td><?php echo $text_on; ?></td>
                <td class="text-center"><?php if ($db) { ?>
                  <span class="u-label u-label-success g-color-white u-label--sm"><i class="fa fa-check-circle"></i></span>
                  <?php } else { ?>
                  <span class="u-label u-label-danger g-color-white u-label--sm"><i class="fa fa-minus-circle"></i></span>
                  <?php } ?></td>
              </tr>
              <tr>
                <td><?php echo $text_gd; ?></td>
                <td><?php if ($gd) { ?>
                  <?php echo $text_on; ?>
                  <?php } else { ?>
                  <?php echo $text_off; ?>
                  <?php } ?></td>
                <td><?php echo $text_on; ?></td>
                <td class="text-center"><?php if ($gd) { ?>
                  <span class="u-label u-label-success g-color-white u-label--sm"><i class="fa fa-check-circle"></i></span>
                  <?php } else { ?>
                  <span class="u-label u-label-danger g-color-white u-label--sm"><i class="fa fa-minus-circle"></i></span>
                  <?php } ?></td>
              </tr>
              <tr>
                <td><?php echo $text_curl; ?></td>
                <td><?php if ($curl) { ?>
                  <?php echo $text_on; ?>
                  <?php } else { ?>
                  <?php echo $text_off; ?>
                  <?php } ?></td>
                <td><?php echo $text_on; ?></td>
                <td class="text-center"><?php if ($curl) { ?>
                  <span class="u-label u-label-success g-color-white u-label--sm"><i class="fa fa-check-circle"></i></span>
                  <?php } else { ?>
                  <span class="u-label u-label-danger g-color-white u-label--sm"><i class="fa fa-minus-circle"></i></span>
                  <?php } ?></td>
              </tr>
              <tr>
                <td><?php echo $text_mcrypt; ?></td>
                <td><?php if ($mcrypt_encrypt) { ?>
                  <?php echo $text_on; ?>
                  <?php } else { ?>
                  <?php echo $text_off; ?>
                  <?php } ?></td>
                <td><?php echo $text_on; ?></td>
                <td class="text-center"><?php if ($mcrypt_encrypt) { ?>
                  <span class="u-label u-label-success g-color-white u-label--sm"><i class="fa fa-check-circle"></i></span>
                  <?php } else { ?>
                  <span class="u-label u-label-danger g-color-white u-label--sm"><i class="fa fa-minus-circle"></i></span>
                  <?php } ?></td>
              </tr>
              <tr>
                <td><?php echo $text_zlib; ?></td>
                <td><?php if ($zlib) { ?>
                  <?php echo $text_on; ?>
                  <?php } else { ?>
                  <?php echo $text_off; ?>
                  <?php } ?></td>
                <td><?php echo $text_on; ?></td>
                <td class="text-center"><?php if ($zlib) { ?>
                  <span class="u-label u-label-success g-color-white u-label--sm"><i class="fa fa-check-circle"></i></span>
                  <?php } else { ?>
                  <span class="u-label u-label-danger g-color-white u-label--sm"><i class="fa fa-minus-circle"></i></span>
                  <?php } ?></td>
              </tr>
              <tr>
                <td><?php echo $text_zip; ?></td>
                <td><?php if ($zip) { ?>
                  <?php echo $text_on; ?>
                  <?php } else { ?>
                  <?php echo $text_off; ?>
                  <?php } ?></td>
                <td><?php echo $text_on; ?></td>
                <td class="text-center"><?php if ($zip) { ?>
                  <span class="u-label u-label-success g-color-white u-label--sm"><i class="fa fa-check-circle"></i></span>
                  <?php } else { ?>
                  <span class="u-label u-label-danger g-color-white u-label--sm"><i class="fa fa-minus-circle"></i></span>
                  <?php } ?></td>
              </tr>
              <?php if (!$iconv) { ?>
              <tr>
                <td><?php echo $text_mbstring; ?></td>
                <td><?php if ($mbstring) { ?>
                  <?php echo $text_on; ?>
                  <?php } else { ?>
                  <?php echo $text_off; ?>
                  <?php } ?></td>
                <td><?php echo $text_on; ?></td>
                <td class="text-center"><?php if ($mbstring) { ?>
                  <span class="u-label u-label-success g-color-white u-label--sm"><i class="fa fa-check-circle"></i></span>
                  <?php } else { ?>
                  <span class="u-label u-label-danger g-color-white u-label--sm"><i class="fa fa-minus-circle"></i></span>
                  <?php } ?></td>
              </tr>
              <?php } ?>
            </tbody>
          </table>
        </fieldset>
        <p><?php echo $text_install_file; ?></p>
        <fieldset>
          <table class="table">
            <thead>
              <tr>
                <td><b><?php echo $text_file; ?></b></td>
                <td><b><?php echo $text_status; ?></b></td>
              </tr>
            </thead>
            <tbody>
              <tr>
                <td><?php echo $config_catalog; ?></td>
                <td><?php if (!file_exists($config_catalog)) { ?>
                  <span class="u-label u-label-danger g-color-white u-label--sm"><?php echo $text_missing; ?></span>
                  <?php } elseif (!is_writable($config_catalog)) { ?>
                  <span class="u-label u-label-danger g-color-white u-label--sm"><?php echo $text_unwritable; ?></span>
                  <?php } else { ?>
                  <span class="u-label u-label-success g-color-white u-label--sm"><?php echo $text_writable; ?></span>
                  <?php } ?></td>
              </tr>
              <tr>
                <td><?php echo $config_admin; ?></td>
                <td><?php if (!file_exists($config_admin)) { ?>
                  <span class="u-label u-label-danger g-color-white u-label--sm"><?php echo $text_missing; ?></span>
                  <?php } elseif (!is_writable($config_admin)) { ?>
                  <span class="u-label u-label-danger g-color-white u-label--sm"><?php echo $text_unwritable; ?></span>
                  <?php } else { ?>
                  <span class="u-label u-label-success g-color-white u-label--sm"><?php echo $text_writable; ?></span>
                  <?php } ?></td>
              </tr>
            </tbody>
          </table>
        </fieldset>
        <p><?php echo $text_install_directory; ?></p>
        <fieldset>
          <table class="table">
            <thead>
              <tr>
                <td align="left"><b><?php echo $text_directory; ?></b></td>
                <td align="left"><b><?php echo $text_status; ?></b></td>
              </tr>
            </thead>
            <tbody>
              <tr>
                <td><?php echo $image . '/'; ?></td>
                <td><?php if (is_writable($image)) { ?>
                  <span class="u-label u-label-success g-color-white u-label--sm"><?php echo $text_writable; ?></span>
                  <?php } else { ?>
                  <span class="u-label u-label-danger g-color-white u-label--sm"><?php echo $text_unwritable; ?></span>
                  <?php } ?></td>
              </tr>
              <tr>
                <td><?php echo $image_cache . '/'; ?></td>
                <td><?php if (is_writable($image_cache)) { ?>
                  <span class="u-label u-label-success g-color-white u-label--sm"><?php echo $text_writable; ?></span>
                  <?php } else { ?>
                  <span class="u-label u-label-danger g-color-white u-label--sm"><?php echo $text_unwritable; ?></span>
                  <?php } ?></td>
              </tr>
              <tr>
                <td><?php echo $image_catalog . '/'; ?></td>
                <td><?php if (is_writable($image_catalog)) { ?>
                  <span class="u-label u-label-success g-color-white u-label--sm"><?php echo $text_writable; ?></span>
                  <?php } else { ?>
                  <span class="u-label u-label-danger g-color-white u-label--sm"><?php echo $text_unwritable; ?></span>
                  <?php } ?></td>
              </tr>
              <tr>
                <td><?php echo $cache . '/'; ?></td>
                <td><?php if (is_writable($cache)) { ?>
                  <span class="u-label u-label-success g-color-white u-label--sm"><?php echo $text_writable; ?></span>
                  <?php } else { ?>
                  <span class="u-label u-label-danger g-color-white u-label--sm"><?php echo $text_unwritable; ?></span>
                  <?php } ?></td>
              </tr>
              <tr>
                <td><?php echo $logs . '/'; ?></td>
                <td><?php if (is_writable($logs)) { ?>
                  <span class="u-label u-label-success g-color-white u-label--sm"><?php echo $text_writable; ?></span>
                  <?php } else { ?>
                  <span class="u-label u-label-danger g-color-white u-label--sm"><?php echo $text_unwritable; ?></span>
                  <?php } ?></td>
              </tr>
              <tr>
                <td><?php echo $download . '/'; ?></td>
                <td><?php if (is_writable($download)) { ?>
                  <span class="u-label u-label-success g-color-white u-label--sm"><?php echo $text_writable; ?></span>
                  <?php } else { ?>
                  <span class="u-label u-label-danger g-color-white u-label--sm"><?php echo $text_unwritable; ?></span>
                  <?php } ?></td>
              </tr>
              <tr>
                <td><?php echo $upload . '/'; ?></td>
                <td><?php if (is_writable($upload)) { ?>
                  <span class="u-label u-label-success g-color-white u-label--sm"><?php echo $text_writable; ?></span>
                  <?php } else { ?>
                  <span class="u-label u-label-danger g-color-white u-label--sm"><?php echo $text_unwritable; ?></span>
                  <?php } ?></td>
              </tr>
              <tr>
                <td><?php echo $modification . '/'; ?></td>
                <td><?php if (is_writable($modification)) { ?>
                  <span class="u-label u-label-success g-color-white u-label--sm"><?php echo $text_writable; ?></span>
                  <?php } else { ?>
                  <span class="u-label u-label-danger g-color-white u-label--sm"><?php echo $text_unwritable; ?></span>
                  <?php } ?></td>
              </tr>
            </tbody>
          </table>
        </fieldset>
                <div class="row justify-content-between">
                    <div class="col-6 align-self-center">
                      <a href="<?php echo $back; ?>" class="btn u-btn-bluegray btn-block"><?php echo $button_back; ?></a>
                    </div>
                    <div class="col-6 align-self-center text-right">
                      <input type="submit" value="<?php echo $button_continue; ?>" class="btn u-btn-deeporange btn-block" />
                    </div>
                  </div>
      </form>
            <!-- End Form -->
          </div>
        </div>
      </div>
</div>
<?php echo $footer; ?>