当前位置: 首页>>代码示例>>PHP>>正文


PHP makeHead函数代码示例

本文整理汇总了PHP中makeHead函数的典型用法代码示例。如果您正苦于以下问题:PHP makeHead函数的具体用法?PHP makeHead怎么用?PHP makeHead使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。


在下文中一共展示了makeHead函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: makePage

function makePage($pageName)
{
    global $pages;
    foreach ($pages as $page) {
        if ($page["name"] == $pageName) {
            makeHead($page);
            if ($page["name"] != "intro") {
                echo '
						<body>
						<div class="mainBlock">
					';
                makeHeader($page);
                makeMenu($page);
                makeNavigation($page);
                echo '
						</div>
						</body>
					';
            } else {
                makeNavigation($page);
            }
            makeScripts($page);
        }
    }
}
开发者ID:Akyraah,项目名称:Presentation-Page,代码行数:25,代码来源:index.php

示例2: makeHead

<td bgcolor="#CCFFCC"
<?php 
makeHead("Lista iscritti alla gita");
echo "<table border=\"1\" align=\"center\">";
echo "  <tr>";
echo "    <td colspan=\"2\" bgcolor=\"#CCFFCC\">Numero iscritti: " . $db->num_rows() . "</td>";
echo "  </tr>";
echo "  <tr>";
echo "    <td bgcolor=\"#CCFFCC\">Nomi</td>";
echo "    <td bgcolor=\"#CCFFCC\">Data iscrizione</td>";
echo "  </tr>";
while ($db->next_record()) {
    echo "  <tr>";
    //echo "    <td>".$db->record['nome']." ".substr($db->record['cognome'],0,1).".</td>";
    echo "    <td>" . $db->record['nome'] . " " . $db->record['cognome'] . "</td>";
    echo "    <td>" . date("d/m/Y", $db->record['data']) . "</td>";
    echo "  </tr>";
}
if ($db->query("SELECT *,UNIX_TIMESTAMP(dataeora) as 'data' FROM nonsoci,iscrizioni WHERE nonsoci.id = iscrizioni.idassociato AND iscrizioni.idresp = CONCAT(iscrizioni.idassociato,'-NS') AND iscrizioni.idgita = '" . $_GET['iscrid'] . "' ORDER BY data,nonsoci.nome;")) {
    while ($db->next_record()) {
        echo "  <tr>";
        //echo "    <td>".$db->record['nome']." ".substr($db->record['cognome'],0,1).".</td>";
        echo "    <td>" . $db->record['nome'] . " " . $db->record['cognome'] . " (Non socio)</td>";
        echo "    <td>" . date("d/m/Y", $db->record['data']) . ".</td>";
        echo "  </tr>";
    }
}
echo "</table>";
makeTail();
开发者ID:acomai,项目名称:Biciedintorni,代码行数:29,代码来源:listaisc.php

示例3: redirect

        redirect("assets.php");
        die;
    }
} elseif (!empty($_GET['asset_tag'])) {
    $asset = $con->myQuery("SELECT image,DATE_FORMAT(EOL,'%d/%m/%Y') as EOL,id,manufacturer,depreciation_term,depreciation_name,model,asset_status_label,asset_status,category,asset_tag,serial_number,asset_name,purchase_date,purchase_cost,order_number,notes,image,DATE_FORMAT(check_out_date,'%d/%m/%Y') as check_out_date,location,CONCAT(last_name,', ',first_name,' ',middle_name)as current_holder,is_deleted FROM qry_assets WHERE asset_tag=?", array($_GET['asset_tag']))->fetch(PDO::FETCH_ASSOC);
    if (empty($asset)) {
        //Alert("Invalid asset selected.");
        Modal("No Asset found.");
        redirect("assets.php");
        die;
    }
}
$asset_models = $con->myQuery("SELECT id,name FROM asset_models WHERE is_deleted=0")->fetchAll(PDO::FETCH_ASSOC);
$asset_status_labels = $con->myQuery("SELECT id,name FROM asset_status_labels WHERE is_deleted=0")->fetchAll(PDO::FETCH_ASSOC);
$locations = $con->myQuery("SELECT id,name FROM locations WHERE is_deleted=0")->fetchAll(PDO::FETCH_ASSOC);
makeHead("Assets");
require_once "template/header.php";
require_once "template/sidebar.php";
?>
<div class='content-wrapper'>
    <section class='content-header'>
        <h1>
            View Asset <?php 
