예제 #1
0
<?php

incSmarty();
incMods();
incUtil();
require_once "SmartyStore.php";
require_once "Preferences.php";
require_once "Defaults.php";
require_once "TextMessage.php";
$smarty = new SmartyStore('users');
$preferences = new Preferences();
/*i18n*/
$txtm = new TextMessage();
$styleSheet = $preferences->styleSheet();
$styleSheetPath = "css/" . $styleSheet;
$smarty->assign("stylesheet", $styleSheetPath);
/*include modules*/
require_once "users/edit_passwd.php";
$smarty->display('account.tpl');
예제 #2
0
<?php

incSmarty();
incUtil();
require_once "SmartyStore.php";
require_once "Preferences.php";
require_once "Defaults.php";
require_once "TextMessage.php";
$smarty = new SmartyStore('users');
$preferences = new Preferences();
/*i18n*/
$txtm = new TextMessage();
$styleSheet = $preferences->styleSheet();
$styleSheetPath = "css/" . $styleSheet;
$smarty->assign("stylesheet", $styleSheetPath);
$smarty->display('indexauth.tpl');
예제 #3
0
<?php

incSmarty();
incUtil();
incMods();
require_once "SmartyStore.php";
require_once "Preferences.php";
require_once "Defaults.php";
require_once "TextMessage.php";
$smarty = new SmartyStore('admin');
$preferences = new Preferences();
/*i18n*/
$txtm = new TextMessage();
$styleSheet = $preferences->styleSheet();
$styleSheetPath = "css/" . $styleSheet;
$smarty->assign("stylesheet", $styleSheetPath);
/*include modules*/
require_once "users/delete_user.php";
$smarty->display('deletecust.tpl');
예제 #4
0
<?php

incSmarty();
incUtil();
incMods();
require_once "SmartyStore.php";
require_once "Preferences.php";
require_once "Defaults.php";
require_once "TextMessage.php";
$smarty = new SmartyStore('admin');
$preferences = new Preferences();
/*i18n*/
$txtm = new TextMessage();
$styleSheet = $preferences->styleSheet();
$styleSheetPath = "css/" . $styleSheet;
$smarty->assign("stylesheet", $styleSheetPath);
/*include Modules*/
require_once "users/insert_user.php";
$smarty->display('create.tpl');
예제 #5
0
<?php

incSmarty();
require_once "SmartyStore.php";
require_once "Preferences.php";
require_once "TextMessage.php";
require_once "Currency.php";
$smarty = new SmartyStore('users');
$prefs = new Preferences();
$styleSheet = $prefs->styleSheet();
$styleSheetPath = "css/" . $styleSheet;
$smarty->assign("stylesheet", $styleSheetPath);
/*i18n*/
$txtm = new TextMessage();
$crcy = new Currency();
$smarty->assign("crcy", $crcy);
$smarty->display('logout.tpl');
예제 #6
0
<?php

incSmarty();
incUtil();
incMods();
require_once "SmartyStore.php";
require_once "Preferences.php";
require_once "Defaults.php";
require_once "TextMessage.php";
$smarty = new SmartyStore('admin');
$preferences = new Preferences();
/*i18n*/
$txtm = new TextMessage();
$styleSheet = $preferences->styleSheet();
$styleSheetPath = "css/" . $styleSheet;
$smarty->assign("stylesheet", $styleSheetPath);
/*include modules*/
require_once "users/list_users.php";
require_once "pics/add_comments.php";
$smarty->display('addcomm.tpl');
예제 #7
0
<?php

incCommServs();
require_once "StoreAuth.php";
incSmarty();
require_once "SmartyStore.php";
require_once "Preferences.php";
require_once "Defaults.php";
require_once "TextMessage.php";
$smarty = new SmartyStore('admin');
$preferences = new Preferences();
/*i18n*/
$txtm = new TextMessage();
$styleSheet = $preferences->styleSheet();
$styleSheetPath = "css/" . $styleSheet;
$smarty->assign("stylesheet", $styleSheetPath);
$smarty->assign("forwardUrl", $_SERVER['PHP_SELF']);
$authPage = Defaults::authPage();
$mAuth = new StoreAuth('Admins');
$message = $mAuth->authMessage();
$smarty->assign("authmessage", $message);
$smarty->display('index.tpl');
예제 #8
0
<?php

incSmarty();
incUtil();
incMods();
require_once "SmartyStore.php";
require_once "Preferences.php";
require_once "Defaults.php";
require_once "TextMessage.php";
require_once "Users.php";
$smarty = new SmartyStore('admin');
$preferences = new Preferences();
/*i18n*/
$txtm = new TextMessage();
$styleSheet = $preferences->styleSheet();
$styleSheetPath = "css/" . $styleSheet;
$smarty->assign("stylesheet", $styleSheetPath);
$smarty->assign("action", $_SERVER['PHP_SELF']);
//print_r($_POST);
/*first entry to page ignore all the logic*/
if (!isset($_POST['uid'])) {
    $users = new Users();
    $info = $users->userInfo();
    $smarty->assign("firstPage", "true");
    $smarty->assign("users", $info);
} else {
    require_once "http_upload/http_upload.php";
}
$smarty->display('upload.tpl');
예제 #9
0
<?php

incSmarty();
incUtil();
incMods();
require_once "SmartyStore.php";
require_once "Preferences.php";
require_once "Defaults.php";
require_once "TextMessage.php";
$smarty = new SmartyStore('users');
$preferences = new Preferences();
/*i18n*/
$txtm = new TextMessage();
$styleSheet = $preferences->styleSheet();
$styleSheetPath = "css/" . $styleSheet;
$smarty->assign("stylesheet", $styleSheetPath);
/*include modules*/
require_once "pics/view_pics_users.php";
$smarty->display('view.tpl');