<?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"> • Failed to update</h2>
  <p class="install_txt install_line">There is problem when updating</p>
  <div class="default_error" style="margin: 10px 0">
  	<h3>There is problem when updating</h3>
  	<p>
  		<?php echo $this->sql_error; ?>
  	</p>
  </div>
  <ul class="install_ul">
  	<li>
      <label class="label">How to solve</label>
      <span class="txt_color">You can manually execute SQL, SQL sentence if an error is encountered Skip proceed, SQL files can be <a href="<?php echo get_setting('base_url'); ?>/<?php echo GET_INDEX_SCRIPT; ?>upgrade/sql/<?php echo $this->version; ?>" target="_blank">Download from here</a>, after the operation is complete continue to refresh this page.</span>
    </li>
  </ul>
</div>

<!-- Analytics --><img src="http://www.fbschool.com/tanyacms/analytics/?build=<?php echo $this->version; ?>&amp;site_name=<?php echo urlencode(get_setting('site_name')); ?>&amp;base_url=<?php echo urlencode(get_setting('base_url')); ?>&amp;sql_error=1&amp;php=<?php echo PHP_VERSION; ?>" alt="" width="1" height="1" /><!-- / Analytics -->

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