openrat-cms

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

listing.php (1633B)


      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 						<img src="./modules/cms-ui/themes/default/images/icon_user.png" />
      6 						<span><?php echo nl2br(encodeHtml(htmlentities(lang(''.'name'.'')))); ?></span>
      7 					</td>
      8 					<td>
      9 						<span><?php echo nl2br(encodeHtml(htmlentities(''))); ?></span>
     10 					</td>
     11 					<td>
     12 						<span><?php echo nl2br(encodeHtml(htmlentities(lang(''.'LOGIN'.'')))); ?></span>
     13 					</td>
     14 				</tr>
     15 				<?php foreach($el as $list_key=>$list_value){ ?><?php extract($list_value) ?>
     16 					<tr class="data">
     17 						<td>
     18 							<img src="./modules/cms-ui/themes/default/images/icon_user.png" />
     19 							<span><?php echo nl2br(encodeHtml(htmlentities($name))); ?></span>
     20 						</td>
     21 						<td>
     22 							<span><?php echo nl2br(encodeHtml(htmlentities($fullname))); ?></span>
     23 							<?php $if8=($isAdmin); if($if8){?>
     24 								<span><?php echo nl2br('&nbsp;('); ?></span>
     25 								<span><?php echo nl2br(encodeHtml(htmlentities(lang(''.'USER_ADMIN'.'')))); ?></span>
     26 								<span><?php echo nl2br(')'); ?></span>
     27 							<?php } ?>
     28 						</td>
     29 						<td>
     30 							<a target="_self" data-action="index" data-method="switchuser" data-id="<?php echo $userid ?>" data-extra="[]" href="./#/index/<?php echo $userid ?>">
     31 								<span><?php echo nl2br(encodeHtml(htmlentities(lang(''.'LOGIN'.'')))); ?></span>
     32 							</a>
     33 						</td>
     34 					</tr>
     35 				<?php } ?>
     36 			</table></div></div>