本文整理汇总了PHP中_footer函数的典型用法代码示例。如果您正苦于以下问题:PHP _footer函数的具体用法?PHP _footer怎么用?PHP _footer使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了_footer函数的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: _footer
<h2>Overview</h2>
<ul>
<li>Total: <?php
echo $totalComputers[0];
?>
PC</li>
<li>Offline: <font color="red"><?php
echo $offlineComputers[0];
?>
</font> PC</li>
</ul>
<?php
if ($_SESSION['loggedinUserPerms'] & EDIT_ZONES) {
?>
<h2>Add a new Zone</h2>
<div>
<form action="zone-add.php" method="POST" enctype="multipart/form-data">
<input name="newZoneName" id="newZoneName" value="Name"/>
<input name="newZoneImg" id="newZoneImg" type="file" />
<input type="Submit" />
</form>
</div>
<?php
}
?>
</div>
<?php
//$compNamesArray = getCompNamesId($dbTrackHandler);
//print_r($compNamesArray);
echo _footer();
示例2: if
\t\t\t\t\t\tif(document.documentElement){//IE 6+ strict mode
\t\t\t\t\t\t\tposx=e.clientX;//+document.documentElement.scrollLeft;
\t\t\t\t\t\t\tposy=e.clientY;//+document.documentElement.scrollTop;
\t\t\t\t\t\t}
\t\t\t\t\t\telse if(document.body){//Other IE
\t\t\t\t\t\t\tposx=e.clientX;//+document.body.scrollLeft;
\t\t\t\t\t\t\tposy=e.clientY;//+document.body.scrollTop;
\t\t\t\t\t\t}
\t\t\t\t\t}
\t\t\t\t\t
\t\t\t\t\telse{return false}//old browsers
\t\t\t\t\trelativeX = posx - findPos(updaterRegion)[0];
\t\t\t\t\trelativeY = posy - findPos(updaterRegion)[1];
\t\t\t\t\tupdaterRegion.style.backgroundPosition = (relativeX - {$iconOffsetX}) + "px " + (relativeY - {$iconOffsetY}) + "px";
\t\t\t\t}
\t\t\t}
\t\t\tfunction confirmMouse(e) {
\t\t\t\tgetMouse(e);
\t\t\t\tisConfirmed = !isConfirmed;
\t\t\t\tdocument.getElementById('x').value = relativeX;
\t\t\t\tdocument.getElementById('y').value = relativeY;
\t\t\t}
\t\t\t
\t\t</script>
\t\t
</div>
DIVMAP;
echo _footer($embedded);
示例3: logincheck
<?php
require_once 'inc.config.php';
logincheck();
if (isset($_POST['journal'])) {
db_update('planets', array('journal' => trim($_POST['journal'])), 'id = ' . PLANET_ID);
Go();
}
_header();
?>
<div class="header">Personal Journal</div>
<br />
<form method="post" action="">
<textarea name="journal" rows="20" style="width:100%;"><?php
echo htmlspecialchars($g_arrUser['journal']);
?>
</textarea><br />
<br />
<input type="submit" value="SAVE" style="width:40%">
</form>
<br />
<?php
_footer();
示例4: die
<?php
require_once 'config.php';
if (!WS_ACCESS) {
die(_header() . _noauth() . _footer());
}
$html = _header();
$html .= _menu();
$html .= _global_index();
switch ($_GET['p']) {
case 'zayav':
switch (@$_GET['d']) {
case 'info':
$html .= zayav_info();
break;
default:
$html .= zayav(_hashFilter('zayav'));
}
break;
}
$html .= _footer();
die($html);