[ Index ] |
|
Code source de LifeType 1.2.4 |
1 {include file="$admintemplatepath/header.template"} 2 {include file="$admintemplatepath/navigation.template" showOpt=Stats title=$locale->tr("Stats")} 3 <script type="text/javascript"> 4 {literal} 5 YAHOO.util.Event.addListener( window, "load", function() { 6 var t = new Lifetype.UI.TableEffects( "list" ); 7 t.stripe(); 8 t.highlightRows(); 9 }); 10 {/literal} 11 </script> 12 <form id="postStats" action="admin.php" method="post"> 13 <div id="list"> 14 {include file="$admintemplatepath/successmessage.template"} 15 {include file="$admintemplatepath/errormessage.template"} 16 <table id="list" class="info" summary="{$locale->tr("Stats")}"> 17 <thead> 18 <tr> 19 <th><input class="checkbox" type="checkbox" name="all" id="all" value="1" onclick="toggleAllChecks('postStats');" /></th> 20 <th style="width:65%;">{$locale->tr("referrer")}</th> 21 <th style="width:15%;">{$locale->tr("hits")}</th> 22 <th style="width:10%;">{$locale->tr("date")}</th> 23 <th style="width:10%;">{$locale->tr("actions")}</th> 24 </tr> 25 </thead> 26 {if $referrers} 27 <tbody> 28 {foreach from=$referrers item=referrer} 29 <tr> 30 <td> 31 <input class="checkbox" type="checkbox" name="referrerIds[{$referrer->getId()}]" id="checks_1" value="{$referrer->getId()}" /> 32 </td> 33 <td class="col_highlighted"> 34 <a href="{$referrer->getUrl()}">{$referrer->getUrl()|utf8_wordwrap:55:"<br/>":true}</a> 35 </td> 36 <td> 37 {$referrer->getHits()} 38 </td> 39 <td> 40 {assign var=date value=$referrer->getDateObject()} 41 {$locale->formatDate($date)} 42 </td> 43 <td> 44 <div class="list_action_button"> 45 {check_perms perm=update_blog_stats} 46 <a href="?op=deleteReferrer&referrerId={$referrer->getId()}"><img src="imgs/admin/icon_delete-16.png" alt="{$locale->tr("delete_trackback")}" /></a> 47 {/check_perms} 48 </div> 49 </td> 50 </tr> 51 {/foreach} 52 </tbody> 53 {/if} 54 </table> 55 </div> 56 <div id="list_action_bar"> 57 {adminpager style="list"} 58 {check_perms perm=update_blog_stats} 59 <input type="submit" name="delete" value="{$locale->tr("delete")}" class="submit" /> 60 <input type="hidden" name="op" value="deleteReferrers" /> 61 {/check_perms} 62 </div> 63 </form> 64 {include file="$admintemplatepath/footernavigation.template"} 65 {include file="$admintemplatepath/footer.template"}
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Généré le : Mon Nov 26 21:04:15 2007 | par Balluche grâce à PHPXref 0.7 |
![]() |