<?php TPL::output('install/header.tpl.htm'); ?>

<p class="install_head"><span class="default_logo"></span> </p>
<div class="install_contents">
  <h2 class="install_row"> • Version update</h2>
  <p class="install_txt install_line">Welcome TanyaCMS upgrade program, the program applies only 0.4 Beta 7 and above Version update. <strong style="color:orange">The upgrade process may be slow, the upgrade is not displayed before success do not close your browser</strong></p>
  <ul class="install_ul">
  	<li>
      <label class="label">Data structure version</label>
      <span class="txt_color"><?php echo $this->db_version; ?></span>
    </li>
    <li>
      <label class="label">Program version</label>
      <span class="txt_color"><?php echo GET_VERSION; ?> Build <?php echo GET_VERSION_BUILD; ?></span>
    </li>
    
    <li class="install_n" id="install_control"><a href="#" class="btn-blue" onclick="window.location = '<?php echo get_setting('base_url'); ?>/<?php echo GET_INDEX_SCRIPT; ?>upgrade/run/<?php echo time(); ?>'; document.getElementById('install_control').style.display = 'none'; return false;">A key to upgrade</a></li>
  </ul>
</div>

<?php TPL::output('install/footer.tpl.htm'); ?>