$app    = JFactory::getApplication();
$tpath   = JURI::base(true).'/templates/'.$app->getTemplate().'/';