Exemple #1
0
        <td><table border="0" cellspacing="0" cellpadding="2">
          <tr>
            <td class="smallText" colspan="2"><?php 
    echo TEXT_EXPORT_INTRO;
    ?>
</td>
          </tr>
          <tr>
            <td colspan="2"><?php 
    echo tep_draw_separator('pixel_trans.gif', '1', '10');
    ?>
</td>
          </tr>
          <tr>
            <td colspan="2"><?php 
    echo tep_draw_textarea_field('server configuration', 'soft', '100', '15', tep_format_system_info_array($info));
    ?>
</td>
          </tr>
          <tr>
            <td colspan="2"><?php 
    echo tep_draw_separator('pixel_trans.gif', '1', '10');
    ?>
</td>
          </tr>
        </table></td>
      </tr>
      <tr>
        <td><?php 
    echo tep_draw_separator('pixel_trans.gif', '1', '10');
    ?>
?>
</a></h2>

<?php 
if ($action == 'export') {
    ?>

<p>
  <?php 
    echo OSCOM::getDef('text_export_intro', ['button_submit_to_oscommerce' => OSCOM::getDef('button_submit_to_oscommerce'), 'button_save' => OSCOM::getDef('image_save')]);
    ?>
</p>

<p>
  <?php 
    echo HTML::textareaField('server_settings', '100', '15', tep_format_system_info_array($info), 'readonly', false);
    ?>
</p>

<p>
  <?php 
    echo HTML::button(OSCOM::getDef('button_submit_to_oscommerce'), 'fa fa-upload', OSCOM::link('server_info.php', 'action=submit'), null, 'btn-info') . '&nbsp;' . HTML::button(OSCOM::getDef('image_save'), 'fa fa-save', OSCOM::link('server_info.php', 'action=save'), null, 'btn-info');
    ?>
</p>

<?php 
} else {
    ?>

<table class="table table-hover">
  <tbody>