本文整理汇总了PHP中html_footer函数的典型用法代码示例。如果您正苦于以下问题:PHP html_footer函数的具体用法?PHP html_footer怎么用?PHP html_footer使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了html_footer函数的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的PHP代码示例。
示例1: printoutPreview
function printoutPreview () {
echo html_header($this->config);
echo $this->toStringPreview();
echo html_footer();
}
开发者ID:ratbird,项目名称:hope,代码行数:7,代码来源:ExternModuleNewsticker.class.php
示例2: view_result
function view_result($status = '')
{
global $somethingstaged, $enable_stats;
if ($status == '') {
$status = get_status();
}
debug($status);
if ($status['disable_commit'] !== true) {
$something_to_commit = $somethingstaged;
}
echo html_form_end($something_to_commit, $status['hash']);
echo html_footer();
}
开发者ID:markuspaks,项目名称:git-webcommit,代码行数:13,代码来源:git-webcommit.php
示例3: printoutPreview
function printoutPreview ($args) {
if ($this->config->getValue("Main", "wholesite"))
echo html_header($this->config);
require_once($GLOBALS["RELATIVE_PATH_EXTERN"]
. "/modules/views/ExternSemLectureTree.class.php");
$tree = new ExternSemLectureTree($this->config, $args["start_item_id"]);
$tree->showSemTree();
if ($this->config->getValue("Main", "wholesite"))
echo html_footer();
}
开发者ID:ratbird,项目名称:hope,代码行数:14,代码来源:ExternModuleSemlecturetree.class.php
示例4: cookie_check
function cookie_check()
{
global $cfg;
if (!isset($_SESSION['cookie_check'])) {
if (isset($_GET['cookie_check'])) {
html_header("Cookie Support Required");
echo "<p>Cookies are not supported by your browser. " . "Please enable cookies and <a href=\"" . selflink() . "\">try again</a>.</p>";
html_footer();
exit;
} else {
$_SESSION['cookie_check'] = 1;
redirect(selflink('cookie_check=1'));
}
}
}
开发者ID:reddragon,项目名称:Online-Grading-System,代码行数:15,代码来源:lib.php
示例5: view
function view($name = null, $set = array())
{
#- page title & view class set
global $title, $tbl;
$set->title = $title;
#- view file not exist error
if (empty($name)) {
return false;
}
#- View file
$view_file = VIEW_PATH . $name . '.phtml';
if (file_exists($view_file)) {
require_once $view_file;
#- html footer
echo "<br><br><br><br><br>\n";
html_footer();
return true;
}
error($view_file, 'ERS_Dev_Msg: File not found.');
return false;
}
开发者ID:lucen2k,项目名称:ers_dev,代码行数:21,代码来源:default.inc.php
示例6: page_html_footer
function page_html_footer()
{
html_footer();
return 1;
}
开发者ID:BackupTheBerlios,项目名称:odp-svn,代码行数:5,代码来源:debug.php
示例7: manage_display
//.........这里部分代码省略.........
$form->addElement('text', 'rules', 'Rules URL: ');
$form->addElement('submit', null, 'Submit');
// convert date format and store default values
$row['show_time'] = sql2form_datetime($row['show_time']);
$row['begin_time'] = sql2form_datetime($row['begin_time']);
$row['end_time'] = sql2form_datetime($row['end_time']);
$form->setDefaults($row);
$form->applyFilter('name', 'trim');
$form->applyFilter('description', 'trim');
$form->applyFilter('team_size', 'trim');
$form->addRule('name', 'Contest name is required.', 'required', null, 'client');
$form->addRule('team_size', 'Team size is required.', 'required', null, 'client');
// validate or display form
if ($form->validate()) {
$data = $form->getSubmitValues();
$data['show_time'] = form2sql_datetime($data['show_time']);
$data['begin_time'] = form2sql_datetime($data['begin_time']);
$data['end_time'] = form2sql_datetime($data['end_time']);
$db->autoExecute('contests', $data, DB_AUTOQUERY_UPDATE, 'contest_id=' . $_GET['id']);
if (PEAR::isError($res)) {
error($db->toString());
}
redirect('index.php?view=manage&id=' . $_GET['id']);
} else {
$form->display();
}
break;
case 'submissions':
// Re-use $row from above
if ($row['end_future'] != '1') {
// Contest has ended, show system test button
if ($row['tested'] != 1) {
?>
<p>Contest has ended.
<a class="button" href="index.php?view=manage&&task=test&updateratings=false&id=<?php
echo $_GET['id'];
?>
">Test and grade all submissions.</a>
<a class="button" href="index.php?view=manage&task=test&updateratings=true&id=<?php
echo $_GET['id'];
?>
">Update Ratings</a>
</p>
<?php
} else {
?>
<p>Contest has ended and system tests are over.
<a class="button" href="index.php?view=manage&task=test&id=<?php
echo $_GET['id'];
?>
">Re-run system tests.</a>
</p>
<?php
}
}
// Show table of all solutions in the contest
$table = new HTML_Table();
$res =& db_query('solutions_by_contest_id', $_GET['id']);
if (!$res->fetchInto($row)) {
// If no solutions in yet
?>
<p>Sorry, no solutions have been submitted yet.</p>
<?php
} else {
$table->addRow(array_keys($row), null, 'TH');
if ($row['score'] == '') {
$row['score'] = 'n/a';
}
if ($row['passed'] == '') {
$row['passed'] = 'n/a';
}
$table->addRow(array_values($row));
while ($res->fetchInto($row)) {
if ($row['score'] == '') {
$row['score'] = 'n/a';
}
if ($row['passed'] == '') {
$row['passed'] = 'n/a';
}
$table->addRow(array_values($row));
}
$table->altRowAttributes(1, null, array("class" => "altrow"));
echo '<div class="overflow">' . $table->toHtml() . '</div>';
}
break;
case 'test':
require_once 'tester.php';
ob_end_clean();
html_reset();
html_header(null, $cfg["dir"]["themes"] . '/' . $_SESSION["theme"] . '.css', $cfg["dir"]["themes"] . '/' . $_SESSION["theme"] . '-ie.css', null, "submit_frame");
$contest_id = $_GET['id'];
$update_ratings = $_GET['updateratings'];
session_write_close();
test_contest($update_ratings, $contest_id);
echo ' <a class="white" href="index.php?view=statistics&task=contest&id=' . $_GET['id'] . '">See the results.</a>';
html_footer();
exit;
}
}
开发者ID:reddragon,项目名称:Online-Grading-System,代码行数:101,代码来源:manage.php
示例8: function
source: function(query, callback) {
$.getJSON('<?php
echo get_uri('/rpc');
?>
', {type: "suggest", arg: query}, function(data) {
callback(data);
});
},
matcher: function(item) { return true; },
sorter: function(items) { return items; },
menu: '<ul class="pkgsearch-typeahead"></ul>',
items: 20,
updater: function(item) {
document.location = '/packages/' + item;
return item;
}
}).attr('autocomplete', 'off');
$('#pkgsearch-field').keydown(function(e) {
if (e.keyCode == 13) {
var selectedItem = $('ul.pkgsearch-typeahead li.active');
if (selectedItem.length == 0) {
$('#pkgsearch-form').submit();
}
}
});
});
</script>
<?php
html_footer(AURWEB_VERSION);
开发者ID:pyp22,项目名称:aurweb,代码行数:30,代码来源:home.php
示例9: html_header
<?php
require_once "common-url.php";
require_once "common-msg.php";
html_header("URL: Enlace a formulario descargable");
?>
Ingrese la URL del enlace al formulario descargable.
<br/><br/>
<?php
echo formularioURL("URL: Enlace a formulario descargable", "La URL del formulario descargable ha sido actualizada.", "formulario_descargable", "(Ej. http://www.probidadytransparencia.gob.cl/formulario/plantilla_2012/plantilla-formulario-2012.pdf )");
?>
<?php
echo html_footer();
开发者ID:e-gob,项目名称:GobiernoTransparente,代码行数:22,代码来源:formulario_descargable.php
示例10: new_message
function new_message($group, $group_filter, $start, $subject, $sender, $body)
{
global $PHP_SELF, $NNTPSPEC, $options;
$subject = htmlspecialchars($subject, ENT_QUOTES);
$sender = htmlspecialchars($sender, ENT_QUOTES);
$body = htmlspecialchars($body, ENT_QUOTES);
nntp_header("Post Message to {$group}", array("All Forums" => "forums.php?g{$options}", "Back to {$group}" => "forums.php?g{$group}+s{$start}{$options}"));
print "<h2>Post Message to {$group}</h2>";
print "<form action='{$PHP_SELF}?s{$start}+g{$group}+p0{$options}' method='POST'>\n";
print "<center><table width='100%' border='0' cellpadding='5' cellspacing='0'>\n";
print "<tr><th align='right' valign='top'>Subject:</th>" . "<td><input type='text' name='SUBJECT' value='{$subject}' size='40'/></td></tr>\n";
print "<tr><th align='right' valign='top'>From:</th>" . "<td><input type='text' name='FROM' value='{$sender}' size='40'/></td></tr>\n";
print "<tr><th align='right' valign='top'>Body:</th>" . "<td><textarea name='BODY' cols='72' rows='24'>{$body}</textarea></td></tr>\n";
print "<tr><th></th>" . "<td><input type='submit' value='Post Message'/></td></tr>\n";
print "</table></center>\n";
print "</form>\n";
html_footer();
}
开发者ID:jokepinocchio,项目名称:MiniXML,代码行数:18,代码来源:forums.php
示例11: makeHtaccess
function makeHtaccess()
{
global $scriptPath, $baseURL;
if (is_file($scriptPath . ".htaccess")) {
return;
}
$htaccess = <<<EOF
Options +FollowSymLinks
Options +Indexes
RewriteEngine On
RewriteRule ^bbclone/.*\$ - [PT]
RewriteRule ^([^_]+)_player/(.*)\$ index.php?command=\$1_player&dir=\$2 [NC,L]
RewriteRule ^rss/(.*)\$ index.php?command=rss&dir=\$1 [NC,L]
RewriteRule ^slide/(.*)\$ index.php?command=slide&dir=\$1 [NC,L]
RewriteRule ^thumbs/(.*)\$ index.php?command=thumbs&dir=\$1 [NC,L]
RewriteRule ^captions/(.*)\$ index.php?command=captions&dir=\$1 [NC,L]
RewriteRule ^(.*)/\$ index.php?command=gallery&dir=\$1
RewriteRule ^\$ index.php?command=gallery&dir=
EOF;
if (!is_writable($scriptPath)) {
$who = exec('whoami');
html_header("Permissions Error");
echo "{$scriptPath} is not writable by {$who}. Can not create required .htaccess file.";
html_footer();
exit;
}
@file_put_contents($scriptPath . ".htaccess", $htaccess);
header("Location: {$baseURL}");
exit("Unknown Error. Please press refresh.");
}
开发者ID:jedediahfrey,项目名称:KISS-PHP-Gallery,代码行数:30,代码来源:index.php
示例12: printoutPreview
function printoutPreview () {
echo html_header($this->config);
if (!$language = $this->config->getValue("Main", "language"))
$language = "de_DE";
init_i18n($language);
echo $this->toStringPreview();
echo html_footer();
}
开发者ID:ratbird,项目名称:hope,代码行数:11,代码来源:ExternModuleDownload.class.php
示例13: html_header
* ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
// XXX This will clear the weather data cache. Need to add some sort of admin
// interface.
// apc_clear_cache("user");
print html_header();
$GLOBALS["weather"] = new geoipweather();
$weather->init();
print html_form();
print html_conditions();
print html_forecast();
print html_ad_weathercom();
print html_footer();
function html_ad_weathercom()
{
$buf .= '<div style="clear:both">';
if (!$GLOBALS["weather"]->conditions) {
return $buf;
}
$buf .= '<p><br><h3>Weather data provided by:</h3>' . '<a href="http://www.weather.com/?par=xoap&site=wx_logo' . '&cm_ven=bd_oap&cm_cat=' . $GLOBALS["config"]["partnerid"] . '&cm_pla=HomePage&cm_ite=Logo">' . '<img src="/img/logos/TWClogo_61px.png" alt="weather.com">' . '</a><br><br>';
foreach ($GLOBALS["weather"]->conditions->lnks->link as $link) {
$buf .= '<a href="' . str_replace("&", "&", $link->l) . '">' . $link->t . "</a> ";
}
$buf .= "<br>\n";
return $buf;
}
function html_conditions()
{
开发者ID:BackupTheBerlios,项目名称:osmdatamanager-svn,代码行数:31,代码来源:index.php
示例14: mysql_fetch_assoc
$row = mysql_fetch_assoc($result);
# don't need to check if they have permissions, this is a
# normal user editing themselves.
#
print __("Use this form to update your account.");
print "<br />";
print __("Leave the password fields blank to keep your same password.");
display_account_form($atype, "UpdateAccount", $row["Username"], $row["AccountType"], $row["Suspended"], $row["Email"], "", "", $row["RealName"], $row["LangPreference"], $row["IRCNick"], $row["NewPkgNotify"], $row["ID"]);
}
}
}
} else {
# visitor is not logged in
#
if ($_REQUEST["Action"] == "AccountInfo") {
print __("You must log in to view user information.");
} elseif ($_REQUEST["Action"] == "NewAccount") {
# process the form input for creating a new account
#
process_account_form("", "new", "NewAccount", $_REQUEST["U"], 1, 0, $_REQUEST["E"], $_REQUEST["P"], $_REQUEST["C"], $_REQUEST["R"], $_REQUEST["L"], $_REQUEST["I"], $_REQUEST["N"]);
} else {
# display the account request form
#
print __("Use this form to create an account.");
display_account_form("", "NewAccount");
}
}
echo " </div>";
echo "</div>";
html_footer(AUR_VERSION);
开发者ID:Zariel,项目名称:arch-aur,代码行数:30,代码来源:account.php
示例15: upgrade_complete
/**
* Step 2 of upgrade - shows completion.
*/
function upgrade_complete()
{
global $lang;
echo html_header();
// Step title
echo "<h2>" . $lang['upgrade_step2'] . "</h2>\n";
// Step content
echo "<div class='install_content'>" . $lang['upgrade_step2_details'] . "</div>\n";
// Next button
echo "<div class='next'><a href='" . BASEURL . "'>" . $lang['upgrade_home'] . "</a></div>\n";
echo html_footer();
}
开发者ID:shibuya246,项目名称:Hotaru-Plugins,代码行数:15,代码来源:upgrade.php
示例16: db_query
$result = db_query("SELECT * FROM article WHERE is_published = 1 "
."ORDER BY modify_date DESC LIMIT 3");
$count = db_count($result);
while ($row = db_next($result))
{
$id = $row['id'];
$title = htmlspecialchars($row['title']);
$abstract = htmlspecialchars($row['abstract']);
$date = date("H:i M d, Y", $row['modify_date']);
$count = count_comments("articles.php_L$id");
if ($count == 1)
$count .= " comment";
else
$count .= " comments";
print("<p><a href='articles.php?L$id'>$title</a> - $abstract<br>\n"
."<span class='dateinfo'>$date, $count</span></p>\n");
}
db_free($result);
?>
</td></tr>
</table>
<? html_footer(); ?>
开发者ID:jokepinocchio,项目名称:MiniXML,代码行数:29,代码来源:index.php
示例17: installation_complete
/**
* Step 5 of installation - shows completion.
*/
function installation_complete()
{
global $lang;
echo html_header();
// Step title
echo "<h2>" . $lang['install_step5'] . "</h2>\n";
// Step content
echo "<div class='install_content'>" . $lang['install_step5_installation_complete'] . "</div>\n";
echo "<div class='install_content'>" . $lang['install_step5_installation_delete'] . "</div>\n";
echo "<div class='install_content'>" . $lang['install_step5_installation_go_play'] . "</div>\n";
// Previous/Next buttons
echo "<div class='back'><a href='install.php?step=4'>" . $lang['install_back'] . "</a></div>\n";
echo "<div class='next'><a href='" . BASEURL . "'>" . $lang['install_home'] . "</a></div>\n";
echo html_footer();
}
开发者ID:shibuya246,项目名称:Hotaru-Plugins,代码行数:18,代码来源:install.php
示例18: step10
//.........这里部分代码省略.........
echo '<pre>#: chmod 0444 ' . $final_path . 'dbconfig.php</pre>';
echo '<br />';
}
if (($badsecurity & 0x4) != 0) {
// DBConfig does NOT exist!
echo '<div class="error">ERROR!</div>';
echo '<p>The database configuration file doesn't exist!</p>';
echo '<br />';
echo 'Please restart the installation<br />';
echo '<br />';
}
if (($badsecurity & 0x200) != 0) {
// main Config path NOT Readable
echo '<div class="error">ERROR!</div>';
echo '<p>The main configuration file is not readable, as the main ' . S9YCONF_PROGRAM_NAME . ' directory can not be read !</p>';
echo '<p>Please make it readable by the webserver.</p>';
echo 'You may be able to do this using:<br />';
echo '<pre>#: chmod 0555 ' . realpath('../') . '</pre>';
echo '<br />';
}
if (($badsecurity & 0x400) != 0) {
// main Config path writeable
echo '<div class="warning">Warning</div>';
echo '<p>The ' . S9YCONF_PROGRAM_NAME . ' directory is writeable !</p>';
echo '<p>Please make it readable but NOT writeable by the webserver.</p>';
echo 'You may be able to do this using:<br />';
echo '<pre>#: chmod 0555 ' . realpath('../') . '</pre>';
echo '<br />';
}
if (($badsecurity & 0x40) != 0) {
// DBConfig path NOT Readable
echo '<div class="error">ERROR!</div>';
echo '<p>The database configuration file is not readable, as the main ' . $final_path . ' directory can not be read !</p>';
echo '<p>Please make it readable by the webserver.</p>';
echo 'You may do this using:<br />';
echo '<pre>#: be able to chmod 0555 ' . $final_path . '</pre>';
echo '<br />';
}
if (($badsecurity & 0x80) != 0) {
// DBConfig path writeable
echo '<div class="warning">Warning</div>';
echo '<p>The database configuration directory is writeable !</p>';
echo '<p>Please make it readable but NOT writeable by the webserver.</p>';
echo 'You may do this using:<br />';
echo '<pre>#: be able to chmod 0555 ' . $final_path . '</pre>';
echo '<br />';
}
if (($badsecurity & 0x100) != 0) {
// DBConfig path does NOT exist!
echo '<div class="error">ERROR!</div>';
echo '<p>The ' . $final_path . ' directory doesn't exist !</p>';
echo '<br />';
echo 'Please restart the installation<br />';
echo '<br />';
}
echo '<button name="action" value="step10" type="submit">Re-Check</button>';
} else {
echo '<div class="ok">Excellent</div>';
echo '<p>File and directory permissions have been set at acceptable levels.</p>';
echo '<p>You should new delete this install directory to prevent your configuration or database tables being overwritten accidentally.</p>';
echo '<br />';
}
echo ' ';
echo '<button name="action" value="step8" type="submit">Back</button></p>';
if ($continue) {
echo ' ';
html_link('../index.php', $text = 'Start using S9Y_Conf', $status = 'Start using S9Y_Conf', $target = '');
}
if (isset($dbcfg_type)) {
echo '<input type="hidden" name="dbcfg_type" value="' . $dbcfg_type . '" />';
}
if (isset($dbcfg_host)) {
echo '<input type="hidden" name="dbcfg_host" value="' . $dbcfg_host . '" />';
}
if (isset($dbcfg_name)) {
echo '<input type="hidden" name="dbcfg_name" value="' . $dbcfg_name . '" />';
}
if (isset($dbcfg_user)) {
echo '<input type="hidden" name="dbcfg_user" value="' . $dbcfg_user . '" />';
}
if (isset($dbcfg_password)) {
echo '<input type="hidden" name="dbcfg_password" value="' . $dbcfg_password . '" />';
}
if (isset($dbcfg_prefix)) {
echo '<input type="hidden" name="dbcfg_prefix" value="' . $dbcfg_prefix . '" />';
}
if (isset($dbcfg_port)) {
echo '<input type="hidden" name="dbcfg_port" value="' . $dbcfg_port . '" />';
}
if (isset($dbcfg_persistent)) {
echo '<input type="hidden" name="dbcfg_persistent" value="' . $dbcfg_persistent . '" />';
}
if (isset($dbcfg_path)) {
echo '<input type="hidden" name="dbcfg_path" value="' . $dbcfg_path . '" />';
}
?>
</form></p>
<?php
html_footer();
}
开发者ID:sqall01,项目名称:additional_plugins,代码行数:101,代码来源:index.php
示例19: arrayPagina
$(document).ready(function () {
$('tbody tr').quicksearch({
stripeRowClass: ['odd', 'even'],
position: 'before',
attached: 'table',
labelText: 'Buscar en esta página: ',
delay: 50
});
});
</script>
<?php
$csv = arrayPagina($_SESSION['data']['horasextraordinarias'][$nombre_archivo], 0);
echo acentosHTML(ArrayToTable($csv, 7, -1));
?>
<br/>
<br/>
<?php
echo html_volver("javascript:history.back()");
html_footer("codigo" . trim(alfanum($_SESSION['sigla'])) . " remuneraciones " . date('Y-m-d'));
开发者ID:e-gob,项目名称:GobiernoTransparente,代码行数:30,代码来源:horasextraordinarias-c.php
示例20: html_page_bottom1a
function html_page_bottom1a($p_file = null)
{
if (null === $p_file) {
$p_file = basename($_SERVER['PHP_SELF']);
}
html_bottom_banner();
html_footer($p_file);
html_body_end();
html_end();
}
开发者ID:amjadtbssm,项目名称:website,代码行数:10,代码来源:html_api.php
注:本文中的html_footer函数示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论