aboutsummaryrefslogtreecommitdiffstats
path: root/search.php
diff options
context:
space:
mode:
authorChad Little <clittle@users.sourceforge.net>2003-09-20 21:46:17 +0000
committerChad Little <clittle@users.sourceforge.net>2003-09-20 21:46:17 +0000
commit2450f15799cf36e8ba872ce746659eb15102ebff (patch)
tree9b523e337b217b431f563fb597530357eeb3d0b5 /search.php
parent9fdcd1bee11210fa4d69bdd880574508aa3a3296 (diff)
downloadphpicalendar-2450f15799cf36e8ba872ce746659eb15102ebff.tar.gz
phpicalendar-2450f15799cf36e8ba872ce746659eb15102ebff.tar.bz2
phpicalendar-2450f15799cf36e8ba872ce746659eb15102ebff.zip
Moved all closing html and body tags into the footer. Updated README.
Diffstat (limited to 'search.php')
-rw-r--r--search.php20
1 files changed, 6 insertions, 14 deletions
diff --git a/search.php b/search.php
index 95d6762..fb9f880 100644
--- a/search.php
+++ b/search.php
@@ -86,18 +86,10 @@ $search_ended = getmicrotime();
$search_took = number_format(($search_ended-$search_started),3);
+include (BASE.'includes/header.inc.php');
+
?>
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
- "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd">
-<html>
-<head>
- <meta http-equiv="content-type" content="text/html;charset=UTF-8">
- <title><?php echo "$calendar_name - $results_lang"; ?></title>
- <link rel="stylesheet" type="text/css" href="styles/<?php echo $style_sheet.'/default.css'; ?>">
-</head>
-<body bgcolor="#FFFFFF">
-<?php include (BASE.'includes/header.inc.php'); ?>
<center>
<table border="0" width="700" cellspacing="0" cellpadding="0" bgcolor="#FFFFFF" class="calborder">
<tr>
@@ -283,10 +275,10 @@ $search_took = number_format(($search_ended-$search_started),3);
</tr>
</table>
</center>
-<?php include (BASE.'includes/footer.inc.php'); ?>
-</body>
-</html>
-<?php
+<?php
+
+include (BASE.'includes/footer.inc.php');
+
// takes a boolean search and formats it into an array
// use with sister function search_boolean()

© 2014-2024 Faster IT GmbH | imprint | privacy policy