From 938adcd6d5b7ea89eb262ebcb13ade62205d58fd Mon Sep 17 00:00:00 2001 From: Natdanai Pinves Date: Mon, 22 Aug 2022 23:01:27 +0700 Subject: [PATCH] Version 2.1.0 --- datatable/ssp.class.php | 4 +- index.php | 200 +++++++++++++++++----------------------- structure/footer.php | 2 +- 3 files changed, 90 insertions(+), 116 deletions(-) diff --git a/datatable/ssp.class.php b/datatable/ssp.class.php index f27c4f1..0d49e43 100644 --- a/datatable/ssp.class.php +++ b/datatable/ssp.class.php @@ -234,7 +234,7 @@ static function filter ( $request, $columns, &$bindings ) /** * Perform the SQL queries needed for an server-side processing requested, - * utilising the helper functions of this class, limit(), order() and + * utilising the helper functions of this class, limit(), order() and * filter() among others. The returned array is ready to be encoded as JSON * in response to an SSP request, or can be modified if needed before * sending back to the client. @@ -401,7 +401,7 @@ static function sql_connect ( $sql_details ) { try { $db = @new PDO( - "mysql:host={$sql_details['host']};dbname={$sql_details['db']}", + "mysql:host={$sql_details['host']};dbname={$sql_details['db']};charset=UTF8", $sql_details['user'], $sql_details['pass'], array( PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION ) diff --git a/index.php b/index.php index 170561a..c8291c1 100644 --- a/index.php +++ b/index.php @@ -75,53 +75,93 @@
-
-

ตารางแสดงโครงการ/กิจกรรม

-
- - - - - - - - - - - - - - - - - - - - -
ลำดับที่โครงการกลุ่ม/งานวันที่เกียรติบัตร
- - - -
- -
- - - - - - - - - - - - - - - - - + + +
+ + +
+
+ Certificate Preview +
+
+ + + +
+ +
+
+
+
+ +
+ + + + 1){?> +
+ +
+
@@ -175,72 +215,6 @@ - - -