Public paste
Undefined
By: original | Date: May 19 2010 04:56 | Format: None | Expires: never | Size: 990 B | Hits: 854

  1. if(is_array($page = $this->get_SubController(self::db)->simple_multi_search(self::dbt_rootmenu,array(self::db_route=> ((NULL === $db_rotenode)? $this->get_SubController('models/affiliates')->_start_page: $db_rotenode),self::db_lang=> $this->get_SubController(self::lang)->get_Iso()),array('limit' => NULL))))
  2. {
  3.         $page = $page[0];
  4.        
  5.         if(!ILLI_Constructeur::get_Instance(self::c_COREHDR)->redirect(ILLI_Constructeur::get_Instance(self::c_RT)->convert_RouteID2Base((((NULL === $db_rotenode)? Application::rt_master_page : ((isset($this->get_RouteParams()->{'_'.ModelsGlobal_Controller::rt_table}))? $this->rt: $this->rt.':'.$page[self::db_rtable]))),array(self::rt_table=> $page[self::db_rtable],self::db_lang=> $this->get_SubController(self::lang)->get_Iso(),self::rt_section=> $page[self::db_route]))))
  6.                 $this->get_SubController('error')->Default_Action();
  7. }
  8. else
  9. {
  10.         $this->get_SubController('error')->Internal_Action('Page not found in Database. Can not redirect.');
  11.         return;
  12. }