head.php 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  1. <link type="text/css" rel="stylesheet" href="../course/style.css" />
  2. <link type="text/css" rel="stylesheet" href="../course/mobile.css" media="screen and (max-width:800px)" />
  3. <link type="text/css" rel="stylesheet" href="./style.css" />
  4. <style>
  5. #main_video_win iframe{
  6. width:100%;
  7. height:100%;
  8. }
  9. #main_tag span{
  10. margin: 2px;
  11. color:black;
  12. padding: 2px 12px 0 12px;
  13. font-weight: 500;
  14. transition-duration: 0.2s;
  15. cursor: pointer;
  16. display: inline-flex;
  17. align-items: center;
  18. flex-wrap: nowrap;
  19. justify-content: center;
  20. font-size:110%;
  21. border: unset;
  22. border-radius: 0;
  23. border-bottom: 2px solid var(--nocolor);
  24. }
  25. #main_tag span:hover{
  26. background-color:unset;
  27. border-color: var(--link-hover-color);
  28. }
  29. #main_tag .select{
  30. border-bottom: 2px solid var(--link-color);
  31. }
  32. .index_inner .icon_btn .icon{
  33. fill: var(--btn-hover-bg-color);
  34. }
  35. .index_inner .icon_btn:hover .icon{
  36. fill: var(--btn-bg-color);
  37. }
  38. #footer_nav{
  39. display: none;
  40. }
  41. .user_home_category{
  42. display:flex;
  43. }
  44. .user_home_category li{
  45. font-size: 16px;
  46. margin-right:2em;
  47. padding:5px;
  48. }
  49. </style>
  50. <script src="./uhome.js"></script>
  51. <div id='course_head_bar' >
  52. <div class='section_inner'>
  53. <div id='course_info_head' class='course_info_block <?php if(isset($currChannal) && $currChannal!="index"){echo "compact";}?>'>
  54. <div id='course_info_head_1'>
  55. <div id='course_info_head_face'>
  56. <img src='../../tmp/images/user/<?php echo $_GET["userid"];?>.jpg' />
  57. </div>
  58. <div id='course_info_head_title'>
  59. <div id='course_title'><?php echo ucenter_getA($_GET["userid"]);?></div>
  60. <div id='course_subtitle'></div>
  61. <div id='course_button'>
  62. <button class='disable'>+<?php echo $_local->gui->watch;?></button>
  63. </div>
  64. </div>
  65. </div>
  66. </div>
  67. <div id='' class='course_info_block'>
  68. <ul class="user_home_category">
  69. <li>
  70. <?php
  71. if(isset($currChannal) && $currChannal=="index"){
  72. echo '<span class="select">'.$_local->gui->home.'</span>';
  73. }
  74. else{
  75. echo "<a href='index.php?userid={$_GET["userid"]}'>{$_local->gui->home}</a>";
  76. }
  77. ?>
  78. </li>
  79. <li>
  80. <?php
  81. if(isset($currChannal) && $currChannal=="palicanon"){
  82. echo '<span class="select">'.$_local->gui->translation.'</span>';
  83. }
  84. else{
  85. echo '<a href="palicanon.php?userid='.$_GET["userid"].'">'.$_local->gui->translation.'</a>';
  86. }
  87. ?>
  88. </li>
  89. <li>
  90. <?php
  91. if(isset($currChannal) && $currChannal=="course"){
  92. echo '<span class="select">'.$_local->gui->lesson.'</span>';
  93. }
  94. else{
  95. echo '<a href="course.php?userid='.$_GET["userid"].'">'.$_local->gui->lesson.'</a>';
  96. }
  97. ?>
  98. </li>
  99. <li>
  100. <?php
  101. if(isset($_GET["userid"]) && isset($_COOKIE["userid"]) ){
  102. if($_COOKIE["userid"]==$_GET["userid"]){
  103. $id = $_GET["userid"];
  104. }
  105. else{
  106. $id=false;
  107. }
  108. }
  109. else if(isset($_COOKIE["userid"])){
  110. $id=$_COOKIE["userid"];
  111. }
  112. else{
  113. $id = false;
  114. }
  115. if($id){
  116. if(isset($currChannal) && $currChannal=="foot-step"){
  117. echo '<span class="select">'.$_local->gui->EXP.'</span>';
  118. }
  119. else{
  120. echo '<a href="foot_step.php?userid='.$id.'">'.$_local->gui->EXP.'</a>';
  121. }
  122. }
  123. ?>
  124. </li>
  125. </ul>
  126. </div>
  127. </div>
  128. </div>