示例#1
0
 function display($tpl = null)
 {
     // Initialise variables.
     $app = JFactory::getApplication();
     $user = JFactory::getUser();
     $userId = $user->get('id');
     $dispatcher = JDispatcher::getInstance();
     $this->print = JRequest::getBool('print');
     $this->state = $this->get('State');
     $this->user = $user;
     $this->period = isset($_POST['period']) ? $_POST['period'] : 'LAST-WEEK';
     $this->authors = ideary::getAllAuthorsOrderByRanking();
     //$this->_prepareDocument();
     parent::display($tpl);
 }