Advertisement
Guest User

Untitled

a guest
Apr 27th, 2015
228
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.79 KB | None | 0 0
  1. <?php
  2. /**
  3. *
  4. * @ This file is created by deZender.Net
  5. * @ deZender (PHP5 Decoder for ionCube Encoder)
  6. *
  7. * @ Version : 1.1.6.0
  8. * @ Author : DeZender
  9. * @ Release on : 02.06.2013
  10. * @ Official site : http://DeZender.Net
  11. *
  12. */
  13.  
  14. require( './db_details_common.php' );
  15. $url_query .= '&amp;goto=db_details.php';
  16.  
  17. if (( isset( $show_query ) && $show_query == '1' )) {
  18. if (isset( $sql_query_cpy )) {
  19. $query_to_display = $sql_query_cpy;
  20. } else {
  21. if (get_magic_quotes_gpc( )) {
  22. $query_to_display = stripslashes( $sql_query );
  23. } else {
  24. $query_to_display = $sql_query;
  25. }
  26. }
  27. } else {
  28. $query_to_display = '';
  29. }
  30.  
  31. $sub_part = '';
  32. require( './db_details_db_info.php' );
  33.  
  34. if (( $num_tables == 0 && empty( $db_query_force ) )) {
  35. $is_info = TRUE;
  36. include( './db_details_structure.php' );
  37. exit( );
  38. }
  39.  
  40. $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' ) ) ));
  41. $auto_sel = ($cfg['TextareaAutoSelect'] ? '
  42. ' . ' onfocus="if (typeof(document.layers) == \'undefined\' || typeof(textarea_selected) == \'undefined\') {textarea_selected = 1; this.form.elements[\'sql_query\'].select();}"' : '');
  43. echo '<!-- Query box, sql file loader and bookmark support -->
  44. <a name="querybox"></a>
  45. <form method="post" action="read_dump.php"';
  46.  
  47. if ($is_upload) {
  48. echo ' enctype="multipart/form-data"';
  49. }
  50.  
  51. echo '
  52. ';
  53. echo ' onsubmit="return checkSqlQuery(this)">
  54. <input type="hidden" name="is_js_confirmed" value="0" />
  55. <input type="hidden" name="lang" value="';
  56. echo $lang;
  57. echo '" />
  58. <input type="hidden" name="convcharset" value="';
  59. echo $convcharset;
  60. echo '" />
  61. <input type="hidden" name="server" value="';
  62. echo $server;
  63. echo '" />
  64. <input type="hidden" name="db" value="';
  65. echo $db;
  66. echo '" />
  67. <input type="hidden" name="pos" value="0" />
  68. <input type="hidden" name="goto" value="db_details.php" />
  69. <input type="hidden" name="zero_rows" value="';
  70. echo htmlspecialchars( $strSuccess );
  71. echo '" />
  72. <input type="hidden" name="prev_sql_query" value="';
  73. echo (!empty( $query_to_display ) ? urlencode( $query_to_display ) : '');
  74. echo '" />
  75. ';
  76. echo sprintf( $strRunSQLQuery, $db ) . ' ' . pma_showmysqldocu( 'Reference', 'SELECT' );
  77. echo '&nbsp;:<br />
  78. <div style="margin-bottom: 5px">
  79. <textarea name="sql_query" cols="';
  80. echo $cfg['TextareaCols'] * 2;
  81. echo '" rows="';
  82. echo $cfg['TextareaRows'];
  83. echo '" wrap="virtual" dir="';
  84. echo $text_dir;
  85. ................................................................
  86. ...........................
  87. ..........
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement