Files
2025-03-12 17:06:23 +01:00

41 lines
1.1 KiB
PHP

<?php
$cookie_array = json_decode($ads_tracker_debug->getCookie());
?>
<table class="st_record_list" width="100%" cellspacing="0">
<thead>
<tr>
<th style="width: 105px;">Utworzono</th>
<th>Reklama</th>
<th>Wejść</th>
</tr>
</thead>
<tbody>
<?php foreach ($cookie_array as $ads):
$fullurl = "appAdsTrackerBackend/edit?id=".$ads->ads_id;
?>
<tr>
<td><?php echo $ads->ads_create ?></td>
<td style="text-align: left">
<a href="<?php echo st_url_for($fullurl) ?>"><img src="/images/backend/icons/view.png" title="Podgląd" class="tooltip" style="top: 4px;position: relative;"></a>
<?php
if(appAdsTracker::getFullAdsName($ads->ads_id)){
echo appAdsTracker::getFullAdsName($ads->ads_id);
}else{
echo $ads->ads_id."/".$ads->ads_path;
}
?>
</td>
<td><?php echo $ads->ads_entering ?></td>
</tr>
<?php endforeach; ?>
</tbody>
</table>
<pre>
<?php // print_r($cookie_array); ?>
</pre>