source: extensions/whois_online/report.tpl @ 6769

Last change on this file since 6769 was 6386, checked in by vdigital, 14 years ago

Cosmetic review for the clear admin theme and more

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