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


PHP print_title函数代码示例

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


在下文中一共展示了print_title函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的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 - webnotes-devel@sourceforge.net
# 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%>&nbsp;您的密码:</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


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