123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753 |
- <?php
- /**
- * Copyright 2021, 2024 5 Mode
- *
- * This file is part of Actitude.
- *
- * Actitude is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Actitude is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with Actitude. If not, see <https://www.gnu.org/licenses/>.
- *
- * index.php
- *
- * Actitude home page.
- *
- * @author Daniele Bonini <my25mb@aol.com>
- * @copyrights (c) 2021, 2024, 5 Mode
- */
-
- require "init.inc";
-
- $signHistory = [];
- $cmd = PHP_STR;
- $opt = PHP_STR;
- $param1 = PHP_STR;
- $param2 = PHP_STR;
- $param3 = PHP_STR;
-
- $curLocale = APP_LOCALE;
- $lastSign = PHP_STR;
- function showHistory() {
- global $signHistory;
- global $curPath;
- global $CONFIG;
- global $curLocale;
- global $LOCALE;
- global $lastSign;
- global $password;
- $m = 1;
- foreach($signHistory as $val) {
-
- $val = rtrim($val, "\n");
-
- $ipos=mb_stripos($val, "|");
- $myname = left($val,$ipos);
-
- $ipos2=mb_strripos($val, "|");
- $myplace = substr($val, $ipos+1, (($ipos2 - $ipos) - 1));
-
- $aflag = substr($val, $ipos2+1, 1);
-
- // If I'm in admin
- if ($password !== PHP_STR) {
-
- $adminFnc = PHP_STR;
- if ($aflag === "u") {
- $adminFnc = "<a href='#' onclick=\"confSign('" . $val . "')\"><img src='/ACT_res/confirm.png' style='width:36px;'></a>";
- } else {
- $adminFnc = "<a href='#' onclick=\"delSign('" . $val . "')\"><img src='/ACT_res/del.png' style='width:36px;'></a>";
- }
-
- echo("<span style='font-family:".DISPLAY_NAME_FONT.";font-size:38px;'>".$myname."</span>,".PHP_SPACE.$myplace." ".$adminFnc."<br>");
-
- // If I'm not in admin
- } else {
-
- if ($aflag !== "u") {
- echo("<span style='font-family:".DISPLAY_NAME_FONT.";font-size:38px;'>".$myname."</span>,".PHP_SPACE.$myplace."<br>");
- }
- }
-
- $m++;
- }
- }
- function updateHistory(&$update, $maxItems) {
- global $signHistory;
- global $curPath;
-
- // Making enough space in $signHistory for the update..
- $shift = (count($signHistory) + count($update)) - $maxItems;
- if ($shift > 0) {
- $signHistory = array_slice($signHistory, $shift, $maxItems);
- }
- // Adding $signHistory update..
- if (count($update) > $maxItems) {
- $beginUpd = count($update) - ($maxItems-1);
- } else {
- $beginUpd = 0;
- }
- $update = array_slice($update, $beginUpd, $maxItems);
- foreach($update as $val) {
- $signHistory[] = $val;
- }
-
- // Writing out $signHistory on disk..
- $filepath = $curPath . DIRECTORY_SEPARATOR . ".ACT_history";
- file_put_contents($filepath, implode('', $signHistory));
- }
- function updatecaptchaHistory(&$update) {
- global $captchaHistory;
- global $curPath;
-
- foreach($update as $val) {
- $captchaHistory[] = $val;
- }
-
- // Writing out $captchaHistory on disk..
- $filepath = $curPath . DIRECTORY_SEPARATOR . ".ACT_captchahistory";
- file_put_contents($filepath, implode('', $captchaHistory));
- }
- function parseCommand() {
- global $command;
- global $cmd;
- global $opt;
- global $param1;
- global $param2;
- global $param3;
-
- $str = trim($command);
-
- $ipos = stripos($str, PHP_SPACE);
- if ($ipos > 0) {
- $cmd = left($str, $ipos);
- $str = substr($str, $ipos+1);
- } else {
- $cmd = $str;
- return;
- }
-
- if (left($str, 1) === "-") {
- $ipos = stripos($str, PHP_SPACE);
- if ($ipos > 0) {
- $opt = left($str, $ipos);
- $str = substr($str, $ipos+1);
- } else {
- $opt = $str;
- return;
- }
- }
-
- if (left($str, 1) === "'") {
- $ipos = stripos($str, "'", 1);
- if ($ipos > 0) {
- $param1 = substr($str, 0, $ipos+1);
- $str = substr($str, $ipos+1);
- } else {
- $param1 = $str;
- return;
- }
- } else {
- $ipos = stripos($str, PHP_SPACE);
- if ($ipos > 0) {
- $param1 = left($str, $ipos);
- $str = substr($str, $ipos+1);
- } else {
- $param1 = $str;
- return;
- }
- }
-
- $ipos = stripos($str, PHP_SPACE);
- if ($ipos > 0) {
- $param2 = left($str, $ipos);
- $str = substr($str, $ipos+1);
- } else {
- $param2 = $str;
- return;
- }
-
- $ipos = stripos($str, PHP_SPACE);
- if ($ipos > 0) {
- $param3 = left($str, $ipos);
- $str = substr($str, $ipos+1);
- } else {
- $param3 = $str;
- return;
- }
-
- }
- function signParamValidation() {
-
- global $opt;
- global $param1;
- global $param2;
- global $param3;
- global $name;
- global $place;
- global $captchacount;
- global $captchasign;
- global $captchaHistory;
-
- //opt!=""
- if ($opt!==PHP_STR) {
- echo("WARNING: invalid options<br>");
- return false;
- }
- //param1==""
- if ($param1!==PHP_STR) {
- echo("WARNING: invalid parameters<br>");
- return false;
- }
- //param2==""
- if ($param2!==PHP_STR) {
- echo("WARNING: invalid parameters<br>");
- return false;
- }
- //param3==""
- if ($param3!==PHP_STR) {
- echo("WARNING: invalid parameters<br>");
- return false;
- }
- //name!=""
- if ($name===PHP_STR || strlen($name)<3) {
- //echo("WARNING: invalid name<br>");
- return false;
- }
- //place!=""
- if ($place===PHP_STR || strlen($place)<3) {
- //echo("WARNING: invalid place<br>");
- return false;
- }
-
- $rescaptcha1=$captchacount>=4;
- $rescaptcha2=count(array_filter($captchaHistory, "odd")) > (APP_MAX_FROM_IP - 1);
- if ($rescaptcha1) {
- echo("WARNING: captcha expired #1<br>");
- }
-
- if ($rescaptcha2) {
- echo("WARNING: captcha expired #2<br>");
- }
-
- if ($rescaptcha1 || $rescaptcha2) {
- return false;
- }
-
- return true;
- }
- function odd($val) {
-
- global $captchasign;
-
- return rtrim($val,"\n") == $captchasign;
- }
-
-
- function myExecSignCommand() {
-
- global $name;
- global $place;
- global $curPath;
- global $lastMessage;
- global $captchacount;
- global $captchasign;
- global $captchaHistory;
-
- $newSign = HTMLencodeF($name,false) . "|" . HTMLencodeF($place,false) . "|u";
- //echo("array_filter=".count(array_filter($captchaHistory, "odd"))."<br>");
- //echo("new_sign?=".((hash("sha256", $newSign . APP_SALT, false) !== $lastMessage)?"true":"false")."<br>");
- if (hash("sha256", $newSign . APP_SALT, false) !== $lastMessage) {
- // Updating message history..
- $output = [];
- $output[] = $newSign . "\n";
- updateHistory($output, HISTORY_MAX_ITEMS);
- // Updating captcha history..
- $output = [];
- $output[] = $captchasign . "\n";
- updatecaptchaHistory($output);
- $lastMessage = hash("sha256", $newSign . APP_SALT, false);
- }
-
- }
- function confParamValidation() {
-
- global $opt;
- global $param1;
- global $param2;
- global $param3;
- global $signHistory;
-
- //opt!=""
- if ($opt!==PHP_STR) {
- echo("WARNING: invalid options<br>");
- return false;
- }
-
- $myval = trim($param1,"'");
-
- //param1!=""
- if ($myval===PHP_STR) {
- echo("WARNING: invalid parameters<br>");
- return false;
- }
- //param1 in $signHistory
- if (!in_array($myval."\n",$signHistory)) {
- echo("WARNING: invalid parameters<br>");
- return false;
- }
-
- //param2==""
- if ($param2!==PHP_STR) {
- echo("WARNING: invalid parameters<br>");
- return false;
- }
- //param3==""
- if ($param3!==PHP_STR) {
- echo("WARNING: invalid parameters<br>");
- return false;
- }
-
- return true;
- }
- function myExecConfSignCommand() {
-
- global $param1;
- global $signHistory;
- global $curPath;
-
- $mysign = trim($param1,"'");
-
- if ($signHistory) {
-
- //echo("inside myExecConfSignCommand()");
-
- $newval = left($mysign, strlen($mysign)-2) . "|v";
-
- $key = array_search($mysign."\n", $signHistory);
- if ($key !== false) {
- $signHistory[$key] = $newval . "\n";
-
- // Writing out $signHistory on disk..
- $filepath = $curPath . DIRECTORY_SEPARATOR . ".ACT_history";
- file_put_contents($filepath, implode('', $signHistory));
- }
- }
- }
- function delParamValidation() {
-
- global $opt;
- global $param1;
- global $param2;
- global $param3;
- global $signHistory;
-
- //opt!=""
- if ($opt!==PHP_STR) {
- echo("WARNING: invalid options<br>");
- return false;
- }
-
- $myval = trim($param1,"'");
-
- //param1!=""
- if ($myval===PHP_STR) {
- echo("WARNING: invalid parameters<br>");
- return false;
- }
- //param1 in $signHistory
- if (!in_array($myval."\n",$signHistory)) {
- echo("WARNING: invalid parameters<br>");
- return false;
- }
-
- //param2==""
- if ($param2!==PHP_STR) {
- echo("WARNING: invalid parameters<br>");
- return false;
- }
- //param3==""
- if ($param3!==PHP_STR) {
- echo("WARNING: invalid parameters<br>");
- return false;
- }
-
- return true;
- }
- function myExecDelSignCommand() {
-
- global $param1;
- global $signHistory;
- global $curPath;
-
- $mysign = trim($param1,"'");
-
- if ($signHistory) {
-
- //echo("inside myExecDelSignCommand()");
-
- $newval = left($mysign, strlen($mysign)-2) . "|u";
-
- $key = array_search($mysign."\n", $signHistory);
- if ($key !== false) {
- $signHistory[$key] = $newval . "\n";
-
- // Writing out $signHistory on disk..
- $filepath = $curPath . DIRECTORY_SEPARATOR . ".ACT_history";
- file_put_contents($filepath, implode('', $signHistory));
- }
- }
- }
- $curPath = APP_DATA_PATH;
- chdir($curPath);
- $signHistory = file($curPath . DIRECTORY_SEPARATOR . ".ACT_history");
- $captchaHistory = file($curPath . DIRECTORY_SEPARATOR . ".ACT_captchahistory");
- $password = filter_input(INPUT_POST, "Password")??"";
- $password = strip_tags($password);
- if ($password==PHP_STR) {
- $password = filter_input(INPUT_POST, "Password2")??"";
- $password = strip_tags($password);
- }
- $command = filter_input(INPUT_POST, "CommandLine")??"";
- $command = strip_tags($command);
-
- //$pwd = filter_input(INPUT_POST, "pwd")??"";
- $hideSplash = filter_input(INPUT_POST, "hideSplash")??"";
- $hideSplash = strip_tags($hideSplash);
- $hideHCSplash = filter_input(INPUT_POST, "hideHCSplash")??"";
- $hideHCSplash = strip_tags($hideHCSplash);
-
- $name = filter_input(INPUT_POST, "name")??"";
- $name = strip_tags($name);
- $place = filter_input(INPUT_POST, "place")??"";
- $place = strip_tags($place);
- $captchasign = hash("sha256", $_SERVER["REMOTE_ADDR"] . date("Y") . APP_SALT, false);
-
- $lastMessage = filter_input(INPUT_POST, "last_message")??"";
- $lastMessage = strip_tags($lastMessage);
- $totsigns = count($signHistory);
- //print_r($totsigns);
- //exit(0);
- if ($totsigns > 0) {
- $lastMessage = hash("sha256", rtrim($signHistory[$totsigns-1],"\n") . APP_SALT, false);
- }
- $captchacount = (int)filter_input(INPUT_POST, "captcha_count")??"";
- $captchacount = strip_tags($captchacount);
- //if ($captchacount === 0) {
- // $captchacount = 1;
- //}
- if ($password !== PHP_STR) {
- $hash = hash("sha256", $password . APP_SALT, false);
- if ($hash !== APP_HASH) {
- $password=PHP_STR;
- }
- }
-
- parseCommand($command);
- //echo("cmd=" . $cmd . "<br>");
- //echo("opt=" . $opt . "<br>");
- //echo("param1=" . $param1 . "<br>");
- //echo("param2=" . $param2 . "<br>");
-
-
- if ($password !== PHP_STR) {
-
- if (mb_stripos(CMDLINE_VALIDCMDS, "|" . $command . "|")) {
-
- if ($cmd === "sign") {
- $captchacount = $captchacount + 1;
- if (signParamValidation()) {
- myExecSignCommand();
- }
- } else if ($command === "refresh") {
- // refreshing Msg Board..
- }
-
- } else if (mb_stripos(CMDLINE_VALIDCMDS, "|" . $cmd . "|")) {
-
- if ($cmd === "del") {
- if (delParamValidation()) {
- myExecDelSignCommand();
- }
- } else if ($cmd === "conf") {
- if (confParamValidation()) {
- myExecConfSignCommand();
- }
- }
- } else {
-
- }
-
- } else {
-
- if (mb_stripos(CMDLINE_VALIDCMDS, "|" . $command . "|")) {
- if ($cmd === "sign") {
- $captchacount = $captchacount + 1;
- if (signParamValidation()) {
- myExecSignCommand();
- }
- }
- }
- }
-
- ?>
- <!DOCTYPE html>
- <head>
-
- <meta charset="UTF-8"/>
-
- <meta name="viewport" content="width=device-width, initial-scale=1"/>
-
- <!--
- Copyright 2021, 2024 5 Mode
- This file is part of Actitude.
- Actitude is free software: you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation, either version 3 of the License, or
- (at your option) any later version.
- Actitude is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
- You should have received a copy of the GNU General Public License
- along with Actitude. If not, see <https://www.gnu.org/licenses/>.
- -->
-
-
- <title><?php echo(APP_TITLE); ?></title>
-
- <link rel="shortcut icon" href="/favicon.ico?v=<?php echo(time()); ?>>" />
-
- <meta name="description" content="<?php echo(APP_DESCRIPTION); ?>"/>
- <meta name="keywords" content="<?php echo(APP_KEYWORDS); ?>"/>
- <meta name="author" content="5 Mode"/>
- <meta name="robots" content="index,follow"/>
-
- <script src="/ACT_js/jquery-3.6.0.min.js" type="text/javascript"></script>
- <script src="/ACT_js/common.js" type="text/javascript"></script>
- <script src="/ACT_js/bootstrap.min.js" type="text/javascript"></script>
-
- <script src="/ACT_js/index.js" type="text/javascript" defer></script>
-
- <link href="/ACT_css/bootstrap.min.css" type="text/css" rel="stylesheet">
- <link href="/ACT_css/style.css" type="text/css" rel="stylesheet">
-
- <style>
- @import url('https://fonts.googleapis.com/css2?family=<?php echo(str_ireplace(" ","+",DISPLAY_NAME_FONT));?>');
- </style>
-
- </head>
- <body style="<?php echo(DISPLAY_BODY_CSS);?>">
- <?php if (file_exists(APP_PATH . DIRECTORY_SEPARATOR . "jscheck.html")): ?>
- <?php include(APP_PATH . DIRECTORY_SEPARATOR . "jscheck.html"); ?>
- <?php endif; ?>
- <form id="frmHC" method="POST" action="/" target="_self" enctype="multipart/form-data">
- <?php if(APP_USE === "PRIVATE"): ?>
- <div class="header" style="background-color:#ffffff;z-index:90;">
- <a id="burger-menu" href="#" style="display:none;"><img src="/ACT_res/burger-menu2.png" style="width:58px;"></a><a id="ahome" href="http://actitude.5mode-foss.eu" target="_blank" style="color:black; text-decoration: none;"><img id="logo-hmm" src="/ACT_res/ACTlogo.png" style="width:48px;"> Actitude</a> <a id="agithub" href="https://github.com/par7133/Actitude" style="color:#000000"><span style="color:#119fe2">on</span> github</a> <a id="afeedback" href="mailto:posta@elettronica.lol" style="color:#000000"><span style="color:#119fe2">for</span> feedback</a> <a id="asupport" href="tel:+39-331-4029415" style="font-size:13px;background-color:#15c60b;border:2px solid #15c60b;color:black;height:27px;text-decoration:none;"> get support </a><div id="pwd2" style="float:right;position:relative;top:+13px;display:none"><input type="password" id="Password2" name="Password2" placeholder="password" style="font-size:13px; background:#393939; color:#ffffff; width: 125px; border-radius:3px;" value="" autocomplete="off"></div>
- </div>
- <?php else: ?>
- <div class="header2" style="margin:0;padding:0;border-bottom:0px;text-align:center;">
- <?php echo(APP_CUSTOM_HEADER); ?>
- </div>
- <?php endif; ?>
- <div style="clear:both;margin:auto"> </div>
- <?php
- $callSideBarTOP = 1;
- if(APP_USE === "PRIVATE") {
- $callSideBarTOP = 65;
- }
- ?>
- <div id="call-sidebar" style="position:absolute; top:<?php echo($callSideBarTOP);?>px; left:1px; clear:both; float:left; width:1.5%; max-width:5px; height:100%; min-height:1900px; text-align:center; border-right: 1px solid #2c2f34;z-index:1;">
-
- </div>
- <div id="sidebar" style="position:absolute; left:6px; top:0px; clear:both; background-color:#FFFFFF; padding:8px; width:25%; max-width:250px; height:100%; text-align:center; border-right: 1px solid #2c2f34; display:none;z-index:91;">
-
- <button type="button" class="close" aria-label="Close" onclick="closeSideBar();" style="position:relative; left:-10px;">
- <span aria-hidden="true">×</span>
- </button>
-
- <br><br>
- <img src="/ACT_res/ACTgenius.png" alt="ACT Genius" title="ACT Genius" style="position:relative; left:+6px; width:90%; border: 1px dashed #EEEEEE;">
- <br><br>
- <div style="text-align:left;white-space:nowrap;">
- <input type="password" id="Password" name="Password" placeholder="password" style="font-size:13px; background:#393939; color:#ffffff; width: 60%; height:30px; border-radius:3px;" value="<?php echo($password);?>" autocomplete="off"> <input type="submit" value="<?php echo(getResource("Go", $curLocale));?>" style="text-align:left;width:25%;"><br>
- <input type="text" id="Salt" placeholder="salt" style="position:relative; top:+5px; font-size:13px; background:#393939; color:#ffffff; width: 90%; height:30px; border-radius:3px;" autocomplete="off"><br>
- <div style="text-align:center;">
- <a href="#" onclick="showEncodedPassword();" style="position:relative; left:-2px; top:+5px; color:#000000; font-size:12px;"><?php echo(getResource("Hash Me", $curLocale));?>!</a>
-
- <br><br><br>
- </div>
- </div>
- </div>
- <div id="contentbar" style="width:100%;float:left;">
- <?php if (APP_SPLASH): ?>
- <?php if ($hideSplash !== PHP_STR): ?>
- <div id="splash" style="color:black; border-radius:20px; position:relative; left:+3px; width:98%; background-color: #f0f8fb; padding: 20px; margin-bottom:8px;">
-
- <button type="button" class="close" aria-label="Close" onclick="closeSplash();" style="position:relative; left:-10px;">
- <span aria-hidden="true">×</span>
- </button>
-
- Hello and welcome to Actitude!<br><br>
-
- Actitude is a light and simple software on premise to get registrations to events or support.<br><br>
-
- Actitude is released under GPLv3 license, it is supplied AS-IS and we do not take any responsibility for its misusage.<br><br>
-
- Actitude name comes from a prank between two words: "active" meaning our positive way to do stuff and "attitude".<br><br>
-
- First step, use the left side panel password and salt fields to create the hash to insert in the config file. Remember to manually set there also the salt value.<br><br>
-
- As you are going to run Actitude 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>
- <ol>
- <li>Check the permissions of your "data" folder in your web app private path; and set its path in the config file.</li>
- <li>In the data path create a ".ACT_history" and ".ACT_captchahistory" files and give them the write permission.</li>
- <li>Finish to setup the configuration file apporpriately, in the specific:</li>
- <ul>
- <li>Configure the APP_USE and APP_CONTEXT appropriately.</li>
- <li>Configure the DISPLAY attributes as required.</li>
- <li>Configure the max history items as required (default: 1000).</li>
- </ul>
- </ol>
-
- <br>
-
- Hope you can enjoy it and let us know about any feedback: <a href="mailto:posta@elettronica.lol">posta@elettronica.lol</a>
-
- </div>
- <?php endif; ?>
- <?php endif; ?>
- <div style="width:100%; padding: 8px; text-align:center; font-size:26px; border:0px solid red;">
-
- <br>
-
- <div style="font-size:23px;margin-bottom:23px;font-weight:900;"><h1><?php echo(APP_WELCOME_MSG??" "); ?></h1></div>
-
- <br>
-
- <input type="text" id="name" name="name" placeholder="Name"> <input type="text" id="place" name="place" placeholder="Place"><br>
-
- <input type="button" id="send" name="send" value=" <?php echo(DISPLAY_SUBMIT_BUTTON);?> " title="<?php echo(DISPLAY_SUBMIT_BUTTON);?>" style="position:relative;top:+28px;margin-top:25px;height:50px;background-color:red;border:1px solid black;color:white;font-size:medium;">
-
- <br><br>
-
- <hr style="color:black; margin-top:30px;">
-
- <br>
-
- <?php showHistory(); ?>
-
- <br><br><br>
-
- <div style="font-size:23px;">
- <?php if ((APP_SUPPORT_LINK!="") || (APP_GITHUB_BUTTON!="") || (APP_SHOP_LINK!="")):?>
- <?php echo(APP_SUPPORT_MSG);?><br><br>
- <?php endif;?>
- <?php if (APP_SUPPORT_LINK!=""):?>
- <?php echo (APP_SUPPORT_LINK);?><br>
- <?php endif;?>
-
- <?php if (APP_GITHUB_BUTTON!=""):?>
- <?php echo (APP_GITHUB_BUTTON);?><br>
- <?php endif;?>
-
- <?php if (APP_SHOP_LINK!=""):?>
- <?php echo (APP_SHOP_LINK);?><br>
- <?php endif;?>
- </div>
- <br><br>
-
- <?php if(APP_USE === "BUSINESS"): ?>
- <div style="font-size:23px">
- <a id="ahome" href="http://actitude.5mode-foss.eu" target="_blank" style="color:black;"><img id="logo-act" src="/ACT_res/ACTlogo.png" style="position:relative;top:-25px;width:48px;margin:5px;">Powered by Actitude</a>
- </div>
- <?php endif; ?>
-
- </div>
- </div>
- <input type="hidden" id="CommandLine" name="CommandLine">
- <input type="hidden" name="hideSplash" value="<?php echo($hideSplash); ?>">
- <input type="hidden" name="hideHCSplash" value="1">
- <input type="hidden" name="captcha_count" value="<?php echo($captchacount); ?>">
- <input type="hidden" name="last_message" value="<?php echo($lastMessage); ?>">
- </form>
- <!--
- <div class="footer">
- <div id="footerCont"> </div>
- <div id="footer"><span style="background:#FFFFFF;opacity:1.0;margin-right:10px;"> A <a href="http://5mode.com">5 Mode</a> project <span class="no-sm">and <a href="http://wysiwyg.systems">WYSIWYG</a> system</span>. Some rights reserved.</span></div>
- </div>
- -->
- <?php if (file_exists(APP_PATH . DIRECTORY_SEPARATOR . "metrics.html")): ?>
- <?php include("metrics.html"); ?>
- <?php endif; ?>
- </body>
- </html>
|