summaryrefslogtreecommitdiff
path: root/skins/xstyle/topten.tmpl
blob: 3b649716812323eb17206cdd5be2fe389f6f1485 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<script language="javascript" type="text/javascript">
<!--

    <?% INCLUDE javascript/records.js %?>

-->
</SCRIPT>

<!-- TableTemplate -->
<?% USE date %?>
<h1><?% gettext("Top Ten entrys") %?></h1>
<h6><?% gettext("This Screen list the most programmed EPG Events from all XXV Users. Of course, we list only Events these are exists in your EPG Table!") %?></h6>
<p/>

<div id="navcontainer">
<ul id="navlist">
    <li><a href='?cmd=t10&amp;data=10'><?% gettext('Top10') %?></a></li>
    <li><a href='?cmd=t10&amp;data=50'><?% gettext('Top50') %?></a></li>
    <li><a href='?cmd=t10&amp;data=100'><?% gettext('Top100') %?></a></li>
</ul>
</div>

<table border="0" width="95%">
<?% IF data.size %?>
    <?% fields = data.shift %?>
        <tr>
        <?% FOREACH field IN fields %?>
            <?% NEXT IF field.match('^__') %?>
            <th><?% field %?></th>
        <?% END %?>
        </tr>
        <?% FOREACH zeile IN data %?>
        <?% c=0 %?>
        <?% id=zeile.0;title=zeile.1;subtitle=zeile.2;sender=zeile.3;
            channel=zeile.4;start=zeile.5;stop=zeile.6;day = zeile.7;description=zeile.8;
            pdc=zeile.9;timerid=zeile.10;recording=zeile.11;running=zeile.12;
            rank=zeile.13 div 1;level=zeile.14;quantity=zeile.15;
            %?>
        <tr class="<?% myclass %?>"<?% IF (loop.count mod 2) == 0 %?> bgcolor='#F5F5F5'<?% END %?>>
        <?% INCLUDE 'bloecke/event_row.tmpl' fielddata=[id,title,subtitle,channel,description,start,stop,day,rank] %?>
        </tr>
        <?% END %?>
<?% END %?>
</table>