Esempio n. 1
0
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();
Esempio n. 2
0
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();
Esempio n. 3
0
<?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();
Esempio n. 4
0
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/notes.php";
$database_notes = Database_Notes::getInstance();
$database_notes->create();
$okay = !ob_get_flush();
display_header($okay);
if ($okay) {
    display_okay();
    display_paragraph("Notes database okay.");
} else {
    display_paragraph("Errors creating or upgrading the notes database");
    open_paragraph();
    display_link("notes1.php", "Retry");
    close_paragraph();
}
display_footer();
Esempio n. 5
0
		<li><h1 class="fn"><?php 
echo $name;
?>
</h1></li>
		<li><h3>@<?php 
echo $username;
?>
</h3></li>
		<?php 
echo display_value("li", "", "", $company);
?>
		<?php 
echo display_value("li", "", "", $location);
?>
		<?php 
echo display_value("li", "", "", display_link("", "", $url, $url));
?>
		
		<?php 
echo display_value("li", "", "", $bio);
?>
	</ul>	
</div>
<div class="clear"></div>
<div class="norm_separator"></div>

<ol id="profile_feed">
	<?php 
echo $timeline_view;
?>
</ol>
Esempio n. 6
0
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/shell.php";
$database_shell = Database_Shell::getInstance();
$database_shell->create();
$okay = !ob_get_flush();
display_header($okay);
if ($okay) {
    display_okay();
    display_paragraph("Shell database okay.");
} else {
    display_paragraph("Errors creating or upgrading the shell database");
    open_paragraph();
    display_link("shell1.php", "Retry");
    close_paragraph();
}
display_footer();
Esempio n. 7
0
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();
Esempio n. 8
0
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();
            $folder = COPIX_TEMP_PATH . 'cache/php/dao';
            $dirempty = $Demo_Tools->dirempty($folder);
            if ($dirempty) {
                display_message(_LOGO_GOOD . "Fichiers du cache PHP/DAO supprim&eacute;s");
            } else {
                display_message(_LOGO_ERROR . "Probl&egrave;me de suppression des fichiers du cache PHP/DAO");
            }
            display_message(_LOGO_GOOD . "Mise &agrave; jour termin&eacute;e !");
            display_link("Cliquez ici pour rev&eacute;rifier si une mise &agrave; jour est disponible", 'upgrade_bdd.php');
        } else {
            display_link("Cliquez ici pour proc&eacute;der &agrave; la mise &agrave; jour", 'upgrade_bdd.php?go=1');
        }
    } else {
        display_message(_LOGO_GOOD . "Votre base de donn&eacute;es est &agrave; jour !");
    }
    display_link("Cliquez ici pour revenir &agrave; votre Iconito &Eacute;cole Num&eacute;rique", '..');
}
global $display_header;
if ($display_header) {
    echo "</div>";
}
/**
 * Liste des fichiers a passer par rapport a la version courante
 *
 * @author Christophe Beyer <*****@*****.**>
 * @since 2011/01/26
 * @param integer $iVersion Numero de version courante
 * @return
 */
function get_upgrades($iVersion)
{
Esempio n. 10
0
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/modifications.php";
$database_modifications = Database_Modifications::getInstance();
$database_modifications->create();
$okay = !ob_get_flush();
display_header($okay);
if ($okay) {
    display_okay();
    display_paragraph("Modifications database okay.");
} else {
    display_paragraph("Errors creating or upgrading the modifications database");
    open_paragraph();
    display_link("modifications1.php", "Retry");
    close_paragraph();
}
display_footer();
Esempio n. 11
0
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/logs.php";
$database_logs = Database_Logs::getInstance();
$database_logs->create();
$okay = !ob_get_flush();
display_header($okay);
if ($okay) {
    display_okay();
    display_paragraph("Journal database okay.");
} else {
    display_paragraph("Errors creating or upgrading the journal database");
    open_paragraph();
    display_link("logs1.php", "Retry");
    close_paragraph();
}
display_footer();
Esempio n. 12
0
(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/sqliteinjection.php";
require_once "../database/users.php";
ob_start();
$database_users = Database_Users::getInstance();
$database_users->create();
$database_users->upgrade();
$okay = !ob_get_flush();
display_header($okay);
if ($okay) {
    display_okay();
    display_paragraph("Users database okay.");
} else {
    display_paragraph("Errors creating or upgrading the users database");
    open_paragraph();
    display_link("users1.php", "Retry");
    close_paragraph();
}
display_footer();
Esempio n. 13
0
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();
Esempio n. 14
0
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();
Esempio n. 15
0
            foreach ($data['errors'] as $error) {
                $msg = '';
                if ($error['level'] == 'error') {
                    $msg .= _LOGO_ERROR;
                } elseif ($error['level'] == 'warning') {
                    $msg .= _LOGO_WARNING;
                } elseif ($error['level'] == 'good') {
                    $msg .= _LOGO_GOOD;
                }
                $msg .= $error['message'];
                display_message($msg);
            }
        } else {
            display_message(_LOGO_GOOD . "F&eacute;licitations, ICONITO Ecole Num&eacute;rique est install&eacute; !");
            display_message("Avant de l'utiliser, vous devez imp&eacute;rativement mettre &agrave; jour votre base de donn&eacute;es.");
            display_link("Pour mettre &agrave; jour la base de donn&eacute;es, cliquez ici", "upgrade_bdd.php");
            display_message("Pour vous connecter, utilisez le login <b>admin</b> et le mot de passe d'administration choisi pr&eacute;c&eacute;dement.");
            display_link("Cliquez ici pour y acc&eacute;der", "..");
            display_message("Afin de d&eacute;couvrir Iconito, vous pouvez utiliser le \"jeu d'essai\", un ensemble de comptes d'acc&egrave;s et de contenus de d&eacute;monstration. Pour l'installer, connectez-vous en administrateur et allez dans le module d'utilitaires syst&egrave;me.");
            // display_link( "Guide utilisateur Ecole Num&eacute;rique", "http://www.iconito.fr/telechargement/documentation/62-utilisation-ecole-numerique");
        }
        break;
    default:
        header("Location: index.php?step=1");
        break;
}
global $display_header;
if ($display_header) {
    echo "</div>";
}
close_page();
Esempio n. 16
0
        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();
Esempio n. 17
0
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();
Esempio n. 18
0
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/navigation.php";
$database_navigation = Database_Navigation::getInstance();
$database_navigation->create();
$okay = !ob_get_flush();
display_header($okay);
if ($okay) {
    display_okay();
    display_paragraph("Navigation database okay.");
} else {
    display_paragraph("Errors creating or upgrading the navigation database");
    open_paragraph();
    display_link("navigation1.php", "Retry");
    close_paragraph();
}
display_footer();
Esempio n. 19
0
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();
Esempio n. 20
0
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/history.php";
$database_history = Database_History::getInstance();
$database_history->create();
$okay = !ob_get_flush();
display_header($okay);
if ($okay) {
    display_okay();
    display_paragraph("History database okay.");
} else {
    display_paragraph("Errors creating or upgrading the history database");
    open_paragraph();
    display_link("history1.php", "Retry");
    close_paragraph();
}
display_footer();
Esempio n. 21
0
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/bibleactions.php";
$database_bibleactions = Database_BibleActions::getInstance();
$database_bibleactions->create();
$okay = !ob_get_flush();
display_header($okay);
if ($okay) {
    display_okay();
    display_paragraph("Bible actions database okay.");
} else {
    display_paragraph("Errors creating or upgrading the Bible actions database");
    open_paragraph();
    display_link("bibleactions1.php", "Retry");
    close_paragraph();
}
display_footer();