예제 #1
0
파일: index.php 프로젝트: laiello/athletica
    set_cookie('xSerie', $xSerie);
    if (!defined('CFG_CURRENT_MEETING')) {
        define('CFG_CURRENT_MEETING', $xMeeting);
    }
    $_SESSION[CFG_SESSION]['xMeeting'] = $xMeeting;
    set_cookie('xMeeting', $xMeeting);
    // --- set session and cookie
    location('index.php');
} elseif (isset($_POST['frm_action']) && $_POST['frm_action'] == 'quit_event') {
    resetActiveAthlete(CFG_CURRENT_EVENT);
    closeEvent($_POST['xRunde'], $glb_status_quit);
    location('index.php');
}
include ROOT_PATH . 'header.php';
// +++ get events
$meetings = getMeetings(CFG_CURRENT_MEETING);
$events = getEvents(CFG_CURRENT_MEETING, CFG_CURRENT_EVENT);
// --- get events
if (CFG_CURRENT_EVENT > 0) {
    if ($events) {
        $type = $glb_types_results[$events['disc_type']];
    } else {
        closeEvent(0, $glb_status_quit);
        location('index.php');
    }
}
?>
<script type="text/javascript">
    $(document).ready(function(){
        show_dialog_wait('<?php 
echo javascript_prepare($lg['PLEASE_WAIT']);
예제 #2
0
<?php

/*
BigBlueButton - http://www.bigbluebutton.org
Copyright (c) 2008-2009 by respective authors (see below). All rights reserved.
BigBlueButton is free software; you can redistribute it and/or modify it under the
terms of the GNU Lesser General Public License as published by the Free Software
Foundation; either version 3 of the License, or (at your option) any later
version.
BigBlueButton is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along
with BigBlueButton; if not, If not, see <http://www.gnu.org/licenses/>.
Author: DJP <*****@*****.**>
*/
require 'bbb_api.inc.php';
echo '<?xml version="1.0"?>' . "\r\n";
header('content-type: text/xml');
echo getMeetings();