Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Aug 5th, 2011  |  syntax: HTML  |  size: 3.45 KB  |  views: 57  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. <form method="post" action="import.php"  enctype="multipart/form-data" class="ajax" id="sqlqueryform" name="sqlform">
  2. <input type="hidden" name="is_js_confirmed" value="0" />
  3. <input type="hidden" name="db" value="test" /><input type="hidden" name="table" value="test" /><input type="hidden" name="token" value="59b2bdd1683e2a732c7bb03eacec515f" />
  4. <input type="hidden" name="pos" value="0" />
  5. <input type="hidden" name="goto" value="db_sql.php" />
  6. <input type="hidden" name="message_to_show" value="Your SQL query has been executed successfully" />
  7. <input type="hidden" name="prev_sql_query" value="INSERT INTO `test` VALUES('0000-00-00 00:00:00', 1);# 1 row affected.
  8. INSERT INTO `test` VALUES('0000-00-00 00:00:00', 2);# 1 row affected.
  9. INSERT INTO `test` VALUES('0000-00-00 00:00:00', 3);# 1 row affected.
  10. INSERT INTO `test` VALUES('0000-00-00 00:00:00', 4);# 1 row affected.
  11. INSERT INTO `test` VALUES('0000-00-00 00:00:00', 5);# 1 row affected.
  12. " />
  13. <a name="querybox"></a>
  14. <div id="queryboxcontainer">
  15. <fieldset id="querybox">
  16. <legend>Run SQL query/queries on database <a href="db_structure.php?db=test&amp;token=59b2bdd1683e2a732c7bb03eacec515f">test</a>: <a href="./url.php?url=http%3A%2F%2Fdev.mysql.com%2Fdoc%2Frefman%2F5.1%2Fen%2Fselect.html&amp;token=59b2bdd1683e2a732c7bb03eacec515f" target="mysql_doc"><img class="icon ic_b_help_s" src="themes/dot.gif" alt="Documentation" title="Documentation" /></a></legend>
  17. <div id="queryfieldscontainer">
  18. <div id="sqlquerycontainer">
  19. <textarea tabindex="100" name="sql_query" id="sqlquery"  cols="40"  rows="30"  dir="ltr">INSERT INTO `test` VALUES('0000-00-00 00:00:00', 1);# 1 row affected.
  20.  
  21.  
  22. INSERT INTO `test` VALUES('0000-00-00 00:00:00', 2);# 1 row affected.
  23.  
  24.  
  25. INSERT INTO `test` VALUES('0000-00-00 00:00:00', 3);# 1 row affected.
  26.  
  27.  
  28. INSERT INTO `test` VALUES('0000-00-00 00:00:00', 4);# 1 row affected.
  29.  
  30.  
  31. INSERT INTO `test` VALUES('0000-00-00 00:00:00', 5);# 1 row affected.
  32. </textarea>
  33. <input type="button" value="SELECT *" id="selectall" class="sqlbutton" /><input type="button" value="SELECT" id="select" class="sqlbutton" /><input type="button" value="INSERT" id="insert" class="sqlbutton" /><input type="button" value="UPDATE" id="update" class="sqlbutton" /><input type="button" value="DELETE" id="delete" class="sqlbutton" /><input type="button" value="Clear" id="clear" class="sqlbutton" /></div>
  34. <div id="tablefieldscontainer">
  35. <label>Columns</label>
  36. <select id="tablefields" name="dummy" size="13" multiple="multiple" ondblclick="insertValueQuery()">
  37. <option value="`test`" title="">test</option>
  38. <option value="`idx`" title="">idx</option>
  39. </select>
  40. <div id="tablefieldinsertbuttoncontainer">
  41. <input type="button" name="insert" value="&lt;&lt;" onclick="insertValueQuery()" title="Insert" />
  42. </div>
  43. </div>
  44. <div class="clearfloat"></div>
  45. </div>
  46. <div class="clearfloat"></div>
  47. </fieldset>
  48. </div>
  49. <fieldset id="queryboxfooter" class="tblFooters">
  50. <div class="formelement">
  51. </div>
  52. <div class="formelement">
  53. <label for="id_sql_delimiter">[ Delimiter</label>
  54. <input type="text" name="sql_delimiter" tabindex="131" size="3" value=";" id="id_sql_delimiter" /> ]
  55. <input type="checkbox" name="show_query" value="1" id="checkbox_show_query" tabindex="132" checked="checked" />
  56. <label for="checkbox_show_query"> Show this query here again </label>
  57. </div>
  58. <input type="submit" name="SQL" tabindex="200" value="Go" />
  59. <div class="clearfloat"></div>
  60. </fieldset>
  61. </form>
  62. <div id="sqlqueryresults"></div>
clone this paste RAW Paste Data