diff --git a/htdocs/sql/db_qbe.php b/htdocs/sql/db_qbe.php new file mode 100755 --- /dev/null +++ b/htdocs/sql/db_qbe.php @@ -0,0 +1,1039 @@ + execute it, else display the headers + */ +if (isset($_REQUEST['submit_sql']) + && preg_match('@^SELECT@i', $_REQUEST['encoded_sql_query'])) { + $goto = 'db_sql.php'; + $zero_rows = htmlspecialchars($GLOBALS['strSuccess']); + $sql_query = urldecode($_REQUEST['encoded_sql_query']); + require './sql.php'; + exit; +} else { + $sub_part = '_qbe'; + require './libraries/db_common.inc.php'; + $url_query .= '&goto=db_qbe.php'; + $url_params['goto'] = 'db_qbe.php'; + require './libraries/db_info.inc.php'; +} + +if (isset($_REQUEST['submit_sql']) + && ! preg_match('@^SELECT@i', $_REQUEST['encoded_sql_query'])) { + echo '
+ + + | ++ | + + + | +