openrat-cms

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

show.php (2655B)


      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 data-name="<?php echo $name ?>" data-action="user" data-id="<?php echo $id ?>" class="clickable clickable">
     18 					<a target="_self" date-name="<?php echo $name ?>" name="<?php echo $name ?>" data-type="open" data-action="user" data-method="show" data-id="<?php echo $id ?>" data-extra="[]" href="./#/user/<?php echo $id ?>">
     19 						<i class="image-icon image-icon--action-user"></i>
     20 						<span><?php echo nl2br(encodeHtml(htmlentities($name))); ?></span>
     21 					</a>
     22 				</td>
     23 				<td data-name="<?php echo $name ?>" data-action="user" data-id="<?php echo $id ?>" class="clickable">
     24 					<span><?php echo nl2br(encodeHtml(htmlentities($fullname))); ?></span>
     25 					<?php $if6=($isAdmin); if($if6){?>
     26 						<span><?php echo nl2br('&nbsp;('); ?></span>
     27 						<span><?php echo nl2br(encodeHtml(htmlentities(lang(''.'USER_ADMIN'.'')))); ?></span>
     28 						<span><?php echo nl2br(')'); ?></span>
     29 					<?php } ?>
     30 				</td>
     31 				<td class="clickable">
     32 					<a target="_self" data-type="post" data-action="user" data-method="switch" data-id="<?php echo $userid ?>" data-extra="[]" data-data="{&quot;action&quot;:&quot;user&quot;,&quot;subaction&quot;:&quot;switch&quot;,&quot;id&quot;:&quot;<?php echo $userid ?>&quot;,&quot;token&quot;:&quot;<?php echo token() ?>&quot;,&quot;none&quot;:&quot;0&quot;}">
     33 						<span><?php echo nl2br(encodeHtml(htmlentities(lang(''.'LOGIN'.'')))); ?></span>
     34 					</a>
     35 				</td>
     36 			</tr>
     37 		<?php } ?>
     38 		<tr class="data">
     39 			<td colspan="3" class="clickable">
     40 				<a target="_self" date-name="<?php echo lang('add') ?>" name="<?php echo lang('add') ?>" data-type="dialog" data-action="" data-method="add" data-id="<?php echo OR_ID ?>" data-extra="{'dialogAction':null,'dialogMethod':'add'}" href="./#//">
     41 					<i class="image-icon image-icon--method-add"></i>
     42 					<span><?php echo nl2br(encodeHtml(htmlentities(lang('new')))); ?></span>
     43 				</a>
     44 			</td>
     45 		</tr>
     46 	</table></div></div>