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


PHP head_tag函数代码示例

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


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

示例1: ON

        echo "Name,Email,Date,Type\r\n";
        $query = "SELECT * FROM \n\t\t          Diary, MorbidityEntry, Mothers \n\t\t          LEFT JOIN MotherInfo ON (Mothers.mid=MotherInfo.mid) \n\t\t\t\t\t\t\tWHERE \n\t\t\t\t\t\t\tEntryType = 4 AND \n\t\t\t\t\t\t\tDiary.mid = Mothers.mid AND \n\t\t\t\t\t\t\tDiary.EntryId = MorbidityEntry.EntryId AND {$where}";
        $result = mysql_query($query);
        while ($row = mysql_fetch_array($result)) {
            printf("\"%s\",\"%s\",\"%s\",\"%s\"\r\n", $row['Name'], $row['email'], getDateTime($row['EntryDate']), getVocab('morb-type', $row['Type']));
        }
    }
    exit;
}
initialize();
$mothers = getMotherInfo();
?>

<head>
<?php 
head_tag("Admin LACTOR - " . _("Display Data"));
?>
</head>


<body>
<div id="maincontainer">

<?php 
page_header();
admin_menu(1);
?>

<div id="pagecontent">

<div id="registercontent">
开发者ID:purdue-epics-wise,项目名称:AMBI,代码行数:31,代码来源:display_data.php

示例2: initialize

<?php

include_once "includes/general.php";
include_once "includes/db.php";
initialize();
loggedIn();
db_connect();
loadVocabulary();
?>

<head>
<?php 
head_tag("LACTOR - " . _("Profile"));
?>
<link rel="stylesheet" href="css/profile.css" type="text/css" media="all" />
<script type='text/javascript' src='js/passwords.js'></script>
</head>


<body>
<div id="maincontainer">

<?php 
page_header();
page_menu(PAGE_PROFILE);
?>

<div id="pagecontent">
<?php 
if (isset($_SESSION['s_mid'])) {
    $_SESSION['Smessage'] = "Logged in as scientist.";
开发者ID:purdue-epics-wise,项目名称:AMBI,代码行数:31,代码来源:profile.php

示例3: initialize

<!DOCTYPE html>
<?php 
include_once "../includes/general.php";
include_once "../includes/db.php";
initialize();
loggedIn();
//db_connect();
loadVocabulary();
?>


<head>
<?php 
head_tag("LACTOR - " . _("Inbox"));
?>
</head>

<body>
<div id="maincontainer">

<?php 
page_header();
admin_menu(ADMIN_PAGE_INBOX);
?>

		
<!-- Page Content -->
<div id="pagecontent">
<div class='message dynamic' style='display:none'></div>
<?php 
if (isset($_SESSION['s_mid'])) {
开发者ID:purdue-epics-wise,项目名称:AMBI,代码行数:31,代码来源:inbox.php

示例4: initialize

<?php

include_once "includes/general.php";
include_once "includes/db.php";
initialize();
db_connect();
loggedIn();
?>

<head>
<?php 
head_tag("LACTOR - " . _("Mother Information"));
?>
</head>


<body>
<div id="maincontainer">
<?php 
page_header();
?>

<div id="pagecontent">
<?php 
displayMessage('InfoMessage', 'InfoDetails', 'InfoType');
?>
 
<?php 
if (!isset($_SESSION['InfoInput'][0])) {
    $_SESSION['InfoInput'][0] = "";
    $_SESSION['InfoInput'][1] = "";
开发者ID:purdue-epics-wise,项目名称:AMBI,代码行数:31,代码来源:mother_info.php

示例5: writeSystemFeedback

        echo "\"System Feedback Survey Results\"\n\n\n";
        for ($i = 0; $i < 10; $i++) {
            writeSystemFeedback($system_feedback_array, $motherids, $i);
        }
        echo "\"System Perception Survey Results\"\n\n\n";
        for ($i = 0; $i < 7; $i++) {
            writeSystemPerception($system_perception_array, $motherids, $i);
        }
        exit;
    }
}
?>

<head>
<?php 
head_tag("Admin pCare - " . _("User Accounts"));
?>
</head>


<body>
<div id="maincontainer">

<?php 
page_header();
admin_menu(3);
?>

<div id="pagecontent">
<?php 
displayMessage(@$_SESSION['AccountMessage'], @$_SESSION['AccountDetails'], @$_SESSION['AccountType']);
开发者ID:purdue-epics-wise,项目名称:AMBI,代码行数:31,代码来源:user_accounts.php

示例6: initialize

<!DOCTYPE html>
<?php 
include_once "includes/general.php";
include_once "includes/db.include.php";
initialize();
loggedIn();
db_connect();
loadVocabulary();
?>


<head>
<?php 
head_tag("LACTOR - " . _("Notifications"));
?>
</head>

<body>
  <div id="maincontainer">

    <?php 
page_header();
?>
    <?php 
page_menu(PAGE_NOTIFICATIONS);
?>
    <!-- Page Content -->
    <div id="pagecontent">
      <?php 
if (isset($_SESSION['s_mid'])) {
    $_SESSION['Smessage'] = "Logged in as scientist.";
开发者ID:purdue-epics-wise,项目名称:AMBI,代码行数:31,代码来源:notifications.php

示例7: initialize

<?php

include_once "includes/general.php";
initialize();
loggedIn();
?>

<head>
<?php 
head_tag("LACTOR - " . _("Graceland University Research Participant Consent Form"));
?>
<style type='text/css'>
#errormessage {
	background: #FFEBE8;
	border-style: solid;
	border-width: 1px;
	border-color:  #DD3C10;
	padding: 5px;
	width: 450px; 
	overflow:auto;
}

h3 {
  text-decoration: underline;
}
</style>
</head>

<body>
<div id="maincontainer">
<?php 
开发者ID:purdue-epics-wise,项目名称:AMBI,代码行数:31,代码来源:gu_consent_form.php

示例8: initialize

<?php

include_once "includes/general.php";
initialize();
loggedIn();
?>

<head>
<?php 
head_tag("LACTOR - " . _("System Perception"));
?>
</head>

<body>
<div id="maincontainer">
<?php 
page_header();
?>

<div id="pagecontent">
<?php 
displayMessage('PerMessage', 'PerDetails', 'PerType');
?>
 

<p><?php 
echo _("Please fill out all the fields.");
?>
</p>
<p><?php 
echo _("A maximum of 500 letters per field.");
开发者ID:purdue-epics-wise,项目名称:AMBI,代码行数:31,代码来源:system_perception.php

示例9: html_head_begin

 public function html_head_begin()
 {
     return head_tag();
 }
开发者ID:acamboy,项目名称:starter-public-edition-3,代码行数:4,代码来源:Template.php

示例10: yesOrNo

    exit;
}
function yesOrNo($t)
{
    if ($t == 1) {
        return "No";
    } else {
        return "Yes";
    }
}
initialize();
?>

