openrat-cms

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

show.php (2137B)


      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 class="headline">
      4 			<th>
      5 				<span><?php echo nl2br(encodeHtml(htmlentities(lang(''.'TYPE'.'')))); ?></span>
      6 			</th>
      7 			<th>
      8 				<span><?php echo nl2br(encodeHtml(htmlentities(lang(''.'NAME'.'')))); ?></span>
      9 			</th>
     10 			<th>
     11 				<span><?php echo nl2br(encodeHtml(htmlentities(lang(''.'LASTCHANGE'.'')))); ?></span>
     12 			</th>
     13 		</tr>
     14 		<?php $if3=(isset($up_url)); if($if3){?>
     15 			<tr class="data clickable">
     16 				<td>
     17 					<i class="image-icon image-icon--action-folder"></i>
     18 				</td>
     19 				<td>
     20 					<span><?php echo nl2br('..'); ?></span>
     21 				</td>
     22 				<td>
     23 					<span><?php echo nl2br(encodeHtml(htmlentities(''))); ?></span>
     24 				</td>
     25 			</tr>
     26 		<?php } ?>
     27 		<?php foreach($object as $list_key=>$list_value){ ?><?php extract($list_value) ?>
     28 			<tr class="data">
     29 				<td title="<?php echo $desc ?>" data-name="<?php echo $name ?>" data-action="<?php echo $type ?>" data-id="<?php echo $id ?>" class="clickable <?php echo $class ?>">
     30 					<img src="./modules/cms-ui/themes/default/images/icon_<?php echo $icon ?>.png" />
     31 					<span><?php echo nl2br(encodeHtml(htmlentities($name))); ?></span>
     32 					<span><?php echo nl2br('&nbsp;'); ?></span>
     33 				</td>
     34 				<td>
     35 					<?php include_once( 'modules/template-engine/components/html/date/component-date.php') ?><?php component_date($date) ?>
     36 				</td>
     37 			</tr>
     38 		<?php } ?>
     39 		<?php $if3=(($object)==FALSE); if($if3){?>
     40 			<tr>
     41 				<td colspan="2">
     42 					<span><?php echo nl2br(encodeHtml(htmlentities(lang('GLOBAL_NOT_FOUND')))); ?></span>
     43 				</td>
     44 			</tr>
     45 		<?php } ?>
     46 	</table></div></div>
     47 	<div class="clickable">
     48 		<a class="or-link-btn" target="_self" data-type="view" data-action="folder" data-method="create" data-id="<?php echo OR_ID ?>" data-extra="[]" href="./#/folder/">
     49 			<i class="image-icon image-icon--action-new"></i>
     50 			<span><?php echo nl2br(encodeHtml(htmlentities(lang(''.'new'.'')))); ?></span>
     51 		</a>
     52 	</div>