index.php 837 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. <?php
  2. require_once "../public/load_lang.php";
  3. require_once "../path.php";
  4. require_once "../pcdl/html_head.php";
  5. ?>
  6. <body style="margin: 0;padding: 0;" class="reader_body" >
  7. <script src="../nissaya/nissaya.js"></script>
  8. <style>
  9. .img_box{
  10. background-color:gray;
  11. }
  12. .book_page{
  13. display: inline-block;
  14. background-color: blue;
  15. max-width: 100%;
  16. width: 100vw;
  17. }
  18. </style>
  19. <?php
  20. if(isset($_GET["book"])){
  21. $book = $_GET["book"];
  22. }
  23. else{
  24. $book = 0;
  25. }
  26. if(isset($_GET["para"])){
  27. $para = $_GET["para"];
  28. }
  29. else{
  30. $para = 0;
  31. }
  32. if(isset($_GET["begin"])){
  33. $begin = $_GET["begin"];
  34. }
  35. else{
  36. $begin = 0;
  37. }
  38. if(isset($_GET["end"])){
  39. $end = $_GET["end"];
  40. }
  41. else{
  42. $end = 0;
  43. }
  44. ?>
  45. <script>
  46. $(document).ready(function () {
  47. nissaya_get(<?php echo "{$book},{$para},{$begin},{$end}";?>);
  48. });
  49. </script>
  50. <div id="contence">
  51. </div>
  52. </body>
  53. </html>