echo htmlspecialchars($asset['asset_name']);
?>
 (<?php 
echo htmlspecialchars($asset['category']);
?>
)
        </h1>
    </section>
开发者ID:jpbalderas17,项目名称:ams,代码行数:31,代码来源:view_asset.php

示例4: redirect

    die;
}
if (!AllowUser(array(1, 2, 3))) {
    redirect("index.php");
}
if (!empty($_GET['date_start'])) {
    $date_start = date_create($_GET['date_start']);
} else {
    $date_start = "";
}
if (!empty($_GET['date_end'])) {
    $date_end = date_create($_GET['date_end']);
} else {
    $date_end = "";
}
makeHead("Consumable Reports");
?>

<?php 
require_once "template/header.php";
require_once "template/sidebar.php";
?>
<div class='content-wrapper'>
    <div class='content-header'>
        <h1 class='text-center page-header text-green'>Consumables Report</h1>
    </div>
    <section class='content'>
        <div class="row">
                <div class='col-lg-12'>
                    <?php 
Alert();
开发者ID:jpbalderas17,项目名称:ams,代码行数:31,代码来源:consumables_report.php

示例5: vis_evento

    vis_evento();
    makeTail();
    exit;
}
if (is_numeric($_GET['id'])) {
    vis_gita();
    makeTail();
    exit;
} elseif (is_numeric($_GET['iscrid'])) {
    include_once "lib/db_mysql.php";
    $db = new db_local();
    $db->query("SELECT *,UNIX_TIMESTAMP(dataeora) as 'data' FROM anagrafiche,iscrizioni WHERE anagrafiche.id = iscrizioni.idassociato AND iscrizioni.idresp <> CONCAT(iscrizioni.idassociato,'-NS') AND iscrizioni.idgita = '" . $_GET['iscrid'] . "' ORDER BY data,anagrafiche.nome;");
    include_once "lib/html/listaisc.php";
    exit;
}
makeHead("Gite ed Eventi", "", "onload=\"init();\"");
?>
<div align="center">
<br>
	<div style="color:blue; font-size:16px;">Ecco l'elenco delle prossime gite</div>
	<div style="color:blue;">
		<a style="font-size:16px;" href="index.php?limit=0" title="Elenco gite <?php 
echo date("Y");
?>
">[Visualizza tutte le gite del <?php 
echo date("Y");
?>
]</a>
		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
	<?php 
if (date("m") >= 11) {
开发者ID:acomai,项目名称:Biciedintorni,代码行数:31,代码来源:index.php

示例6: makeTail

        $strWhere = " WHERE idnazione = '" . $_GET['idnaz'] . "'";
    }
    if (is_numeric($_GET['idarg'])) {
        if ($strWhere == '') {
            $strWhere = " WHERE idarg = '" . $_GET['idarg'] . "'";
        } else {
            $strWhere = $strWhere . " AND idarg = '" . $_GET['idarg'] . "'";
        }
    }
    $db->query($strqry . $strWhere . " ORDER BY argomento, titolo");
    $ordinamento = "tipo";
    include_once "lib/html/listalibri.php";
    makeTail();
    exit;
}
makeHead("Biblioteca", "", "");
?>
<div align="center">
<h4>FIAB Torino Bici e Dintorni - Biblioteca</h4>
<br>
<div style="color:blue;">Abbiamo una delle biblioteche sulla bici, la mobilità urbana e il cicloturismo più ricche in Italia.</div>
<p>I soci possono prendere a prestito i libri e le cartine,
<a href="http://www.biciedintorni.it/wordpress/contatti-2/"> in sede negli orari di apertura.</a></p></div>
<br>
<!-- <table width="40%" border="0" align="center" cellpadding="2">
	<tr align="center">
		<td><a href="biblioteca.php?sez=cart">Cartine</a> | </td> 
		<td>Libri ordinati per: </td>
		<td><a href="biblioteca.php?sez=libri_titolo">titolo</a> | </td>
		<td><a href="biblioteca.php?sez=libri_anno">anno pubblicazione</a> | </td>
		<td><a href="biblioteca.php?sez=libri_argomento">tipo</a> | </td>
