本文整理汇总了PHP中do_html_heading函数的典型用法代码示例。如果您正苦于以下问题:PHP do_html_heading函数的具体用法?PHP do_html_heading怎么用?PHP do_html_heading使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了do_html_heading函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: do_html_header
function do_html_header($title)
{
// print an HTML header
?>
<html>
<head>
<title><?php
echo $title;
?>
</title>
<style>
body { font-family: Arial, Helvetica, sans-serif; font-size: 13px }
li, td { font-family: Arial, Helvetica, sans-serif; font-size: 13px }
hr { color: #3333cc; width=300; text-align=left}
a { color: #000000 }
</style>
</head>
<body>
<!--
<img src="bookmark.gif" alt="PHPbookmark logo" border="0"
align="left" valign="bottom" height="55" width="57" />
-->
<h1>Piute Ponds</h1>
<hr />
<?php
if ($title) {
do_html_heading($title);
}
}
示例2: do_html_header
function do_html_header($title)
{
// print an HTML header
?>
<html>
<head>
<title><?php
echo $title;
?>
</title>
<style>
body { font-family: Arial, Helvetica, sans-serif; font-size: 13px }
li, td { font-family: Arial, Helvetica, sans-serif; font-size: 13px }
hr { color: #3333cc; width=300; text-align=left}
a { color: #000000 }
</style>
</head>
<body>
<img src="bookmark.gif" alt="PHPbookmark logo" border=0
align=left valign=bottom height = 55 width = 57>
<h1> PHPbookmark</h1>
<hr />
<?php
if ($title) {
do_html_heading($title);
}
}
示例3: do_html_header
function do_html_header($title)
{
// print an HTML header
?>
<html>
<head>
<title><?php
echo $title;
?>
</title>
<style>
body { font-family: Arial, Helvetica, sans-serif; font-size: 13px }
li, td { font-family: Arial, Helvetica, sans-serif; font-size: 13px }
hr { color: #3333cc; }
a { color: #000000 }
</style>
<link rel="stylesheet" type="text/css" href="new_ss.css"/>
<script src="new_ajax.js" type="text/javascript"></script>
</head>
<body>
<img src="bookmark.gif" alt="PHPbookmark logo" border="0"
align="left" valign="bottom" height="55" width="57" />
<h1>PHPbookmark</h1>
<hr />
<?php
if ($title) {
do_html_heading($title);
}
}
示例4: check_valid_user
function check_valid_user()
{
// see if somebody is logged in and notify them if not
if (isset($_SESSION['valid_user'])) {
return true;
} else {
// they are not logged in
do_html_heading('Problem:');
return false;
}
}
示例5: check_valid_user
function check_valid_user()
{
if (isset($_SESSION['valid_user'])) {
echo "Logged in as " . $_SESSION['valid_user'] . ".<br />";
} else {
do_html_heading('Problem:');
echo 'You are not logged in.<br />';
do_html_url('login.php', 'Login');
do_html_footer();
exit;
}
}
示例6: check_valid_user
function check_valid_user()
{
if (isset($_SESSION['valid_user'])) {
echo 'Logged in as ' . $_SESSION['valid_user'] . '.';
echo '<br />';
} else {
// they are not logged in
do_html_heading('Problem:');
echo 'You are not logged in.<br />';
do_html_url('login', 'Login');
exit;
}
}
示例7: check_valid_user
function check_valid_user()
{
//see if somebody is logged in and notify them if not
if (isset($_SESSION['valid_user'])) {
echo "Logged in as " . $_SESSION['valid_user'] . "<br/>";
} else {
//they are not logged in
do_html_heading('Problem');
echo 'You are not logged in.<br/>';
do_html_URL('login.php', 'Login');
do_html_footer();
exit;
}
}
示例8: check_valid_user
function check_valid_user()
{
global $valid_user;
if (session_is_registered("valid_user")) {
echo "Logged in como {$valid_user}.";
echo "<br>";
} else {
// they are not logged in
do_html_heading("Problema:");
echo "No estás logged in.<br>";
do_html_url("login.php", "Login");
do_html_footer();
exit;
}
}
示例9: check_valid_user
function check_valid_user()
{
global $HTTP_SESSION_VARS;
if (isset($HTTP_SESSION_VARS['valid_user'])) {
echo 'Logged in as ' . $HTTP_SESSION_VARS['valid_user'] . '.';
echo '<br />';
} else {
// they are not logged in
do_html_heading('Problem:');
echo 'You are not logged in.<br />';
do_html_url('login.php', 'Login');
do_html_footer();
exit;
}
}
示例10: do_html_header
function do_html_header($title)
{
// print an HTML header
?>
<img src='<?php
echo base_url('images/bookmark.gif');
?>
' alt="Bookmarker logo" border=0
align=left valign=bottom height = 55 width = 57 />
<h1> Bookmarker</h1>
<hr />
<?php
if ($title) {
do_html_heading($title);
}
}
示例11: do_html_header
function do_html_header($title)
{
?>
<html>
<head>
<title><?php
echo $title;
?>
</title>
<style>
body { font-family: Arial, Helvetica, sans-serif; font-size: 13px;}
li, td { font-family: Arial, Helvetica, sans-serif; font-size: 13px }
hr { color: #3333cc; width=300; text-align=left}
a { color: #000000 }
.header {
background-image: url('http://publiclibrariesonline.org/wp-content/uploads/2012/10/feature-brand-book.jpg');
height: 200px;
background-repeat: no-repeat;
background-size: cover;
}
.header p{
font-family: sans-serif;
color: white;
font-size: 60px;
text-align: right;
}
#footer {
background-color: #BDBDBD;
height: 30;
color: white;
text-align: center;
}
</style>
</head>
<body>
<div class="header">
<p>Hello, Bookstore</p>
</div>
<?php
if ($title) {
do_html_heading($title);
}
}
示例12: do_html_header
function do_html_header($title)
{
// print an HTML header
?>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<link rel="stylesheet" type="text/css" href="styles.css">
<title><?php
echo $title;
?>
</title>
</head>
<body>
<img id="symbol" src="symbol.jpg" alt="HMS logo"/>
<h1>Hospital Management System</h1>
<?php
if ($title) {
do_html_heading($title);
}
}
示例13: do_html_header
if (!filled_out($HTTP_POST_VARS)) {
do_html_header("Problema:");
echo "No has cubierto el formulario correctametne - Por favor vuelve" . " e inténtalo de nuevo.";
do_html_footer();
exit;
}
// email address not valid
if (!valid_email($email)) {
do_html_header("Problema:");
echo "No es una dirección email válida. Por favor vuelve " . " e inténtalo de nuevo.";
do_html_footer();
exit;
}
// passwords not the same
if ($passwd != $passwd2) {
do_html_heading("Problema:");
echo "La contraseña que has entrado no concuerda - por favor vuelve" . " e inténtalo de nuevo.";
do_html_footer();
exit;
}
// check password length is ok
// ok if username truncates, but passwords will get
// munged if they are too long.
if (strlen($passwd) < 6 || strlen($passwd) > 16) {
do_html_header("Problema:");
echo "Tu contraseña debe tener entre 6 y 16 caracteres." . "Por favor vuelve e inténtalo de nuevo.";
do_html_footer();
exit;
}
// attempt to register
$reg_result = register($username, $email, $passwd);
示例14: do_html_header
function do_html_header($title)
{
// print an HTML header
?>
<html>
<head>
<title><?php
echo $title;
?>
</title>
<style>
/* body { font-family: Arial, Helvetica, sans-serif; font-size: 13px }
li, td { font-family: Arial, Helvetica, sans-serif; font-size: 13px } */
hr { color: #3333cc; width=300; text-align=left}
a { color: #000000 }
</style>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta charset="UTF-8">
<link href='http://fonts.googleapis.com/css?family=Open+Sans:400italic,600italic,700italic,400,600,700,800' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="../css/templatemo_style.css">
</head>
<body>
<div class="site-header">
<div class="main-navigation">
<div class="responsive_menu">
<ul>
<li><a class="show-1 templatemo_home" href="#">陈列室</a></li>
<li><a href="http://youyouyou.co/2ndpage.html" target="_self">软木板</a></li>
<li><a href="http://youyouyou.co/3rdpage.html" target="_self">我想有</a></li>
<li><a href="http://youyouyou.co/4thpage.html" target="_self">关于</a></li>
<li><a class="show-5 templatemo_page5" href="#">联系</a></li>
</ul>
</div>
<div class="container">
<div class="row">
<div class="col-md-12 responsive-menu">
<a href="#" class="menu-toggle-btn">
<i class="fa fa-bars"></i>
</a>
</div> <!-- /.col-md-12 -->
<div class="col-md-12 main_menu">
<ul style="display: inline">
<li><a href="http://youyouyou.co" target="_self">陈列室</a></li>
<li><a href="http://youyouyou.co/2ndpage.html" target="_self">软木板</a></li>
<li><a href="http://youyouyou.co/3rdpage.html" target="_self">我想有</a></li>
<li><a href="http://youyouyou.co/4thpage.html" target="_self">关于</a></li>
<li><a class="show-5 templatemo_page5" href="#">联系</a></li>
<li style="float: right"><a href="http://youyouyou.co/test/login.php" target="_self">登陆/注册</a></li>
</ul>
</div> <!-- /.col-md-12 -->
</div> <!-- /.row -->
</div> <!-- /.container -->
</div> <!-- /.main-navigation -->
<hr />
<?php
if ($title) {
do_html_heading($title);
}
}
示例15: check_is_on
<?php
require_once 'fns.php';
check_is_on();
do_html_header('Home');
do_html_heading('Success, welcome ' . $_SESSION['username'] . '<br>');
do_html_URL('add_topic.php', '添加投票');
do_html_URL('vote.php', '投票');
do_html_URL('show_result.php', '查看投票结果');
display_logout();
do_html_footer();