Esempio n. 1
0
/*******Checking Authentication****************/
$page->auth->Checklogin();
$user = new User();
$notify = new Notification();
/**********************************************/
/*******Setting Page access Rules & checking Authorization****************/
$access_rule = array("Admin" => "Admin");
$page->setAccessRules($access_rule);
$page->setAccessRulesType('all');
// any or all
$page->CheckAuthorization();
/************************************************************************/
$page->setPageKeywords('');
$page->setPageDescription('');
$page->setPageTitle("ADMIN");
$page->setActiveButton('5');
$page->setInnerNav('');
//$page -> setImportCss1('main_style.css');
//$page -> setImportCss2('form.css'); // each page should have it's own .css sheet.  Link mulitple sheets here and below
$page->SetDynamicCSS_1('main_style.php');
$page->SetDynamicCSS_2('form.php');
$page->setImportCss3('css/JTip.css');
$page->setImportCss4('');
$page->setImportCss5('');
$page->setExtJavaScripts2('<script language="javascript" SRC="js/jtip.js"></script>');
// might not need
$page->setExtJavaScripts1('<script language="javascript" SRC="js/jquery.js"></script>');
// might not need
$page->setExtJavaScripts3('');
// might not need
$page->setExtJavaScripts4('');
Esempio n. 2
0
//ini_set("display_errors",1);
require_once 'app_code/global.config.php';
require_once 'class/config.inc.php';
require_once 'class/class.FctSearchScreen.php';
$page = new basic_page();
/*******Checking Authentication****************/
$page->auth->Checklogin();
$user = new User();
$notify = new Notification();
$fctsearch = new FctSearchScreen();
$ajax = new PHPLiveX();
$ajax->AjaxifyObjects(array("fctsearch"));
$page->setPageKeywords('');
$page->setPageDescription('');
$page->setPageTitle("BUCKET SEARCH");
$page->setActiveButton('3');
$page->setInnerNav('');
//$page -> setImportCss1('main_style.css');
//$page -> setImportCss2('form.css'); // each page should have it's own .css sheet.  Link mulitple sheets here and below
$page->SetDynamicCSS_1('main_style.php');
$page->SetDynamicCSS_2('form.php');
$page->setImportCss3('src/css/jscal2.css');
$page->setImportCss4('src/css/border-radius.css');
//$page -> setImportCss5('src/css/win2k/win2k.css');
$page->setImportCss6('tablesort/themes/blue/style.css');
$page->setImportCss7('contact_profile.css');
$page->setImportCss8('css/JTip.css');
$page->setImportCss9('auto/style.css');
$page->setExtJavaScripts1('<script src="js/301a.js" type="text/javascript"></script>');
// might not need //
$page->setExtJavaScripts2('<script type="text/javascript" src="src/js/jscal2.js"></script>');
Esempio n. 3
0
$page = new basic_page();
$page->auth->Checklogin();
$notify = new Notification();
$ajax = new PHPLiveX();
$project = new Project();
$note = new Note();
$user = new User();
$task = new Tasks();
$global_task = new GlobalTask();
$task->SetUserObject($user);
$task->SetUserID($page->auth->Get_user_id());
$ajax->AjaxifyObjects(array("project", "task", "global_task"));
$page->setPageKeywords('');
$page->setPageDescription('');
$page->setPageTitle("PROJECT PROFILE");
$page->setActiveButton('9');
//$page -> setInnerNav('');
//$page -> SetDynamicCSS_1('main_style.css');
//$page -> SetDynamicCSS_2('form.css');
$page->SetDynamicCSS_1('main_style.php');
$page->SetDynamicCSS_2('form.php');
$page->setImportCss3('css/all.css');
$page->setImportCss4('src/css/jscal2.css');
$page->setImportCss5('src/css/border-radius.css');
$page->setImportCss6('tablesort/themes/blue/style.css');
$page->setImportCss7('contact_profile.css');
$page->setImportCss8('css/JTip.css');
$page->setImportCss9('auto/style.css');
$page->setExtJavaScripts1('<script src="js/301a.js" type="text/javascript"></script>');
// might not need //
$page->setExtJavaScripts2('<script type="text/javascript" src="src/js/jscal2.js"></script>');
Esempio n. 4
0
<?php

