本文整理匯總了PHP中pageBody函數的典型用法代碼示例。如果您正苦於以下問題:PHP pageBody函數的具體用法?PHP pageBody怎麽用?PHP pageBody使用的例子?那麽, 這裏精選的函數代碼示例或許可以為您提供幫助。
在下文中一共展示了pageBody函數的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: pageHeader
*
* License: http://www.mollify.org/license.php
*/
include "install/installation_page.php";
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<?php
pageHeader("Mollify Installation", "init");
?>
<body id="page-database">
<?php
pageBody("Installation", "1/2 Database Information");
?>
<div class="content">
<p>
Mollify will be installed in following database:
<ul>
<li><b>Host name:</b> <code><?php
echo $installer->db()->host();
?>
</code></li>
<li><b>Database name:</b> <code><?php
echo $installer->db()->database();
?>
</code></li>
<li><b>User:</b> <code><?php
示例2: pageHeader
* Released under GPL License.
*
* License: http://www.kloudspeaker.com/license.php
*/
include "install/installation_page.php";
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<?php
pageHeader("Kloudspeaker Installation");
?>
<?php
pageBody();
?>
<?php
if ($installer->isCurrentVersionInstalled()) {
?>
<p>
Kloudspeaker is already installed.
</p>
<?php
} else {
?>
<p>
Kloudspeaker is already installed, but needs updating.
</p>
<p>
示例3: get_order_details
if ($isauth) {
$body = get_order_details($_GET['id']);
} else {
$body = pageBody(1);
}
$finish = true;
}
if ($_GET['mode'] == 'allord') {
$mode = 0;
}
if ($_GET['mode'] == 'sql') {
$finish = true;
$body = get_sql_form();
}
if ($_GET['mode'] == 'social') {
$finish = true;
$body = get_social_users();
}
if ($_GET['mode'] == 'links') {
$finish = true;
$body = get_sape_links();
}
if (!$finish) {
$body = pageBody($mode);
}
} else {
if (!$finish) {
$body = pageBody(1);
}
}
echo pageHeader() . $body . pageFooter();
示例4: pageHeader
* Released under GPL License.
*
* License: http://www.kloudspeaker.com/license.php
*/
include "install/installation_page.php";
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<?php
pageHeader("Kloudspeaker Installation");
?>
<?php
pageBody("PDO Database Configuration");
?>
<?php
if ($installer->action() === 'continue' and !$installer->hasError()) {
?>
<p>
<div class="bs-callout bs-callout-danger">
<h4>No database configuration found.</h4>
<p>PDO database configuration is missing or it is not complete. Make sure that the configuration is done according to the instructions below. At minimum, database user and password must be defined.</p>
</div>
</p>
<?php
}
?>
示例5: pageHeader
* Copyright 2015- Samuli Järvelä
* Released under GPL License.
*
* License: http://www.kloudspeaker.com/license.php
*/
include "install/installation_page.php";
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<?php
pageHeader("Kloudspeaker Update", "init");
?>
<?php
pageBody("Database Update");
?>
<p>
<?php
echo $installer->updateSummary();
?>
</p>
<p>
Click "Update" to start update.
</p>
<p>
<a id="button-update" href="#" class="btn btn-success">Update</a>
</p>
<?php
示例6: version
<?php
/**
* page_current_installed.php
*
* Copyright 2015- Samuli Järvelä
* Released under GPL License.
*
* License: http://www.kloudspeaker.com/license.php
*/
include "install/installation_page.php";
function version($ver)
{
return str_replace("_", ".", $ver);
}
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<?php
pageHeader("Kloudspeaker Update");
?>
<?php
pageBody("Update");
?>
<h4>No update is required.</h4>
<?php
pageFooter();
?>
</html>
示例7: pageHeader
*
* License: http://www.mollify.org/license.php
*/
include "install/installation_page.php";
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<?php
pageHeader("Mollify Installation", "init");
?>
<body id="page-mysql-configuration">
<?php
pageBody("Installation", "MySQL Database Configuration");
?>
<?php
if ($installer->action() === 'continue' and !$installer->hasError()) {
?>
<div class="error">
<div class="title">
No database configuration found.
</div>
<div class="details">
MySQL database configuration is missing or it is not complete. Make sure that the configuration is done according to the instructions below. At minimum, database user and password must be defined.
</div>
</div>
<?php
}
?>
示例8: pageHeader
*
* License: http://www.mollify.org/license.php
*/
include "installation_page.php";
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<?php
pageHeader("Mollify Installation", "init");
?>
<body id="install-instructions-create">
<?php
pageBody("Installation", "Welcome to Mollify Installer");
?>
<?php
if ($installer->action() == 'retry') {
?>
<div class="error">
<div class="title">
Configuration file cannot be found.
</div>
<div class="details">
Make sure that the file "<code>configuration.php</code>"
<ul>
<li>is located in the Mollify backend folder</li>
<li>is accessible to PHP</li>
示例9: pageHeader
* Released under GPL License.
*
* License: http://www.kloudspeaker.com/license.php
*/
include "install/installation_page.php";
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<?php
pageHeader("Kloudspeaker Installation");
?>
<?php
pageBody("MySQL Database Configuration");
?>
<?php
if ($installer->action() === 'continue' and !$installer->hasError()) {
?>
<p>
<div class="bs-callout bs-callout-danger">
<h4>No database configuration found.</h4>
<p>MySQL database configuration is missing or it is not complete. Make sure that the configuration is done according to the instructions below. At minimum, database user and password must be defined.</p>
</div>
</p>
<?php
}
?>
示例10: pageHeader
* Released under GPL License.
*
* License: http://www.kloudspeaker.com/license.php
*/
include "installation_page.php";
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<?php
pageHeader("Kloudspeaker Installation", "init");
?>
<?php
pageBody("Welcome to Kloudspeaker installation");
?>
<?php
if ($installer->action() == 'retry') {
?>
<p>
<div class="bs-callout bs-callout-danger">
<h4>Configuration file cannot be found.</h4>
<p>
Make sure that the file "<code>configuration.php</code>"
<ul>
<li>is located in the Kloudspeaker <code>backend</code> folder</li>
<li>is accessible to PHP</li>
</ul>
</p>
示例11: pageHeader
<?php
/**
* page_install_error.php
*
* Copyright 2008- Samuli Järvelä
* Released under GPL License.
*
* License: http://www.mollify.org/license.php
*/
include "install/installation_page.php";
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<?php
pageHeader("Mollify Installation");
?>
<body id="page-mysql-install-error">
<?php
pageBody("Installation", "Error");
?>
<?php
pageFooter();
?>
</body>
</html>
示例12: pageHeader
<?php
/**
* Copyright (c) 2008- Samuli JŠrvelŠ
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html. If redistributing this code,
* this entire header must remain intact.
*/
include "install/installation_page.php";
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<?php
pageHeader("Mollify Update");
?>
<body id="page-mysql-update-error">
<?php
pageBody("Update", "Error");
?>
<?php
pageFooter();
?>
</body>
</html>
示例13: pageHeader
* Released under GPL License.
*
* License: http://www.kloudspeaker.com/license.php
*/
include "install/installation_page.php";
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<?php
pageHeader("Kloudspeaker Installation", "init");
?>
<?php
pageBody("1/2 Database Information");
?>
<p>
Kloudspeaker will be installed in following database:
<ul>
<li><b>PDO connection string:</b> <code><?php
echo $installer->db()->str();
?>
</code></li>
<li><b>User:</b> <code><?php
echo $installer->db()->user();
?>
</code></li>
<?php
if ($installer->db()->tablePrefix() != '') {
示例14: pageHeader
*
* License: http://www.mollify.org/license.php
*/
include "installation_page.php";
global $CONFIGURATION;
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<?php
pageHeader("Mollify Installation");
?>
<?php
pageBody("Welcome to Mollify installation");
?>
<?php
if (isset($CONFIGURATION["db"]) && isset($CONFIGURATION["db"]["type"])) {
?>
<p>
<div class="bs-callout bs-callout-danger">
<h4>Database configuration is not valid.</h4>
<p>
Database type "<code><?php
echo $CONFIGURATION["db"]["type"];
?>
</code>" is invalid. For more information, see <a href="https://github.com/sjarvela/mollify/wiki/Installation" target="_blank">installation instructions</a>.
</p>
</div>
示例15: version
include "install/installation_page.php";
function version($ver)
{
return str_replace("_", ".", $ver);
}
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<?php
pageHeader("Kloudspeaker Update");
?>
<?php
pageBody("Update Complete");
?>
<p>
Kloudspeaker was successfully updated with following updates:
<ul><?php
$updates = $installer->data("updates");
foreach ($updates as $update) {
echo "<li>" . $update . "</li>";
}
?>
</ul>
</p>
<?php
pageFooter();
?>
</html>