开发者ID:acomai,项目名称:Biciedintorni,代码行数:31,代码来源:biblioteca.php

示例7: toLogin

<?php

require_once 'support/config.php';
if (!isLoggedIn()) {
    toLogin();
    die;
}
makeHead("Clients");
?>
<div id='wrapper'>
<?php 
require_once 'template/navbar.php';
?>
</div>

<div id="page-wrapper">
            <div class="row">
                <div class="col-lg-12">
                    <h1 class="page-header">My Account</h1>
                </div>
                <!-- /.col-lg-12 -->
            </div>
            <!-- /.row -->

            <?php 
if (AllowUser(array(1, 2))) {
    ?>
            
            <div class='row'>
                        <div class='col-sm-12'>
                                <a href='frm_accounts.php' class='btn btn-success pull-right'> <span class='fa fa-plus'></span> Create New</a>
开发者ID:jpbalderas17,项目名称:crm,代码行数:31,代码来源:my_clients.php

示例8: toLogin

<?php

require_once 'support/config.php';
if (!isLoggedIn()) {
    toLogin();
    die;
}
if (!AllowUser(array(1, 2, 3))) {
    redirect("index.php");
}
makeHead("Asset Reports");
?>
<div id='wrapper'>
<?php 
require_once 'template/navbar.php';
?>
</div>

<div id="page-wrapper">
            <div class="row">
                <div class="col-lg-12">
                    <h1 class="page-header">Asset Report</h1>
                </div>

                <!-- /.col-lg-12 -->
            </div>
            <!-- /.row -->
            <div class="row">
                <div class='col-lg-12'>
                    <?php 
Alert();
开发者ID:jpbalderas17,项目名称:dms,代码行数:31,代码来源:report_asset.php

示例9: makeHead

        die;
    }
}
if (!empty($_SESSION[WEBAPP]['frm_inputs'])) {
    if (!empty($asset_model)) {
        $old_asset_model = $asset_model;
    }
    $asset_model = $_SESSION[WEBAPP]['frm_inputs'];
    if (!empty($old_asset_model)) {
        $asset_model['id'] = $old_asset_model['id'];
    }
}
$manufacturers = $con->myQuery("SELECT id,name FROM manufacturers WHERE is_deleted=0")->fetchAll(PDO::FETCH_ASSOC);
$categories = $con->myQuery("SELECT id,name FROM categories WHERE is_deleted=0 AND category_type_id=1")->fetchAll(PDO::FETCH_ASSOC);
$depreciations = $con->myQuery("SELECT id,name FROM depreciations WHERE is_deleted=0")->fetchAll(PDO::FETCH_ASSOC);
makeHead("Asset Models");
require_once "template/header.php";
require_once "template/sidebar.php";
?>
<div class='content-wrapper'>
    <div class='content-header'>
        <h1 class='page-header text-center text-green'>Asset Models Form</h1>
    </div>
    <section class='content'>
    <div class='row'>
        <div class='col-md-12'>
            <?php 
Alert();
?>
    
            <div class='row'>
