本文整理汇总了PHP中htmlHead函数的典型用法代码示例。如果您正苦于以下问题:PHP htmlHead函数的具体用法?PHP htmlHead怎么用?PHP htmlHead使用的例子?那么, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了htmlHead函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: check_logon
<!DOCTYPE HTML>
<?php
include 'functions.php';
check_logon();
check_report();
connect();
//Variables $year and $month provide the pre-set values for input fields
$year = date("Y", time());
$month = date("m", time());
?>
<html>
<?php
htmlHead('Capital Report', 1);
?>
<body>
<!-- MENU HEADER & TABS -->
<?php
include 'menu_header.php';
menu_Tabs(5);
?>
<!-- MENU MAIN -->
<div id="menu_main">
<a href="rep_incomes.php">Incomes Report</a>
<a href="rep_expenditures.php">Expenditures Report</a>
<a href="rep_loans.php">Loans Report</a>
<a href="rep_capital.php" id="item_selected">Capital Report</a>
</div>
示例2: check_logon
<!DOCTYPE HTML>
<?php
include 'functions.php';
check_logon();
connect();
?>
<html>
<!-- HTML HEAD -->
<?php
htmlHead('Customer Search', 1);
?>
<body>
<!-- MENU HEADER & TABS -->
<?php
include 'menu_header.php';
menu_Tabs(2);
?>
<!-- MENU MAIN -->
<div id="menu_main">
<a href="cust_search.php" id="item_selected">Search</a>
<a href="cust_new.php">New Customer</a>
<a href="cust_act.php">Active Customers</a>
<a href="cust_inact.php">Inactive Customers</a>
</div>
<!-- CONTENT: Customer Search -->
<div class="content_center">
<form action="customer.php" method="get">
示例3: htmlFooter
</td>
</tr>
<tr><td colspan="2"> </td></tr>
<tr>
<td colspan="2"><input type="submit" value="Save" /></td>
</tr>
<tr>
<td colspan="2" align="center"><small>Copyright © 2010 <a href="http://fox21.at/">TheFox</a></small></td>
</tr>
</table>
</form>
<?php
htmlFooter();
break;
case 'save':
htmlHead();
$DB_HOST = $_POST['DB_HOST'];
$DB_NAME = $_POST['DB_NAME'];
$DB_USER = $_POST['DB_USER'];
$DB_PASS = $_POST['DB_PASS'];
$WGET = $_POST['WGET'];
$PS = $_POST['PS'];
$USER_PASSWORD_SALT = $_POST['USER_PASSWORD_SALT'];
$USER_SESSION_TTL = $_POST['USER_SESSION_TTL'];
if ($smarty) {
$smarty->debugging = false;
$smarty->caching = false;
$smarty->cache_lifetime = $CONFIG['SMARTY_CACHE_LIFETIME'];
$smarty->template_dir = '../tpl';
$smarty->compile_dir = '../cache/tpl_c';
$smarty->cache_dir = '../cache/html';
示例4: check_logon
<!DOCTYPE HTML>
<?php
include 'functions.php';
check_logon();
check_report();
connect();
?>
<html>
<?php
htmlHead('Reports', 1);
?>
<body>
<!-- MENU HEADER & TABS -->
<?php
include 'menu_header.php';
menu_Tabs(5);
?>
<!-- MENU MAIN -->
<div id="menu_main">
<a href="rep_incomes.php">Incomes Report</a>
<a href="rep_expenditures.php">Expenditures Report</a>
<a href="rep_loans.php">Loans Report</a>
<a href="rep_capital.php">Capital Report</a>
</div>
</body>
</html>
示例5: check_sql
check_sql($query_minsavbal);
$minsavbal = mysql_fetch_row($query_minsavbal);
//Select Minimum Loan Principal from SETTINGS
$sql_minLP = "SELECT set_value FROM settings WHERE set_short = 'MinLP'";
$query_minLP = mysql_query($sql_minLP);
check_sql($query_minLP);
$minLP = mysql_fetch_row($query_minLP);
//Select Maximum Loan Principal from SETTINGS
$sql_maxLP = "SELECT set_value FROM settings WHERE set_short = 'MaxLP'";
$query_maxLP = mysql_query($sql_maxLP);
check_sql($query_maxLP);
$maxLP = mysql_fetch_row($query_maxLP);
?>
<html>
<?php
htmlHead('Settings | General Settings', 1);
?>
<body>
<!-- MENU HEADER & TABS -->
<?php
include 'menu_header.php';
menu_Tabs(6);
?>
<!-- MENU MAIN -->
<div id="menu_main">
<a href="admin_genset.php" id="item_selected">General Settings</a>
<a href="admin_fees.php">Fees</a>
<a href="admin_user.php">Users</a>
<a href="admin_ugroup.php">Usergroups</a>
<a href="admin_logrec.php">Log Records</a>
示例6: mysql_query
$sql_sha = "SELECT * FROM shares, user WHERE shares.user_id = user.user_id AND cust_id = '{$_SESSION['cust_id']}'";
$query_sha = mysql_query($sql_sha);
check_sql($query_sha);
//Select ALL CUSTOMERS from database
$sql_custall = "SELECT cust_id, cust_name, cust_since FROM customer WHERE cust_id != '{$_SESSION['cust_id']}'";
$query_custall = mysql_query($sql_custall);
check_sql($query_custall);
//Make array for exporting data
$share_exp_date = date("Y-m-d", time());
$_SESSION['share_export'] = array();
$_SESSION['share_exp_title'] = $_SESSION['cust_id'] . '_shares_' . $share_exp_date;
?>
<html>
<?php
htmlHead('Share Addition', 0);
?>
<script>
function validate(form){
fail = validateDate(form.share_date.value)
fail += validateReceipt(form.share_receipt.value)
if (fail == "") return true
else { alert(fail); return false }
}
function setVisibility(id, visibility) {
document.getElementById(id).style.display = visibility;
}
</script>
<script src="functions_validate.js"></script>
示例7: check_logon
check_logon();
connect();
//Select from CUSTOMER depending on Search or not Search
if (isset($_POST['cust_search'])) {
$cust_search = sanitize($_POST['cust_search']);
$sql_custsearch = "SELECT * FROM customer WHERE cust_name LIKE '%{$cust_search}%'";
$query_custsearch = mysql_query($sql_custsearch);
check_sql($query_custsearch);
} else {
header('Location: start.php');
}
?>
<html>
<?php
htmlHead('Customer Search Result', 1);
?>
<body>
<!-- MENU HEADER & TABS -->
<?php
include 'menu_header.php';
menu_Tabs(2);
?>
<!-- MENU MAIN -->
<div id="menu_main">
<a href="cust_search.php" id="item_selected">Search</a>
<a href="cust_new.php">New Customer</a>
<a href="cust_act.php">Active Customers</a>
示例8: ugroup
die;
} else {
$sql_insert = "INSERT INTO ugroup (ugroup_name, ugroup_report, ugroup_admin, ugroup_created) VALUES ('{$ugroup_name}', '{$ugroup_report}', '{$ugroup_admin}', '{$timestamp}')";
$query_insert = mysql_query($sql_insert);
if (!$query_insert) {
die('INSERT failed');
} else {
echo "<script>alert('Usergroup created successfully.')</script>";
}
}
}
?>
<html>
<?php
htmlHead('Settings | Usergroups', 1);
?>
<body>
<!-- MENU HEADER & TABS -->
<?php
include 'menu_header.php';
menu_Tabs(6);
?>
<!-- MENU MAIN -->
<div id="menu_main">
<a href="admin_genset.php">General Settings</a>
<a href="admin_fees.php">Fees</a>
<a href="admin_user.php">Users</a>
<a href="admin_ugroup.php" id="item_selected">Usergroups</a>
<a href="admin_logrec.php">Log Records</a>
示例9: check_logon
<!DOCTYPE HTML>
<?php
include 'functions.php';
check_logon();
check_report();
connect();
//Variables $year and $month provide the pre-set values for input fields
$year = date("Y", time());
$month = date("m", time());
?>
<html>
<?php
htmlHead('Expenditures Report', 1);
?>
<!-- MENU HEADER & TABS -->
<?php
include 'menu_header.php';
menu_Tabs(5);
?>
<!-- MENU MAIN -->
<div id="menu_main">
<a href="rep_incomes.php">Incomes Report</a>
<a href="rep_expenditures.php" id="item_selected">Expenditures Report</a>
<a href="rep_loans.php">Loans Report</a>
<a href="rep_capital.php">Capital Report</a>
</div>
<!-- MENU: Selection Bar -->
<div id="menu_selection">
示例10: check_logon
<!DOCTYPE HTML>
<?php
include 'functions.php';
check_logon();
connect();
?>
<html>
<!-- HTML HEAD -->
<?php
htmlHead('Loan Search', 1);
?>
<body>
<!-- MENU HEADER & TABS -->
<?php
include 'menu_header.php';
menu_Tabs(3);
?>
<!-- MENU MAIN -->
<div id="menu_main">
<a href="loan_search.php" id="item_selected">Search</a>
<a href="loans_act.php">Active Loans</a>
<a href="loans_pend.php">Pending Loans</a>
</div>
<!-- CONTENT: Loan Search -->
<div class="content_center">
<form action="loans_result.php" method="post">
<p class="heading_narrow">Search Loan by Number</p>
示例11: MAX
//Find LOGREC_ID for current user
$sql_logrecid = "SELECT MAX(logrec_id) FROM logrec WHERE user_id = '{$_SESSION['log_id']}'";
$query_logrecid = mysql_query($sql_logrecid);
check_sql($query_logrecid);
$logrecid = mysql_fetch_array($query_logrecid);
$_SESSION['logrec_id'] = $logrecid['MAX(logrec_id)'];
//Forward to start.php
header('Location: start.php');
} else {
echo '<script>alert(\'Authentification failed!\\nWrong Username and/or Password!\')</script>';
}
}
?>
<html>
<?php
htmlHead('Microfinance Management', 1);
?>
<body>
<div class="content_center" style="width:100%; margin-top:15em">
<!-- LEFT SIDE: mangoO Logo -->
<div class="content_left" style="width:50%; padding-right:5em; text-align:right;">
<img src="ico/mangoo_l.png">
</div>
<!-- RIGHT SIDE: Login Form -->
<div class="content_right" style="width:50%; padding-left:5em; text-align:left;">
<p class="heading" style="margin:0; text-align:left;">Please login...</p>
示例12: mysql_query
//Check if Username already exists
$sql_check = "SELECT user_id FROM user WHERE user_name = '{$user_name}'";
$query_check = mysql_query($sql_check);
if ($ausgabe = mysql_fetch_array($query_check)) {
echo '<script>alert(\'Username already exists. Please choose a different Username.\')</script>';
} else {
$sql_insert = "INSERT INTO user (user_name, user_pw, ugroup_id, user_created) VALUES ('{$user_name}', '{$user_pw}', '{$ugroup}', '{$timestamp}')";
$query_insert = mysql_query($sql_insert);
echo '<script>alert(\'User ' . $user_name . ' created successfully.\')</script>';
}
}
?>
<html>
<?php
htmlHead('Settings | Users', 0);
?>
<script>
function validate(form){
fail = validateUser(form.user_name.value)
fail += validatePw(form.user_pw.value, form.user_pw_conf.value)
if (fail == "") return true
else { alert(fail); return false }
}
</script>
<script src="functions_validate.js"></script>
</head>
<body>
<!-- MENU HEADER & TABS -->
<?php
示例13: check_logon
<!DOCTYPE HTML>
<?php
include 'functions.php';
check_logon();
check_admin();
connect();
?>
<html>
<?php
htmlHead('Settings', 1);
?>
<body>
<!-- MENU HEADER & TABS -->
<?php
include 'menu_header.php';
menu_Tabs(6);
?>
<!-- MENU MAIN -->
<div id="menu_main">
<a href="admin_logrec.php">Log Records</a>
<a href="admin_fees.php">Fees</a>
<a href="admin_user.php">Users</a>
<a href="admin_ugroup.php">Usergroups</a>
</div>
<!-- CONTENT: ??? -->
<div class="content_center">
</div>
</html>
示例14: check_logon
<!DOCTYPE HTML>
<?php
include 'functions.php';
check_logon();
check_admin();
connect();
?>
<html>
<?php
htmlHead('Settings | Log Records', 1);
?>
<body>
<!-- MENU HEADER & TABS -->
<?php
include 'menu_header.php';
menu_Tabs(6);
?>
<!-- MENU MAIN -->
<div id="menu_main">
<a href="admin_genset.php">General Settings</a>
<a href="admin_fees.php">Fees</a>
<a href="admin_user.php">Users</a>
<a href="admin_ugroup.php">Usergroups</a>
<a href="admin_logrec.php" id="item_selected">Log Records</a>
</div>
<!-- CONTENT: Logrec Data -->
<div class="content_center">
<table id="tb_table">
<colgroup>
示例15: header
<?php
require_once '../nl-init.php';
require_once '../class/nl-user-class.php';
require_once '../class/nl-auth-class.php';
require_once 'template/template.php';
$auth = Auth::getInstance();
$userID = $auth->getUserID();
if ($userID <= 0) {
header("location: " . CONFIG_PATH::GLOBAL_M_BASE);
}
htmlBegin("TrackController");
htmlHead("Debate Tracking");
htmlBodyBegin();
htmlHeader();
?>
<main>
<section>
<div class="debate_head_main" style="margin-bottom:20px;">
<div class="debate_heading"><span class="debate_title">DEBATE TRACKING AREA</span></div>
</div>
</section>
<section ng-repeat="news in track.newsList" style="padding-top: 0px">
<div class="usernotify read_notify">
<div class="debate_tracking_container">
<a href="javascript:;" ng-click="news.showComment=!news.showComment">
<div class="debate_tracking_txt" ng-bind-html="news.newsTitle"></div>
<div class="notificationdate" style="padding-right:0px;">
<div class="debate_tracking_replys_count"><!--30 Replys - 15 ><i class="fa fa-heart"></i--></div>
<div class="debate_tracking_date">{{track.str2date(news.newsCreatedDateTime) | date:'dd-MM-yy'}}</div>
</div>