Esempio n. 1
0
 *
 * 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 
Esempio n. 2
0
 * 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>
Esempio n. 3
0
        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();
Esempio n. 4
0
 * 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 
}
?>
Esempio n. 5
0
 * 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 
<?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>
 *
 * 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 
}
?>
 *
 * 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>
 *
 * 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", "SQLite Database Configuration");
?>
		<?php 
if ($installer->action() === 'continue') {
    ?>
		<div class="error">
			<div class="details">
				SQLite database file is not set.
			</div>
		</div>
		<?php 
}
?>
		
		<div class="content">
			<p>
 * 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 
}
?>
 * 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>
<?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>
Esempio n. 13
0
<?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>
Esempio n. 14
0
 * 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() != '') {
 *
 * 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>
Esempio n. 16
0
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>
 *
 * 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", "PDO Database Configuration");
?>
		<?php 
if ($installer->action() === 'continue') {
    ?>
		<div class="error">
			<div class="title">	
				No database configuration found.
			</div>
			<div class="details">
				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.
			</div>
		</div>
		<?php 
}
?>
Esempio n. 18
0
 * 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");
?>

	<?php 
pageBody("Installation Complete");
?>

	<h4>Mollify is successfully installed</h4>
	<p>
		You can now log into Mollify using the admin account created.
	</p>
	<p>
		For additional configuration options or instructions, see <a href="https://github.com/sjarvela/mollify/wiki/Installation" target="_blank">Installation instructions</a>.
	</p>

	<?php 
pageFooter();
?>
</html>
 * 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("SQLite Database Configuration");
?>

	<?php 
if ($installer->action() === 'continue' and !$installer->hasError()) {
    ?>
		<p>
			<div class="bs-callout bs-callout-danger">
				<h4>SQLite database file is not set.</h4>
			</div>
		</p>
	<?php 
}
?>

	<p>
Esempio n. 20
0
<?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");
?>
	<?php 
pageBody("Error");
?>
	<?php 
pageFooter();
?>
</html>
Esempio n. 21
0
 * 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", "init");
?>

	<?php 
pageBody("2/2 Administrator User");
?>

	<h4>
		Mollify requires an administrator user
	</h4>
	<p>
		<form id="admin-user" role="form">
			<div id='admin-username' class="form-group">
				<label for='username'>Username</label>
				<input id='username' class="form-control" type='text' name='user' value=''>
			</div>
			<div id='admin-password' class="form-group">
				<label for='password'>Password</label>
				<input id='password' class="form-control" type='password' name='password' value=''>
			</div>
Esempio n. 22
0
 *
 * 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-admin">
		<?php 
pageBody("Installation", "2/2 Administrator User");
?>

		<div class="content">
			<h2>
				Mollify requires an administrator user:
			</h2>
			<p>
				<form id="admin-user">
					<div class='user-data' id='admin-username'>
						<div class='title'>User name:</div>
						<input id='username' class='value' type='text' name='user' value=''>
						<div class="validation-hint" />
					</div>
					<div class='user-data' id='admin-password'>
						<div class='title'>Password:</div>
Esempio n. 23
0
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("Mollify Installation");
?>
	
	<body id="page-mysql-installed">
		<?php 
pageBody("Installation", "Mollify Already Installed");
?>

		<div class="content">
		<?php 
if ($installer->isCurrentVersionInstalled()) {
    ?>
			<p>
				Mollify is already installed with the current version.
			</p>	
		<?php 
} else {
    ?>
			<p>
				Mollify is already installed, but needs updating to version <b><?php 
    echo version($installer->currentVersion());