當前位置: 首頁>>代碼示例>>PHP>>正文


PHP functions::head_links方法代碼示例

本文整理匯總了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>
開發者ID:alexlp969,項目名稱:2Click,代碼行數:31,代碼來源:index.php

示例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>
開發者ID:alexlp969,項目名稱:2Click,代碼行數:31,代碼來源:log_in.php

示例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();
});
開發者ID:alexlp969,項目名稱:2Click,代碼行數:31,代碼來源:customerform.php


注:本文中的functions::head_links方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。