Logo Search packages:      
Sourcecode: ibwebadmin version File versions  Download package

dt_csv.php

<?php
// File           dt_csv.php / ibWebAdmin
// Purpose        html sequence for the csv-import/export-panel in data.php
// Author         Lutz Brueckner <irie@gmx.de>
// Copyright      (c) 2000, 2001, 2002, 2003, 2004 by Lutz Brueckner,
//                published under the terms of the GNU General Public Licence v.2,
//                see file LICENCE for details
// Created        <00/10/15 18:09:49 lb>
//
// $Id: dt_csv.php,v 1.6 2004/04/06 18:55:41 lbrueckner Exp $


if ($s_connected) {

?>
<form method="post" action="<?php echo $HTTP_SERVER_VARS['PHP_SELF']; ?>" name="dt_csv_form" enctype="multipart/form-data">
<?php hidden_session_field(); ?>
<table border cellpadding="3" cellspacing="0">
<tr>
   <th><?php echo $dt_strings['SelTable']; ?></th><th><?php echo $dt_strings['FileName']; ?></th><th>&nbsp;</th>
<tr>
   <td>
      <select name="dt_export_table">
        <?php build_table_options('', array('select')); ?>
      </select>
   </td>
   <td>
   <input type="text" size="30" name="dt_export_file" value="export.csv">&nbsp;&nbsp; <?php echo $dt_strings['EntName']; ?>
   </td>
   <td>
      <input type="submit" name="dt_export_doit" value="<?php echo $button_strings['Export']; ?>">
   </td>
</tr>
<tr>
   <td>
      <select name="dt_import_table">
        <?php build_table_options('', array('noviews', 'insert')); ?>
      </select>
   </td>
   <td>
      <input type="file" size="30" name="dt_import_file">
   </td>
   <td>
      <input type="submit" name="dt_import_doit" value="<?php echo $button_strings['Import']; ?>">
   </td>
</tr>
</table>
            <input type="checkbox" name="dt_import_null" value="yes"<?php if ($s_csv['import_null']) echo ' checked'; ?>>&nbsp;<?php echo $dt_strings['ConvEmpty']; ?>
</form>
<b><?php echo $dt_strings['FileForm'].':'; ?></b>
<ul type="circle">
   <li><?php echo $dt_strings['CsvForm1']; ?></li>
   <li><?php echo $dt_strings['CsvForm2']; ?></li>
   <li><?php echo $dt_strings['CsvForm3']; ?></li>
</ul>
<?php

}

?>

Generated by  Doxygen 1.6.0   Back to index