public function init()
 {
     parent::init();
     $this->_smarty->template_dir = realpath(MOBILE_TEMPLATE_REALDIR);
     $this->_smarty->compile_dir = realpath(MOBILE_COMPILE_REALDIR);
     $this->assignTemplatePath(DEVICE_TYPE_MOBILE);
 }
 function init()
 {
     parent::init();
     $this->_smarty->template_dir = SMARTPHONE_TEMPLATE_REALDIR;
     $this->_smarty->compile_dir = SMARTPHONE_COMPILE_REALDIR;
     $this->assignTemplatePath(DEVICE_TYPE_SMARTPHONE);
 }