本文整理汇总了PHP中end_content函数的典型用法代码示例。如果您正苦于以下问题:PHP end_content函数的具体用法?PHP end_content怎么用?PHP end_content使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了end_content函数的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: imo_bottom
function imo_bottom()
{
end_content();
footer();
close_body();
}
示例2: Copyright
######################################################################
# SourceAgency:
# ================================================
#
# Copyright (c) 2001-2003 by
# Gregorio Robles (grex@scouts-es.org)
#
# BerliOS SourceAgency: http://sourceagency.berlios.de
# BerliOS - The OpenSource Mediator: http://www.berlios.de
#
# This is the index file which shows the recent apps
#
# This program is free software. You can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 or later of the GPL.
######################################################################
require "include/prepend.php3";
page_open(array("sess" => "SourceAgency_Session"));
if (isset($auth) && !empty($auth->auth["perm"])) {
page_close();
page_open(array("sess" => "SourceAgency_Session", "auth" => "SourceAgency_Auth", "perm" => "SourceAgency_Perm"));
}
require "include/header.inc";
require "include/personallib.inc";
$bx = new box("100%", $th_box_frame_color, $th_box_frame_width, $th_box_title_bgcolor, $th_box_title_font_color, $th_box_title_align, $th_box_body_bgcolor, $th_box_body_font_color, $th_box_body_align);
start_content();
$page = "personal_ratings";
personal_comments_long($auth->auth["uname"]);
end_content();
require "include/footer.inc";
page_close();
示例3: pintar_intranet
function pintar_intranet()
{
start_content();
end_content();
start_sidebar();
echo "<ul><li>";
echo "<h2>Usuari: " . id_usuari() . "</h2>";
if (es_administrador()) {
?>
<h2><strong>Administració</strong></h2>
<ul>
<li><a href="index.php?operacio=llistar_usuaris">Gestió usuaris </a></li>
<?php
} else {
if (es_moderador()) {
?>
Aqui el menu de moderador
<?php
}
}
?>
<li> </li>
<li><strong>Opcions d'usuari</strong></li>
<?php
echo '<li><a href="index.php?operacio=form_modificar_perfil&nick=' . id_usuari() . '">Modificar perfil</a></li>
<li><a href="index.php?operacio=logout">Desconnectar</a></li></ul>
</li></ul>';
end_sidebar();
}