-
Notifications
You must be signed in to change notification settings - Fork 0
/
categories-all.php
67 lines (54 loc) · 2.25 KB
/
categories-all.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
<?php
ini_set('error_reporting', E_ALL);
ini_set('display_errors','On');
include_once "site.config.php";
include_once "class.MySQLDB.php";
include_once "class.SwishFormat.php";
include_once "class.SwishKatalogen.php";
$sf = new SwishFormat();
$db = new MySQLDB();
$ui = new SwishKatalogen();
$dbparam = $config["db"]["mysql"];
$db->connectDB(
$dbparam["hostname"],
$dbparam["port"],
$dbparam["username"],
$dbparam["password"],
$dbparam["database"]
);
$siteparam = $config["site"];
// $config["content"]["html"]["header"]["title"] = $config["site"]["name"] . " - Alla kategorier i alfabetisk ordning";
// $config["content"]["html"]["header"]["description"] = $config["site"]["name"] . " - Kategorier i bokstavsordning";
?><!DOCTYPE html>
<html lang="sv" dir="ltr" xml:lang="sv" xmlns="http://www.w3.org/1999/xhtml">
<head prefix="dc: http://purl.org/dc/elements/1.1/; og: http://ogp.me/ns#">
<?php echo($ui->renderHTMLHeadMetas($config["content"]["html"]["header"]["meta"]) . "\n"); ?>
<?php echo($ui->renderHTMLHeadLinks($config["content"]["html"]["header"]["link"]) . "\n"); ?>
<title>Swish-Katalogen - Sök och hitta Swish-nummer, en enkel söktjänst för Swish-nummer</title>
<link rel="stylesheet" href="/swish-katalogen/css/screen.css?nocache=<?php echo(time()); ?>">
<script src="js/jquery/jquery-3.6.0.min.js"></script>
</head>
<body>
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "WebPage",
"name": "<?php echo($config["site"]["title"]); ?>",
"url": "<?php echo($config["site"]["url"]); ?>",
"isBasedOn": "https://github.com/cisene/swish-123",
"breadcrumb": "Swish-Katalogen - Sök Swish-nummer",
"dateCreated": "<?php echo($config["site"]["dateCreated"]); ?>",
"datePublished": "<?php echo($config["site"]["dateCreated"]); ?>",
"dateModified": "<?php echo($config["site"]["dateModified"]); ?>"
}
</script>
<?php include_once "include.pageheader.php"; ?>
<?php // include_once "include.pagesearch.php"; ?>
<section id="pagebody">
<?php include_once "include.pagebody.categories.categories.php"; ?>
</section>
<section id="pagefooter">
<?php include_once "include.pagefooter.php"; ?>
</section>
</body>
</html>