本文整理汇总了PHP中GUI_Page::printPageTitle方法的典型用法代码示例。如果您正苦于以下问题:PHP GUI_Page::printPageTitle方法的具体用法?PHP GUI_Page::printPageTitle怎么用?PHP GUI_Page::printPageTitle使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类GUI_Page
的用法示例。
在下文中一共展示了GUI_Page::printPageTitle方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: checkForm
$p = new Protect();
if (!empty($_POST['password'])) {
$p->secureMeeting($_COOKIE['meeting_id'], $_POST['password']);
}
}
if ($_POST['arg'] == "del_password") {
$p = new Protect();
$p->unsecureMeeting($_COOKIE['meeting_id']);
}
$ukc_meeting = AA_checkMeeting_UKC();
//
// Display administration
//
$page = new GUI_Page('admin');
$page->startPage();
$page->printPageTitle($strAdministration);
$menu = new GUI_Menulist();
$menu->addButton($cfgURLDocumentation . 'help/administration/index.html', $strHelp, '_blank');
$menu->printMenu();
?>
<p/>
<script type="text/javascript">
function checkForm(){
var obj = document.meetingpw;
if(obj.password.value==''){
alert('<?php
echo $strProtectPasswordEmpty;
?>
');
示例2: clickTrack
}
}
}
}
}
}
}
}
}
}
//
// 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 = "";
function clickTrack(o, item, heatID, heatName, position)
示例3: Array
// 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();
<?php
// generate an array with the club names for the IE workaround (located at bottom of the script part)
示例4: checkDisc
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;
}
//-->
示例5:
// 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'];
}
$relay = 0;
if (!empty($_GET['relay'])) {
示例6: printf
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) {
printf(mysql_error());
} else {
示例7:
} 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";
} else {
if ($_GET['arg'] == "short") {
示例8:
}
// 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>
<?php
}
示例9: isset
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/>
<form name="frmDisc" action="admin_service.php" method="post">
<input type="hidden" name="arg" value="disc"/>
示例10:
$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>
<?php
}
示例11:
}
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
echo $_POST['item'];
?>
示例12: fopen
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] != '') {
foreach ($arr_noCat['cat'] as $key => $val) {
$mess = str_replace('%NAME%', $val, $strXmlNoCatAge);
示例13:
} 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") {
$argument = "Name";
$img_disc = "img/sort_act.gif";
示例14: urlencode
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":
AA_printErrorMsg($result['error']);
break;
示例15:
$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
AA_printCategorySelection("speaker_results.php", $presets['category']);
?>