diff --git a/images/og-site-avatar.jpg b/images/og-site-avatar.jpg new file mode 100644 index 0000000..10ad3a5 Binary files /dev/null and b/images/og-site-avatar.jpg differ diff --git a/index.php b/index.php index a874eb5..98a7da8 100755 --- a/index.php +++ b/index.php @@ -1,6 +1,8 @@ query('SELECT @@ -12,6 +14,7 @@ INNER JOIN books_authors_link ON books.id = books_authors_link.book INNER JOIN authors on authors.id = books_authors_link.author ORDER BY books.id DESC LIMIT 4'); + ?> @@ -23,9 +26,9 @@ LIMIT 4'); - Infopump - Cyberpunk Culture Database + <?php echo $SiteName.': '.$SubName;?> - + ';?> @@ -44,15 +47,23 @@ LIMIT 4'); --> - - - - - - - - - + ';?> + + ';?> + + ';?> + + ';?> + + ';?> + + ';?> + + ';?> + + ';?> + + diff --git a/settings.php b/settings.php new file mode 100644 index 0000000..70150a9 --- /dev/null +++ b/settings.php @@ -0,0 +1,24 @@ +query('SELECT description FROM site WHERE id = 1'); + +while ($row = $getName->fetchArray()) { + $SiteName = $row['description']; +} + +$getSubName = $sitesettings->query('SELECT description FROM site WHERE id = 2'); + +while ($row = $getSubName->fetchArray()) { + $SubName = $row['description']; +} + +$getURL = $sitesettings->query('SELECT description FROM site WHERE id = 3'); + +while ($row = $getURL->fetchArray()) { + $SiteURL = $row['description']; +} + + +?> \ No newline at end of file diff --git a/settings.sqlite b/settings.sqlite new file mode 100644 index 0000000..3f2d478 Binary files /dev/null and b/settings.sqlite differ