本文整理汇总了PHP中footer函数的典型用法代码示例。如果您正苦于以下问题:PHP footer函数的具体用法?PHP footer怎么用?PHP footer使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了footer函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: sidebarEnd
function sidebarEnd()
{
?>
</div>
</div>
</section>
<?php
footer('');
}
示例2: ugig_err
function ugig_err($err_code)
{
echo "<h1>Error</h1>";
echo "<br><br><br>";
switch ($err_code) {
default:
echo " ";
break;
}
echo "<br><br><a href=\"./\">Click Here, and start over</a>";
footer();
die;
}
示例3: createPage
function createPage($path, $menu = null)
{
ob_start();
chdir(dirname($path));
include $path;
$content = ob_get_contents();
ob_end_clean();
page_create(strtok($content, "\n"), $menu);
ob_start();
footer();
$footer = ob_get_contents();
ob_end_clean();
$content = substr($content, strpos($content, "\n") + 1);
echo <<<EOF
<div id="content">
\t{$content}
</div>
<div id="footer">
\t{$footer}
</div>
</body>
</html>
EOF;
}
示例4: fontCursive
echo fontCursive($layout->text6_cursive);
?>
</td>
<td><?php
echo fontBold($layout->text7_bold);
?>
<?php
echo fontCursive($layout->text7_cursive);
?>
</td>
<td><a href="?actie=wijzigen&id=<?php
echo $layout->id;
?>
" <i class="fa fa-pencil" title="Wijzigen"></i></a></td>
<td><a href="?actie=verwijderen&id=<?php
echo $layout->id;
?>
" <i class="fa fa-times color-dark-red" title="Verwijderen"></i></a></td>
</tr>
</tbody>
<?php
}
echo '</table>';
}
}
echo '</div>
</div>
</section>';
}
footer('');
示例5: htmlPage
function htmlPage($title, $content)
{
echo "<!DOCTYPE html>\n<html>\n<head>\n\t<title>{$title}</title>\n\t<style>\n";
echo styling();
echo "</style>\n\t<script type=\"text/javascript\" src=\"https://www.google.com/jsapi\"></script>\n</head>\n<body>\n";
echo $content;
echo footer();
echo "</body>\n</html>\n";
}
示例6: basename
if (!empty($_SESSION['freecap_word_hash']) and !empty($_POST['word'])) {
if (sha1(strtolower($_POST['word'])) == $_SESSION['freecap_word_hash']) {
$_SESSION['freecap_word_hash'] = false;
$word_ok = "yes";
} else {
$word_ok = "no";
}
} else {
$word_ok = FALSE;
}
echo '<form id="preferences-captcha" action="' . basename($_SERVER['PHP_SELF']) . '?test_captcha" method="post" class="bordered-formbloc" >' . "\n";
echo '<div role="group" class="pref">';
echo '<div class="form-legend">' . legend('Captcha', 'legend-config') . '</div>' . "\n";
echo '<p>';
if ($word_ok !== FALSE) {
if ($word_ok == "yes") {
echo '<b style="color: green;">you got the word correct, rock on.</b>';
} else {
echo '<b style="color: red;">sorry, that\'s not the right word, try again.</b>';
}
}
echo '</p>';
echo '<p><img src="../inc/freecap/freecap.php" id="freecap" alt="freecap"/></p>' . "\n";
echo '<p>If you can\'t read the word, <a href="#" onclick="new_freecap();return false;">click here to change image</a></p>' . "\n";
echo '<p>word above : <input type="text" class="text" name="word" /></p>' . "\n";
echo '<input class="submit blue-square" type="submit" name="valider" value="' . $GLOBALS['lang']['envoyer'] . '" />' . "\n";
echo '</div>';
echo '</form>' . "\n";
}
footer('', $begin);
示例7: footer
</div>
<div class="form‐group">
<label for="txtMarca">Marca</label>
<input type="text" <?php
echo 'value="' . $modificar->marca . '"';
?>
class="form-control" id="txtMarca" name="txtMarca1" placeholder="Marca" required autofocus>
</div>
<input type="submit" value="Acutalizar" name="btnUpdVehi" class="btn btn-primary btn-block">
<input type="reset" value="Cancelar" class="btn btn-default btn-block">
</form>
</div>
</div>
<?php
footer('
$("#addVehi").click(function(){
$("#addForm").css("display","block");
$("#delForm").css("display","none");
$("#updForm").css("display","none");
});
$("#delVehi").click(function(){
$("#addForm").css("display","none");
$("#delForm").css("display","block");
$("#updForm").css("display","none");
});
$("#updVehi").click(function(){
$("#addForm").css("display","none");
$("#delForm").css("display","none");
$("#updForm").css("display","block");
});
');
示例8: footer
<table border="1" width="625px" style="text-align: center">
<tr>
<td colspan="2"><b>Enter your Email address:</b></td>
</tr>
<tr>
<td align="right">Email Address: </td>
<td align="left"><input type="text" name="email" size="40"></td>
</tr>
<?php
if ($message != '') {
?>
<tr>
<td colspan="2" align="center"><font color=red><b><?php
print $message;
?>
</b></font></td>
</tr>
<?php
}
?>
<tr>
<td colspan="2" align="center"><input type="submit" name="reset" value="Reset Password"></td>
</tr>
</table>
</center>
</form>
<?php
footer("Return to Login", "login.php");
?>
</body>
</html>
示例9: footer
echo $date;
?>
<?php
echo $caption;
?>
</h3>
<hr />
<?php
echo $text;
?>
<hr />
<p class="c">
<a href="./public.php">[на главную страницу прессы]</a>
</p>
<?php
}
//окончание обработчки параметров
}
//конец обработки $error
?>
</div>
<div class="cleaner">
</div>
</div>
</div>
<?php
footer('tournament');
?>
</body>
</html>
示例10: dateLinks
$class2 = "OsRow3";
$rownum = 0;
} else {
$class1 = "OsRow2";
$class2 = "OsRow4";
$rownum = 1;
}
// Now display the data
echo " <tr id=" . $class1 . ">\n";
echo " <td id=" . $class2 . ">" . $callrow . "</td>\n";
// Call
echo " <td id=" . $class2 . " align=\"right\">" . $myrow[1] . "</td>\n";
// Total
echo " <td id=" . $class2 . ">" . $myrow[2] . "</td>\n";
// Comments
echo " </tr>\n";
}
echo "</table>\n";
echo "<P>\n";
dateLinks($period, "sar", $db);
echo "</center>\n";
?>
</div>
<?php
sectLeaders($db);
footer($starttime, $maxdate, "\$Revision: 1.14 \$ - \$Date: 2007/08/31 19:15:05 \$");
?>
</div>
</body>
</html>
示例11: Promptmsg
function Promptmsg($msg, $tostep = null, $fromstep = null, $lastid = null)
{
@extract($GLOBALS, EXTR_SKIP);
require R_P . 'lang/install_lang.php';
$lang['showmsg'] = $lang['showmsg_upto'];
$lang['welcome_msg'] = $lang['welcome_msgupto'];
if (empty($tostep)) {
$url = 'javascript:history.go(-1);';
$lang['last'] = $lang['back'];
} else {
$url = "window.location.replace('{$basename}?step={$tostep}');";
$lang['last'] = $lang['redirect'];
}
$lang[$msg] && ($msg = $lang[$msg]);
if (!empty($fromstep) && $times == $record && empty($lastid)) {
list($stepnum, $steptype) = explode('_', $start);
$end = (int) $stepnum + $record;
strlen($steptype) && ($end .= "_{$steptype}");
$url = "window.location.replace('{$basename}?step={$fromstep}&start={$end}');";
} elseif (!empty($fromstep) && $times == $record && $lastid) {
list($stepnum, $steptype) = explode('_', $start);
$end = (int) $lastid;
strlen($steptype) && ($end .= "_{$steptype}");
$url = "window.location.replace('{$basename}?step={$fromstep}&start={$end}');";
}
if ($limit < $max) {
$url = "window.location.replace('{$basename}?step={$fromstep}&start={$limit}');";
}
$msg = preg_replace("/{#(.+?)}/eis", '$\\1', $msg);
require R_P . 'lang/promptmsg.htm';
footer();
}
示例12: footer
<button class="btn btn-default" type="button"><i class="fa fa-clock-o"></i></button>
</span>
</div>
</div>
</div>
-->
</div>
<div id="emp_place_here">
</div>
</div>
</form>
<?php
}
?>
</div>
</div>
</div>
</div>
<?php footer(); js();?>
</body>
<!-- END BODY -->
</html>
示例13: Promptmsg
function Promptmsg($msg, $toaction = null, $jump = false)
{
@extract($GLOBALS, EXTR_SKIP);
$lang[$msg] && ($msg = $lang[$msg]);
$msg = preg_replace("/{#(.+?)}/eis", '$\\1', $msg);
$url = $backurl = 'javascript:history.go(-1);';
if (!$toaction) {
$lang['last'] = $lang['back'];
@unlink("log{$step}.txt");
} else {
$url = "document.getElementById('install').submit();";
}
ob_start();
require_once R_P . 'lang/header.htm';
require R_P . 'lang/promptmsg.htm';
footer();
}
示例14: footer
</li>
</ul>
<a href="../" class="btn btn-l"><i class="fa fa-arrow-circle-o-left"></i> Back to Home</a>
</div>
</div> <!-- end signupWrapper -->
</div> <!-- end participantSignup -->
</div>
</section>
<!-- Footer -->
<?php
include "../includes/footer.php";
footer(true);
?>
<!-- Javascript -->
<?php
include "../includes/js.php";
js(true);
?>
</body>
</html>
示例15: floraFilterUrl
echo floraFilterUrl(["page" => $page - 1]);
?>
" title="Vorige pagina" onClick="dynamicLink(this);" class="pull-left<?php
echo $page > 1 ? '' : ' disabled';
?>
"><i class="fa fa-chevron-left"></i> Vorige pagina</a>
<a href="<?php
echo floraFilterUrl(["page" => $page + 1]);
?>
" title="Volgende pagina" onClick="dynamicLink(this);" class="pull-right<?php
echo $page < $pages ? '' : ' disabled';
?>
">Volgende pagina <i class="fa fa-chevron-right"></i></a>
<div class="text-center">Pagina <?php
echo $page;
?>
van de <?php
echo $pages;
?>
pagina's</div>
</div>
</div>
<?php
}
?>
</div>
</div>
</section>
<?php
footer('<script src="/js/flora-database.js"></script>');