remove control M
[phpmyadmin/crack.git] / tbl_row_delete.php3
blob3681ec11a804f4cf818638c36439ea609c9faca1
1 <?php
2 /* $Id$ */
3 // vim: expandtab sw=4 ts=4 sts=4:
5 if (!defined('PMA_GRAB_GLOBALS_INCLUDED')) {
6 include('./libraries/grab_globals.lib.php3');
8 if (!defined('PMA_COMMON_LIB_INCLUDED')) {
9 include('./libraries/common.lib.php3');
11 if (PMA_MYSQL_INT_VERSION >= 40100 && !defined('PMA_MYSQL_CHARSETS_LIB_INCLUDED')) {
12 include('./libraries/mysql_charsets.lib.php3');
15 require('./header.inc.php3');
17 /**
18 * Drop multiple rows if required
21 // workaround for IE problem:
22 if (isset($submit_mult_x)) {
23 $submit_mult = 'row_delete';
26 if ((!empty($submit_mult) && isset($rows_to_delete))
27 || isset($mult_btn)) {
28 $action = 'tbl_row_delete.php3';
29 $err_url = 'tbl_row_delete.php3?' . PMA_generate_common_url($db, $table);
30 if (!isset($mult_btn)) {
31 $original_sql_query = $sql_query;
32 $original_url_query = $url_query;
33 $original_pos = $pos;
35 include('./mult_submits.inc.php3');
37 $url_query = PMA_generate_common_url($db, $table)
38 . '&amp;goto=tbl_properties.php3';
41 /**
42 * Show result of multi submit operation
44 if ((!empty($submit_mult) && isset($rows_to_delete))
45 || isset($mult_btn)) {
46 PMA_showMessage($strSuccess);
49 $sql_query = $original_sql_query;
50 $url_query = $original_url_query;
51 $pos = $original_pos;
52 include('./sql.php3');
54 /**
55 * Displays the footer
57 echo "\n";
58 require('./footer.inc.php3');