#import sickbeard #import datetime #import re #from sickbeard.common import * #from sickbeard import sbdatetime #set global $title="Trending Shows" #set global $header="Trending Shows" #set global $sbPath=".." #set global $topmenu="comingEpisodes" #import os.path #include $os.path.join($sickbeard.PROG_DIR, "gui/slick/interfaces/default/inc_top.tmpl") #if $varExists('header')

$header

#else

$title

#end if #for $i, $cur_show in $enumerate($trending_shows): #if not $i%6 #end if #end for

$cur_show["title"]

$cur_show["ratings"]["percentage"]%

$cur_show["ratings"]["votes"] votes
#include $os.path.join($sickbeard.PROG_DIR, "gui/slick/interfaces/default/inc_bottom.tmpl")