<head>
<?php 
head_tag("Admin LACTOR - Notifications");
?>
</head>


<body>
<div id="maincontainer">

<?php 
page_header();
admin_menu(6);
?>

<div id="pagecontent">

<div id="registercontent">
开发者ID:purdue-epics-wise,项目名称:AMBI,代码行数:31,代码来源:notifications.php

示例11: initialize

<?php

include_once "includes/general.php";
include_once "includes/db.php";
initialize();
loggedIn();
db_connect();
loadVocabulary();
?>

<head>
<?php 
head_tag("LACTOR - Tutorials");
?>
<link rel="stylesheet" href="css/profile.css" type="text/css" media="all" />
</head>

<body>
<div id="maincontainer">

<?php 
page_header();
page_menu(PAGE_EDUCATIONAL_MATERIALS);
?>

<div id="pagecontent">
<div id="registercontent">


<?php 
if (isset($_SESSION['s_mid'])) {
开发者ID:purdue-epics-wise,项目名称:AMBI,代码行数:31,代码来源:education.php

示例12: initialize

<?php

include_once "includes/general.php";
initialize();
loggedIn();
?>

<head>
<?php 
head_tag("LACTOR - " . _("Self-efficacy Survey"));
?>
<style type='text/css'>
.nowrap {
  white-space: nowrap;
}
td > input {
  margin: 10px;
}
th, td {
  padding: 2px;
}
</style>
</head>

<body>
<div id="maincontainer">
<?php 
page_header();
?>

<div id="pagecontent">
开发者ID:purdue-epics-wise,项目名称:AMBI,代码行数:31,代码来源:self-efficacy_survey.php

示例13: initialize

<?php

include_once "includes/general.php";
include_once "includes/db.php";
initialize();
loggedIn();
$db = db_connect();
loadVocabulary();
?>

<head>
<?php 
head_tag("LACTOR - " . _("Add Entry"));
?>


</head>



<body>
<div id="maincontainer">


<?php 
page_header();
page_menu(PAGE_ADD_ENTRY);
?>

<div id="pagecontent">
<div id="registercontent">
开发者ID:purdue-epics-wise,项目名称:AMBI,代码行数:31,代码来源:add_entry.php

示例14: initialize

<?php

include_once "includes/general.php";
initialize();
?>

<head>
<?php 
head_tag("LACTOR - Security Information");
?>
<link rel="stylesheet" href="css/login.css" type="text/css" media="all" />
</head>

<body>
<div id="maincontainer">
<?php 
page_header();
?>

<div id="pagecontent">

<h1>How we keep your information secure:</h1>
<p> We never store your password unencrypted, instead the password is encrypted 
by 
<a href="http://en.wikipedia.org/wiki/Salt_(cryptography)">salting</a> 
it and hashing it with 
<a href="http://en.wikipedia.org/wiki/SHA-2">SHA-256</a>, which is irreversible. 
This is why we have to reset your password if it is lost or forgotten, 
as even we have no way of seeing what your password is. This ensures that even
in the event of a data breach, your password is safe.<p>
<p> 
开发者ID:purdue-epics-wise,项目名称:AMBI,代码行数:31,代码来源:security_info.php

示例15: initialize

<?php

include_once "../includes/general.php";
initialize();
?>

<head>
<?php 
head_tag("Admin LACTOR - " . _("Reset Password"));
?>
<link rel="stylesheet" href="css/base.css" type="text/css" media="all" />
</head>

<body>
<div id="maincontainer">
<?php 
page_header();
?>

<div id="pagecontent">
<?php 
displayMessage('ResetMessage', 'ResetDetails', 'ResetType');
?>
 

  <div id="container">
    <div class="tabs">
      <ul class="menu">
        <li class="active"><a href="#reset"><?php 
echo _("Reset Password");
?>
开发者ID:purdue-epics-wise,项目名称:AMBI,代码行数:31,代码来源:reset_pass.php


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