header.php 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. <!DOCTYPE html>
  2. <head>
  3. <title><?php echo $setting['appname']; ?></title>
  4. <style type="text/css">
  5. @font-face {
  6. font-family: 'fontello';
  7. src: url('./font/fontello.eot?43704775');
  8. src: url('./font/fontello.eot?43704775#iefix') format('embedded-opentype'),
  9. url('./font/fontello.woff?43704775') format('woff'),
  10. url('./font/fontello.ttf?43704775') format('truetype'),
  11. url('./font/fontello.svg?43704775#fontello') format('svg');
  12. font-weight: normal;
  13. font-style: normal;
  14. }
  15. @font-face {
  16. font-family: 'patua';
  17. src: url('./font/patua-one-v10-latin-regular.eot');
  18. src: url('./font/patua-one-v10-latin-regular.woff') format('woff'),
  19. url('./font/patua-one-v10-latin-regular.ttf') format('truetype'),
  20. url('./font/patua-one-v10-latin-regular.svg') format('svg');
  21. font-weight: normal;
  22. font-style: normal;
  23. }
  24. .nte{
  25. width:35px;
  26. height:35px;
  27. float:left;
  28. margin:2px;
  29. background-size:cover;
  30. position:relative;
  31. }
  32. .nte_type{
  33. position:absolute;
  34. right:0px;
  35. bottom:0px;
  36. width:15px;
  37. height:15px;
  38. border-radius:15px;
  39. font-family:fontello;
  40. font-size:8px;
  41. color:white;
  42. }
  43. .nte_type span{
  44. font-family:fontello;
  45. font-size:8px;
  46. color:white !important;
  47. margin-top:4px;
  48. display:block;
  49. }
  50. #emojisearch {
  51. border:0;
  52. }
  53. .loadingImage{
  54. width:100px;
  55. height:100px;
  56. background-image: url("./img/loadingb.gif");
  57. background-repeat:no-repeat;
  58. }
  59. </style>
  60. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  61. <link rel="stylesheet" href='./<?php echo ($user_settings['theme'] == "custom" ? themes("file","css/color.php") : themes("file","css/color.css"))?>?id=<?php echo mt_rand(1000, 2500); ?>' />
  62. <link rel="stylesheet" media='screen and (min-width: 801px)' href='./css/style.css?id=<?php echo mt_rand(1000, 2500); ?>' />
  63. <link rel="stylesheet" media='screen and (max-width: 800px)' href='./css/mobile.css?id=<?php echo mt_rand(1000, 2500); ?>' />
  64. <?php if (file_exists("themes/".sanitize($user_settings['theme'])."/css/style.css")) { ?><link rel="stylesheet" media='screen and (min-width: 801px)' href='./<?php echo themes("file","css/style.css")?>?id=<?php echo mt_rand(1000, 2500); ?>' /><?php } ?>
  65. <?php if (file_exists("themes/".sanitize($user_settings['theme'])."/css/mobile.css")) { ?><link rel="stylesheet" media='screen and (max-width: 800px)' href='./<?php echo themes("file","css/mobile.css")?>?id=<?php echo mt_rand(1000, 2500); ?>' /><?php } ?>
  66. <link rel="stylesheet" href="./css/animation.css"><!--[if IE 7]><link rel="stylesheet" href="css/" + font.fontname + "-ie7.css"><![endif]-->
  67. <link rel="stylesheet" href="./css/animate.css">
  68. <link id="favicon" rel="shortcut icon" href="favicon.ico" />
  69. </head>
  70. <body>
  71. <?php
  72. if ($logedin) {
  73. $notif = getnotif();
  74. }
  75. ?>
  76. <div id='hiddenside'></div>
  77. <div id='videodock'><a name='dock' class='cursor profileButton' onClick="undockvideo();">X</a></div>
  78. <?php include "layout/mobilemenu.php"; ?>
  79. <div class='gotop desktop'><a href='#top'>▲</a></div>
  80. <?php include "layout/topbar.php"; ?>
  81. <br>
  82. <div class='wrapper'>
  83. <div class='container'>
  84. <div id='posts'>
  85. <?php if ($logedin) { ?>
  86. <div class='element' id="searchmobile">
  87. <div class='avatar desktop' style='background-image:url(:avatar:) :style:'></div>
  88. <div class='searchmobile' style="padding-top: 15px; padding-bottom: 15px;">
  89. <form method="get">
  90. <span class="searchmobiletoggle" style='padding-left:0px;padding-right:5px;font-weight:bold;'>X</span>
  91. <input type="text" name="search" style='width:70%' placeholder="Type your search here">
  92. <input type="submit" value="&#xe800;" class="fontello">
  93. </form>
  94. </div>
  95. </div>
  96. <?php
  97. include "layout/postform.php";
  98. }
  99. ?>
  100. <div id="loader" class='element'></div>
  101. <div id="content">