开发者ID:jpbalderas17,项目名称:ams,代码行数:31,代码来源:frm_asset_models.php

示例10: makeHead

<?php

require_once '../lib/libAuth.php';
require_once '../lib/libJoy.php';
makeHead('Joypeak - Där allting är gratis förutom maten ');
echo '<body';
if ($loggedIn) {
    echo ' class="loggedIn"';
}
echo '>';
?>
<script src="../lib/verifyScript.js" type="text/javascript" language="javascript"></script> 
<table>
<tr>
<td id="header">
<div id="head">
<h1>Joypeak</h1>
<div class="bottom"></div>
</div>
</td>
</tr>
<tr>
<td id="content">
<?php 
//makeMenu();    //Creates the main menu
?>
<div id="main">
<div id="content2">
<?php 
$email = mysql_real_escape_string($_GET["email"]);
$token = mysql_real_escape_string($_GET["token"]);
开发者ID:Rovanion,项目名称:Yaws,代码行数:31,代码来源:verification.php

示例11: makeHead

<?php

require_once 'support/config.php';
makeHead('Login');
?>
 <div class="container">
        <div class="row">
            <div class="col-md-4 col-md-offset-4">
            	
                <div class="login-panel panel panel-default">
                    <div class="panel-heading">
                        <h3 class="panel-title">Please Log In</h3>
                    </div>
                    <div class="panel-body">
                        <form role="form" method="post" action='logingin.php'>
                            <fieldset>
                                <div class="form-group">
                                    <input class="form-control" placeholder="E-mail" name="username" type="text" autofocus>
                                </div>
                                <div class="form-group">
                                    <input class="form-control" placeholder="Password" name="password" type="password" value="">
                                </div>
                                <!-- Change this to a button or input when using this as a form -->
                                <button type='submit' class="btn btn-lg btn-success btn-block">Login</a>
                            </fieldset>
                        </form>
                    </div>
                </div>
                <?php 
Alert();
?>
开发者ID:jpbalderas17,项目名称:dms,代码行数:31,代码来源:frmlogin.php

示例12: makeNavigation

    $navigation = makeNavigation($thisCatalogue->heading, $tocs, $facet);
    $content = makeHead($thisCatalogue, $navigation, $facet);
    $content .= makeList($structure, $thisCatalogue);
    $content .= $foot;
    $fileName = fileNameTrans($folderName . '/' . $thisCatalogue->heading) . '-' . $facet . '.html';
    $datei = fopen($fileName, "w");
    fwrite($datei, $content, 3000000);
    fclose($datei);
    $count++;
}
unset($structures);
// Erzeugen der Seite mit den Word Clouds
$navigation = makeNavigation($thisCatalogue->heading, $tocs, 'jqcloud');
$content = makeHead($thisCatalogue, $navigation, 'jqcloud');
$content .= makeCloudPageContent($data, $facets, $folderName);
$content .= $foot;
$fileName = fileNameTrans($folderName . '/' . $thisCatalogue->heading) . '-wordCloud.html';
$datei = fopen($fileName, "w");
fwrite($datei, $content, 3000000);
fclose($datei);
// Erzeugen der Seite mit den Doughnut Charts
$navigation = makeNavigation($thisCatalogue->heading, $tocs, 'doughnut');
$content = makeHead($thisCatalogue, $navigation, 'doughnut');
$content .= makeDoughnutPageContent($data, $facets, $folderName);
$content .= $foot;
$fileName = fileNameTrans($folderName . '/' . $thisCatalogue->heading) . '-doughnut.html';
$datei = fopen($fileName, "w");
fwrite($datei, $content, 3000000);
fclose($datei);
// Lösche die von storeBeacon erzeugte temporäre Datei
//unlink($folderName.'/beaconStore-'.$thisCatalogue->key);
开发者ID:selenus,项目名称:liddel-tool,代码行数:31,代码来源:saveProject.php

