openrat-cms

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

listing.php (1876B)


      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 					<td>
      5 						<span><?php echo nl2br(encodeHtml(htmlentities(lang(''.'name'.'')))); ?></span>
      6 					</td>
      7 					<td>
      8 						<span><?php echo nl2br(encodeHtml(htmlentities(''))); ?></span>
      9 					</td>
     10 					<td>
     11 						<span><?php echo nl2br(encodeHtml(htmlentities(''))); ?></span>
     12 					</td>
     13 					<td>
     14 						<span><?php echo nl2br(encodeHtml(htmlentities(''))); ?></span>
     15 					</td>
     16 				</tr>
     17 				<?php foreach($el as $list_key=>$list_value){ ?><?php extract($list_value) ?>
     18 					<tr class="data">
     19 						<td>
     20 							<img src="./modules/cms-ui/themes/default/images/icon/icon_language.png" />
     21 							<span><?php echo nl2br(encodeHtml(htmlentities(Text::maxLength( $name,25,'..',constant('STR_PAD_BOTH') )))); ?></span>
     22 						</td>
     23 						<td>
     24 							<span><?php echo nl2br(encodeHtml(htmlentities($isocode))); ?></span>
     25 						</td>
     26 						<td>
     27 							<?php $if8=(isset($default_url)); if($if8){?>
     28 								<span><?php echo nl2br(encodeHtml(htmlentities(lang('GLOBAL_make_default')))); ?></span>
     29 							<?php } ?>
     30 							<?php if(!$if8){?>
     31 								<span><?php echo nl2br(encodeHtml(htmlentities(lang('GLOBAL_is_default')))); ?></span>
     32 							<?php } ?>
     33 						</td>
     34 						<td>
     35 							<?php $if8=(isset($select_url)); if($if8){?>
     36 								<span><?php echo nl2br(encodeHtml(htmlentities(lang('GLOBAL_select')))); ?></span>
     37 							<?php } ?>
     38 							<?php if(!$if8){?>
     39 								<span><?php echo nl2br(encodeHtml(htmlentities(lang('GLOBAL_selected')))); ?></span>
     40 							<?php } ?>
     41 						</td>
     42 					</tr>
     43 					<?php unset($select_url) ?>
     44 					<?php unset($default_url) ?>
     45 				<?php } ?>
     46 			</table></div></div>