45 lines
1.5 KiB
PHP
45 lines
1.5 KiB
PHP
<?php defined("SYSPATH") or die("No direct script access.") ?>
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
|
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
|
<head>
|
|
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
|
|
<style>
|
|
#g-exif-data { width: 100%; height: 100%; }
|
|
.g-odd {background-color: #484848; color: #e8e8e8; height:35px; padding:5px; font-family:arial; font-size: 10px;}
|
|
.g-even {background-color: #333333; color: #e8e8e8; height:35px; padding:5px; font-family:arial; font-size: 10px;}
|
|
.g-exif-info-table { width: 100%; height: 100%; background-color: #e8e8e8; border-spacing: 1px; text-align: left;}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div id="g-exif-data">
|
|
<center>
|
|
<table class="g-exif-info-table">
|
|
<tbody>
|
|
<? for ($i = 0; $i < count($details); $i++): ?>
|
|
<tr>
|
|
<td class="g-even">
|
|
<?= $details[$i]["caption"] ?>
|
|
</td>
|
|
<td class="g-odd">
|
|
<?= html::clean($details[$i]["value"]) ?>
|
|
</td>
|
|
<? if (!empty($details[++$i])): ?>
|
|
<td class="g-even">
|
|
<?= $details[$i]["caption"] ?>
|
|
</td>
|
|
<td class="g-odd">
|
|
<?= html::clean($details[$i]["value"]) ?>
|
|
</td>
|
|
<? else: ?>
|
|
<td class="g-even"></td><td class="g-odd"></td>
|
|
<? endif ?>
|
|
</tr>
|
|
<? endfor ?>
|
|
</tbody>
|
|
</table>
|
|
</center>
|
|
</div>
|
|
</body>
|
|
</html>
|