openrat-cms

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit 0ab97dd7889937aa9c0561e8fabedfd30191c454
parent cf9a37aef143c070e8f00f49af5399e6f891ccc7
Author: dankert <devnull@localhost>
Date:   Mon, 29 Nov 2004 00:35:01 +0100

Suchergebnis-Seite

Diffstat:
themes/default/pages/html/search/result.tpl.php | 33+++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+), 0 deletions(-)

diff --git a/themes/default/pages/html/search/result.tpl.php b/themes/default/pages/html/search/result.tpl.php @@ -0,0 +1,32 @@ +<?php include( $tpl_dir.'header.tpl.php') ?> + +<!-- $Id$ --> + +<center> + +<table class="main" width="90%" cellspacing="0" cellpadding="4"> + +<tr> + <th colspan="2"><?php echo lang('SEARCH_RESULT').' ('.count($result).')' ?></th> +</tr> + +<?php $f1=true; + foreach( $result as $e ) + { ?> +<tr> +<td width="50%" class="<?php echo fx() ?>"><a href="<?php echo $e['url'] ?>" target="cms_main"><img src="<?php echo $image_dir.'icon_'.$e['type'] ?>" border="0" /><?php echo $e['name'] ?></a></td> +<td width="50%" class="<?php echo fx() ?>"><?php echo $e['desc'] ?></td> +</tr> +<?php } ?> + +<?php if (count($result)==0) + { ?> +<tr> +<td class="<?php echo fx() ?>"><?php echo lang('GLOBAL_NOT_FOUND') ?></td> +</tr> +<?php } ?> + +</table> + +</center> +<?php include( $tpl_dir.'footer.tpl.php') ?>+ \ No newline at end of file