<?php $cfg = array(
  'title'         => $lang->get('Installer'),
  'btn'           => $lang->get('Next'),
  'btn_link'      => true,
  'sub_title'     => $lang->get('Create data'),
  'active'        => 'data',
);

if (!empty($sso_data['rcode'])) {
  switch ($sso_data['rstatus']) {
    case 'y':
      $str_color  = 'success';
      $str_icon   = 'check-circle';
    break;

    default:
      $str_color  = 'danger';
      $str_icon   = 'times-circle';
    break;
  }
}

include($tpl_ctrl . 'head' . GK_EXT_TPL);

  include($tpl_include . 'data_form' . GK_EXT_TPL);

  if (!empty($sso_data['rcode'])) { ?>
    <div class="alert alert-warning">
      <span class="bg-icon">
        <?php include($tpl_icon . 'exclamation-triangle' . BG_EXT_SVG); ?>
      </span>
      <?php echo $lang->get('You have chosen "Full installation", this is the result of the data created by baigo SSO, please confirm!'); ?>
    </div>

    <div class="alert alert-<?php echo $str_color; ?>">
      <span class="bg-icon">
        <?php include($tpl_icon . $str_icon . BG_EXT_SVG); ?>
      </span>
      <?php echo $lang->get($sso_data['msg']); ?>
    </div>
  <?php }

  include($tpl_include . 'install_btn' . GK_EXT_TPL);

include($tpl_include . 'install_foot' . GK_EXT_TPL);

  include($tpl_include . 'data_script' . GK_EXT_TPL);

include($tpl_include . 'html_foot' . GK_EXT_TPL);
