From 9f3c980ed2f6650cc47bd35743343a4a88fed3a1 Mon Sep 17 00:00:00 2001 From: slawkens Date: Sat, 27 Jan 2024 23:58:08 +0100 Subject: [PATCH] Update commands & downloads pages --- system/migrations/27.php | 62 +++++++++++++++++++++++----------------- 1 file changed, 36 insertions(+), 26 deletions(-) diff --git a/system/migrations/27.php b/system/migrations/27.php index cddda504..f6d72932 100644 --- a/system/migrations/27.php +++ b/system/migrations/27.php @@ -1,37 +1,47 @@  

+

 

+
We're using official Tibia Client {{ config.client / 100 }}
+

Download Tibia Client {{ config.client / 100 }} for Windows HERE.

+

IP Changer:

+HERE
+HTML; + $query = $db->query("SELECT `id` FROM `" . TABLE_PREFIX . "pages` WHERE `name` LIKE " . $db->quote('downloads') . " LIMIT 1;"); if($query->rowCount() === 0) { $db->exec("INSERT INTO `myaac_pages` (`id`, `name`, `title`, `body`, `date`, `player_id`, `php`, `access`, `hide`) VALUES - (null, 'downloads', 'Downloads', '

 

-

 

-
We''re using official Tibia Client {{ config.client / 100 }}
-

Download Tibia Client {{ config.client / 100 }} for Windows HERE.

-

IP Changer:

-HERE
', 0, 1, 0, 0, 0);"); + (null, 'downloads', 'Downloads', $downloadsPage, 0, 1, 0, 0, 0);"); } +$commandsPage = << + + +Words +Description + + + + +!example +This is just an example + + +!buyhouse +Buy house you are looking at + + +!aol +Buy AoL + + + +HTML; + $query = $db->query("SELECT `id` FROM `" . TABLE_PREFIX . "pages` WHERE `name` LIKE " . $db->quote('commands') . " LIMIT 1;"); if($query->rowCount() === 0) { $db->exec("INSERT INTO `myaac_pages` (`id`, `name`, `title`, `body`, `date`, `player_id`, `php`, `access`, `hide`) VALUES -(null, 'commands', 'Commands', ' - - - - - - - - - - - - - - - - - - -
WordsDescription
!exampleThis is just an example
!buyhouseBuy house you are looking at
!aolBuy AoL
', 0, 1, 0, 0, 0);"); +(null, 'commands', 'Commands', $commandsPage, 0, 1, 0, 0, 0);"); }