Advertisement
Guest User

body part added

a guest
Jul 24th, 2013
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <html>
  2. <head>
  3.         <script>
  4.         window.opts;
  5.         window.editor;
  6.         $(function() {
  7.                 opts = {...};
  8.                 editor = new EpicEditor(opts);
  9.                 editor.load();
  10.         });
  11.         </script>
  12. </head>
  13.  
  14. <body>
  15. <form action="#" method="post">
  16.     <input name="load_hashtag" type="hidden" value="1">
  17.         <!--etc-->
  18.     <input name="load_hashtag" id="load" value="Load" class="button_load big round deep-red" type="submit"/>
  19. </form>
  20.  
  21. <?php
  22. if(isset($_POST["load_hashtag"])){
  23.         //$city = $mysqli->real_escape_string($_POST['city']);
  24.         //$date = $mysqli->real_escape_string($_POST['date']);
  25.         $var = "hola"; //testing bar.
  26.         echo "<script src=\"Includes/epiceditor/js/epiceditor.js\"><\/script>";
  27.         echo "<script>\r\n";
  28.         echo "window.editor.importFile(\"Readme.md\" , \"".$var."\");\r\n";
  29.         echo "<\/script>\r\n";
  30. }
  31. ?>
  32. </body>
  33.  
  34.  
  35. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement