openrat-cms

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

diff.php (2233B)


      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>
      5 			</td>
      6 			<td>
      7 				<em><?php echo nl2br(encodeHtml(htmlentities(lang('GLOBAL_COMPARE')))); ?></em>
      8 				<span><?php echo nl2br('&nbsp;'); ?></span>
      9 				<?php include_once( 'modules/template-engine/components/html/date/component-date.php') ?><?php component_date($date_left) ?>
     10 			</td>
     11 			<td>
     12 			</td>
     13 			<td>
     14 				<em><?php echo nl2br(encodeHtml(htmlentities(lang('GLOBAL_WITH')))); ?></em>
     15 				<span><?php echo nl2br('&nbsp;'); ?></span>
     16 				<?php include_once( 'modules/template-engine/components/html/date/component-date.php') ?><?php component_date($date_right) ?>
     17 			</td>
     18 		</tr>
     19 		<tr>
     20 			<td colspan="4">
     21 			</td>
     22 		</tr>
     23 		<?php foreach($diff as $list_key=>$list_value){ ?><?php extract($list_value) ?>
     24 			<tr class="diff">
     25 				<?php $if5=(isset($left)); if($if5){?>
     26 					<td width="5%" class="line">
     27 						<tt><?php echo nl2br(encodeHtml(htmlentities(@$left[line]))); ?></tt>
     28 					</td>
     29 					<td width="45%" class="<?php echo @$left[type] ?>">
     30 						<span><?php echo nl2br(encodeHtml(htmlentities(@$left[text]))); ?></span>
     31 					</td>
     32 				<?php } ?>
     33 				<?php if(!$if5){?>
     34 					<td width="50%" colspan="2" class="help">
     35 						<span><?php echo nl2br('&nbsp;'); ?></span>
     36 					</td>
     37 				<?php } ?>
     38 				<?php $if5=(isset($right)); if($if5){?>
     39 					<td width="5%" class="line">
     40 						<tt><?php echo nl2br(encodeHtml(htmlentities(@$right[line]))); ?></tt>
     41 					</td>
     42 					<td width="45%" class="<?php echo @$right[type] ?>">
     43 						<span><?php echo nl2br(encodeHtml(htmlentities(@$right[text]))); ?></span>
     44 					</td>
     45 				<?php } ?>
     46 				<?php if(!$if5){?>
     47 					<td width="50%" colspan="2" class="help">
     48 						<span><?php echo nl2br('&nbsp;'); ?></span>
     49 					</td>
     50 				<?php } ?>
     51 			</tr>
     52 			<?php unset($left) ?>
     53 			<?php unset($right) ?>
     54 		<?php } ?>
     55 	</table></div></div>
     56 			<div class="invisible"><input type="submit" 	name="ok" class="%class%"
     57 	title="?BUTTON_BACK_DESC?"
     58 	value="&nbsp;&nbsp;&nbsp;&nbsp;?BUTTON_BACK?&nbsp;&nbsp;&nbsp;&nbsp;" />	
     59 	</div>