orcinus-search/example.php

29 lines
797 B
PHP
Raw Normal View History

2023-04-12 02:02:16 +00:00
<?php
2023-04-27 00:50:37 +00:00
// Include the 'search.php' file before any HTML content
2023-04-13 01:08:53 +00:00
require 'orcinus/search.php';
2023-04-12 02:02:16 +00:00
?><!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
2023-04-12 23:12:51 +00:00
<title>Orcinus Site Search - Online example</title>
2023-04-27 00:50:37 +00:00
<!-- Include the default stylesheet, or create your own -->
2023-04-13 01:08:53 +00:00
<link rel="stylesheet" href="orcinus/css/search.css">
2023-04-12 02:02:16 +00:00
</head>
<body>
2023-04-12 23:12:51 +00:00
<h1>Orcinus Site Search - Online example</h1>
2023-04-12 02:02:16 +00:00
<?php
// Place this command where your search results should appear
$_ORCINUS->render(); ?>
2023-04-12 23:12:51 +00:00
<!-- Script files below are only required for Typeahead -->
<script src="orcinus/js/jquery.min.js"></script>
2023-04-13 01:08:53 +00:00
<script src="orcinus/js/typeahead.bundle.min.js"></script>
<script src="orcinus/js/search.js"></script>
2023-04-12 02:02:16 +00:00
</body>
</html>