Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /**
- *
- * @ This file is created by deZender.Net
- * @ deZender (PHP5 Decoder for ionCube Encoder)
- *
- * @ Version : 1.1.6.0
- * @ Author : DeZender
- * @ Release on : 02.06.2013
- * @ Official site : http://DeZender.Net
- *
- */
- require( './db_details_common.php' );
- $url_query .= '&goto=db_details.php';
- if (( isset( $show_query ) && $show_query == '1' )) {
- if (isset( $sql_query_cpy )) {
- $query_to_display = $sql_query_cpy;
- } else {
- if (get_magic_quotes_gpc( )) {
- $query_to_display = stripslashes( $sql_query );
- } else {
- $query_to_display = $sql_query;
- }
- }
- } else {
- $query_to_display = '';
- }
- $sub_part = '';
- require( './db_details_db_info.php' );
- if (( $num_tables == 0 && empty( $db_query_force ) )) {
- $is_info = TRUE;
- include( './db_details_structure.php' );
- exit( );
- }
- $is_upload = (( 40000 <= PMA_PHP_INT_VERSION && function_exists( 'ini_get' ) ) ? ( ( strtolower( ini_get( 'file_uploads' ) ) == 'on' || ini_get( 'file_uploads' ) == 1 ) && intval( ini_get( 'upload_max_filesize' ) ) ) : ( PMA_PHP_INT_VERSION < 30016 || intval( @get_cfg_var( 'upload_max_filesize' ) ) ));
- $auto_sel = ($cfg['TextareaAutoSelect'] ? '
- ' . ' onfocus="if (typeof(document.layers) == \'undefined\' || typeof(textarea_selected) == \'undefined\') {textarea_selected = 1; this.form.elements[\'sql_query\'].select();}"' : '');
- echo '<!-- Query box, sql file loader and bookmark support -->
- <a name="querybox"></a>
- <form method="post" action="read_dump.php"';
- if ($is_upload) {
- echo ' enctype="multipart/form-data"';
- }
- echo '
- ';
- echo ' onsubmit="return checkSqlQuery(this)">
- <input type="hidden" name="is_js_confirmed" value="0" />
- <input type="hidden" name="lang" value="';
- echo $lang;
- echo '" />
- <input type="hidden" name="convcharset" value="';
- echo $convcharset;
- echo '" />
- <input type="hidden" name="server" value="';
- echo $server;
- echo '" />
- <input type="hidden" name="db" value="';
- echo $db;
- echo '" />
- <input type="hidden" name="pos" value="0" />
- <input type="hidden" name="goto" value="db_details.php" />
- <input type="hidden" name="zero_rows" value="';
- echo htmlspecialchars( $strSuccess );
- echo '" />
- <input type="hidden" name="prev_sql_query" value="';
- echo (!empty( $query_to_display ) ? urlencode( $query_to_display ) : '');
- echo '" />
- ';
- echo sprintf( $strRunSQLQuery, $db ) . ' ' . pma_showmysqldocu( 'Reference', 'SELECT' );
- echo ' :<br />
- <div style="margin-bottom: 5px">
- <textarea name="sql_query" cols="';
- echo $cfg['TextareaCols'] * 2;
- echo '" rows="';
- echo $cfg['TextareaRows'];
- echo '" wrap="virtual" dir="';
- echo $text_dir;
- ................................................................
- ...........................
- ..........
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement