diff options
Diffstat (limited to 'admin/admin/admin/ldi_table.php')
-rwxr-xr-x | admin/admin/admin/ldi_table.php | 127 |
1 files changed, 0 insertions, 127 deletions
diff --git a/admin/admin/admin/ldi_table.php b/admin/admin/admin/ldi_table.php deleted file mode 100755 index b8a636be..00000000 --- a/admin/admin/admin/ldi_table.php +++ /dev/null @@ -1,127 +0,0 @@ -<?php -/* $Id: ldi_table.php,v 1.23 2002/11/19 14:09:38 rabus Exp $ */ -// vim: expandtab sw=4 ts=4 sts=4: - - -/** - * This file defines the forms used to insert a textfile into a table - */ - - -/** - * Gets some core libraries and displays links - */ -require('./tbl_properties_common.php'); -$err_url = 'ldi_table.php' . $err_url; -$url_query .= '&goto=ldi_table.php&back=ldi_table.php'; -require('./tbl_properties_table_info.php'); - - -/** - * Displays the form - */ -?> -<form action="ldi_check.php" method="post" enctype="multipart/form-data"> - <table cellpadding="5" border="2"> - <tr> - <td><?php echo $strLocationTextfile; ?></td> - <td colspan="2"><input type="file" name="textfile" /></td> - </tr> -<?php -if ($cfg['AllowAnywhereRecoding'] && $allow_recoding) { - $temp_charset = reset($cfg['AvailableCharsets']); - echo ' <tr>' . "\n" - . ' <td>' . $strCharsetOfFile . '</td>' . "\n" - . ' <td colspan="2">' . "\n" - . ' <select name="charset_of_file" size="1">' . "\n" - . ' <option value="' . $temp_charset . '"'; - if ($temp_charset == $charset) { - echo ' selected="selected"'; - } - echo '>' . $temp_charset . '</option>' . "\n"; - while ($temp_charset = next($cfg['AvailableCharsets'])) { - echo ' <option value="' . $temp_charset . '"'; - if ($temp_charset == $charset) { - echo ' selected="selected"'; - } - echo '>' . $temp_charset . '</option>' . "\n"; - } // end while - echo ' </select>' . "\n"; - echo ' </td>' . "\n"; - echo ' </tr>'; -} // end if -echo "\n"; -?> - <tr> - <td><?php echo $strReplaceTable; ?></td> - <td><input type="checkbox" name="replace" value="REPLACE" id="checkbox_replace" /><?php echo $strReplace; ?></td> - <td><label for="checkbox_replace"><?php echo $strTheContents; ?></label></td> - </tr> - <tr> - <td><?php echo $strFieldsTerminatedBy; ?></td> - <td><input type="text" name="field_terminater" size="2" maxlength="2" value=";" /></td> - <td><?php echo $strTheTerminator; ?></td> - </tr> - <tr> - <td><?php echo $strFieldsEnclosedBy; ?></td> - <td> - <input type="text" name="enclosed" size="1" maxlength="1" value=""" /> - <input type="checkbox" name="enclose_option" value="OPTIONALLY" id="checkbox_enclose_option" /> - <label for="checkbox_enclose_option"><?php echo $strOptionally; ?></label> - </td> - <td><?php echo $strOftenQuotation; ?></td> - </tr> - <tr> - <td><?php echo $strFieldsEscapedBy; ?></td> - <td><input type="text" name="escaped" size="2" maxlength="2" value="\" /></td> - <td><?php echo $strOptionalControls; ?></td> - </tr> - <tr> - <td><?php echo $strLinesTerminatedBy; ?></td> - <td><input type="text" name="line_terminator" size="8" maxlength="8" value="<?php echo ((PMA_whichCrlf() == "\n") ? '\n' : '\r\n'); ?>" /></td> - <td><?php echo $strCarriage; ?><br /><?php echo $strLineFeed; ?></td> - </tr> - <tr> - <td><?php echo $strColumnNames; ?></td> - <td><input type="text" name="column_name" /></td> - <td><?php echo $strIfYouWish; ?></td> - </tr> -<?php -// 2002/2/22 appended by Y.Kawada: Kanji encoding convert controls -if (function_exists('PMA_set_enc_form')) { - echo ' <tr>' . "\n" - . ' <td>' . $strKanjiEncodConvert . '</td>' . "\n" - . ' <td colspan=2>' . "\n" - . PMA_set_enc_form(' ') - . ' </td>' . "\n" - . ' </tr>' . "\n"; -} // end if -?> - <tr> - <td colspan="3" align="center"><?php print PMA_showMySQLDocu('Reference', 'LOAD_DATA'); ?></td> - </tr> - <tr> - <td colspan="3" align="center"> - <input type="hidden" name="lang" value="<?php echo $lang; ?>" /> - <input type="hidden" name="convcharset" value="<?php echo $convcharset; ?>" /> - <input type="hidden" name="server" value="<?php echo $server; ?>" /> - <input type="hidden" name="db" value="<?php echo htmlspecialchars($db); ?>" /> - <input type="hidden" name="table" value="<?php echo htmlspecialchars($table); ?>" /> - <input type="hidden" name="zero_rows" value="<?php echo $strTheContent; ?>" /> - <input type="hidden" name="goto" value="tbl_properties.php" /> - <input type="hidden" name="back" value="ldi_table.php" /> - <input type="hidden" name="into_table" value="<?php echo htmlspecialchars($table); ?>" /> - <input type="submit" name="btnLDI" value="<?php echo $strSubmit; ?>" /> - <input type="reset" value="<?php echo $strReset; ?>" /> - </td> - </tr> -</table> -</form> - - -<?php -/** - * Displays the footer - */ -require('./footer.inc.php'); -?> |