[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 05/218: html_page_start : protect query, impr
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 05/218: html_page_start : protect query, improve code |
Date: |
Thu, 12 Sep 2019 15:58:29 -0400 (EDT) |
sparkyx pushed a commit to branch entreprise
in repository noalyss.
commit 280fe5616de892226401af170ec2a286b8771d01
Author: Dany De Bontridder <address@hidden>
Date: Sun Apr 22 11:00:00 2018 +0200
html_page_start : protect query, improve code
---
include/lib/ac_common.php | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/include/lib/ac_common.php b/include/lib/ac_common.php
index 6a910e4..9ace668 100644
--- a/include/lib/ac_common.php
+++ b/include/lib/ac_common.php
@@ -270,9 +270,11 @@ function html_page_start($p_theme="", $p_script="",
$p_script2="")
if ($p_theme != "")
{
$Res = $cn->exec_sql("select the_filestyle from theme
- where the_name='" . $p_theme . "'");
+ where the_name=$1" ,[$p_theme]);
if (Database::num_row($Res) == 0)
- $style = "style-classic.css";
+ {
+ $style = "style-classic7.css";
+ }
else
{
$s = Database::fetch_array($Res, 0);
@@ -281,7 +283,7 @@ function html_page_start($p_theme="", $p_script="",
$p_script2="")
}
else
{
- $style = "style-classic.css";
+ $style = "style-classic7.css";
} // end if
$title="NOALYSS";
- [Noalyss-commit] [noalyss] 02/218: Currency : add PHP Class for SQL table, (continued)
- [Noalyss-commit] [noalyss] 02/218: Currency : add PHP Class for SQL table, Dany De Bontridder, 2019/09/12
- [Noalyss-commit] [noalyss] 03/218: Currency : create view + add currency name to table currency, Dany De Bontridder, 2019/09/12
- [Noalyss-commit] [noalyss] 06/218: Currency : add ajax call to delete one rate , add documentation , remove debug info, Dany De Bontridder, 2019/09/12
- [Noalyss-commit] [noalyss] 12/218: Action_Code : add validate, cancel and modify icon, Dany De Bontridder, 2019/09/12
- [Noalyss-commit] [noalyss] 15/218: insert_jrnx : add debug, Dany De Bontridder, 2019/09/12
- [Noalyss-commit] [noalyss] 19/218: Task #448 : currency : cosmetic operation detail, Dany De Bontridder, 2019/09/12
- [Noalyss-commit] [noalyss] 07/218: Currency : add menu for currency, Dany De Bontridder, 2019/09/12
- [Noalyss-commit] [noalyss] 11/218: Currency : SQL menu change, Dany De Bontridder, 2019/09/12
- [Noalyss-commit] [noalyss] 14/218: INum : add function onchange with inplace edit, Dany De Bontridder, 2019/09/12
- [Noalyss-commit] [noalyss] 10/218: Currency : add SQL constraint + doc, Dany De Bontridder, 2019/09/12
- [Noalyss-commit] [noalyss] 05/218: html_page_start : protect query, improve code,
Dany De Bontridder <=
- [Noalyss-commit] [noalyss] 08/218: Currency = add a mode currency, possible to work without, Dany De Bontridder, 2019/09/12
- [Noalyss-commit] [noalyss] 04/218: Currency : add test file + database file + mtable, Dany De Bontridder, 2019/09/12
- [Noalyss-commit] [noalyss] 21/218: Task #448 : issue with reconciliation amount, Dany De Bontridder, 2019/09/12
- [Noalyss-commit] [noalyss] 22/218: Task #448 : identical operation with currency, Dany De Bontridder, 2019/09/12
- [Noalyss-commit] [noalyss] 24/218: Task #448 : rounded value for VEN, Dany De Bontridder, 2019/09/12
- [Noalyss-commit] [noalyss] 27/218: Task #448 : delete unused currency, Dany De Bontridder, 2019/09/12
- [Noalyss-commit] [noalyss] 28/218: Task #448 : currency , EUR cannot be changed and not display, Dany De Bontridder, 2019/09/12
- [Noalyss-commit] [noalyss] 31/218: task #448 : currency always used and remove parameter 'use_currency' from parameters, add SQL script, Dany De Bontridder, 2019/09/12
- [Noalyss-commit] [noalyss] 38/218: Task #448 : currency improve detail of operation, Dany De Bontridder, 2019/09/12
- [Noalyss-commit] [noalyss] 09/218: Currency : add security for setting, Dany De Bontridder, 2019/09/12