* * -------------------------------------------- * * This program is free software; you can redistribute it and/or modify it * * under the terms of the GNU General Public License as published by the * * Free Software Foundation; either version 2 of the License, or (at your * * option) any later version. * \**************************************************************************/ // Verifica se existe uma sessão $phpgw_info = array(); $GLOBALS['sessionid'] = @$_GET['sessionid'] ? $_GET['sessionid'] : @$_COOKIE['sessionid']; if (!isset($GLOBALS['sessionid']) || !$GLOBALS['sessionid']) { Header('Location: ./login.php?cd=10'); exit; } // Define as flas da aplicação mobile $GLOBALS['phpgw_info']['flags'] = array( 'noheader' => True, 'nonavbar' => True, 'currentapp' => 'mobile', //'disable_Template_class' => True, 'enable_network_class' => True, 'enable_contacts_class' => True, 'enable_nextmatchs_class' => True ); include('../header.inc.php'); include('./mobile_header.inc.php'); $accountId = $GLOBALS['phpgw_info']['user']['account_id']; // executa a função start_prefered_app() start_prefered_app(); // print_navbar() ?>