Update index.php
This commit is contained in:
parent
e3f415c8a5
commit
ebe64590c2
|
@ -1,18 +1,18 @@
|
|||
<?php if(isset($_GET["q"]) and $_GET["q"]!=""){$is="q";}else{$is="h";} ?>
|
||||
<?php include_once("_config.php");if(isset($_GET["q"]) && $_GET["q"]!=""){$is="q";}else{$is="h";} ?>
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<link rel="stylesheet" href="styles.css">
|
||||
<title><?php if($is=="q"){$safeq=htmlentities($_GET["q"]);echo "'$safeq' - ";} ?>Filde</title>
|
||||
<title><?php if($is=="q"){$safeq=htmlentities($_GET["q"]);echo "'$safeq' - ";} echo $TITLE; ?></title>
|
||||
</head>
|
||||
<body class="<?= $is ?>">
|
||||
|
||||
<div id="container">
|
||||
<div id="content">
|
||||
<div id="header">
|
||||
<a href="?"><h1>Filde</h1></a>
|
||||
<p>~search for things throught <a href="https://tildegit.org/assets/allowed_domains.txt">these webz</a></p>
|
||||
<a href="?"><h1><?= $TITLE ?></h1></a>
|
||||
<p>~search for things throught <a href="allowed.json">these webz</a></p>
|
||||
</div>
|
||||
|
||||
<div class="form">
|
||||
|
|
Loading…
Reference in New Issue