File tree Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Original file line number Diff line number Diff line change 34
34
if ($ _REQUEST ['count_dropdown ' ] == 'all ' )
35
35
$ limit = '' ;
36
36
37
- // How many tuners are tehre?
38
- $ tuners = $ db ->query_col ('SELECT COUNT(*)
39
- FROM capturecard ' );
40
37
41
- // Get how many show titles their are
38
+ // Get how many show titles there are
42
39
$ title_count = $ db ->query_num_rows ('SELECT DISTINCT title
43
40
FROM oldrecorded ' .$ where );
44
41
Original file line number Diff line number Diff line change 67
67
<dt><?php echo t ('Total Recorded ' ); ?> :</dt>
68
68
<dd><?php if (!is_null ($ time )) echo nice_length ($ time ); else echo "0 " ; ?> </dd>
69
69
<dt><?php echo t ('Percent of time spent recording ' ); ?> :</dt>
70
- <dd><?php if (($ last - $ first )!=0 && $ tuners > 0 ) echo intval ((( $ time / ($ last - $ first )) * 100 )/ $ tuners ); else echo "0 " ; ?> %</dd>
70
+ <dd><?php if (($ last - $ first )!=0 ) echo intval (($ time / ($ last - $ first )) * 100 ); else echo "0 " ; ?> %</dd>
71
71
</dl>
72
72
</div>
73
73
You can’t perform that action at this time.
0 commit comments