diff options
Diffstat (limited to 'style/header.php')
-rw-r--r-- | style/header.php | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/style/header.php b/style/header.php index 79a4479..0e3f832 100644 --- a/style/header.php +++ b/style/header.php @@ -8,9 +8,15 @@ $_GET["Anime"] ? $Anime = "checked" : $Anime = NULL; $_GET["People"] ? $People = "checked" : $People = NULL; - printf("<head>\n<title>WallHeaven - %s</title>\n", $_GET["q"]); - printf("<meta name='description' content='Pictures of %s'>\n", $_GET["q"]); - echo <<<GFG + if ($_GET["q"]) { + printf("<head>\n<title>WallHeaven - %s</title>\n", $_GET["q"]); + printf("<meta name='description' content='Pictures of %s'>\n", $_GET["q"]); + } else { + printf("<head>\n<title>WallHeaven - Viewing A Wallpaper</title>\n", $_GET["w"]); + printf("<meta name='description' content='Wallpaper id:%s'>\n", $_GET["w"]); + } + +?> <meta name="viewport" content="width=device-width,initial-scale=1"> <link rel="stylesheet" href="/style/style.css"> <meta charset="utf-8"> |