%PDF- %PDF-
Direktori : /www/varak.net/paste.varak.net.old/themes/bootstrap/ |
Current File : /www/varak.net/paste.varak.net.old/themes/bootstrap/user.html |
{include file="header.html" title=$hooks->title->title_user} <div class="row-fluid"> {include file="sidebar.html"} <div class="span8"> {if !$getUserdata } <div class="base-block"> <div class="title">{$lang.userdetailof} {$getUserdata->name}</div> <div class="row-fluid"> <div class="span4"> <h5>No data available!</h5> </div> </div> </div> {else} <div class="base-block"> <div class="title">{$lang.userdetailof} {$getUserdata->name}</div> <div class="row-fluid"> <div class="span2" align="center"> <img src='{$getGravatar}' class="img-rounded" /> </div> <div class="span4"> <h5>{$lang.userInfo}</h5> <ul> <li>{$lang.username}: {$getUserdata->name}</li> {if $getUserdata->seemail eq 'true'} <li>{$lang.mail}: {mailto address=$getUserdata->mail encode="hex"} </li> {/if} <li>Level: {$getUserdata->level}</li> {if !empty($getUserdata->location)} <li>{$lang.userloc}: {$getUserdata->location}</li> {/if} {if !empty($getUserdata->website)} <li>{$lang.userweb}: <a href="{$getUserdata->website}" target="_BLANK">{$getUserdata->website}</a></li> {/if} </ul> </div> <div class="span4"> <h5>{$lang.userSigna}</h5> <div class="thumbnails">{$getUserdata->signature} </div> </div> </div> </div> <div class="base-block"> <div class="title">{$lang.allpasteof} {$getUserdata->name}</div> <table cellpadding="0" cellspacing="0" border="0" class="table table-striped table-bordered" id="example"> <thead> <tr> <th>{$lang.added}</th> <th>{$lang.name}</th> <th>{$lang.expires}</th> <th>{$lang.syntax}</th> <th>{$lang.hits}</th> </tr> </thead> <tbody> {foreach key=key item=item from=$getPasteByUser} <tr class="gradeA"> <td><i class="icon-calendar"></i> {date('Y-m-d H:s',$item.date)}</td> <td><a href="{$getConfigs.baseurl}/{$item.uniqueid}"><i class="icon-file"></i> {$item.title}</a></td> <td> {if $item.expire eq '1'} {$lang.10mn} {elseif $item.expire eq '2'} {$lang.1h} {elseif $item.expire eq '3'} {$lang.1d} {elseif $item.expire eq '4'} {$lang.10m} {else} {$lang.never} {/if} </td> <td class="center">{$item.lang|capitalize}</td> <td class="center"><i class="icon-eye-open"></i> {$item.hits}</td> </tr> {/foreach} </tbody> </table> </div> {/if} </div><!--/span--> </div><!--/row--> {literal} <script type="text/javascript" charset="utf-8"> $(document).ready(function() { var oTable = $('#example').dataTable({ "oSearch": {"sSearch": "{/literal}{if isset($smarty.post.searchPaste)}{$smarty.post.searchPaste}{/if}{literal}"}, "sDom": "<'row'<'span6'l><'span6'f>r>t<'row'<'span6'i><'span6'p>>", "sPaginationType": "bootstrap", "oLanguage": { "sSearch": "{/literal}{$lang.filterRecords}{literal}:", "sLengthMenu": " {/literal}{$lang.display}{literal} _MENU_ {/literal}{$lang.records}{literal}", "sInfo": "{/literal}{$lang.gotAtotal}{literal} _TOTAL_ {/literal}{$lang.entriesToshow}{literal} (_START_ - _END_)" } }); oTable.fnSort( [ [0,'desc'] ] ); } ); </script> {/literal} {include file="footer.html"}