-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
v0.0.11 Consult CHANGELOG for changes.
- Loading branch information
Diemen Design
committed
Jan 24, 2020
1 parent
63e5c19
commit 8b02897
Showing
76 changed files
with
1,052 additions
and
2,250 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
v0.0.10 | ||
v0.0.11 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,12 +7,13 @@ | |
* @author Dennis Suitters <[email protected]> | ||
* @copyright 2014-2019 Diemen Design | ||
* @license http://opensource.org/licenses/MIT MIT License | ||
* @version 0.0.10 | ||
* @version 0.0.11 | ||
* @link https://github.com/DiemenDesign/AuroraCMS | ||
* @notes This PHP Script is designed to be executed using PHP 7+ | ||
* @changes v0.0.4 Fix Tooltips. | ||
* @changes v0.0.10 Fix Rewards Display Layout. | ||
* @changes v0.0.10 Fix Toastr Notifications. | ||
* @changes v0.0.11 Fix Rewards Date/Time Picker value retrieval. | ||
*/ | ||
$getcfg=true; | ||
require'db.php'; | ||
|
@@ -42,10 +43,8 @@ function svg2($svg,$class=null,$size=null){ | |
$method=filter_input(INPUT_POST,'method',FILTER_SANITIZE_NUMBER_INT); | ||
$value=filter_input(INPUT_POST,'value',FILTER_SANITIZE_NUMBER_INT); | ||
$quantity=filter_input(INPUT_POST,'quantity',FILTER_SANITIZE_NUMBER_INT); | ||
$tis=filter_input(INPUT_POST,'tis',FILTER_SANITIZE_STRING); | ||
$tie=filter_input(INPUT_POST,'tie',FILTER_SANITIZE_STRING); | ||
$tis=$tis!=''?strtotime($tis):0; | ||
$tie=$tie!=''?strtotime($tie):0; | ||
$tis=filter_input(INPUT_POST,'tisx',FILTER_SANITIZE_STRING); | ||
$tie=filter_input(INPUT_POST,'tiex',FILTER_SANITIZE_STRING); | ||
if($code!=''&&$title!=''&&$value!=0&&$quantity!=0){ | ||
$q=$db->prepare("INSERT INTO `".$prefix."rewards` (code,title,method,value,quantity,tis,tie,ti) VALUES (:code,:title,:method,:value,:quantity,:tis,:tie,:ti)"); | ||
$q->execute([ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,11 +7,13 @@ | |
* @author Dennis Suitters <[email protected]> | ||
* @copyright 2014-2019 Diemen Design | ||
* @license http://opensource.org/licenses/MIT MIT License | ||
* @version 0.0.1 | ||
* @version 0.0.11 | ||
* @link https://github.com/DiemenDesign/AuroraCMS | ||
* @notes This PHP Script is designed to be executed using PHP 7+ | ||
* @changes v0.0.11 Define 'VERSION' constant. | ||
*/ | ||
if(!defined('DS'))define('DS',DIRECTORY_SEPARATOR); | ||
if(!defined('VERSION'))define('VERSION',trim(file_get_contents('VERSION'))); | ||
if(!isset($_COOKIE['bookingview'])){ | ||
setcookie("bookingview","calendar",time()+(60*60*24*14)); | ||
$_COOKIE['bookingview']='calendar'; | ||
|
This file was deleted.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.