本文整理汇总了PHP中display_paragraph函数的典型用法代码示例。如果您正苦于以下问题:PHP display_paragraph函数的具体用法?PHP display_paragraph怎么用?PHP display_paragraph使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了display_paragraph函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: Copyright
<?php
/*
Copyright (©) 2003-2014 Teus Benschop.
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 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
include "utils.php";
display_header(true);
display_active();
display_paragraph("Creating and upgrading the history database.");
display_footer();
示例2: count
continue;
}
if ($fileInfo->isDir()) {
$basename = $fileInfo->getFilename();
$filename = "{$folder}/{$basename}";
if (!is_writable($filename)) {
$folders[] = $filename;
}
}
}
$writable = count($folders) == 0;
if (count($folders) > 5) {
$folders = array_slice($folders, 0, 5);
$folders[] = "and so on ...";
}
display_header($writable);
if ($writable) {
display_okay();
display_paragraph("Write access okay.");
} else {
$message = "Bibledit-Web needs write access to the following folders and the files in them:";
display_paragraph($message);
foreach ($folders as $folder) {
display_paragraph("<code>{$folder}</code>");
}
display_paragraph("Provide write access, or ask your hosting provider to do that for you.");
open_paragraph();
display_link("writable1.php", "Retry");
close_paragraph();
}
display_footer();
示例3: ob_start
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
include "utils.php";
ob_start();
require_once "../database/sqlite.php";
require_once "../database/confirm.php";
$database_confirm = Database_Confirm::getInstance();
$database_confirm->create();
$okay = !ob_get_flush();
display_header($okay);
if ($okay) {
display_okay();
display_paragraph("Confirmation database okay.");
} else {
display_paragraph("Errors creating or upgrading the confirmation database");
open_paragraph();
display_link("confirm1.php", "Retry");
close_paragraph();
}
display_footer();
示例4: ob_start
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
include "utils.php";
ob_start();
require_once "../database/sqlite.php";
require_once "../database/sqliteinjection.php";
require_once "../database/styles.php";
$database_styles = Database_Styles::getInstance();
$database_styles->create();
$okay = !ob_get_flush();
display_header($okay);
if ($okay) {
display_okay();
display_paragraph("Styles database okay.");
} else {
display_paragraph("Errors creating or upgrading the styles database");
open_paragraph();
display_link("styles1.php", "Retry");
close_paragraph();
}
display_footer();
示例5: Copyright
<?php
/*
Copyright (©) 2003-2014 Teus Benschop.
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 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
include "utils.php";
display_header(true);
display_active();
$username = get_current_user();
display_paragraph("Checking write access to the folders for user {$username}.");
display_footer();
示例6: ignore_user_abort
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
ignore_user_abort(true);
set_time_limit(0);
include "utils.php";
ob_start();
require_once "../database/sqlite.php";
require_once "../database/sqliteinjection.php";
require_once "../filter/string.php";
require_once "../filter/books.php";
require_once "../filter/numeric.php";
require_once "../database/books.php";
require_once "../database/mappings.php";
$database_mappings = Database_Mappings::getInstance();
$database_mappings->create1();
$database_mappings->defaults();
$database_mappings->create2();
$database_mappings->optimize();
$okay = !ob_get_flush();
display_header($okay);
if ($okay) {
display_okay();
display_paragraph("Verse mappings database okay.");
} else {
display_paragraph("Errors creating or upgrading the verse mappings database.");
open_paragraph();
display_link("mappings1.php", "Retry");
close_paragraph();
}
display_footer();
示例7: ob_start
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
include "utils.php";
ob_start();
require_once "../database/sqlite.php";
require_once "../database/volatile.php";
@unlink("../databases/volatile.sqlite");
$database_volatile = Database_Volatile::getInstance();
$database_volatile->create();
$okay = !ob_get_flush();
display_header($okay);
if ($okay) {
display_okay();
display_paragraph("Volatile database okay.");
} else {
display_paragraph("Errors creating or upgrading the volatile database");
open_paragraph();
display_link("check1.php", "Retry");
close_paragraph();
}
display_footer();
示例8: ob_start
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
include "utils.php";
ob_start();
require_once "../database/sqlite.php";
require_once "../database/commits.php";
$database_commits = Database_Commits::getInstance();
$database_commits->create();
$okay = !ob_get_flush();
display_header($okay);
if ($okay) {
display_okay();
display_paragraph("Commits database okay.");
} else {
display_paragraph("Errors creating or upgrading the commits database");
open_paragraph();
display_link("commits1.php", "Retry");
close_paragraph();
}
display_footer();
示例9: ob_start
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
include "utils.php";
require_once "../database/sqlite.php";
require_once "../database/mail.php";
ob_start();
$database_mail = Database_Mail::getInstance();
$database_mail->create();
$okay = !ob_get_flush();
display_header($okay);
if ($okay) {
display_okay();
display_paragraph("Mail database okay.");
} else {
display_paragraph("Errors creating or upgrading the mail database");
open_paragraph();
display_link("mail1.php", "Retry");
close_paragraph();
}
display_footer();
示例10: ob_start
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
include "utils.php";
ob_start();
require_once "../database/sqlite.php";
require_once "../database/search.php";
$database_search = Database_Search::getInstance();
$database_search->create();
$okay = !ob_get_flush();
display_header($okay);
if ($okay) {
display_okay();
display_paragraph("Search database okay.");
} else {
display_paragraph("Errors creating or upgrading the search database");
open_paragraph();
display_link("commits1.php", "Retry");
close_paragraph();
}
display_footer();
示例11: ob_start
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
include "utils.php";
ob_start();
require_once "../database/sqlite.php";
require_once "../database/noteactions.php";
$database_noteactions = Database_NoteActions::getInstance();
$database_noteactions->create();
$okay = !ob_get_flush();
display_header($okay);
if ($okay) {
display_okay();
display_paragraph("Note actions database okay.");
} else {
display_paragraph("Errors creating or upgrading the note actions database");
open_paragraph();
display_link("noteactions1.php", "Retry");
close_paragraph();
}
display_footer();
示例12: data
Database_SQLite::exec($database_versifications->db, "INSERT INTO data (system, book, chapter, verse) VALUES (10, 66, 5, 14);");
Database_SQLite::exec($database_versifications->db, "INSERT INTO data (system, book, chapter, verse) VALUES (10, 66, 6, 17);");
Database_SQLite::exec($database_versifications->db, "INSERT INTO data (system, book, chapter, verse) VALUES (10, 66, 7, 17);");
Database_SQLite::exec($database_versifications->db, "INSERT INTO data (system, book, chapter, verse) VALUES (10, 66, 8, 13);");
Database_SQLite::exec($database_versifications->db, "INSERT INTO data (system, book, chapter, verse) VALUES (10, 66, 9, 21);");
Database_SQLite::exec($database_versifications->db, "INSERT INTO data (system, book, chapter, verse) VALUES (10, 66, 10, 11);");
Database_SQLite::exec($database_versifications->db, "INSERT INTO data (system, book, chapter, verse) VALUES (10, 66, 11, 19);");
Database_SQLite::exec($database_versifications->db, "INSERT INTO data (system, book, chapter, verse) VALUES (10, 66, 12, 18);");
Database_SQLite::exec($database_versifications->db, "INSERT INTO data (system, book, chapter, verse) VALUES (10, 66, 13, 18);");
Database_SQLite::exec($database_versifications->db, "INSERT INTO data (system, book, chapter, verse) VALUES (10, 66, 14, 20);");
Database_SQLite::exec($database_versifications->db, "INSERT INTO data (system, book, chapter, verse) VALUES (10, 66, 15, 8);");
Database_SQLite::exec($database_versifications->db, "INSERT INTO data (system, book, chapter, verse) VALUES (10, 66, 16, 21);");
Database_SQLite::exec($database_versifications->db, "INSERT INTO data (system, book, chapter, verse) VALUES (10, 66, 17, 18);");
Database_SQLite::exec($database_versifications->db, "INSERT INTO data (system, book, chapter, verse) VALUES (10, 66, 18, 24);");
Database_SQLite::exec($database_versifications->db, "INSERT INTO data (system, book, chapter, verse) VALUES (10, 66, 19, 21);");
Database_SQLite::exec($database_versifications->db, "INSERT INTO data (system, book, chapter, verse) VALUES (10, 66, 20, 15);");
Database_SQLite::exec($database_versifications->db, "INSERT INTO data (system, book, chapter, verse) VALUES (10, 66, 21, 27);");
Database_SQLite::exec($database_versifications->db, "INSERT INTO data (system, book, chapter, verse) VALUES (10, 66, 22, 21);");
Database_SQLite::exec($database_versifications->db, "COMMIT;");
$okay = !ob_get_flush();
display_header($okay);
if ($okay) {
display_okay();
display_paragraph("Versifications database okay.");
} else {
display_paragraph("Errors creating or upgrading the versifications database");
open_paragraph();
display_link("versifications1.php", "Retry");
close_paragraph();
}
display_footer();
示例13: Copyright
<?php
/*
Copyright (©) 2003-2014 Teus Benschop.
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 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
include "utils.php";
display_header(true);
display_okay();
display_paragraph("The following databases will be created after the installation has completed successfully:");
display_paragraph("* Strong's numbers and English glosses.");
display_paragraph("* Open Scriptures Morphology of the Hebrew Bible.");
display_paragraph("* Open Scriptures Morphology of the Hebrew Bible.");
display_paragraph("* The Greek New Testament: SBL Edition.");
display_footer();
示例14: Copyright
<?php
/*
Copyright (©) 2003-2014 Teus Benschop.
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 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
include "utils.php";
display_header(false);
display_paragraph("Welcome to the Bibledit-Web installation.");
open_paragraph();
display_link("step.php", "Go!");
close_paragraph();
display_footer();
示例15: ob_start
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
include "utils.php";
ob_start();
require_once "../database/sqlite.php";
require_once "../database/sqliteinjection.php";
require_once "../database/sprint.php";
$database_sprint = Database_Sprint::getInstance();
$database_sprint->create();
$okay = !ob_get_flush();
display_header($okay);
if ($okay) {
display_okay();
display_paragraph("Sprint database okay.");
} else {
display_paragraph("Errors creating or upgrading the sprint database");
open_paragraph();
display_link("check1.php", "Retry");
close_paragraph();
}
display_footer();