|
Revision 1707, 0.7 KB
(checked in by jeena, 10 months ago)
|
|
changed require prepend.inc.php instead setting.inc.php
|
| Line | |
|---|
| 1 | <?php |
|---|
| 2 | require_once('.'.DIRECTORY_SEPARATOR.'scripts'.DIRECTORY_SEPARATOR.'prepend.inc.php'); |
|---|
| 3 | $get = strip($_GET); |
|---|
| 4 | |
|---|
| 5 | $meta['robots'] = "noindex, follow"; |
|---|
| 6 | $c['meta']['title'] = $l['err404_topic']; |
|---|
| 7 | $c['main'] = "<h2>".$l['err404_topic']."</h2>\n<p>".$l['err404_message']."</p>"; |
|---|
| 8 | $c['main'] .= ' <form id="searchform" action="'.JLOG_PATH.'/search.php" accept-charset="UTF-8"> |
|---|
| 9 | <p><input class="userdata" type="text" name="q" size="30" value="'.htmlspecialchars($get['url']).'" /> |
|---|
| 10 | <input class="send" type="submit" value="'.$l['content_search'].'" /></p> |
|---|
| 11 | </form>'; |
|---|
| 12 | |
|---|
| 13 | require(JLOG_BASEPATH.'scripts'.DIRECTORY_SEPARATOR.'do_template.php'); |
|---|
| 14 | echo $body; |
|---|
| 15 | ?> |
|---|