|
|
1 |
<?php if (!empty($document)): require('item_document.php'); endif;?>
|
|
|
2 |
|
|
|
3 |
|
|
|
4 |
<?php if (!empty($domstreams)):?>
|
|
|
5 |
<table class="simpleTable">
|
|
|
6 |
<thead>
|
|
|
7 |
<tr>
|
|
|
8 |
<th><?php echo $domstreams->getLabel('timestamp');?></th>
|
|
|
9 |
<th><?php echo $domstreams->getLabel('page_url');?></th>
|
|
|
10 |
<th><?php echo $domstreams->getLabel('duration');?></th>
|
|
|
11 |
<th></th>
|
|
|
12 |
</tr>
|
|
|
13 |
</thead>
|
|
|
14 |
<tbody>
|
|
|
15 |
<?php foreach($domstreams->rows as $ds): ?>
|
|
|
16 |
|
|
|
17 |
<TR>
|
|
|
18 |
<TD class="data_cell">
|
|
|
19 |
<?php echo date("F j, Y, g:i a",$ds['timestamp']);?>
|
|
|
20 |
</TD>
|
|
|
21 |
<TD class="data_cell">
|
|
|
22 |
<a href="<?php echo $ds['page_url'];?>">
|
|
|
23 |
<?php echo $this->truncate($ds['page_url'], 150);?>
|
|
|
24 |
</a>
|
|
|
25 |
</TD>
|
|
|
26 |
|
|
|
27 |
<TD class="data_cell">
|
|
|
28 |
<?php echo date("H:i:s", mktime(0,0,$ds['duration']));?>
|
|
|
29 |
</TD>
|
|
|
30 |
<TD class="data_cell">
|
|
|
31 |
<a href="<?php $api_url = owa_coreAPI::getSetting('base', 'api_url'); echo $this->makeLink(array(
|
|
|
32 |
'do' => 'base.overlayLauncher',
|
|
|
33 |
'document_id' => $ds['document_id'],
|
|
|
34 |
'overlay_params' => urlencode(
|
|
|
35 |
$this->makeParamString(
|
|
|
36 |
array(
|
|
|
37 |
'action' => 'loadPlayer',
|
|
|
38 |
'api_url' => trim(owa_coreAPI::getSetting('base', 'api_url')),
|
|
|
39 |
'domstream_guid' => $ds['domstream_guid']),
|
|
|
40 |
true,
|
|
|
41 |
'cookie'))));?>" target="_blank">Play</a>
|
|
|
42 |
</TD>
|
|
|
43 |
</TR>
|
|
|
44 |
<?php endforeach; ?>
|
|
|
45 |
</tbody>
|
|
|
46 |
</table>
|
|
|
47 |
|
|
|
48 |
<?php echo $this->makePaginationFromResultSet($domstreams, array('do' => 'base.reportDomstreams'), true);?>
|
|
|
49 |
|
|
|
50 |
<?php else:?>
|
|
|
51 |
There are no refering web pages for this time period.
|
|
|
52 |
<?php endif;?> |