当前位置: 首页>>代码示例>>PHP>>正文


PHP GUI_Page类代码示例

本文整理汇总了PHP中GUI_Page的典型用法代码示例。如果您正苦于以下问题:PHP GUI_Page类的具体用法?PHP GUI_Page怎么用?PHP GUI_Page使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


在下文中一共展示了GUI_Page类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: GUI_Page

require './lib/cl_xml_data.lib.php';
require './lib/cl_ftp_data.lib.php';
require './lib/cl_http_data.lib.php';
if (AA_connectToDB() == FALSE) {
    // invalid DB connection
    return;
}
if (AA_checkMeetingID() == FALSE) {
    // no meeting selected
    return;
    // abort
}
//
//	Display enrolement list
//
$page = new GUI_Page('admin_base');
$page->startPage();
$page->printPageTitle($strResultUpload);
$menu = new GUI_Menulist();
$menu->addButton($cfgURLDocumentation . 'help/administration/results.html', $strHelp, '_blank');
$menu->printMenu();
$login = false;
if ($_POST['arg'] == "login") {
    $http = new HTTP_data();
    $post = "clubnr=" . urlencode($_POST['clubnr']) . "&pass=" . urlencode($_POST['pass']);
    $result = $http->send_post($cfgSLVhost, '/meetings/athletica/login.php', $post, 'ini');
    if (!$result) {
        AA_printErrorMsg($strErrLogin);
    } else {
        switch ($result['login']) {
            case "error":
开发者ID:laiello,项目名称:athletica,代码行数:31,代码来源:admin_results.php

示例2: AA_heats_seedHeat

                                            AA_heats_seedHeat($heat);
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
//
//	Display heats
//
$page = new GUI_Page('event_heats');
$page->startPage();
$page->printPageTitle($strHeatSeeding . ": " . $_COOKIE['meeting']);
$menu = new GUI_Menulist();
$menu->addButton($cfgURLDocumentation . 'help/event/heats.html', $strHelp, '_blank');
$menu->printMenu();
?>
<script type="text/javascript">
<!--
	var selected = 0;
	var oldClass = 0;
	var focus = "";
	var obj = 0;
	var value1 = "";
	var value2 = "";
开发者ID:laiello,项目名称:athletica,代码行数:30,代码来源:event_heats.php

示例3: mysql_free_result

            $d++;
        }
        // end if not combiend
    }
    // end loop
    if ($comb > 0) {
        echo "</table></div></td>";
    }
    echo "</tr></table></div>\n";
    echo $combDiv;
    mysql_free_result($result);
}
//
// display page
//
$page = new GUI_Page('meeting_entry_add', false, 'stylesheet_small-fonts.css');
$page->startPage();
$page->printPageTitle($strNewEntryFromBase);
?>

	<script language="javascript">
	var allowSearch = <?php 
echo $allow_search_from_base;
?>
;
	var categories = new Array();
	var clubs = new Array();
	var clubsearch = "";
	
	var combined = new Array();
	
开发者ID:laiello,项目名称:athletica,代码行数:30,代码来源:meeting_entry_add.php

示例4: GUI_Page

 */
require './lib/cl_gui_menulist.lib.php';
require './lib/cl_gui_page.lib.php';
require './lib/common.lib.php';
require './lib/results.lib.php';
if (AA_connectToDB() == FALSE) {
    // invalid DB connection
    return;
    // abort
}
if (AA_checkMeetingID() == FALSE) {
    // no meeting selected
    return;
    // abort
}
$page = new GUI_Page('speaker_rankinglists');
$page->startPage();
$page->printPageTitle($strRankingLists . ": " . $_COOKIE['meeting']);
$menu = new GUI_Menulist();
$menu->addButton($cfgURLDocumentation . 'help/speaker/rankinglists.html', $strHelp, '_blank');
$menu->printMenu();
?>
<script type="text/javascript">
<!--   
    
    function checkDisc() 
    {  
       e = document.getElementById("combined"); 
       e.checked=true; 
    }
    
开发者ID:laiello,项目名称:athletica,代码行数:30,代码来源:speaker_rankinglists.php

示例5: GUI_Page

