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