source: extensions/whois_online/report.tpl @ 3955

Last change on this file since 3955 was 3695, checked in by vdigital, 15 years ago

Minor release: 2009-07-28 2.0.j

Minor changes in Config management
Additionnal flags (Ireland, Armenia, Estonia, Kazakhstan, Belarus,
Andorra, Turkey, Albania, Bosnia and Herzegovina, Azerbaijan, Iceland, European Union,
Israel, Morocco, New Caledonia and some other revised)
Search Engine trapping

  • Property svn:eol-style set to LF
  • Property svn:keywords set to Author Date Id Revision
File size: 6.2 KB
Line 
1<table class="table2" id="detailedStats">
2<thead> 
3<tr class="throw">
4  <th>{'users'|@translate} &nbsp; &nbsp;</th>
5  <th class="ns">&nbsp;</th>
6  <th>{'First access'|@translate} &nbsp; &nbsp;</th>
7  <th>{'Level'|@translate} &nbsp;</th>
8  <th class="ns">{'Images (Modify)'|@translate}</th>
9  <th>{'Last access'|@translate} &nbsp;</th>
10</tr>
11</thead>
12<tbody> 
13{foreach from=$search_results item=detail name=res_loop}
14<tr class="{if $smarty.foreach.res_loop.index is odd}row1{else}row2{/if}">
15  <td><a href={if isset($detail.url_user)}"{$detail.url_user}" onclick="window.open(this.href); return false;"{else}"#"{/if} class="cluetip{if ($detail.guest)} other{/if}"
16                title="{'User:'|@translate} {$detail.username}|
17                        <table>
18                                <tr><td class=&#34;right&#34;><b><i>IP:</i></b></td><td colspan=&#34;3&#34;>{$detail.IP}
19                                {if ($detail.hidden_IP== 'true')}{'(Multiple IP)'|@translate}{/if}</td></tr>
20                                {if (substr($detail.user.registration_date,0,4)!='0000')}
21                                <tr><td class=&#34;right&#34;><b><i>{'Registered since'|@translate}</i></b></td><td colspan=&#34;3&#34;>{$detail.user.registration_date|@substr:0:10}</td></tr>
22                                {/if}
23                                <tr><td class=&#34;right&#34;><b><i>User_id</i></b></td><td>{$detail.user_id}</td>
24                                <td class=&#34;right&#34;><b><i>{'Status'|@translate}</i></b></td><td>{$detail.user.status|@translate|ucfirst} ({$detail.user.status})</td></tr>
25                                <tr><td class=&#34;right&#34;><b><i>{'language'|@translate}</i></b></td><td>{$detail.Language}</td></tr>
26                                <tr><td class=&#34;right&#34; colspan=&#34;2&#34;>{$detail.Country.Name}</td><td colspan=&#34;2&#34;> / {$detail.Country.City}</td></tr>
27                                <tr><td colspan=&#34;4&#34;>&nbsp;</td></tr>
28                                <tr><td class=&#34;right&#34;><b><i>{'Hits since'|@translate}</i></b></td><td colspan=&#34;3&#34;>{$detail.first_access_date}</td></tr>
29                                <tr><td class=&#34;right&#34;><b><i>{'on pictures'|@translate}</i></b></td><td>{$detail.elm_hits}</td>
30                                <td class=&#34;right&#34;><b><i>{'on pages'|@translate}</i></b></td><td>{$detail.pag_hits}</td></tr>
31                        </table>">{$detail.username}</a>
32                                <a href="./admin.php?page=profile&amp;user_id={$detail.user_id}" title="{'Profile'|@translate}" alt="{'Profile'|@translate}"
33                                onclick="window.open(this.href); return false;">[{$detail.lang}]</a>
34        </td>
35        <td>
36                {if ($detail.user_id == '1')}<a class="external" href="{'http:hostip'|@translate}" title="{':hostip:title'|@translate}">
37                        <img src="{$detail.Flag}" border="0" alt="{$detail.IP} - {'language'|@translate}: {$detail.Language}" width="24" height="16">
38                </a>
39                {else}<a class="external" href="{'http:geoiptool'|@translate}{$detail.IP}" title="{':geoiptool:title'|@translate}">
40                        <img src="{$detail.Flag}" border="0" alt="{$detail.IP} - {'language'|@translate}: {$detail.Language}" width="24" height="16">
41                </a>
42                {/if}
43        </td>
44  <td>{$detail.first_access_date} {if ($detail.Bot!==false and $detail.Allowed_SE)}<a class="other" href="#" title="{'Allowed Search engine: '|@translate}{$detail.Bot} - ({$detail.user_agent})"><sub>SE</sub></a>{/if}
45        {if ($detail.Bot!==false and !$detail.Allowed_SE and !$detail.Banned_SE)}<a href="#" title="{'Possible Banned Search engine: '|@translate}{$detail.Bot} - ({$detail.user_agent})"><sub>SE</sub></a>{/if}
46        {if ($detail.Bot!==false and $detail.Banned_SE)}<a class="external" href="#" title="{'Banned Search engine: '|@translate}{$detail.Bot} - ({$detail.user_agent})"><sub>SE</sub></a>{/if}
47        </td>
48  <td>
49                <a href="./admin.php?page=user_perm&amp;user_id={$detail.user_id}" onclick="window.open(this.href); return false;" title="{'permissions'|@translate}">
50                {'Level %d'|@sprintf:$detail.user.level|@translate}</a> ({$detail.user.level})
51        </td>
52  <td>
53        {foreach from=$detail.images key=id item=image name=elm_loop}
54                {if ($id > 0)}&nbsp;
55                        {if (isset($image.path))}
56                                <a class="cluetip {if $smarty.foreach.res_loop.index is odd}ws1{else}ws2{/if} {$image.ws_level}"
57                                  href="{$image.url_modify}" title="<div style=&#34;text-align:center;&#34;>
58                                <img src=&#34;{$image.tn_url}&#34;></div>|
59                                        Image ID: {$id} <br />
60                                        {'Privacy level'|@translate}: {'Level %d'|@sprintf:$image.level|@translate} ({$image.level}) <br />
61                                        {if ($image.ws_level=='ws')}{'Image privacy level is higher than the user privacy level (Any change of one of them?)'|@translate} {/if}
62                                        Path: {$image.path}<br />
63                                        <hr>
64                                        Filesize: {$image.filesize} Kb <br />
65                                        Width x Height: {$image.width} x {$image.height} px<br />
66                                        <hr>
67                                        {if (is_null($image.high_filesize))}High Resolution: {if ($image.has_high == 'true')}Yes{else}No{/if}<br />{/if}
68                                        {if (!is_null($image.high_filesize))}High Filesize: {$image.high_filesize} Kb <br />{/if}
69                                        {if (!is_null($image.md5sum))}pLoader (Dynamic upload): Yes <br />{/if}
70                                        Posted on: {$image.date_available} <br />
71                                        {if (!is_null($image.date_creation))}Created on: {$image.date_creation} <br />{/if}
72                                        <hr>
73                                        Hits on: {$image.hit}<br />">{$id}</a>
74                                {else}<a class="{if $smarty.foreach.res_loop.index is odd}ws1{else}ws2{/if}"
75                                  href="{$image.url_modify}" title="{$id}{' - Over the radar limit => No level control'|@translate}">{$id}</a>
76                        {/if}
77                {/if}
78        {/foreach}
79        </td>
80  <td>{if (strlen($detail.last_dates) > 10)}<a href="#" class="cluetip"
81                title="{'Previous connection dates'|@translate}|
82                        {$detail.last_dates|@substr:11|@explode:' '|@implode:'<br />'}">{$detail.db_timestamp}</a>{else}{$detail.db_timestamp}{/if}</td>
83</tr>
84{/foreach}
85<tbody> 
86</table>
87<p><a class="external" href="{'http:hostip'|@translate}" title="{':hostip:title'|@translate}"
88 alt="">hostip.info</a>{': provides newcomers\' localization and possibly new country flags, thanks to them.'|@translate}</p>
89<p><a class="external" href="{'http:geoiptool'|@translate}" title="{':geoiptool:title'|@translate}"
90 alt="">geoiptool.com</a>{': provides IP geolocalization on request (link on flag). Useful for unknown countries.'|@translate}</p>
91{literal}
92<script type="text/javascript">// <![CDATA[
93$(document).ready(function(){
94  $("#detailedStats").tablesorter( {sortList: [[5,1]]} );}
95);
96jQuery().ready(function(){
97  jQuery('.cluetip').cluetip({
98    width: 300,
99    splitTitle: '|'
100  });
101});
102// ]]>
103</script>
104{/literal}
105{if (isset($Case) and $Case > '')}
106<style type="text/css">
107a#{$Case} {ldelim}  color: #ff3333;  border-bottom: 1px solid #ff3363; outline: 0; }
108</style>
109{/if}
Note: See TracBrowser for help on using the repository browser.