diff --git a/.hta_slug/.htac_404.php b/.hta_slug/_404.php similarity index 94% rename from .hta_slug/.htac_404.php rename to .hta_slug/_404.php index d5311dc..3513c2e 100644 --- a/.hta_slug/.htac_404.php +++ b/.hta_slug/_404.php @@ -1,6 +1,7 @@
diff --git a/.hta_slug/_home.php b/.hta_slug/_home.php index 1d1e860..6483de0 100644 --- a/.hta_slug/_home.php +++ b/.hta_slug/_home.php @@ -1,6 +1,7 @@
@@ -16,29 +17,29 @@ require_once('.htac_header.php');
setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); - $stmt = $conn->prepare("SELECT * FROM api_tools"); - $stmt->execute(); - $rows = $stmt->fetchAll(PDO::FETCH_ASSOC); - // var_dump($rows); - foreach($rows as $row){ - // echo $row['name'].'
'; - if($row['status']==1){ - $link_button = ''.$row['name'].''; - } else{ - $link_button = ''.$row['name'].''; - } - echo ' -
-

'.$row['description'].'

- '.$link_button.' -
'; - } - } catch (PDOException $e) { - $in_page_message = "

Error: " . $e->getMessage() . "

"; - } + // try { + // $conn = new PDO("mysql:host=$mariaServer;dbname=$mariaDb", $mariaUser, $mariaPass); + // $conn->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); + // $stmt = $conn->prepare("SELECT * FROM api_tools"); + // $stmt->execute(); + // $rows = $stmt->fetchAll(PDO::FETCH_ASSOC); + // // var_dump($rows); + // foreach($rows as $row){ + // // echo $row['name'].'
'; + // if($row['status']==1){ + // $link_button = ''.$row['name'].''; + // } else{ + // $link_button = ''.$row['name'].''; + // } + // echo ' + //
+ //

'.$row['description'].'

+ // '.$link_button.' + //
'; + // } + // } catch (PDOException $e) { + // $in_page_message = "

Error: " . $e->getMessage() . "

"; + // } ?>
\ No newline at end of file diff --git a/.hta_slug/qr-code.php b/.hta_slug/qr-code.php index 6758680..a28ead9 100644 --- a/.hta_slug/qr-code.php +++ b/.hta_slug/qr-code.php @@ -9,7 +9,7 @@
-
+
diff --git a/.hta_slug/toml-to-json.php b/.hta_slug/toml-to-json.php new file mode 100644 index 0000000..4795237 --- /dev/null +++ b/.hta_slug/toml-to-json.php @@ -0,0 +1,128 @@ +
+
+

TOML to JSON Converter

+ +
+ + +
+ +

JSON Output:

+

+    
+
+ + + diff --git a/.hta_slug/xml-to-json.php b/.hta_slug/xml-to-json.php new file mode 100644 index 0000000..3fa0c8e --- /dev/null +++ b/.hta_slug/xml-to-json.php @@ -0,0 +1,166 @@ +
+
+

XML to JSON Converter

+ +
+ + +
+ +

JSON Output:

+

+    
+
+ + + +