本文整理汇总了PHP中Functions::getHead方法的典型用法代码示例。如果您正苦于以下问题:PHP Functions::getHead方法的具体用法?PHP Functions::getHead怎么用?PHP Functions::getHead使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Functions
的用法示例。
在下文中一共展示了Functions::getHead方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1:
<?php
include "restrito.php";
include "../model/class_patrimonio_bd.php";
include_once "../includes/functions.php";
?>
<html>
<?php
Functions::getHead('Pesquisar Maquinário');
//busca <head></head> da pagina, $title é o titulo da pagina
?>
<!-- <head>
<title>Pesquisar Patrimonio</title>
<meta charset="UTF-8">
<script type="text/javascript" language="javascript" src="../javascript/jquery-2.1.4.min.js"></script>
<script src="../javascript/selectbox.js" type="text/javascript"></script>
<link rel="stylesheet" type="text/css" href="styles/style.css">
</head> -->
<body>
<?php
include_once "../view/topo.php";
?>
<div class="formulario">
<div class="title-box" style="float:left"><div style="float:left"><img src="../images/search-icon.png" width="35px"></div><div style="float:left; margin-top:10px; margin-left:10px;"><span class="title">Pesquisar Patrimonio</span></div></div>
<form method="POST" class="pesquisa-campos" id="pesquisa-campos" name="pesquisa-campos" action="pesquisa_patrimonio.php">
<table id="table-search">
<tr>
示例2:
<?php
include "restrito.php";
include "../model/class_epi_bd.php";
include_once "../includes/functions.php";
?>
<html>
<?php
Functions::getHead('Pesquisar Equipamentos');
//busca <head></head> da pagina, $title é o titulo da pagina
?>
<!-- <head>
<title>Pesquisar EPI</title>
<meta charset="UTF-8">
<script type="text/javascript" language="javascript" src="../javascript/jquery-2.1.4.min.js"></script>
<script src="../javascript/selectbox.js" type="text/javascript"></script>
<link rel="stylesheet" type="text/css" href="styles/style.css">
</head> -->
<body>
<?php
include_once "../view/topo.php";
?>
<div class="formulario">
<div class="title-box" style="float:left"><div style="float:left"><img src="../images/search-icon.png" width="35px"></div><div style="float:left; margin-top:10px; margin-left:10px;"><span class="title">Pesquisar Equipamentos</span></div></div>
<form method="POST" class="pesquisa-campos" id="pesquisa-campos" name="pesquisa-campos" action="pesquisa_epi.php">
<table id="table-search">
示例3:
<?php
include_once "restrito.php";
include_once "../model/class_funcionario_bd.php";
include_once "../model/class_horarios_bd.php";
include_once "../model/class_turno_bd.php";
include_once "../model/class_sql.php";
include_once "../includes/functions.php";
?>
<html>
<?php
Functions::getHead('Relatórios');
//busca <head></head> da pagina, $title é o titulo da pagina
?>
<!-- <head>
<title>Relatórios</title>
<meta charset="UTF-8">
<script type="text/javascript" language="javascript" src="../javascript/jquery-2.1.4.min.js"></script>
<script src="../javascript/selectbox.js" type="text/javascript"></script>
<link rel="stylesheet" type="text/css" href="styles/style.css">
</head> -->
<body>
<?php
include_once "../view/topo.php";
示例4:
include_once "../model/class_funcionario_bd.php";
include_once "../model/class_horarios_bd.php";
include_once "../model/class_turno_bd.php";
include_once "../model/class_sql.php";
include_once "../model/class_filial_bd.php";
include_once "../model/class_cbo_bd.php";
include_once "../model/class_cidade_bd.php";
include_once "../model/class_estado_bd.php";
include_once "../model/class_endereco_bd.php";
include_once "../model/class_empresa_bd.php";
include_once "../includes/functions.php";
?>
<html>
<?php
Functions::getHead('Pesquisar Empresa');
//busca <head></head> da pagina, $title é o titulo da pagina
?>
<!-- <head>
<title>Pesquisar Empresa</title>
<meta charset="UTF-8">
<script type="text/javascript" language="javascript" src="../javascript/jquery-2.1.4.min.js"></script>
<script src="../javascript/selectbox.js" type="text/javascript"></script>
<link rel="stylesheet" type="text/css" href="styles/style.css">
</head> -->
<body>
<?php
include_once "../view/topo.php";
?>
示例5:
<?php
include "restrito.php";
include "../model/class_cliente.php";
include_once "../includes/functions.php";
?>
<html>
<?php
Functions::getHead('Pesquisar Cliente');
//busca <head></head> da pagina, $title é o titulo da pagina
?>
<!-- <head>
<title>Pesquisar Cliente</title>
<meta charset="UTF-8">
<script type="text/javascript" language="javascript" src="../javascript/jquery-2.1.4.min.js"></script>
<script src="../javascript/selectbox.js" type="text/javascript"></script>
<link rel="stylesheet" type="text/css" href="styles/style.css">
</head> -->
<body>
<?php
include_once "../view/topo.php";
?>
<div class="formulario">
<div class="title-box" style="float:left"><div style="float:left"><img src="../images/search-icon.png" width="35px"></div><div style="float:left; margin-top:10px; margin-left:10px;"><span class="title">Pesquisar Cliente</span></div></div>
<form method="POST" class="pesquisa-campos" id="pesquisa-campos" name="pesquisa-campos" action="pesquisa_cli.php">
<table id="table-search">
<tr>
示例6:
<?php
include "restrito.php";
include "../model/class_cboXexames.php";
include "../model/class_cbo_bd.php";
include "../model/class_exame_bd.php";
include_once "../includes/functions.php";
?>
<html>
<?php
Functions::getHead('Pesquisar CBO');
//busca <head></head> da pagina, $title é o titulo da pagina
?>
<!-- <head>
<title>Pesquisar CBO</title>
<meta charset="UTF-8">
<script type="text/javascript" language="javascript" src="../javascript/jquery-2.1.4.min.js"></script>
<script src="../javascript/selectbox.js" type="text/javascript"></script>
<link rel="stylesheet" type="text/css" href="styles/style.css">
</head> -->
<body>
<?php
include_once "../view/topo.php";
?>
<div class="formulario">
<div class="title-box" style="float:left"><div style="float:left"><img src="../images/search-icon.png" width="35px"></div><div style="float:left; margin-top:10px; margin-left:10px;"><span class="title">Pesquisar CBO</span></div></div>
示例7:
<?php
include "restrito.php";
include "../model/class_cliente.php";
include "../model/class_valor_custo_bd.php";
include_once "../includes/functions.php";
?>
<html>
<?php
Functions::getHead('Pesquisar Funcionário');
//busca <head></head> da pagina, $title é o titulo da pagina
?>
<!-- <head>
<title>Pesquisar Funcionario</title>
<meta charset="UTF-8">
<script type="text/javascript" language="javascript" src="../javascript/jquery-2.1.4.min.js"></script>
<script src="../javascript/selectbox.js" type="text/javascript"></script>
<link rel="stylesheet" type="text/css" href="styles/style.css">
</head> -->
<body>
<?php
include_once "../view/topo.php";
?>
<div class="formulario">
<div class="title-box" style="float:left"><div style="float:left"><img src="../images/search-icon.png" width="35px"></div><div style="float:left; margin-top:10px; margin-left:10px;"><span class="title">Pesquisar Funcionario</span></div></div>
<form method="POST" class="pesquisa-campos" id="pesquisa-campos" name="pesquisa-campos" action="pesquisa_func.php">
<table id="table-search">
示例8:
<?php
include "restrito.php";
include "../model/class_filial_bd.php";
include_once "../includes/functions.php";
?>
<html>
<?php
Functions::getHead('Pesquisar Posto de Trabalho');
//busca <head></head> da pagina, $title é o titulo da pagina
?>
<!-- <head>
<title>Pesquisar Filial</title>
<meta charset="UTF-8">
<script type="text/javascript" language="javascript" src="../javascript/jquery-2.1.4.min.js"></script>
<script src="../javascript/selectbox.js" type="text/javascript"></script>
<link rel="stylesheet" type="text/css" href="styles/style.css">
</head> -->
<body>
<?php
include_once "../view/topo.php";
?>
<div class="formulario">
<div class="title-box" style="float:left"><div style="float:left"><img src="../images/search-icon.png" width="35px"></div><div style="float:left; margin-top:10px; margin-left:10px;"><span class="title">Pesquisar Filial</span></div></div>
<form method="POST" class="pesquisa-campos" id="pesquisa-campos" name="pesquisa-campos" action="pesquisa_filial.php">
<table id="table-search">
<tr>
示例9:
<?php
include "restrito.php";
include "../model/class_patrimonio_bd.php";
include_once "../includes/functions.php";
?>
<html>
<?php
Functions::getHead('Pesquisar Veiculos');
//busca <head></head> da pagina, $title é o titulo da pagina
?>
<!-- <head>
<title>Pesquisar Patrimonio</title>
<meta charset="UTF-8">
<script type="text/javascript" language="javascript" src="../javascript/jquery-2.1.4.min.js"></script>
<script src="../javascript/selectbox.js" type="text/javascript"></script>
<link rel="stylesheet" type="text/css" href="styles/style.css">
</head> -->
<body>
<?php
include_once "../view/topo.php";
?>
<div class="formulario">
<div class="title-box" style="float:left"><div style="float:left"><img src="../images/search-icon.png" width="35px"></div><div style="float:left; margin-top:10px; margin-left:10px;"><span class="title">Pesquisar Patrimonio</span></div></div>
<form method="POST" class="pesquisa-campos" id="pesquisa-campos" name="pesquisa-campos" action="pesquisa_patrimonio.php">
<table id="table-search">
示例10:
<?php
include "restrito.php";
include "../model/class_exame_bd.php";
include_once "../includes/functions.php";
?>
<html>
<?php
Functions::getHead('Pesquisar Exames');
//busca <head></head> da pagina, $title é o titulo da pagina
?>
<!-- <head>
<title>Pesquisar Exames</title>
<meta charset="UTF-8">
<script type="text/javascript" language="javascript" src="../javascript/jquery-2.1.4.min.js"></script>
<script src="../javascript/selectbox.js" type="text/javascript"></script>
<link rel="stylesheet" type="text/css" href="styles/style.css">
</head> -->
<body>
<?php
include_once "../view/topo.php";
?>
<div class="formulario">
<div class="title-box" style="float:left"><div style="float:left"><img src="../images/search-icon.png" width="35px"></div><div style="float:left; margin-top:10px; margin-left:10px;"><span class="title">Pesquisar Exames</span></div></div>
<form method="POST" class="pesquisa-campos" id="pesquisa-campos" name="pesquisa-campos" action="pesquisa_exames.php">
<table id="table-search">
<tr>
示例11: session_start
<?php
session_start();
if (isset($_SESSION["id"]) && isset($_SESSION["user"]) && isset($_SESSION["id_empresa"]) && isset($_SESSION['logado']) && $_SESSION['logado'] == md5($_SESSION["id"])) {
header("location:principal");
}
include_once "../includes/functions.php";
include_once "../model/class_horarios_bd.php";
?>
<html>
<?php
Functions::getHead('Administrator');
//busca <head></head> da pagina, $title é o titulo da pagina
?>
<!-- <head>
<title></title>
<link rel="stylesheet" type="text/css" href="../css/bootstrap.css">
<link rel="stylesheet" type="text/css" href="styles/style.css">
</head> -->
<?php
// inicia a tabela de horarios esquecidos, a tabela de horarios esquecidos controla quem registrou ou não registrou o ponto eletronico,
// essa tabela mantem os registros sempre 10 dias a mais iniciando na data atual
// esse metodo verifica se existe um registro faltando nessa tabela e atualiza
Horarios::inicia_horarios_esquecidos();
?>
<body class="body-login">
<!-- <div class='container'> -->
示例12:
$string = $_POST['temp_limit_atraso'];
if (!preg_match("/^([0-59]+)\$/i", $string)) {
echo '<div class="msg">Por favor, digite um valor de 0 à 59</div>';
return false;
}
return true;
} else {
echo '<div class="msg">Por favor, digite um valor de 0 à 59</div>';
return false;
}
}
}
?>
<?php
Functions::getHead('Configurações');
//busca <head></head> da pagina, $title é o titulo da pagina
?>
<head>
<script>
</script>
</head>
<link rel="stylesheet" type="text/css" href="styles/config_gerais.css">
<?php
Functions::getScriptConfiguracoes();
?>
示例13: info
include_once "../model/class_horarios_bd.php";
include_once "../model/class_funcionario_bd.php";
include_once "../model/class_turno_bd.php";
include_once "../model/class_maquinario_bd.php";
include_once "../model/class_patrimonio_geral_bd.php";
include_once "../model/class_veiculo_bd.php";
include_once "../model/class_obs_superv_bd.php";
include_once "../includes/functions.php";
include_once "../includes/util.php";
include_once "../config.php";
include_once "../model/class_solicita_acesso.php";
?>
<html>
<?php
Functions::getHead('Principal');
//busca <head></head> da pagina, $title é o titulo da pagina
?>
<script>
function info(id){
var divPop = document.getElementById(id);
divPop.style.display = "";
}
function fecharInfo(id){
var divPop = document.getElementById(id);
divPop.style.display = "none";
}
function oculta(t){
var opc = confirm("Ocultar esse bloco, tem certeza?");
示例14:
include_once "../model/class_veiculo_bd.php";
include_once "../model/class_patrimonio_geral_bd.php";
include_once "../model/class_funcionario_bd.php";
include_once "../model/class_produto_bd.php";
include_once "../model/class_cbo_bd.php";
include_once "../model/class_estado_bd.php";
include_once "../includes/functions.php";
include_once "../includes/util.php";
include_once "../model/class_regiao_bd.php";
include_once "../model/class_obra.php";
include_once "../model/class_cliente.php";
?>
<html>
<?php
Functions::getHead('Exibir Obras');
//busca <head></head> da pagina, $title é o titulo da pagina
?>
<?php
Functions::getScriptVisualizarObra();
?>
<body>
<?php
include_once "../view/topo.php";
?>
<div class="formulario" style="width:43%; min-width:600px;" id="form_obra">
<div class="title-box" style="float:left; width:100%"><div style="float:left"><img src="../images/ico-obra.png" width="35px" style="margin-left:5px;"></div><div style="float:left; margin-top:10px; margin-left:10px;"><span class="title">EXIBIR OBRAS</span></div></div>
<div class="desc-bloco">
<span>Selecione a Obra </span>
示例15: validate
<?php
function validate()
{
if (isset($_POST['temp_limit_atraso'])) {
if ($_POST['temp_limit_atraso'] >= 0 && $_POST['temp_limit_atraso'] <= 60 || $_POST['temp_limit_atraso'] != '') {
$string = $_POST['temp_limit_atraso'];
return true;
} else {
return false;
}
}
}
?>
<?php
Functions::getHead('Permitir acesso');
//busca <head></head> da pagina, $title é o titulo da pagina
?>
<script type="text/javascript">
function valida(f){
var erros = 0;
var msg = '';
for(i=0 ; i < f.length; i++){
if(f[i].name == 'mac'){
if(f[i].value == ''){
f[i].style.border = '1px solid #f00';
msg += "Insira um mac\n";
erros++;
}else{