index.html 9.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223
  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 Avatar Free.
  9. Avatar Free 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. Avatar Free 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 Avatar Free. If not, see <https://www.gnu.org/licenses/>.
  19. -->
  20. <title>Avatar Free: everyone its social presence.</title>
  21. <link rel="shortcut icon" href="Public/favicon.ico" />
  22. <meta name="description" content="Welcome to Avatar Fee! Let everyone own its social presence."/>
  23. <meta name="author" content="5 Mode"/>
  24. <meta name="robots" content="index,follow"/>
  25. <meta name="keywords" content="Avatar Free,social,presence,avatarfree.5mode-foss.eu,on,premise,solution"/>
  26. <script src="Public/js/jquery-3.6.0.min.js" type="text/javascript"></script>
  27. <script src="Public/js/common.js" type="text/javascript"></script>
  28. <script src="Public/js/bootstrap.min.js" type="text/javascript"></script>
  29. <link href="Public/css/bootstrap.min.css" type="text/css" rel="stylesheet">
  30. <link href="Public/css/style.css?v=1631827555" type="text/css" rel="stylesheet">
  31. <script>
  32. function hideTitle() {
  33. $("#myh1").hide("slow");
  34. }
  35. function startApp() {
  36. $("#HCsplash").css("display","none");
  37. //$("#HCsplash").hide("slow");
  38. $(document.body).css("background","#ffffff");
  39. $("#originsDisplay").show();
  40. $("#frmHC").show();
  41. }
  42. function _startApp() {
  43. setTimeout("startApp()", 1000);
  44. }
  45. function setOriginsPos() {
  46. h=parseInt(window.innerHeight);
  47. w=parseInt(window.innerWidth);
  48. mytop = parseInt(window.innerHeight - ($("#originsDisplay").height() + 60));
  49. $("#originsDisplay").css("top", mytop+"px");
  50. setTimeout("hideOrigins()",15000);
  51. }
  52. function hideOrigins() {
  53. $("#originsDisplay").css("visibility","hidden");
  54. }
  55. window.addEventListener("load", function() {
  56. $("#frmHC").hide();
  57. setTimeout("setOriginsPos()", 500);
  58. //Splash
  59. $("#HCsplash").show();
  60. }, true);
  61. window.addEventListener("load", function() {
  62. // Fisnished the Intro load the app..
  63. //document.getElementById("vplayer").onended=_startApp;
  64. setTimeout("_startApp()", 6000);
  65. });
  66. </script>
  67. </head>
  68. <body style="background:#0d0d0d;">
  69. <div id="HCsplash" style="padding-top: 40px; text-align:center;co-lor:#d4b0dc;color:#FFFFFF;font-family:'Press Start 2P';">
  70. <div id="myh1" style="position:relative; top:0px;"><H1>Avatar Free</H1></div><br><br>
  71. <img src="Public/res/AFlogo.png" style="width:310px;">
  72. </div>
  73. <form id="frmHC" method="POST" target="_self" enctype="multipart/form-data" style="display:none;">
  74. <div class="header" style="margin-top:18px;margin-bottom:18px;">
  75. <a href="http://avatarfree.5mode-foss.eu" target="_self" style="color:#000000; text-decoration: none;">&nbsp;<img src="Public/res/AFlogo.png" style="width:22px;">&nbsp;AvatarFree</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="https://github.com/par7133/AvatarFree" style="color:#000000;"><span style="color:#119fe2">on</span> github</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="mailto:code@gaox.io" 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>
  76. </div>
  77. <div style="clear:both; float:left; padding:8px; width:15%; height:750px; border-right: 1px solid #2c2f34; text-align:center;">
  78. <div style="padding-left:10px;text-align: left;">
  79. <a href="https://github.com/par7133/AvatarFree/archive/refs/tags/v1.5.7.zip">Rel. 1.5.7 (zip)</a><br>
  80. <a href="https://github.com/par7133/AvatarFree/archive/refs/tags/v1.5.7.tar.gz">Rel. 1.5.7 (tar.gz)</a><br>
  81. </div>
  82. <br><br>
  83. <div style="float:left;width:210px;text-align:left;">
  84. &nbsp;<input type="text" id="Password" name="Password" placeholder="password" style="font-size:10px; background:#ffffff; color:#000000; width: 90%; height:30px; border-radius:3px;" value="" autocomplete="off"><br>
  85. &nbsp;<input type="text" id="Salt" placeholder="salt" style="position:relative; top:+5px; font-size:10px; background:#ffffff; color:#000000; width: 90%; height:30px; border-radius:3px;" autocomplete="off"><br>
  86. &nbsp;<a href="#" onclick="showEncodedPassword();" style="position:relative; top:+5px; color:#000000; font-size:12px;">Hash Me!</a>
  87. </div>
  88. &nbsp;<br><br><br>
  89. <br><br><br>
  90. </div>
  91. <div style="float:left; width:85%;height:100%; padding:8px;">
  92. <div id="splash" style="border-radius:20px; position:relative; left:+3px; width:98%; background-color:#f0f8fb; padding: 20px; margin-bottom:8px;">
  93. <button type="button" class="close" aria-label="Close" onclick="close-Splash();" style="position:relative; left:-10px;">
  94. <span aria-hidden="true">&times;</span>
  95. </button>
  96. Hello and welcome to Avatar Free!<br><br>
  97. Avatar Free is a light, simple, software on premise to build and own your social presence.<br><br>
  98. Avatar Free is released under GPLv3 license, it is supplied AS-IS and we do not take any responsibility for its misusage.<br><br>
  99. 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>
  100. As you are going to run Avatar Free 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>
  101. <ol>
  102. <li>Check the write permissions of your "data" folder in your web app Private path; and set its path in the config file.</li>
  103. <li>Set the default Locale.</li>
  104. <li>Set FILE_MAX_SIZE (remember that some PHP settings could limit the upload behaviour of Avatar Free too)</li>
  105. <li>Set BLOG_MAX_POSTS to limit the number of visible posts in the blog.</li>
  106. </ol>
  107. <br>
  108. 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>
  109. <a href="/Public/res/screenshot1.png" target="_blank"><img src="/Public/res/screenshot1.png" style="width:230px;margin-top:7px;"></a>&nbsp;&nbsp;<a href="/Public/res/screenshot2.png" target="_blank"><img src="/Public/res/screenshot2.png" style="width:230px;margin-top:7px;"></a><br><br>
  110. Hope you can enjoy it and let us know about any feedback: <a href="mailto:code@gaox.io">code@gaox.io</a>
  111. <br><br><br><br><br><br><br>
  112. </div>
  113. <br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
  114. </div>
  115. </form>
  116. <div id="originsDisplay" style="display:none">
  117. <br>
  118. &nbsp;<span class="originLabel">Coding:</span>&nbsp;Italy<br>
  119. &nbsp;<span class="originLabel">Server:</span>&nbsp;United States&nbsp;<br>
  120. &nbsp;<span class="originLabel"><a href="http://metrica.yandex.com" class="bbb">Metrics</a>:</span>&nbsp;Russia&nbsp;<br>
  121. <br>
  122. </div>
  123. <div class="footer">
  124. <div id="footerCont">&nbsp;</div>
  125. <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</span></div>
  126. </div>
  127. <script>
  128. function setFooterPos2() {
  129. if (document.getElementById("footerCont")) {
  130. //if ($("#Password").val() === "") {
  131. // tollerance = 48;
  132. // } else {
  133. // tollerance = 15;
  134. //}
  135. tollerance = 22;
  136. $("#footerCont").css("top", parseInt( window.innerHeight - $("#footerCont").height() - tollerance ) + "px");
  137. $("#footer").css("top", parseInt( window.innerHeight - $("#footer").height() - tollerance + 6) + "px");
  138. }
  139. }
  140. setFooterPos2();
  141. //window.addEventListener("load", function() {
  142. //
  143. // setTimeout("setFooterPos2()", 4000);
  144. //
  145. //}, true);
  146. </script>
  147. <!-- Yandex.Metrika counter -->
  148. <script type="text/javascript" >
  149. (function(m,e,t,r,i,k,a){m[i]=m[i]||function(){(m[i].a=m[i].a||[]).push(arguments)};
  150. m[i].l=1*new Date();k=e.createElement(t),a=e.getElementsByTagName(t)[0],k.async=1,k.src=r,a.parentNode.insertBefore(k,a)})
  151. (window, document, "script", "https://mc.yandex.ru/metrika/tag.js", "ym");
  152. ym(90189010, "init", {
  153. clickmap:true,
  154. trackLinks:true,
  155. accurateTrackBounce:true
  156. });
  157. </script>
  158. <noscript><div><img src="https://mc.yandex.ru/watch/90189010" style="position:absolute; left:-9999px;" alt="" /></div></noscript>
  159. <!-- /Yandex.Metrika counter -->
  160. </body>
  161. </html>