示例13: makeHead

            } else {
                echo "<html><head><title>Cambio password</title></head><body>";
                echo "La password pu� contenere solo numeri e lettere e deve essere di minimo 8 caratteri.";
            }
        } else {
            echo "<html><head><title>Cambio password</title></head><body>";
            echo "<center>Le password non coincidono.</center>";
        }
    }
}
if ($_GET['iscr']) {
    $act .= "passch.php?iscr=" . $_GET['iscr'];
} else {
    $act .= "passch.php";
}
makeHead("Cambio password");
?>
<h2><center>FIAB Torino Bici e Dintorni - area riservata - modifica password</center></h2>

<form method="post" action="<?php 
echo $act;
?>
">
	<table align="center" border="0">
	  
	  <tr>
		<td >Nuova Password [Obbligatorio]:</td>
		<td><input type="password" size="20" name="password" maxlength="20"></td>
	  </tr>
	  <tr>
		<td>Ripeti Nuova Password [Obbligatorio]:</td>
开发者ID:acomai,项目名称:Biciedintorni,代码行数:31,代码来源:passch.php

示例14: unset

            $niscri = $ciscr->record['niscr'];
        } else {
            echo "Errore vis_gita 'numero iscritti' iscr, query falsa.";
        }
    }
    $ciscr->close();
    unset($ciscr);
    ?>
<div id="tddata">Data: <?php 
    echo substr($db->record['dataeora'], 8, 2) . "/" . substr($db->record['dataeora'], 5, 2) . "/" . substr($db->record['dataeora'], 0, 4);
    if ($niscri > 0) {
        echo ", <a href=\"index.php?iscrid=" . $db->record['id'] . "\">Numero iscritti: {$niscri}</a>";
    }
    /*else 
    		echo ", Nessun iscritto a questa gita.";*/
    makeHead("Bici e Dintorni - " . $db->record['titolo'], "", "onload=\"init();\"");
    ?>
</div>

<div id="title" align="center"><?php 
    echo $db->record['titolo'];
    ?>
</div>
<div id="tdresp" align="center">Capogita: <?php 
    if ($db->record['email'] != '') {
        echo "<a href=\"mail.php?id=" . $db->record['resp'] . "\" title\"Invia email al capogita\">" . $db->record['nome'] . " " . $db->record['cognome'] . "</a>";
    } else {
        echo $db->record['nome'] . " " . $db->record['cognome'];
    }
    if ($db->record['tel1'] != '' && $db->record['cell'] != '') {
        $telcell = " Tel: " . $db->record['tel1'] . " / Cell: " . $db->record['cell'];
开发者ID:acomai,项目名称:Biciedintorni,代码行数:31,代码来源:visgita.php

示例15: makeHead

        die;
    }
}
// var_dump($_SESSION[WEBAPP]['frm_inputs']);
if (!empty($_SESSION[WEBAPP]['frm_inputs'])) {
    if (!empty($asset)) {
        $old_asset = $asset;
    }
    $asset = $_SESSION[WEBAPP]['frm_inputs'];
    if (!empty($old_asset)) {
        $asset['id'] = $old_asset['id'];
    }
}
// die;
$users = $con->myQuery("SELECT id,CONCAT(last_name,', ',first_name,' ',middle_name,' (',email,')') as display_name FROM users WHERE is_deleted=0")->fetchAll(PDO::FETCH_ASSOC);
makeHead("Consumables Checkout");
require_once "template/header.php";
require_once "template/sidebar.php";
?>
<div class='content-wrapper'>
    <div class='content-header'>
        <h1 class='page-header text-center text-green'>Consumable Checkout</h1>
    </div>
    <section class='content'>
        <div class="row">
                <div class='col-lg-12'>
                    <?php 
Alert();
?>
    
                    <div class='row'>
开发者ID:jpbalderas17,项目名称:ams,代码行数:31,代码来源:check_consumables.php


注:本文中的makeHead函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。