index.html 9.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230
  1. <!DOCTYPE html>
  2. <html lang="en-US" xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta charset="UTF-8"/>
  5. <meta name="viewport" content="width=device-width, initial-scale=1"/>
  6. <!--
  7. Copyright 2021, 2024, 5 Mode
  8. This file is part of Buzzcing.
  9. Buzzcing is free software: you can redistribute it and/or modify
  10. it under the terms of the GNU General Public License as published by
  11. the Free Software Foundation, either version 3 of the License, or
  12. (at your option) any later version.
  13. Buzzcing is distributed in the hope that it will be useful,
  14. but WITHOUT ANY WARRANTY; without even the implied warranty of
  15. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  16. GNU General Public License for more details.
  17. You should have received a copy of the GNU General Public License
  18. along with Buzzcing. If not, see <https://www.gnu.org/licenses/>.
  19. -->
  20. <title>Buzzcing: everyone its listings.</title>
  21. <link rel="shortcut icon" href="Public/static/favicon.ico" />
  22. <meta name="description" content="Welcome to Buzzcing! Let everyone own its listings."/>
  23. <meta name="author" content="5 Mode"/>
  24. <meta name="robots" content="index,follow"/>
  25. <meta name="keywords" content="listings,on,premise,solution"/>
  26. <script src="Public/static/js/jquery-3.6.0.min.js" type="text/javascript"></script>
  27. <script src="Public/static/js/sha.js" type="text/javascript"></script>
  28. <script src="Public/static/js/common.js" type="text/javascript"></script>
  29. <script src="Public/static/js/bootstrap.min.js" type="text/javascript"></script>
  30. <link href="Public/static/css/bootstrap.min.css" type="text/css" rel="stylesheet">
  31. <link href="Public/static/css/style.css?v=1631827555" type="text/css" rel="stylesheet">
  32. <script>
  33. function hideTitle() {
  34. $("#myh1").hide("slow");
  35. }
  36. function startApp() {
  37. $("#HCsplash").css("display","none");
  38. //$("#HCsplash").hide("slow");
  39. $(document.body).css("background","#ffffff");
  40. //$("#originsDisplay").show();
  41. $("#frmHC").show();
  42. }
  43. function _startApp() {
  44. setTimeout("startApp()", 1000);
  45. }
  46. function setOriginsPos() {
  47. h=parseInt(window.innerHeight);
  48. w=parseInt(window.innerWidth);
  49. mytop = parseInt(window.innerHeight - ($("#originsDisplay").height() + 60));
  50. $("#originsDisplay").css("top", mytop+"px");
  51. setTimeout("hideOrigins()",15000);
  52. }
  53. function hideOrigins() {
  54. $("#originsDisplay").css("visibility","hidden");
  55. }
  56. /*
  57. * Display the current hash for the config file
  58. *
  59. * @returns void
  60. */
  61. function showEncodedPassword() {
  62. if ($("#Password").val() === "") {
  63. $("#Password").addClass("emptyfield");
  64. return;
  65. }
  66. //if ($("#Salt").val() === "") {
  67. // $("#Salt").addClass("emptyfield");
  68. // return;
  69. //}
  70. passw = encryptSha2( $("#Password").val() + $("#Salt").val());
  71. msg = "Please set your hash in the config file with this value:";
  72. alert(msg + "\n\n" + passw);
  73. }
  74. window.addEventListener("load", function() {
  75. $("#frmHC").hide();
  76. setTimeout("setOriginsPos()", 500);
  77. //Splash
  78. $("#HCsplash").show();
  79. }, true);
  80. window.addEventListener("load", function() {
  81. // Fisnished the Intro load the app..
  82. //document.getElementById("vplayer").onended=_startApp;
  83. setTimeout("_startApp()", 6000);
  84. });
  85. </script>
  86. </head>
  87. <body style="background:#0d0d0d;">
  88. <div id="HCsplash" style="padding-top: 40px; text-align:center;co-lor:#d4b0dc;color:#FFFFFF;font-family:'Press Start 2P';">
  89. <div id="myh1" style="position:relative; top:0px;"><H1>Buzzcing</H1></div><br><br>
  90. <img src="Public/static/res/AFlogo.png" style="width:310px;">
  91. </div>
  92. <form id="frmHC" method="POST" target="_self" enctype="multipart/form-data" style="display:none;">
  93. <div class="header" style="margin-top:18px;margin-bottom:18px;">
  94. <a href="http://buzzcing.5mode-foss.eu" target="_self" style="color:#000000; text-decoration: none;">&nbsp;<img src="Public/static/res/AFlogo.png" style="width:22px;">&nbsp;Buzzcing</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="https://github.com/par7133/Buzzcing" style="color:#000000;"><span style="color:#119fe2">on</span> github</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="mailto:posta@elettronica.lol" style="color:#000000;"><span style="color:#119fe2">for</span> feedback</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="tel:+39-378-0812391" style="font-size:13px;background-color:#15c60b;border:2px solid #15c60b;color:#000000;height:27px;text-decoration:none;">&nbsp;&nbsp;get support&nbsp;&nbsp;</a>
  95. </div>
  96. <div style="clear:both; float:left; padding:8px; width:15%; height:750px; border-right: 1px solid #2c2f34; text-align:center;">
  97. <div style="padding-left:10px;text-align: left;">
  98. <a href="https://github.com/par7133/Buzzcing/archive/refs/tags/v1.0.5.zip">Rel. 1.0.5 (zip)</a><br>
  99. <a href="https://github.com/par7133/Buzzcing/archive/refs/tags/v1.0.5.tar.gz">Rel. 1.0.5 (tar.gz)</a><br>
  100. </div>
  101. <br><br>
  102. <img src="Public/static/res/AFgenius.png" alt="AG Genius" title="AG Genius" style="position:relative; left:+6px; width:90%; border: 1px dashed #EEEEEE;">
  103. &nbsp;<br><br><br>
  104. &nbsp;<input type="text" id="Password" name="Password" placeholder="password" style="font-size:10px; background:#393939; color:#ffffff; width: 90%; height:30px; border-radius:3px;" value="" autocomplete="off"><br>
  105. &nbsp;<input type="text" id="Salt" placeholder="salt" style="position:relative; top:+5px; font-size:10px; background:#393939; color:#ffffff; width: 90%; height:30px; border-radius:3px;" autocomplete="off"><br>
  106. &nbsp;<a href="#" onclick="showEncodedPassword();" style="position:relative; left:-2px; top:+5px; color:#000000; font-size:12px;">Hash Me!</a>
  107. <br><br><br>
  108. </div>
  109. <div style="float:left; width:85%;height:100%; padding:8px;">
  110. <div id="splash" style="border-radius:20px; position:relative; left:+3px; width:98%; background-color:#f0f8fb; padding: 20px; margin-bottom:8px;">
  111. <button type="button" class="close" aria-label="Close" onclick="close-Splash();" style="position:relative; left:-10px;">
  112. <span aria-hidden="true">&times;</span>
  113. </button>
  114. Hello and welcome to Buzzcing!<br><br>
  115. Buzzcing is a light, simple, software on premise to own your listings.<br><br>
  116. Buzzcing is released under GPLv3 license, it is supplied AS-IS and we do not take any responsibility for its misusage.<br><br>
  117. First step, use the password box and salt fields to create the hash to insert in the config file. Remember to manually set there also the salt value.<br><br>
  118. As you are going to run Buzzcing in the PHP process context, using a limited web server or phpfpm user, you must follow some simple directives for an optimal first setup:<br>
  119. <ol>
  120. <li>Check the write permissions of your "data" folder in your web app Private path; and set its path in the config file.</li>
  121. <li>Set the default Locale.</li>
  122. <li>Set FILE_MAX_SIZE (remember that some PHP settings could limit the upload behaviour of Buzzcing too)</li>
  123. <li>Set BLOG_MAX_POSTS to limit the number of visible posts in the blog.</li>
  124. <li>Set PAGINATION true or false to give more public access to your data.</li>
  125. </ol>
  126. <br>
  127. You can access your avatar by http://yourdomain.com/&lt;your_avatar&gt;. Login with the password for the admin view. Drag-n-drop all your resources in the browser window.<br><br>
  128. Listing file nomenclature: "Company_Name~Listing Title.txt".<br><br>
  129. <a href="/Public/staitc/res/screenshot1.png" target="_blank"><img src="/Public/static/res/screenshot1.png" style="height:230px;width:350px;margin-top:7px;"></a>&nbsp;&nbsp;<a href="/Public/static/res/screenshot2.png" target="_blank"><img src="/Public/static/res/screenshot2.png" style="height:230px;width:350px;margin-top:7px;"></a><br><br>
  130. Feedback: <a href="mailto:posta@elettronica.lol">posta@elettronica.lol</a>
  131. <br><br><br><br><br><br><br>
  132. </div>
  133. <br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
  134. </div>
  135. </form>
  136. <div id="originsDisplay" style="display:none;">
  137. <br>
  138. &nbsp;<span class="originLabel">Coding:</span>&nbsp;Italy<br>
  139. &nbsp;<span class="originLabel">Server:</span>&nbsp;United States&nbsp;<br>
  140. &nbsp;<span class="originLabel"><a href="http://metrica.yandex.com" class="bbb">Metrics</a>:</span>&nbsp;Russia&nbsp;<br>
  141. <br>
  142. </div>
  143. <div class="footer">
  144. <div id="footerCont">&nbsp;</div>
  145. <div id="footer"><span style="background:#E1E1E1;color:black;opacity:1.0;margin-right:10px;">&nbsp;&nbsp;<a href="https://5mode.com/dd.html">Disclaimer</a>&nbsp;&nbsp;A <a href="http://5mode.com">5 Mode</a> project and <a href="http://demo.5mode.com">WYSIWYG</a> system. CC&nbsp;&nbsp;</span></div>
  146. </div>
  147. <script>
  148. function setFooterPos2() {
  149. if (document.getElementById("footerCont")) {
  150. //if ($("#Password").val() === "") {
  151. // tollerance = 48;
  152. // } else {
  153. // tollerance = 15;
  154. //}
  155. tollerance = 22;
  156. $("#footerCont").css("top", parseInt( window.innerHeight - $("#footerCont").height() - tollerance ) + "px");
  157. $("#footer").css("top", parseInt( window.innerHeight - $("#footer").height() - tollerance + 6) + "px");
  158. }
  159. }
  160. setFooterPos2();
  161. //window.addEventListener("load", function() {
  162. //
  163. // setTimeout("setFooterPos2()", 4000);
  164. //
  165. //}, true);
  166. </script>
  167. </body>
  168. </html>