|
|
@@ -86,11 +86,11 @@ try {
|
|
|
['grupa' => 'content', 'name' => 'listing', 'value' => 'Top Rated Casinos'],
|
|
|
['grupa' => 'content', 'name' => 'content_btn', 'value' => 'Play Now'],
|
|
|
['grupa' => 'content', 'name' => 'hide-btns', 'value' => '0'],
|
|
|
- ['grupa' => 'content', 'name' => 'header-logo', 'value' => '{"src":"uploads/logo.png","title":"Amazing Casino Logo","alt":"Amazing Casino - Best Online Gaming"}'],
|
|
|
- ['grupa' => 'content', 'name' => 'banner-logo', 'value' => '{"src":"uploads/banner.jpg","title":"Welcome Bonus Banner","alt":"Get 200% Welcome Bonus","width":"800","height":"400"}'],
|
|
|
- ['grupa' => 'content', 'name' => 'footer-logo', 'value' => '{"src":"uploads/footer-logo.png","title":"Footer Logo","alt":"Amazing Casino Footer"}'],
|
|
|
- ['grupa' => 'content', 'name' => 'favicon', 'value' => 'uploads/favicon.ico'],
|
|
|
- ['grupa' => 'content', 'name' => 'author-img', 'value' => 'uploads/author.jpg'],
|
|
|
+ ['grupa' => 'content', 'name' => 'header-logo', 'value' => '{"src":"media/logo.png","title":"Amazing Casino Logo","alt":"Amazing Casino - Best Online Gaming"}'],
|
|
|
+ ['grupa' => 'content', 'name' => 'banner-logo', 'value' => '{"src":"media/banner.jpg","title":"Welcome Bonus Banner","alt":"Get 200% Welcome Bonus","width":"800","height":"400"}'],
|
|
|
+ ['grupa' => 'content', 'name' => 'footer-logo', 'value' => '{"src":"media/footer-logo.png","title":"Footer Logo","alt":"Amazing Casino Footer"}'],
|
|
|
+ ['grupa' => 'content', 'name' => 'favicon', 'value' => 'media/favicon.ico'],
|
|
|
+ ['grupa' => 'content', 'name' => 'author-img', 'value' => 'media/author.jpg'],
|
|
|
['grupa' => 'content', 'name' => 'hash', 'value' => 'ac123main'],
|
|
|
['grupa' => 'content', 'name' => 'hash-1', 'value' => 'ac123promo'],
|
|
|
['grupa' => 'content', 'name' => 'hash-2', 'value' => 'ac123bonus'],
|
|
|
@@ -129,7 +129,7 @@ try {
|
|
|
['grupa' => 'seo', 'name' => 'og-title', 'value' => 'Amazing Casino - Win Big with Our Casino Games'],
|
|
|
['grupa' => 'seo', 'name' => 'og-description', 'value' => 'Experience the thrill of premium casino games with Amazing Casino. Get your 200% welcome bonus today!'],
|
|
|
['grupa' => 'seo', 'name' => 'og-locale', 'value' => 'en_US'],
|
|
|
- ['grupa' => 'seo', 'name' => 'og-image', 'value' => 'uploads/og-image.jpg'],
|
|
|
+ ['grupa' => 'seo', 'name' => 'og-image', 'value' => 'media/og-image.jpg'],
|
|
|
['grupa' => 'seo', 'name' => 'lang', 'value' => 'en'],
|
|
|
['grupa' => 'seo', 'name' => 'lang-page', 'value' => 'en-US'],
|
|
|
['grupa' => 'seo', 'name' => 'hreflang', 'value' => '[{"hreflang":"en","href":"https://amazing-casino.com/en/"},{"hreflang":"es","href":"https://amazing-casino.com/es/"},{"hreflang":"fr","href":"https://amazing-casino.com/fr/"},{"hreflang":"x-default","href":"https://amazing-casino.com/"}]'],
|
|
|
@@ -193,6 +193,28 @@ try {
|
|
|
$db->execute($faqsIndexSQL);
|
|
|
echo "✓ FAQs table index checked/created\n";
|
|
|
|
|
|
+ // Migration: Create slots table
|
|
|
+ $slotsTableSQL = "
|
|
|
+ CREATE TABLE IF NOT EXISTS slots (
|
|
|
+ id INTEGER PRIMARY KEY AUTOINCREMENT,
|
|
|
+ name VARCHAR(255) NOT NULL,
|
|
|
+ image VARCHAR(255) NULL,
|
|
|
+ provider VARCHAR(255) NULL,
|
|
|
+ rtp DECIMAL(5,2) NULL,
|
|
|
+ demo_url VARCHAR(500) NULL,
|
|
|
+ created_at DATETIME DEFAULT CURRENT_TIMESTAMP,
|
|
|
+ updated_at DATETIME DEFAULT CURRENT_TIMESTAMP
|
|
|
+ )";
|
|
|
+ $db->execute($slotsTableSQL);
|
|
|
+ echo "✓ Slots table checked/created\n";
|
|
|
+
|
|
|
+ // Create indexes for slots
|
|
|
+ $slotsNameIndexSQL = "CREATE INDEX IF NOT EXISTS idx_slots_name ON slots(name)";
|
|
|
+ $db->execute($slotsNameIndexSQL);
|
|
|
+ $slotsProviderIndexSQL = "CREATE INDEX IF NOT EXISTS idx_slots_provider ON slots(provider)";
|
|
|
+ $db->execute($slotsProviderIndexSQL);
|
|
|
+ echo "✓ Slots table indexes checked/created\n";
|
|
|
+
|
|
|
echo "Migration completed successfully!\n";
|
|
|
|
|
|
} catch (Exception $e) {
|