Esempio n. 1
0
</a>
<?php 
}
function printStep5()
{
    ?>
	<p class="alert alert-error"><span class="alert-head"><?php 
    echo _t('gen.short.damn');
    ?>
</span> <?php 
    echo _t('install.not_deleted', DATA_PATH . '/do-install.txt');
    ?>
</p>
<?php 
}
initTranslate();
checkStep();
switch (STEP) {
    case 0:
    default:
        saveLanguage();
        break;
    case 1:
        saveStep1();
        break;
    case 2:
        saveStep2();
        break;
    case 3:
        saveStep3();
        break;
Esempio n. 2
0
<?php

$loggedin = false;
$admin = false;
$tr = NULL;
require "connect_db.php";
require "functions.php";
sec_session_start();
initTranslate($mysqli);
login_check($loggedin, $admin);
//load counter
SQL("INSERT INTO stat_pageload (date, count)\n            VALUES (CURRENT_DATE(), 1)\n            ON DUPLICATE KEY UPDATE date = VALUES(date), count = count +1;");