require './lib/results.lib.php';
if (AA_connectToDB() == FALSE) {
    // invalid DB connection
    return;
    // abort
}
if (AA_checkMeetingID() == FALSE) {
    // no meeting selected
    return;
    // abort
}
$round = 0;
if (!empty($_GET['round'])) {
    $round = $_GET['round'];
}
$page = new GUI_Page('speaker_entry');
$page->startPage();
$page->printPageTitle($strEntry . ": " . $_COOKIE['meeting']);
$menu = new GUI_Menulist();
$menu->addButton($cfgURLDocumentation . 'help/speaker/entry.html', $strHelp, '_blank');
if (!empty($_POST['back'])) {
    $menu->addButton($_POST['back'], $strBack);
}
$menu->printMenu();
?>
<p />
<?php 
$item = 0;
if (!empty($_GET['item'])) {
    $item = $_GET['item'];
}
开发者ID:laiello,项目名称:athletica,代码行数:31,代码来源:speaker_entry.php

示例6: GUI_Page

**/
require './lib/cl_gui_page.lib.php';
require './lib/common.lib.php';
if (AA_connectToDB() == FALSE) {
    return;
    // abort
}
if (AA_checkMeetingID() == FALSE) {
    // no meeting selected
    return;
    // abort
}
//
// display data
//
$page = new GUI_Page('meeting_online_convert');
$page->startPage();
$page->printPageTitle("Meeting Online Convert");
$mid = $_COOKIE['meeting_id'];
$c = 33;
$res = mysql_query("SELECT xControl FROM meeting WHERE xMeeting = {$mid}");
if (mysql_errno() > 0) {
    printf(mysql_error());
    die;
} else {
    $row = mysql_fetch_array($res);
    $control = $row[0];
}
mysql_free_result($res);
$res = mysql_query("SELECT xStaffel FROM staffel WHERE xMeeting = {$mid}");
if (mysql_errno() > 0) {
开发者ID:laiello,项目名称:athletica,代码行数:31,代码来源:meeting_online_convert.php

示例7: mysql_query

        if ($rows == 0) {
            mysql_query("DELETE FROM kategorie WHERE xKategorie=" . $_GET['item']);
        } else {
            AA_printErrorMsg($strCategory . $strErrStillUsed);
        }
        mysql_query("UNLOCK TABLES");
    }
}
// Check if any error returned from DB
if (mysql_errno() > 0) {
    AA_printErrorMsg(mysql_errno() . ": " . mysql_error());
}
//
//	Display current data
//
$page = new GUI_Page('admin_categories', TRUE);
$page->startPage();
$page->printPageTitle($strCategories);
$menu = new GUI_Menulist();
$menu->addButton($cfgURLDocumentation . 'help/administration/categories.html', $strHelp, '_blank');
$menu->printMenu();
// sort argument
$img_cat = "img/sort_inact.gif";
$img_short = "img/sort_inact.gif";
$img_age = "img/sort_inact.gif";
$img_order = "img/sort_inact.gif";
$img_sex = "img/sort_inact.gif";
$img_activ = "img/sort_inact.gif";
if ($_GET['arg'] == "cat") {
    $argument = "Name";
    $img_cat = "img/sort_act.gif";
开发者ID:laiello,项目名称:athletica,代码行数:31,代码来源:admin_categories.php

示例8: mysql_query

                    }
                    // ET Team valid
                }
                // ET Club valid
            }
            // ET Meeting valid
        }
        // ET Category valid
        // Check if any error returned from DB
        mysql_query("UNLOCK TABLES");
    }
}
//
// display data
//
$page = new GUI_Page('meeting_relay_add');
$page->startPage();
$page->printPageTitle("{$strNewEntry} {$strRelays}");
if ($_POST['arg'] == "add") {
    ?>
<script>
	window.open("meeting_relaylist.php?item="
		+ <?php 
    echo $xStaffel;
    ?>
 + "#" + <?php 
    echo $xStaffel;
    ?>
,
		"list");
</script>
开发者ID:laiello,项目名称:athletica,代码行数:31,代码来源:meeting_relay_add.php

示例9: array

    $_SESSION['temp'] = array('action' => 'disc', 'res' => 'ok', 'queries' => $queries);
    header('Location: admin_service.php');
    exit;
}
if (isset($_GET['a']) && $_GET['a'] == 'xControl') {
    $xMeeting = isset($_GET['m']) ? intval($_GET['m']) : 0;
    $xControl = isset($_GET['c']) ? intval($_GET['c']) : 0;
    $sql = "UPDATE meeting \r\n\t\t\t   SET xControl = " . $xControl . " \r\n\t\t\t WHERE xMeeting = " . $xMeeting . ";";
    $query = mysql_query($sql);
    header('Location: admin_service.php');
    exit;
}
//
//	Display administration
//
$page = new GUI_Page('admin_service');
$page->startPage();
$page->printPageTitle($strServiceMenu);
$menu = new GUI_Menulist();
$menu->printMenu();
?>
<p/>

