本文整理汇总了PHP中print_title函数 的典型用法代码示例。如果您正苦于以下问题:PHP print_title函数的具体用法?PHP print_title怎么用?PHP print_title使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了print_title函数 的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的PHP代码示例。
示例1: infoMessage
/**
* Muestra un mensaje de informacion del sistema
*/
function infoMessage($title, $message)
{
//include getTemplate('fheader.php');
print_title($title, '98%');
echo '<p align="center">' . $message . '</p>';
exit;
}
开发者ID:agldiego, 项目名称:sitio, 代码行数:10, 代码来源:lib.inc.php
示例2: choose
function choose()
{
while (list($k, $v) = each($GLOBALS)) {
global ${$k};
}
$collectorid = getcollectorid("advalvas");
$query = "DELETE FROM station " . "WHERE collectorid='" . addslashes($collectorid) . "'";
$sql->query($query);
$query = "DELETE FROM program";
$sql->query($query);
print_header_open();
print_title("Choose Stations for " . $this->MODULE_NAME);
print_header_close();
print "\n <FORM ACTION=\"" . page_name() . "\" METHOD=POST>\n <INPUT TYPE=HIDDEN NAME=\"module\" VALUE=\"" . prepare($module) . "\">\n <TABLE BORDER=0 CELLSPACING=0 CELLPADDING=2>\n <TR BGCOLOR=\"#ccccff\">\n <TD><B>Original Name</B></TD>\n <TD><B>xawtv Name</B></TD>\n <TD><B>Channel</B></TD>\n </TR>\n ";
while (list($name, $value) = each($HTTP_POST_VARS)) {
if ($value == 1) {
$suburl = "?NL&" . $name;
$channel_name = preg_replace("/_/", " ", $name);
$channel_name = preg_replace("/\\|/", "+", $channel_name);
$query = $sql->insert_query("station", array("sname" => $this->transformName($channel_name), "collectorid" => $collectorid, "suburl" => $suburl, "rname" => $this->transformName($channel_name), "channel" => "0"));
$result = $sql->query($query);
$sid = $sql->last_record($result);
print "\n\t\t\t\t<TR>\n\t\t\t\t\t\t<TD>" . prepare($channel_name) . "</TD>\n\t\t\t\t\t\t<TD>\n\t\t\t\t\t\t\t\t<INPUT TYPE=TEXT NAME=\"T" . htmlentities($sid) . "\"\n\t\t\t\t\t\t\t\tVALUE=\"" . prepare($channel_name) . "\">\n\t\t\t\t\t\t</TD>\n\t\t\t\t\t\t<TD>" . html_form::text_widget("C" . htmlentities($sid)) . "</TD>\n\t\t\t\t</TR>\n\t\t\t\t";
}
}
print "</TABLE>\n";
print "<P><INPUT TYPE=SUBMIT NAME=SUBMIT VALUE=\"Update\"></P>\n";
print "</FORM>\n";
print_page_close();
exit;
}
开发者ID:BackupTheBerlios, 项目名称:webvcr2, 代码行数:31, 代码来源:advalvas.collector.module.php
示例3: view
function view()
{
foreach ($GLOBALS as $k => $v) {
global ${$k};
}
$fd = fopen("http://www.sp.uconn.edu/~wwwnews/huskyvision", "r");
if ($fd) {
print_header_open();
print_title("HuskyVision");
print_header_close();
print "Deleting station and program settings.<br>\n";
$collectorid = getcollectorid("huskyvision");
$query = "DELETE FROM station WHERE collectorid='" . addslashes($collectorid) . "'";
$sql->query($query);
$query = "DELETE FROM program";
$sql->query($query);
echo "<p>Scanning HuskyVision...<br>\n";
echo "Stations found: <br>\n";
print "\n\t\t\t\t<FORM ACTION=\"" . $this->page_name . "\" METHOD=POST>\n\t\t\t\t<INPUT TYPE=HIDDEN NAME=\"module\" VALUE=\"" . prepare($module) . "\">\n\t\t\t\t<TABLE BORDER=0 CELLSPACING=0 CELLPADDING=2>\n\t\t\t\t\t<TR BGCOLOR=\"#ccccff\">\n\t\t\t\t\t\t<TD><B>Name</B></TD>\n\t\t\t\t\t\t<TD><B>Add</B></TD>\n\t\t\t\t\t</TR>\n\t\t\t";
$i = 0;
while (!feof($fd)) {
$lijn = fgets($fd, 1024);
list($channel_id, $channel_name) = explode(",", $lijn);
if (!empty($channel_name)) {
$query = $sql->insert_query("station", array("sid" => NULL, "sname" => $channel_name, "collectorid" => "2", "rname" => $channel_name, "channel" => $channel_id));
$result = $sql->query($query);
$sid = $sql->last_record($result);
print "\n\t\t\t\t\t\t<TR>\n\t\t\t\t\t\t\t<TD>" . prepare($channel_name) . "</TD>\n\t\t\t\t\t\t\t<TD>\n\t\t\t\t\t\t\t\t<INPUT TYPE=CHECKBOX NAME=\"T" . htmlentities($sid) . "\" VALUE=\"1\" CHECKED>\n\t\t\t\t\t\t\t\t<INPUT TYPE=HIDDEN NAME=\"N" . htmlentities($sid) . "\" VALUE=\"" . prepare($channel_name) . "\">\n\t\t\t\t\t\t\t\t<INPUT TYPE=HIDDEN NAME=\"C" . htmlentities($sid) . "\" VALUE=\"" . prepare($channel_id) . "\">\n\t\t\t\t\t\t\t</TD>\n\t\t\t\t\t\t</TR>\n\t\t\t\t\t";
$i++;
}
// end checking for valid name
}
// end while
fclose($fd);
print "</table>\n";
print "<p><INPUT TYPE=SUBMIT NAME=SUBMIT VALUE=\"Choose\"></p>\n";
print "</form>\n";
print_page_close();
}
// end if fd
}
开发者ID:BackupTheBerlios, 项目名称:webvcr2, 代码行数:41, 代码来源:huskyvision.collector.module.php
示例4: choose
function choose()
{
while (list($k, $v) = each($GLOBALS)) {
global ${$k};
}
$collectorid = getcollectorid("advalvas");
$query = "DELETE FROM station " . "WHERE collectorid='" . addslashes($collectorid) . "'";
$sql->query($query);
$query = "DELETE FROM program";
$sql->query($query);
print_header_open();
print_title("Choose Stations for " . $this->MODULE_NAME);
print_header_close();
print "\n\t\t\t<FORM ACTION=\"" . page_name() . "\" METHOD=POST>\n\t\t\t<INPUT TYPE=HIDDEN NAME=\"module\" VALUE=\"" . prepare($module) . "\">\n\t\t\t<TABLE BORDER=0 CELLSPACING=0 CELLPADDING=2>\n\t\t\t<TR BGCOLOR=\"#ccccff\">\n\t\t\t\t<TD><B>Original Name</B></TD>\n\t\t\t\t<TD><B>xawtv Name</B></TD>\n\t\t\t\t<TD><B>Channel</B></TD>\n\t\t\t</TR>\n\t\t";
while (list($name, $value) = each($HTTP_POST_VARS)) {
if (preg_match("/^T/", $name)) {
// derive sid from this...
$sid = preg_replace("/^T/", "", $name);
// grab all sid-related variables
$channel_name = ${"N" . $sid};
$channel_number = ${"C" . $sid};
// create actual insert query
$query = $sql->insert_query("station", array("sname" => $this->transformName($channel_name), "collectorid" => "1", "suburl" => $this->transformURL($channel_name), "rname" => $this->transformName($channel_name), "channel" => $channel_number));
$result = $sql->query($query);
$old_sid = $sid;
$sid = $sql->last_record($result);
${"C" . $sid} = ${"C" . $old_sid};
global ${"C" . $sid};
print "\n\t\t\t\t<TR>\n\t\t\t\t\t<TD>" . prepare($channel_name) . "</TD>\n\t\t\t\t\t<TD>\n\t\t\t\t\t\t<INPUT TYPE=TEXT NAME=\"T" . htmlentities($sid) . "\"\n\t\t\t\t\t\t VALUE=\"" . prepare($channel_name) . "\">\n\t\t\t\t\t</TD>\n\t\t\t\t\t<TD>" . html_form::text_widget("C" . htmlentities($sid)) . "</TD>\n\t\t\t\t</TR>\n\t\t\t\t";
}
// end if value = 1
}
print "</TABLE>\n";
print "<P><INPUT TYPE=SUBMIT NAME=SUBMIT VALUE=\"Update\"></P>\n";
print "</FORM>\n";
print_page_close();
exit;
}
开发者ID:BackupTheBerlios, 项目名称:webvcr2, 代码行数:38, 代码来源:module_collector.php
示例5: access_denied
function access_denied($p_url = null)
{
if (null === $p_url) {
global $g_logout;
$p_url = $g_logout;
}
print_html_top();
print_head_top();
print_title(config_get('window_title'));
print_css(config_get('css_inc_file'));
print_head_bottom();
print_body_top();
print_header(config_get('page_title'));
print_top_page(config_get('top_page_inc'));
echo '<div class="warning">';
echo '<div align="center">Access Denied<br /><br />';
print_bracket_link($p_url, lang_get('proceed'));
print '</div></div>';
print_bottom_page(config_get('bottom_page_inc'));
print_footer(__FILE__);
print_body_bottom();
print_html_bottom();
exit;
}
开发者ID:BackupTheBerlios, 项目名称:webnotes-svn, 代码行数:24, 代码来源:access_api.php
示例6: session_identification
<?php
// Include Files
include "includes.inc.php";
// Session Identification
session_identification();
print_header();
print_title("Scoring board");
$cmd = input_check("show", "!tbl", "ofs", "uid", 0);
if ($cmd == "show") {
if ($uid == "") {
$uid = user_ourself();
}
show_score($tbl, $ofs, $uid);
score_showuser($uid);
}
print_footer();
exit;
// ============================================================================================
//
//
// Description:
//
//
// Parameters:
//
//
// Returns:
//
//
function show_score($table, $offset, $user_id)
开发者ID:jaytaph, 项目名称:perihelion-oldcode, 代码行数:31, 代码来源:score.php
示例7: session_identification
<?php
// Include Files
include "includes.inc.php";
// Session Identification
session_identification();
print_header();
print_title("Surface");
$cmd = input_check("show", "aid", 0);
if ($cmd == "show") {
if ($aid == "") {
$aid = user_get_home_planet(user_ourself());
}
show_surface($aid);
}
create_submenu(array("View Planet Info" => "anomaly.php?cmd=" . encrypt_get_vars("show") . "&aid=" . encrypt_get_vars($aid), "View Surface Info" => "surface.php?cmd=" . encrypt_get_vars("show") . "&aid=" . encrypt_get_vars($aid)));
print_footer();
exit;
// ============================================================================================
//
//
// Description:
//
//
// Parameters:
//
//
// Returns:
//
//
function show_surface($planet_id)
开发者ID:jaytaph, 项目名称:perihelion-oldcode, 代码行数:31, 代码来源:surface.php
示例8: Copyright
# phpWebNotes - a php based note addition system
# Copyright (C) 2000-2002 Webnotes Team - [email protected]
# This program is distributed under the terms and conditions of the GPL
# See the files README and LICENSE for details
# --------------------------------------------------------
# $Id: login_page.php,v 1.22 2002/09/22 04:17:38 vboctor Exp $
# --------------------------------------------------------
require_once 'core' . DIRECTORY_SEPARATOR . 'api.php';
### Check to see if already logged in
if (isset($g_string_cookie_val) && !empty($g_string_cookie_val)) {
login_cookie_check($g_admin_page);
}
$f_msg = gpc_get_string('f_msg', '');
print_html_top();
print_head_top();
print_title($g_window_title);
print_css($g_css_inc_file);
print_meta_inc($g_meta_inc_file);
print_head_bottom();
print_body_top();
print_header($g_page_title);
print_top_page($g_top_page_inc);
if ($f_msg === 'error') {
echo <<<EOT
\t\t<div class="error" align="center">
\t\t\t<strong>ERROR:</strong> Unauthorised access for supplied user name and password.
\t\t</div>
EOT;
}
# Warning, if plain passwords are selected
if (config_get('auth_type') == AUTH_PLAIN) {
开发者ID:BackupTheBerlios, 项目名称:webnotes-svn, 代码行数:31, 代码来源:login_page.php
示例9: newai_export
function newai_export($fields, $mode = 'table')
{
global $common_html, $html_etc;
global $return_sql_line, $db;
global $columns;
//print_R($_GET);
global $showlistfieldlist, $group_filter;
$tablename = $fields['table']['name'];
$SQL = $fields['sql']['SQL'];
$init = explode('_', $_GET['action']);
$mark = $init[1];
global $tablewidth;
$tablewidth = $tablewidth != "" ? $tablewidth : 450;
if ($group_filter != "") {
$group_filter_Array = explode(':', $group_filter);
$TableFieldIndex = $group_filter_Array[0];
$KeyName = $columns[$TableFieldIndex];
$ChildTableName = $group_filter_Array[1];
$ChildTableFieldValueIndex = $group_filter_Array[2];
$ChildTableFieldNameIndex = $group_filter_Array[3];
$ChildColumns = returntablecolumn($ChildTableName);
$ChildTableFieldValue = $ChildColumns[$ChildTableFieldValueIndex];
$ChildTableFieldName = $ChildColumns[$ChildTableFieldNameIndex];
$Childhtml_etc = returnsystemlang($ChildTableName, $SYTEM_CONFIG_TABLE);
//print_R($Childhtml_etc);
$ChildTableFieldHTMLValue = $Childhtml_etc[$ChildTableName][$ChildTableFieldValue];
$ChildTableFieldHTMLName = $Childhtml_etc[$ChildTableName][$ChildTableFieldName];
} else {
$KeyName = "说明";
}
print "<script>\n\t//CSV\n\tfunction selectid_str_init_CSV(mark)\n\t{\n\tselectid_str = \"\";\n\tfor(i=0;i<document.all(\"selectid\").length-1;i++)\n\t\t{\n\n\t\tel = document.all(\"selectid\").item(i);\n\t\tif(el.checked)\n\t\t{\tval = el.value;\n\t\t\tif(val !=\"\")\t{\n\t\t\t\tselectid_str += val + \",\";\n\t\t\t}\n\t\t}\n\t}\n\n\tell = document.all(\"selectid\").item(document.all(\"selectid\").length-1);\n\tif(ell.checked)\n\t{\tval = ell.value;\n\t\tif(val !=\"\")\t{\n\t\t\tselectid_str += val ;\n\t\t}\n\t}\n\n\ttablename_\t\t=\tdocument.form1.tablename.value;\n\tsearchfield_\t=\tdocument.form1.searchfield.value;\n\tsearchvalue_\t=\tdocument.form1.searchvalue.value;\n\tAdvanceSearch_\t=\tdocument.form1.AdvanceSearch.value;\n\texportfield= selectid_str;\n\n\n\t";
if ($_GET['actionadv'] == "exportadv_default") {
//不用显示或得到SELECTID的值
print "\turl=\"?action=export_\"+mark+\"_data&method=CSV&actionadv=exportadv_default&exportfield=\"+exportfield+\"&tablename=\"+tablename_+\"&searchfield=\"+searchfield_+\"&searchvalue=\"+searchvalue_+AdvanceSearch_";
} else {
print "\tvar " . $KeyName . "SelectValue = document.form1." . $KeyName . ".options[document.form1." . $KeyName . ".selectedIndex].value;\n\t\t";
print "\turl=\"?action=export_\"+mark+\"_data&method=CSV&exportfield=\"+exportfield+\"&tablename=\"+tablename_+\"&searchfield=\"+searchfield_+\"&searchvalue=\"+searchvalue_+\"&" . $KeyName . "=\"+" . $KeyName . "SelectValue+AdvanceSearch_";
}
print "\n\t//alert(url);\n\tlocation=url;\n\t}\n\t//XLS\n\tfunction selectid_str_init_XLS(mark)\n\t{\n\tselectid_str = \"\";\n\tfor(i=0;i<document.all(\"selectid\").length-1;i++)\n\t\t{\n\n\t\tel = document.all(\"selectid\").item(i);\n\t\tif(el.checked)\n\t\t{\tval = el.value;\n\t\t\tif(val !=\"\")\t{\n\t\t\t\tselectid_str += val + \",\";\n\t\t\t}\n\t\t}\n\t}\n\n\tell = document.all(\"selectid\").item(document.all(\"selectid\").length-1);\n\tif(ell.checked)\n\t{\tval = ell.value;\n\t\tif(val !=\"\")\t{\n\t\t\tselectid_str += val ;\n\t\t}\n\t}\n\n\ttablename_\t\t=\tdocument.form1.tablename.value;\n\tsearchfield_\t=\tdocument.form1.searchfield.value;\n\tsearchvalue_\t=\tdocument.form1.searchvalue.value;\n\tAdvanceSearch_\t=\tdocument.form1.AdvanceSearch.value;\n\texportfield= selectid_str;\n\t";
if ($_GET['actionadv'] == "exportadv_default") {
//不用显示或得到SELECTID的值
print "\turl=\"?action=export_\"+mark+\"_data&actionadv=exportadv_default&exportfield=\"+exportfield+\"&tablename=\"+tablename_+\"&searchfield=\"+searchfield_+\"&searchvalue=\"+searchvalue_+AdvanceSearch_";
} else {
print "\tvar " . $KeyName . "SelectValue = document.form1." . $KeyName . ".options[document.form1." . $KeyName . ".selectedIndex].value;\n\t\t";
print "\turl=\"?action=export_\"+mark+\"_data&exportfield=\"+exportfield+\"&tablename=\"+tablename_+\"&searchfield=\"+searchfield_+\"&searchvalue=\"+searchvalue_+\"&" . $KeyName . "=\"+" . $KeyName . "SelectValue+AdvanceSearch_";
}
print "\n\t//url\n\t//alert(url);\n\tlocation=url;\n\t}\n\t</script>";
form_begin("form1");
table_begin($tablewidth);
switch ($mode) {
case 'table':
print_title($common_html['common_html']['tableexport'], 3);
print "<TR class=TableData>\n";
print "<TD noWrap align=middle>选择</TD>\n";
print "<TD width=200>字段描述</TD>\n";
print "<TD width=200>字段名称</TD>\n";
print "</TR>\n";
for ($i = 0; $i < sizeof($columns); $i++) {
$list = $columns[$i];
print "<TR class=TableData>\n";
print "<TD noWrap align=middle width=20><input type=\"checkbox\" checked name=\"selectfield\" value=\"{$list}\"></TD>\n";
print "<TD>" . $html_etc[$tablename][$list] . "</TD>\n";
print "<TD>{$list}</TD>\n";
print "</TR>\n";
$temp_function = 'selectfield_str';
}
break;
case 'content':
print_title($common_html['common_html']['contentexport'], 3);
print "<TR class=TableData>\n";
print "<TD noWrap align=center width=30>选择</TD>\n";
print "<TD width=100>字段描述</TD>\n";
print "<TD width=150>字段名称</TD>\n";
print "</TR>\n";
//附加组数据导出--开始
//print_R($group_filter_Array);
if ($group_filter != "" && $_GET['actionadv'] != "exportadv_default") {
//如果强制GET变量已经进行过预定义,那么沿用预定义内容进行 2010-9-2
$TableFieldIndex = $group_filter_Array[0];
$KeyName = $columns[$TableFieldIndex];
$PHP_SELF_ARRAY = explode('/', $_SERVER['PHP_SELF']);
$FILE_SELF_NAME = array_pop($PHP_SELF_ARRAY);
$FileDirName = array_pop($PHP_SELF_ARRAY);
//用于PGSQL下面不进行数据较验
//print $_SESSION['LOGIN_USER_ID'];
//如果强制GET变量已经进行过预定义,那么沿用预定义内容进行 2010-9-2
//&&$FileDirName=="Teacher" 只有在Teacher目录下面使用 2010-9-25 正常使用
if ($_GET[$KeyName] != "") {
//$ChildTableName = $group_filter_Array[1];
//$ChildTableFieldValueIndex = $group_filter_Array[2];
//$ChildTableFieldNameIndex = $group_filter_Array[3];
//print $KeyName;
$附加判断条件Array = explode(',', $_GET[$KeyName]);
$附加判断条件 = "'" . join("','", $附加判断条件Array) . "'";
$sql = "\n\t\t\t\t\tselect {$ChildTableFieldValue},{$ChildTableFieldName}\n\t\t\t\t\tfrom {$ChildTableName}\n\t\t\t\t\twhere ( {$ChildTableFieldValue} in ({$附加判断条件})\n\t\t\t\t\t\t\tor\n\t\t\t\t\t\t\t{$ChildTableFieldName} in ({$附加判断条件})\n\t\t\t\t\t\t\t)\n\t\t\t\t\torder by {$ChildTableFieldName}";
//
} else {
$sql = "select {$ChildTableFieldValue},{$ChildTableFieldName} from {$ChildTableName} order by {$ChildTableFieldName}";
}
//print $sql;
//.........这里部分代码省略.........
开发者ID:shesai0519, 项目名称:sunshineCRM, 代码行数:101, 代码来源:newai_export.php
示例10: session_identification
<?php
// Include Files
include "includes.inc.php";
// Session Identification
session_identification();
print_header();
print_title("Sector view", "Here you will find all discovered sectors and planets on one single page. It will also let you claim sectors if appropriate.");
$cmd = input_check("show", "sid", "uid", 0, "claim", "!frmid", "!sid", "!ne_name", 0);
if ($uid == "") {
$uid = user_ourself();
}
if ($cmd == "show") {
if ($sid == "") {
sector_show_all_sectors($uid);
} else {
sector_show_sector($sid, $uid);
}
}
if ($cmd == "claim") {
$ok = "";
$errors['PARAMS'] = "Incorrect parameters specified..\n";
$errors['NAME'] = "The sector name already exists.\n";
$data['sector_id'] = $sid;
$data['name'] = convert_crlf_to_px_tag($ne_name);
comm_send_to_server("SECTOR", $data, $ok, $errors);
}
print_footer();
exit;
// ============================================================================================
//
开发者ID:jaytaph, 项目名称:perihelion-oldcode, 代码行数:31, 代码来源:sector.php
示例11: session_identification
<?php
// Include Files
include "includes.inc.php";
// Session Identification
session_identification();
// Extra headers for TD..
$extra_headers = "<STYLE TYPE=\"text/css\" > " . " TH.red { background-color: red } " . " TH.orange { background-color: orange } " . " TH.white { background-color: white; color: black} " . "</STYLE>";
print_header($extra_headers);
print_title("User information");
$cmd = input_check("show", "uid", 0, "showdetail", "uid", 0, "relation", "!frmid", "!uid", "!wid", 0);
if ($cmd == "show") {
if ($uid == "") {
$uid = user_ourself();
}
show_users($uid);
}
if ($cmd == "showdetail") {
if ($uid == "") {
$uid = user_ourself();
}
user_showinfo($uid, USER_SHOWINFO_NORMAL);
}
if ($cmd == "relation") {
set_relation(user_ourself(), $uid, $wid);
show_users(user_ourself());
}
print_footer();
exit;
// ============================================================================================
//
开发者ID:jaytaph, 项目名称:perihelion-oldcode, 代码行数:31, 代码来源:user.php
示例12: session_identification
<?php
// Include Files
include "includes.inc.php";
// Session Identification
session_identification();
print_header();
print_title("Convoy move");
show_owned_convoys($_USER['id']);
print_footer();
exit;
// ============================================================================================
//
//
// Description:
//
//
// Parameters:
//
//
// Returns:
//
//
function show_owned_convoys($user_id)
{
assert(is_numeric($user_id));
echo "<table border=1 align=center>";
echo " <tr>";
echo " <th>Convoy Name</th>";
echo " <th>Flag Ship</th>";
echo " <th>Ships</th>";
开发者ID:jaytaph, 项目名称:perihelion-oldcode, 代码行数:31, 代码来源:convoymove.php
示例13: session_identification
<?php
// Include Files
include "../includes.inc.php";
// Session Identification
session_identification("admin");
print_header();
print_title("Create a new user");
echo "<strong>Use this in the px_server option:</strong>";
echo "<li>USER : username\n";
echo "<li>PASS : password\n";
echo "<li>SECTOR : sector name\n";
echo "<li>SPECIES : specie name\n";
echo "<li>CMD : NEWPLAYER\n";
print_footer();
exit;
开发者ID:jaytaph, 项目名称:perihelion-oldcode, 代码行数:16, 代码来源:createnewuser.php
示例14: session_identification
<?php
// Include Files
include "includes.inc.php";
// Session Identification
session_identification();
// Extra headers for TD..
$extra_headers = "<STYLE TYPE=\"text/css\" > " . " TH.red { background-color: red } " . " TH.orange { background-color: orange } " . " TH.white { background-color: white; color: black} " . "</STYLE>";
print_header($extra_headers);
print_title("Statistics for " . $_USER['name']);
$cmd = input_check("show", "uid", 0);
if ($cmd == "show") {
if ($uid == "") {
$uid = user_ourself();
}
user_showinfo($uid, USER_SHOWINFO_EXTENDED);
score_showuser($uid);
}
print_footer();
exit;
开发者ID:jaytaph, 项目名称:perihelion-oldcode, 代码行数:20, 代码来源:stats.php
示例15: returntablecolumn
$hidden_field = $file_ini[$action]['hidden_field'];
$passwordcheck = $file_ini[$action]['passwordcheck'];
$delete_attribute = $file_ini[$action]['delete_attribute'];
$showlistfieldfilter = $file_ini['init_default']['showlistfieldfilter'];
$showlistfieldlist = $file_ini['init_default']['showlistfieldlist'];
$columns = returntablecolumn($tablename);
$html_etc = returnsystemlang($tablename, $SYTEM_CONFIG_TABLE);
$primarykey_index = $columns[$primarykey];
//print $passwordcheck;
if ($passwordcheck == "1" && $_GET['actionAdvDelete'] != "AdvDelete" && $_GET['actionAdvDelete'] != "InforCheck") {
page_css("密码二次验证");
print "<body onload=\"document.form1.PASSWORD.focus();\">\n";
//Array ( [action] => delete_array [returnmodel] => init_default [selectid] => 412, [pageid] => 1
print "<form name=form1 action=\"?XX=XX&actionAdvDelete=InforCheck&action=delete_array&returnmodel=init_default&selectid=" . $_GET['selectid'] . "\" method=post encType=multipart/form-data>";
table_begin("500");
print_title("请输入您的用户密码,属于关键性操作,需要进行二次密码验证");
print "<tr class=TableData><td width=25%> 您的密码:</td><td>\n\t\t\t\t\t\t<input type=password name='PASSWORD' class=SmallInput >\n\t\t\t\t\t\t(您当前的登录密码)</td></tr>";
print_submit("提交");
table_end();
form_end();
//print_R($_GET);
exit;
} else {
if ($passwordcheck == "1" && $_GET['actionAdvDelete'] == "InforCheck") {
page_css("密码二次验证");
global $db;
//print_R($_SESSION);
$LOGIN_USER_ID = $_SESSION['LOGIN_USER_ID'];
$返回当前用户的密码 = returntablefield("user", "USER_ID", $LOGIN_USER_ID, "PASSWORD");
//$PASSWORD = md5(TRIM($_POST['PASSWORD']));
//$sql = "select USER_ID from user where USER_ID='$LOGIN_USER_ID' and PASSWORD='$PASSWORD'";
开发者ID:shesai0519, 项目名称:sunshineCRM, 代码行数:31, 代码来源:newai_control.php
示例16: page_css
}
-->
</style>
<?
page_css("作业查询");
if($_GET['action']=="") {
print "<form name=form1 action='?action=OpenZuoYe' method=post enctype=multipart/form-data>";
table_begin(680);
print_title("<font color=green>当前角色:普通教师 查询所带班级对应课程的作业成绩信息</font>");
$datetime = date("Y-m-d");
//选择班级
print "<TR>";
print "<TD class=TableData noWrap colspan=>选择班级课程信息:</TD>\n";
print "<TD class=TableData colspan=\"\">\n";
print "<p>\n";
print "<label>\n";
$sql = "select 班级,课程 from edu_zuoye where 教师='".$_SESSION['LOGIN_USER_NAME']."' and 学期名称='$CurXueQi' group by 课程,班级 ";
//echo $sql;exit;
$rs = $db->CacheExecute(150,$sql);
$rs_a = $rs->GetArray();
//print_r($rs_a);
if (sizeof($rs_a) == 0)
开发者ID:NineTea, 项目名称:OA_xmjs, 代码行数:31, 代码来源:edu_jiaoxueriji_zuoye.php
示例17: session_identification
<?php
// Include Files
include "../includes.inc.php";
// Session Identification
session_identification("admin");
print_header();
print_title("Create a new sector");
echo "<strong>Use this in the px_server option:</strong>";
echo "<li>tmp : tmp\n";
echo "<li>CMD : NEWSECTOR\n";
print_footer();
exit;
开发者ID:jaytaph, 项目名称:perihelion-oldcode, 代码行数:13, 代码来源:createnewsector.php
示例18: print_link
<a href="<?php
print_link($item);
?>
">
<div class="row">
<!-- image -->
<div class="col-sm-6">
<figure style="background-image:url(<?php
echo $img;
?>
)"></figure>
</div>
<!-- content -->
<div class="col-sm-6">
<h1><?php
print_title($item);
?>
</h1>
<p><?php
print_blog_content($item, false);
?>
</p>
</div>
</div>
</a>
</article>
<?php
}
?>
</div>
</div>
开发者ID:j-avila, 项目名称:medicsemka, 代码行数:31, 代码来源:search.php
示例19: newaiCharts
//.........这里部分代码省略.........
}
break;
}
$TotalNumberIndex += $ResultNumber;
$TotalSumIndex += $ResultSum;
$Array_Statistic_Value = $sum_index != "" ? $ResultSum : $ResultNumber;
$Array['XData'][$i]['Name'] = $ResultFieldName;
$Array['XData'][$i]['Value'] = $Array_Statistic_Value;
$Array['XData'][$i]['Dir'] = $ResultFieldName;
$Array['XData'][$i]['AltText'] = $ResultFieldName;
//$Array['XData'][$i]['Url'] = "?action=init_customer&$fieldName=$ResultFieldCode";
$ColorArray[$i] == "" ? $ColorArray[$i] = "0xCC0000" : '';
$Array['XData'][$i]['Color'] = $ColorArray[$i];
$Array['Dir'][$i]['Name'] = $ResultFieldName;
$Array['Dir'][$i]['Color'] = $ColorArray[$i];
$Array['YData']['AltText'] = "移动查看详细信息";
$Array['YData']['Value'] < $Array_Statistic_Value ? $Array['YData']['Value'] = $Array_Statistic_Value : '';
}
$Array['title'] = $html_etc[$tablename][$tabletitle] . "[" . $html_etc[$tablename][$fieldName] . "]";
$array_graphInfo = $Array['title'] . "[" . date("Y-m-d H:i:s") . "] " . $common_html['common_html']['totalrecords'] . ": " . $TotalNumberIndex;
if ($sum_index != "") {
$array_graphInfo .= " " . $common_html['common_html']['allnumbers'] . ": " . $TotalSumIndex . " " . $UserUnitFunctionIndex . "\n";
}
$Array['graphInfo'] = $array_graphInfo;
//print_R($FlashFileName);
//本表操作部分--FALSH图表显示部分--显示FLASH图表的结果
table_begin("650");
$ChartMode = $showlistfieldtypeArray[$k];
//采用的图表类型选择
//print $tablename;
switch ($ChartMode) {
case 'vBarF':
$FlashFileName = WriteXmlFilevBarF($Array, $tablename, $k);
//Flash XML 数据写入文件区
$create_chart = create_chart("vBarF", $FlashFileName);
//FLASH 图表读入XML数据处理以后的显示区
break;
case 'hBarF':
$FlashFileName = WriteXmlFilehBarF($Array, $tablename, $k);
//Flash XML 数据写入文件区
$create_chart = create_chart("hBarF", $FlashFileName);
//FLASH 图表读入XML数据处理以后的显示区
break;
case 'pieF':
$FlashFileName = WriteXmlFilePieF($Array, $tablename, $k);
//Flash XML 数据写入文件区
$create_chart = create_chart("pieF", $FlashFileName);
//FLASH 图表读入XML数据处理以后的显示区
break;
default:
$FlashFileName = WriteXmlFilevBarF($Array, $tablename, $k);
//Flash XML 数据写入文件区
$create_chart = create_chart("vBarF", $FlashFileName);
//FLASH 图表读入XML数据处理以后的显示区
break;
}
//HTML文体显示部分
print "<TR class=TableData>";
print "<TD noWrap width=100% align=center colspan=40>";
print "{$create_chart} </TD>";
print "</TR>";
//本文信息显示部分
//print_title($html_etc[$tablename][$tabletitle]."<font color=green>[".$html_etc[$tablename][$fieldName]."]</font>",40);
print_title($html_etc[$tablename][$tabletitle] . "[" . $html_etc[$tablename][$fieldName] . "]", 6);
for ($i = 0; $i < sizeof($rs_array); $i++) {
$ResultNumber = $rs_array[$i][num];
$ResultSum = $rs_array[$i][sum];
$ResultFieldCode = $rs_array[$i][$fieldName];
$ResultFieldName = returntablefield($tablenameIndex, $WhatIndex, $ResultFieldCode, $ReturnIndex);
if ($ResultFieldName == "") {
$ResultFieldName = $ResultFieldCode;
}
print "<TR class=TableData>";
print "<TD noWrap width=15%>统计类别名称 </TD>";
print "<TD width=35%>" . $ResultFieldName . " </TD>";
if ($sum_index != "") {
print "<TD noWrap width=15%>统计额度 </TD>";
print "<TD noWrap width=10%><font color=red>" . $ResultSum . " " . $UserUnitFunctionIndex . "</font></TD>";
} else {
//print "<TD noWrap width=15%>统计类别代码 </TD>";
//print "<TD noWrap width=10%>".$ResultFieldCode." </TD>";
}
print "<TD width=15%>统计记录数 </TD>";
print "<TD noWrap width=10%><font color=red>" . $ResultNumber . " 条</font></TD>";
print "</TR>";
}
print "<TR class=TableData>";
print "<TD noWrap colspan = 40>\n";
print $common_html['common_html']['totalrecords'] . ": <font color=red>{$TotalNumberIndex} 条</font>\n";
if ($sum_index != "") {
print $common_html['common_html']['allnumbers'] . ": <font color=red>{$TotalSumIndex} " . $UserUnitFunctionIndex . "</font>\n";
}
print "</TD>";
print "</TR>";
table_end();
print "<BR>";
break;
}
}
}
开发者ID:shesai0519, 项目名称:sunshineCRM, 代码行数:101, 代码来源:newai_charts.php
bradtraversy/iweather: Ionic 3 mobile weather app
阅读:1577| 2022-08-30
joaomh/curso-de-matlab
阅读:1145| 2022-08-17
魔兽世界怀旧服已经开启两个多月了,但作为一个猎人玩家,抓到“断牙”,已经成为了一
阅读:1001| 2022-11-06
rugk/mastodon-simplified-federation: Simplifies following and interacting with r
阅读:1072| 2022-08-17
一.极限问题的解析解 1.1 单变量函数的极限 格式1: L= limit( fun, x, x0) 格式2: L
阅读:554| 2022-07-18
小程序大部分都是封装好的API,虽然形式类似vue,但是还是有很多新的API要学习。首先就
阅读:641| 2022-07-18
A crafted JPEG image may lead the JPEG reader to underflow its data pointer, all
阅读:702| 2022-07-08
Tangshitao/Dense-Scene-Matching: Learning Camera Localization via Dense Scene Ma
阅读:753| 2022-08-16
相信不少果粉在对自己的设备进行某些操作时,都会碰到Respring,但这个 Respring 到底
阅读:360| 2022-11-06
lightningtgc/MProgress.js: Material Progress —Google Material Design Progress l
阅读:399| 2022-08-17
请发表评论