Please Log in to join the conversation.
Please Log in to join the conversation.
<tr>
<th width="2%" class="title"><input type="checkbox" name="toggle" value="" onclick="checkAll(<?php echo count($rows);?>);" /></th>
<th class="title" width="10%" nowrap="nowrap"><div align="center"><?php echo _DML_DATE;?></div></th>
<th class="title" width="20%" nowrap="nowrap"><div align="center"><?php echo _DML_USER;?></div></th>
<th class="title" width="20%" nowrap="nowrap"><div align="center"><?php echo _DML_EMAIL;?></div></th>
<th class="title" width="20%" nowrap="nowrap"><div align="center"><?php echo _DML_IP;?></div></th>
<th class="title" width="20%" nowrap="nowrap"><div align="center"><?php echo _DML_DOCUMENT;?></div></th>
<th class="title" width="10%" nowrap="nowrap"><div align="center"><?php echo _DML_BROWSER;?></div></th>
<th class="title" width="10%" nowrap="nowrap"><div align="center"><?php echo _DML_OS;?></div></th>
</tr>
<td align="center">
<?php echo $row->log_datetime;?
</td>
<td align="center">
<?php echo $row->user;?>
</td>
<td align="center">
<?php echo $row->email?>
</td>
<td align="center">
<a href="http://ws.arin.net/cgi-bin/whois.pl?queryinput=<?php echo $row->log_ip;?>" target="_blank"><?php echo $row->log_ip;?></a>
</td>
<td align="center">
<?php echo $row->dmname;?>
</td>
<td align="center">
<?php echo $row->log_browser;?>
</td>
<td align="center">
<?php echo $row->log_os;?>
</td>
</tr>
// Query
$query = "( SELECT l.*, u.name AS user, u.email AS email, d.dmname"
."\n FROM #__docman_log AS l, #__users AS u, #__docman AS d "
.$where
."\n AND l.log_user = u.id )"
."\n UNION "
."( SELECT l.*, '"._DML_ANONYMOUS."' AS user, '"._DML_ANONYMOUS."' AS email, d.dmname"
."\n FROM #__docman_log AS l, #__docman AS d "
.$where2
."\n AND l.log_user = 0"
.")"
."\n ORDER BY log_datetime DESC";
Please Log in to join the conversation.