<?php 
if ($res_srv_lg == 'ok') {
    if (isset($_SESSION['temp']) && $_SESSION['temp']['action'] == 'disc' && $_SESSION['temp']['res'] == 'select') {
        $menu = new GUI_Menulist();
        $menu->addButton('admin_service.php', $strBack);
        $menu->printMenu();
        ?>
		<br/>
开发者ID:laiello,项目名称:athletica,代码行数:31,代码来源:admin_service.php

示例10: AA_formatResultMeter

        }
        if ($_POST['techDisc']) {
            $perf = AA_formatResultMeter($perf);
        } else {
            $perf = AA_formatResultTime($perf, true);
        }
        if ($perf == 0) {
            $perf = '';
        }
        mysql_query("UNLOCK TABLES");
    }
}
//
// display data
//
$page = new GUI_Page('meeting_teamsm_add');
$page->startPage();
$page->printPageTitle("{$strNewEntry} {$strTeamsTeamSM}");
if ($_POST['arg'] == "add") {
    ?>
<script>
	window.open("meeting_teamsmlist.php?item="
		+ <?php 
    echo $xTeam;
    ?>
 + "#" + <?php 
    echo $xTeam;
    ?>
,
		"list");
</script>
开发者ID:laiello,项目名称:athletica,代码行数:31,代码来源:meeting_teamsm_add.php

示例11: mysql_query

        if ($_POST['firstheat1'] > 0) {
            mysql_query("UPDATE start SET\r\n                    Erstserie = 'y'\r\n                WHERE\r\n                    xStart = " . $_POST['firstheat1']);
        }
        if ($_POST['firstheat2'] > 0) {
            mysql_query("UPDATE start SET\r\n                    Erstserie = 'y'\r\n                WHERE\r\n                    xStart = " . $_POST['firstheat2']);
        }
    }
    if (mysql_errno() > 0) {
        AA_printErrorMsg(mysql_errno() . ": " . mysql_error());
    }
    mysql_query("UNLOCK TABLES");
}
//
//    Display data
// ------------
$page = new GUI_Page('meeting_entry', false, 'stylesheet_small-fonts.css');
$page->startPage();
$page->printPageTitle($strEntry);
if ($_GET['arg'] == 'del') {
    ?>
    <script type="text/javascript">
        window.open("meeting_entrylist.php", "list")
    </script>
    <?php 
} else {
    ?>
    <script type="text/javascript">
        window.open("meeting_entrylist.php?arg=<?php 
    echo $_POST['lsort'];
    ?>
&item=<?php 
开发者ID:laiello,项目名称:athletica,代码行数:31,代码来源:meeting_entry.php

示例12: GUI_Page

if (AA_connectToDB() == FALSE) {
    // invalid DB connection
    return;
}
if (AA_checkMeetingID() == FALSE) {
    // no meeting selected
    return;
    // abort
}
//
//    Display enrolement list
//
if (isset($_POST['ukc_meeting'])) {
    $ukc_meeting = $_POST['ukc_meeting'];
}
$page = new GUI_Page('admin_onlineRegUKC.php');
$page->startPage();
$page->printPageTitle($strImportUKC_Title);
$menu = new GUI_Menulist();
$menu->addButton($cfgURLDocumentation . 'help/administration/base.html', $strHelp, '_blank');
$menu->printMenu();
// get xml file for registrations from athletes
// get uploaded XML file and read its content
$fd = fopen($_FILES['xmlfile']['tmp_name'], 'rb');
$content = fread($fd, filesize($_FILES['xmlfile']['tmp_name']));
if (!$fd) {
    AA_printErrorMsg($strErrFtpNoGet);
} else {
    $xml = new XML_simple_data();
    $arr_noCat = $xml->load_xml_simple($_FILES['xmlfile']['tmp_name'], 'regUKC', '', $ukc_meeting);
    if ($arr_noCat['cat'][0] != '') {
开发者ID:laiello,项目名称:athletica,代码行数:31,代码来源:admin_onlineRegUKC.php

示例13: setcookie

if (AA_connectToDB() == FALSE) {
    // invalid DB connection
    return;
    // abort
}
if (AA_checkMeetingID() == FALSE) {
    // no meeting selected
    return;
    // abort
}
$arg = !empty($_GET['arg']) ? $_GET['arg'] : (!empty($_COOKIE['sort_entrylist']) ? $_COOKIE['sort_entrylist'] : 'nbr');
setcookie('sort_entrylist', $arg, time() + 2419200);
//
//	Display data
// ------------
$page = new GUI_Page('meeting_entrylist');
$page->startPage();
// sort argument
$img_nbr = "img/sort_inact.gif";
$img_name = "img/sort_inact.gif";
$img_verein = "img/sort_inact.gif";
/*if(isset($_POST['arg'])){
	$_GET['arg'] = $_POST['arg'];
}*/
if ($arg == "nbr") {
    $argument = "a.Startnummer";
    $img_nbr = "img/sort_act.gif";
} else {
    if ($arg == "name") {
        $argument = "at.Name, at.Vorname";
        $img_name = "img/sort_act.gif";
开发者ID:laiello,项目名称:athletica,代码行数:31,代码来源:meeting_entrylist.php

示例14: mysql_query

        if (AA_checkReference("wettkampf", "xDisziplin", $_GET['item']) == 0) {
            mysql_query("DELETE FROM disziplin WHERE xDisziplin=" . $_GET['item']);
        } else {
            AA_printErrorMsg($strDiscipline . $strErrStillUsed);
        }
        mysql_query("UNLOCK TABLES");
    }
}
// Check if any error returned from DB
if (mysql_errno() > 0) {
    AA_printErrorMsg(mysql_errno() . ": " . mysql_error());
}
//
// Display current data
//
$page = new GUI_Page('admin_disciplines', TRUE);
$page->startPage();
$page->printPageTitle($strDisciplines);
$menu = new GUI_Menulist();
$menu->addButton($cfgURLDocumentation . 'help/administration/disciplines.html', $strHelp, '_blank');
$menu->printMenu();
// sort argument
$img_disc = "img/sort_inact.gif";
$img_short = "img/sort_inact.gif";
$img_time = "img/sort_inact.gif";
$img_rel = "img/sort_inact.gif";
$img_heat = "img/sort_inact.gif";
$img_order = "img/sort_inact.gif";
$img_mtime = "img/sort_inact.gif";
$img_activ = "img/sort_inact.gif";
if ($_GET['arg'] == "disc") {
开发者ID:laiello,项目名称:athletica,代码行数:31,代码来源:admin_disciplines.php

示例15: AA_results_getPresets

    // abort
}
$round = 0;
if (!empty($_GET['round'])) {
    $round = $_GET['round'];
} else {
    if (!empty($_POST['round'])) {
        $round = $_POST['round'];
    }
}
$presets = AA_results_getPresets($round);
// read GET/POST variables
//
// print HTML page header
//
$page = new GUI_Page('speaker_results');
$page->startPage();
$page->printPageTitle($strResults . ": " . $_COOKIE['meeting']);
$menu = new GUI_Menulist();
$menu->addButton($cfgURLDocumentation . 'help/speaker/results.html', $strHelp, '_blank');
$menu->addSearchfield('speaker_entry.php', '_self', 'post', 'speaker_results.php?round=' . $round);
$menu->printMenu();
//
// print round selection menu
//
?>
<p/>

<table><tr>
	<td class='forms'>
		<?php 
开发者ID:laiello,项目名称:athletica,代码行数:31,代码来源:speaker_results.php


注:本文中的GUI_Page类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。