* * @author Double Bastion LLC * * @license GNU AGPL version 3 or any later version * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE * License as published by the Free Software Foundation; either * version 3 of the License, or any later version. * * This program 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 AFFERO GENERAL PUBLIC LICENSE for more details. * * You should have received a copy of the GNU Affero General Public * License along with this program. If not, see . * */ define('ACCESSCONST', TRUE); require('db-connect.php'); session_start(); if (($_SESSION['loggedtorspanel'] == true) && ($_SESSION['userrole'] == 'superadmin')) { ?> Add Buttons
Add Buttons to Dashboard

Add buttons to dashboard to launch applications with one click:

query("SELECT id, orderno, nameonbutton, buttonurl, imgname FROM buttons"); $geturls = []; while ($result_fetch = $selbttnquery->fetch_row()) { $inddbid = $result_fetch[0]; $indorderno = $result_fetch[1]; $indnameonbutton = $result_fetch[2]; $indurl = $result_fetch[3]; $indimgname = $result_fetch[4]; $geturls[] = [$inddbid, $indorderno, $indnameonbutton, $indurl, $indimgname]; } $selbttnquery->close(); for ($r = 0; $r < count($geturls); $r++) { echo ''; } ?>
No Order DB ID Name on button Link behind button Image on button
'.($r + 1).''.$geturls[$r][0].'
'.$geturls[$r][4].'