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