本文整理汇总了PHP中functions::head_links方法的典型用法代码示例。如果您正苦于以下问题:PHP functions::head_links方法的具体用法?PHP functions::head_links怎么用?PHP functions::head_links使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类functions
的用法示例。
在下文中一共展示了functions::head_links方法的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: cancel
<html>
<head>
<?php
include "../classes/functions.php";
include "../classes/FormLogic.php";
$display_logic = new functions();
$display_logic->head_links('Add a new customer');
$display_logic->nav_bar();
?>
<script>
$(function() {
$( "#tabs" ).tabs();
});
</script>
<script>
function cancel()
{
window.location="index.php";
}
</script>
</head>
<body>
<?php
$addNewCustomer = new FormLogic();
$addNewCustomer->logic();
?>
</body>
示例2: functions
<html>
<head>
<?php
include "functions.php";
$display_logic = new functions();
$display_logic->head_links('Log in');
//$display_logic -> nav_bar();
$msg = '0';
//$msg = $_GET['msg'];
?>
<link href="custom.css" rel="stylesheet">
</head>
<body>
<div class="container">
<!-- <div class="test_container">
<p>Welcome to the 2Click ordering system. This system is designed to store order information. Please enter your username and password to log in to the system.</p>
</div> -->
<div class="container">
<?php
if ($msg == '1') {
echo '<div class="alert alert-danger" role="alert">Your username or password is not correct</div>';
}
?>
<!-- <h2 class="form-signin-heading">Welcome to the 2Click customer management system</h2> -->
<form class="form-signin" action="loginFunctions.php" method="post">
<label for="Username" class="sr-only">Username</label>
<input type="text" id="Username" name="Username" class="form-control" placeholder="Username" required autofocus>
<label for="Password" class="sr-only">Password</label>
<div class="row"><br></div>
示例3: functions
<html>
<head>
<?php
//include "navigation.php";
include "classes/functions.php";
$display_logic = new functions();
$display_logic->head_links('Customer Details');
$display_logic->nav_bar();
if (isset($_POST['search'])) {
$search = $_POST['search'];
}
//$display_logic -> open_connection();
//$display_logic -> conn;
$servername = "localhost";
$username = "root";
$password = "";
$db_name = "click_dev";
// Create connection
$conn = mysqli_connect($servername, $username, $password, $db_name);
// Check connection
if (!$conn) {
die("Connection failed: " . mysqli_connect_error());
}
?>
<script>
$(function() {
$( "#tabs" ).tabs();
});