openrat-cms

# OpenRat Content Management System
git clone http://git.code.weiherhei.de/openrat-cms.git
Log | Files | Refs

result.php (1308B)


      1 <?php if (!defined('OR_TITLE')) die('Forbidden'); ?>
      2 	<div class="or-table-wrapper"><div class="or-table-filter"><input type="search" name="filter" placeholder="<?php echo lang('SEARCH_FILTER') ?>" /></div><div class="or-table-area"><table width="100%">
      3 		<tr>
      4 			<td class="header">
      5 				<span><?php echo nl2br(encodeHtml(htmlentities(lang(''.'GLOBAL_NAME'.'')))); ?></span>
      6 			</td>
      7 			<td class="header">
      8 				<span><?php echo nl2br(encodeHtml(htmlentities(lang(''.'GLOBAL_LASTCHANGE'.'')))); ?></span>
      9 			</td>
     10 		</tr>
     11 		<?php foreach($result as $list_key=>$list_value){ ?><?php extract($list_value) ?>
     12 			<tr class="data">
     13 				<td class="clickable">
     14 					<a target="_self" date-name="<?php echo $name ?>" name="<?php echo $name ?>" data-type="open" data-action="<?php echo $type ?>" data-method="result" data-id="<?php echo $id ?>" data-extra="[]" href="./#/<?php echo $type ?>/<?php echo $id ?>">
     15 						<img src="./modules/cms-ui/themes/default/images/icon_<?php echo $type ?>.png" />
     16 						<span title="<?php echo $desc ?>"><?php echo nl2br(encodeHtml(htmlentities($name))); ?></span>
     17 					</a>
     18 				</td>
     19 				<td>
     20 					<?php include_once( 'modules/template-engine/components/html/date/component-date.php') ?><?php component_date($lastchange_date) ?>
     21 				</td>
     22 			</tr>
     23 		<?php } ?>
     24 	</table></div></div>