if ($whos_online->fields['session_id'] == $info) { if ($is_a_bot == true) { echo ' <tr class="dataTableRowSelectedBot">' . "\n"; } else { echo ' <tr class="dataTableRowSelectedWhois">' . "\n"; } } else { if ($is_a_bot == true) { echo ' <tr class="dataTableRowBot" onmouseover="this.className=\'dataTableRowOverBot\';this.style.cursor=\'hand\'" onmouseout="this.className=\'dataTableRowBot\'" onclick="document.location.href=\'' . zen_href_link(FILENAME_WHOS_ONLINE, zen_get_all_get_params(array('info', 'action')) . 'info=' . $whos_online->fields['session_id'], 'NONSSL') . '\'">' . "\n"; } else { echo ' <tr class="dataTableRowWhois" onmouseover="this.className=\'dataTableRowOverWhois\';this.style.cursor=\'hand\'" onmouseout="this.className=\'dataTableRowWhois\'" onclick="document.location.href=\'' . zen_href_link(FILENAME_WHOS_ONLINE, zen_get_all_get_params(array('info', 'action')) . 'info=' . $whos_online->fields['session_id'], 'NONSSL') . '\'">' . "\n"; } } ?> <td class="dataTableContentWhois" colspan=3 valign="top"> <?php echo TIME_PASSED_LAST_CLICKED . '<br /> ' . zen_check_minutes($whos_online->fields['time_last_click']); ?> ago</td> <td class="dataTableContentWhois" colspan=5 valign="top"> <?php echo TEXT_SESSION_ID . $whos_online->fields['session_id'] . '<br />' . TEXT_HOST . $whos_online->fields['host_address'] . '<br />' . TEXT_USER_AGENT . $whos_online->fields['user_agent'] . '<br />'; if (eregi('^(.*)' . zen_session_name() . '=[a-f,0-9]+[&]*(.*)', $whos_online->fields['last_page_url'], $array)) { echo $array[1] . $array[2]; } else { echo "<a href='" . $whos_online->fields['last_page_url'] . "' target=new>" . '<u>' . $whos_online->fields['last_page_url'] . '</u>' . "</a>"; } ?> </td> </tr> <?php
if ($whos_online->fields['session_id'] == $info) { if ($is_a_bot == true) { echo ' <tr class="dataTableRowSelectedBot">' . "\n"; } else { echo ' <tr class="dataTableRowSelectedWhois">' . "\n"; } } else { if ($is_a_bot == true) { echo ' <tr class="dataTableRowBot" onmouseover="this.className=\'dataTableRowOverBot\';this.style.cursor=\'hand\'" onmouseout="this.className=\'dataTableRowBot\'" onclick="document.location.href=\'' . zen_href_link(FILENAME_WHOS_ONLINE, zen_get_all_get_params(array('info', 'action')) . 'info=' . $whos_online->fields['session_id'], 'NONSSL') . '\'">' . "\n"; } else { echo ' <tr class="dataTableRowWhois" onmouseover="this.className=\'dataTableRowOverWhois\';this.style.cursor=\'hand\'" onmouseout="this.className=\'dataTableRowWhois\'" onclick="document.location.href=\'' . zen_href_link(FILENAME_WHOS_ONLINE, zen_get_all_get_params(array('info', 'action')) . 'info=' . $whos_online->fields['session_id'], 'NONSSL') . '\'">' . "\n"; } } ?> <td class="dataTableContentWhois" colspan=3 valign="top"> Last Clicked: <?php echo zen_check_minutes($whos_online->fields['time_last_click']); ?> ago</td> <td class="dataTableContentWhois" colspan=4 valign="top">Host: <?php echo $whos_online->fields['host_address'] . '<br />' . 'User Agent: ' . $whos_online->fields['user_agent']; ?> </td> </tr> <?php } // show host ?> <tr> <td colspan="2"><?php echo zen_draw_separator('pixel_trans.gif', '1', '2');