<?php echo $layout->title($app_param['root_action']); switch ($my_app->get_param('section')) { case 'users_list': echo $layout->main(); echo $layout->title('Browse user accounts'); $my_app->section('users_list'); break; case 'list': echo $layout->main(); echo $layout->title('Browsessss user accounts'); $my_app->section('list'); break; case 'new_user': $layout->set_href(helper_ajax('section.new_user.php')); $layout->set_id('nowy'); echo $layout->main(); break; case 'account': $layout->set_id('account_info'); echo $layout->main(); $my_app->section('account'); break; case 'test': echo $layout->main(); echo $layout->title('Browsessss user accounts'); $my_app->section('test'); break; } ?>
<?php echo $layout->start(); echo $layout->main(); echo $layout->start(); echo $layout->toolbar(); echo $layout->end('toolbar'); echo $layout->set_style('padding:15px'); ?> <?php switch ($my_app->get_param('section')) { case 'system_info_phpos': $layout->set_href(helper_ajax('section.system_info_phpos.php')); $layout->set_id('nowy'); echo $layout->main(); break; case 'system_info_php': $layout->set_href(helper_ajax('section.system_info_php.php')); $layout->set_id('nowy'); echo $layout->main(); break; case 'system_info_db': $layout->set_href(helper_ajax('section.system_info_db.php')); $layout->set_id('nowy'); echo $layout->main(); break; case 'system_info_server': $layout->set_href(helper_ajax('section.system_info_server.php')); $layout->set_id('nowy');
PHPOS Web Operating system MIT License (c) 2013 Marcin Szczyglinski szczyglis83@gmail.com GitHUB: https://github.com/phpos/ File version: 1.0.0, 2013.10.08 ********************************** */ if (!defined('PHPOS')) { die; } $layout = new phpos_layout(); $layout->set_fit('true'); $layout->set_style('background:transparent'); $layout->set_id('phpos_explorer_window'); $explorerAPI = $my_app->get_param('api_dialog'); if ($explorerAPI) { winset('width', 850); winset('height', 500); wincenter(); } ?> <?php echo $layout->start(); ?> <?php if (!$explorerAPI) {
********************************** */ if (!defined('PHPOS')) { die; } if (!defined("PHPOS_IN_EXPLORER")) { die; } ?> <?php $layout = new phpos_layout(); $layout->set_fit('true'); $layout->set_style('background:transparent'); $layout->set_id('phpos_explorer_window'); ?> <?php echo $layout->start(); ?> <?php include MY_APP_DIR . 'views/inc.layout_header.php'; ?> <?php include MY_APP_DIR . 'views/inc.explorer_left_tree.php'; ?>
<?php echo $layout->end('main'); ?> <?php if (APP_ACTION != 'index' && !$app_choose) { $layout->set_region('south'); $layout->set_split('false'); $layout->set_fit('true'); $layout->set_style('width:100%;height:100px'); echo $layout->custom(); echo $next_button; echo $layout->end('custom'); } else { $layout->set_id('phpos_explorer_footer'); $footer_data = '<img class="phpos_explorer_footer_icon" src="' . MY_RESOURCES . 'shortcuts.png">' . txt('shortcuts_index_footer') . '</span>'; echo $layout->footer($footer_data, true); echo $layout->end('footer'); } ?> <?php echo $layout->end('layout');