Beispiel #1
0
    foreach ($history as $log) {
        ?>
    
									<?php 
        $row = json_decode($log['message'], true);
        ?>
    
									<tr>
										<td>
											<?php 
        echo Convert::formatDate($log['logtime'], 'u');
        ?>
</td>
										<td>
											<?php 
        echo String::cutStr(!empty($row['address']) ? $row['address'] : Convert::convertIp($row['ip']), 7);
        ?>
</td>
										<td>
											<?php 
        echo $row['ip'];
        ?>
</td>
										<td>
											<?php 
        echo $terminal[$row['terminal']];
        ?>
</td>
									</tr>
								<?php 
    }
Beispiel #2
0
    foreach ($history as $log) {
        ?>
						<?php 
        $row = json_decode($log['message'], true);
        ?>
						<tr>
							<td><?php 
        echo date('y-n-j H:i:s', $log['logtime']);
        ?>
</td>
							<td><?php 
        echo $row['ip'];
        ?>
</td>
							<td><?php 
        echo !empty($row['address']) ? $row['address'] : Convert::convertIp($row['ip']);
        ?>
</td>
							<td class="fss"><?php 
        echo $terminal[$row['terminal']];
        ?>
</td>
						</tr>
					<?php 
    }
    ?>
				<?php 
}
?>
			</tbody>
			<?php