title.php 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. <?PHP
  2. require_once "../pcdl/html_head.php";
  3. ?>
  4. <body>
  5. <?php
  6. require_once "../pcdl/head_bar.php";
  7. require_once "../search/toobar.php";
  8. ?>
  9. <style>
  10. #dt_title , #dt_title_1{
  11. border-bottom: 2px solid var(--link-hover-color);
  12. }
  13. #index_list{
  14. display:flex;
  15. }
  16. </style>
  17. <style media="screen and (max-width:800px)">
  18. #index_list{
  19. display:block;
  20. }
  21. </style>
  22. <script language="javascript" src="title.js"></script>
  23. <div id="dict_ref_search_result" style="background-color:white;color:black;">
  24. </div>
  25. <div id="index_list">
  26. <div style="flex:3;margin:12px;">
  27. <div class="card" style="padding:10px;">
  28. <div>最近搜索</div>
  29. <div id="title_histray"></div>
  30. </div>
  31. </div>
  32. <div style="flex:3;margin:12px;">
  33. <div class="card" style="padding:10px;">
  34. <div>热搜</div>
  35. <div id="title_hot"></div>
  36. </div>
  37. </div>
  38. <div style="flex:3;margin:12px;">
  39. <div class="card" style="padding:10px;">
  40. <div id="guide_title_search_index"></div>
  41. </div>
  42. </div>
  43. </div>
  44. <script>
  45. search_show_history();
  46. guide_get("title_search_index");
  47. </script>
  48. <?php
  49. if(!empty($_GET["key"])){
  50. echo "<script>";
  51. echo "dict_pre_word_click(\"{$_GET["key"]}\")";
  52. echo "</script>";
  53. }
  54. ?>
  55. <?php
  56. include "../pcdl/html_foot.php";
  57. ?>