require 'class/config.inc.php';
require 'class/class.file.php';
$page = new basic_page();
$page->auth->Checklogin();
$filesobj = new File('files');
$filesobj->SetUserID($page->auth->Get_user_id());
$filesobj->SetUserGroup($page->auth->Get_group_string());
$ajax = new PHPLiveX();
$ajax->AjaxifyObjects(array("filesobj"));
$notify = new Notification();
$page->setPageKeywords('');
$page->setPageDescription('');
$page->setPageTitle("FILE");
$page->setActiveButton('4');
//$page -> setInnerNav('');
//$page -> setImportCss1('main_style.css');
//$page -> setImportCss2('form.css');
$page->SetDynamicCSS_1('main_style.php');
$page->SetDynamicCSS_2('form.php');
$page->setImportCss4('css/JTip.css');
//$page -> setImportCss4('test.css');
$page->setImportCss3('auto/style.css');
$page->setExtJavaScripts1('<script language="javascript" SRC="js/jtip.js"></script>');
// might not need
$page->setExtJavaScripts2('<script language="javascript" SRC="js/jquery.js"></script>');
// might not need
$page->setExtJavaScripts4('<script src="auto/jquery.js" type="text/javascript" charset="utf-8"></script>');
$page->setExtJavaScripts5('<script src="auto/jquery.fcbkcomplete.js" type="text/javascript" charset="utf-8"></script>');
$page->setCustomJavaScripts('
Esempio n. 5
0
$page = new basic_page();
$page->auth->Checklogin();
$notify = new Notification();
$ajax = new PHPLiveX();
$contact = new Company_Global();
$em = new Event_Contacts();
$task = new Tasks();
$user = new User();
$project_new = new ProjectNew();
$task->SetUserObject($user);
$task->SetUserID($page->auth->Get_user_id());
$ajax->AjaxifyObjects(array("project_new", "task"));
$page->setPageKeywords('');
$page->setPageDescription('');
$page->setPageTitle(MASTER_BROWSER_TITLE);
$page->setActiveButton('2');
//$page -> setInnerNav('');
$page->SetDynamicCSS_1('main_style.php');
$page->SetDynamicCSS_2('form.php');
$page->setImportCss3('src/css/jscal2.css');
$page->setImportCss4('src/css/border-radius.css');
$page->setImportCss5('tablesort/themes/blue/style.css');
$page->setImportCss6('contact_profile.css');
$page->setImportCss7('css/JTip.css');
$page->setImportCss8('auto/style.css');
$page->setImportCss9('slider/jquery.treeview.css');
$page->setImportCss10('slider/screen.css');
$page->setExtJavaScripts1('<script src="js/301a.js" type="text/javascript"></script>');
// might not need //
$page->setExtJavaScripts2('<script type="text/javascript" src="src/js/jscal2.js"></script>');
// might not need //
Esempio n. 6
0
Zend_Loader::loadClass('Zend_Gdata_Calendar');
Zend_Loader::loadClass('Zend_Http_Client');
require_once 'class/class.calendar.php';
$cal = new GCalendar(USER, PASS);
/**********************************************/
/*******Setting Page access Rules & checking Authorization****************/
/*$access_rule = array(	"Admin"		=>"Admin" 
					);
$page -> setAccessRules($access_rule);
$page -> setAccessRulesType('all');		// any or all
$page -> CheckAuthorization();*/
/************************************************************************/
$page->setPageKeywords('');
$page->setPageDescription('');
$page->setPageTitle("CALENDAR MANAGEMENT");
$page->setActiveButton('6');
$page->setInnerNav('');
//$page -> setImportCss1('main_style.css');
//$page -> setImportCss2('form.css'); // each page should have it's own .css sheet.  Link mulitple sheets here and below
$page->SetDynamicCSS_1('main_style.php');
$page->SetDynamicCSS_2('form.php');
$page->setImportCss3('src/css/jscal2.css');
$page->setImportCss4('src/css/border-radius.css');
$page->setImportCss5('src/css/win2k/win2k.css');
//$page -> setImportCss6('css/message.css');
$page->SetDynamicCSS_1('css/message.php');
$page->setExtJavaScripts1('<script src="js/301a.js" type="text/javascript"></script>');
// might not need
$page->setExtJavaScripts2('<script type="text/javascript" src="src/js/jscal2.js"></script>');
// might not need
$page->setExtJavaScripts3('<script type="text/javascript" src="src/js/lang/en.js"></script>');
Esempio n. 7
0
<?php

//ini_set("display_errors" , "1");
require 'class/config.inc.php';
$page = new basic_page();
$user = new User();
$notify = new Notification();
$page->setPageKeywords('');
$page->setPageDescription('');
$page->setPageTitle("LOGIN");
$page->setActiveButton('1');
$page->setInnerNav('0');
$page->setImportCss4('');
$page->setImportCss5('');
$page->setExtJavaScripts3('');
// might not need
$page->setExtJavaScripts4('');
// might not need
//*********************Page Style *******************************//
// used to set page styles.  This should be used sparingly.  External css should be used instead.
$page_style = '
body {
 font-family: verdana,arial,sans-serif;
 font-size: 12px;
 line-height: 14px;
 background: #3d94f6;
}
 
#container {
 height: 100%;
 width: 100%;
Esempio n. 8
0
require 'class/class.tasks.php';
require 'class/class.message.php';
require 'class/class.news.php';
$page = new basic_page();
$user = new User();
$page->auth->Checklogin();
$notify = new Notification();
$task = new Tasks();
$news = new News();
$message = new Message();
$task->SetUserObject($user);
$task->SetUserID($page->auth->Get_user_id());
$page->setPageKeywords('');
$page->setPageDescription('');
$page->setPageTitle("SUPPORT");
$page->setActiveButton('support');
$page->setInnerNav('0');
//$page -> setImportCss1('main_style.css');
$page->SetDynamicCSS_1('main_style.php');
//$page -> SetDynamicCSS_2('form.php');
$page->setImportCss2('support.css');
$page->setImportCss3('autocomplete/jssuggest.css');
$page->setImportCss4('');
$page->setImportCss5('');
$page->setExtJavaScripts1('<script type="text/javascript" src="autocomplete/jquery-1.2.6.min.js"></script>');
$page->setExtJavaScripts2('<script type="text/javascript" src="autocomplete/jquery.jSuggest.1.0.js"></script>');
$page->setExtJavaScripts3('');
$page->setExtJavaScripts4('');
$page->setCustomJavaScripts('
$(function(){
	$("#search").jSuggest({
Esempio n. 9
0
$news->SetUserID($page->auth->Get_user_id());

$ajax=new PHPLiveX();

$ajax->AjaxifyObjects(array("news"));  


/*******Setting Page access Rules & checking Authorization****************/


/************************************************************************/
					
$page -> setPageKeywords('');
$page -> setPageDescription('');
$page -> setPageTitle("READ NEWS");
$page -> setActiveButton('7');
$page -> setInnerNav('');
//$page -> setImportCss1('main_style.css');
//$page -> setImportCss2('form.css'); // each page should have it's own .css sheet.  Link mulitple sheets here and below
$page -> SetDynamicCSS_1('main_style.php');
$page -> SetDynamicCSS_2('form.php');



$page -> setImportCss3('css/news.css');
$page -> setImportCss4('css/message.css');

$page -> SetDynamicCSS_3('css/message.php');
//$page -> SetDynamicCSS_2('form.php');

Esempio n. 10
0
$panelProp["width"] = "800px";
$panelProp["visible"] = "false";
$panelProp["fixedcenter"] = "true";
$yui->add_panel("addUser", $panelProp, array());
$yui->add_panel("addLink", $panelProp, array());
$pf = array();
$pf[] = array("post" => "user_id", "id" => "pf_user_id");
$pf[] = array("post" => "action", "id" => "pf_action");
$pf[] = array("post" => "project_id", "id" => "pf_project_id");
$yui->add_ajax_post("user_edit", "project_user_ajax.php", $pf);
$page = new basic_page();
$page->auth->Checklogin();
$page->setPageKeywords('');
$page->setPageDescription('');
$page->setPageTitle("PROJECT INFO");
$page->setActiveButton('8');
$page->setImportCss9('contact_profile.css');
$page->setImportCss1('main_style.css');
$page->setImportCss2('form.css');
$page->setImportCss3('css/all.css');
$page->setImportCss4('src/css/win2k/win2k.css');
$page->setImportCss5('autocomplete/jssuggest.css');
$page->setImportCss6('src/css/jscal2.css');
$page->setImportCss7('src/css/border-radius.css');
$page->setImportCss8('tablesort/themes/blue/style.css');
$page->setExtJavaScripts1('<script src="js/301a.js" type="text/javascript"></script>');
// might not need //
$page->setExtJavaScripts2('<script type="text/javascript" src="yahoo-dom-event.js"></script>');
// might not need //
$page->setExtJavaScripts3('<link rel="stylesheet" type="text/css" href="yui/fonts-min.css" />
<link rel="stylesheet" type="text/css" href="yui/sam/datatable.css" />