index.php 925 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. <?php
  2. require_once "../public/load_lang.php";
  3. require_once "../config.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["nsyid"])){
  27. $nsyid = $_GET["nsyid"];
  28. }
  29. else{
  30. $nsyid = 0;
  31. }
  32. if(isset($_GET["par"])){
  33. $para = $_GET["par"];
  34. }
  35. else{
  36. $para = 0;
  37. }
  38. if(isset($_GET["begin"])){
  39. $begin = $_GET["begin"];
  40. }
  41. else{
  42. $begin = 0;
  43. }
  44. if(isset($_GET["end"])){
  45. $end = $_GET["end"];
  46. }
  47. else{
  48. $end = 0;
  49. }
  50. ?>
  51. <script>
  52. $(document).ready(function () {
  53. nissaya_load(<?php echo "'{$nsyid}',{$book},{$para},{$begin},{$end}";?>);
  54. });
  55. </script>
  56. <div id="contence">
  57. </div>
  58. </body>
  59. </html>