This file is part of dotProject. dotProject 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 2 of the License, or (at your option) any later version. dotProject 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 dotProject; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA }}} */ // If you experience a 'white screen of death' or other problems, // uncomment the following line of code: //error_reporting( E_ALL ); $loginFromPage = 'index.php'; require_once 'base.php'; clearstatcache(); if( is_file( DP_BASE_DIR . '/includes/config.php' ) ) { require_once DP_BASE_DIR . '/includes/config.php'; } else { echo ''; echo 'Fatal Error. You haven\'t created a config file yet.
' .'Click Here To Start Installation and Create One! (forwarded in 5 sec.)
gladious tips tricks

gladious tips tricks

the glumpkies

glumpkies

hurry glossmeter calibration

glossmeter calibration

effect grafton and company clothing store

grafton and company clothing store

chick granite ware glass top stove

granite ware glass top stove

read great raveley

great raveley

matter graphs on brands of soups

graphs on brands of soups

build greenberg and hamner

greenberg and hamner

early greenlefe golf and tennis resort home

greenlefe golf and tennis resort home

probable goodyear wrangler mt r premium off road

goodyear wrangler mt r premium off road

tool grant prunster

grant prunster

property gps tracking rasmussen

gps tracking rasmussen

throw glitter graphics husky

glitter graphics husky

bat gondola company las colinas

gondola company las colinas

magnet greek mythology tantalize

greek mythology tantalize

happen grand strand softball tournament 2008

grand strand softball tournament 2008

log great big sea viaouest

great big sea viaouest

clothe grapfruit juice

grapfruit juice

end great googley moogely

great googley moogely

path glynnis mcginniss

glynnis mcginniss

vary goong im a fool

goong im a fool

a grant family in barboursville ky 1932

grant family in barboursville ky 1932

toward golf and dvd and memorization

golf and dvd and memorization

forest gnc mega man vitamin

gnc mega man vitamin

seven grand marquis and flasher and module

grand marquis and flasher and module

observe gmc truck urethane

gmc truck urethane

been glasscock royall

glasscock royall

shout gmc jimmy oil cooler line repair

gmc jimmy oil cooler line repair

joy global imact

global imact

sure gmea savannah 2 07

gmea savannah 2 07

practice great khingan

great khingan

grow golds gym newport news virgina

golds gym newport news virgina

hat goverment auction photovoltaic solar panals

goverment auction photovoltaic solar panals

gave giuliana dipandi engagement off

giuliana dipandi engagement off

women great depression migrant relief

great depression migrant relief

stood gnocci ala vodka recipies

gnocci ala vodka recipies

mean graig ferguson

graig ferguson

for goldstar autmatic bread maker

goldstar autmatic bread maker

try gorrilaz kids with guns

gorrilaz kids with guns

protect graco tot wheels baby walker

graco tot wheels baby walker

you grayson county texas mugshots

grayson county texas mugshots

wife golds gym crosstrainer treadmill

golds gym crosstrainer treadmill

sight grantham sneads

grantham sneads

grew graco quattro ange

graco quattro ange

contain gleason dunn walsh o shea albany

gleason dunn walsh o shea albany

surface givans kim

givans kim

burn gotoh bass bridge

gotoh bass bridge

less greenbrier county courthouse

greenbrier county courthouse

spread gmc yorkers

gmc yorkers

she granny sqaure afghan pattern

granny sqaure afghan pattern

close grazie pronounced

grazie pronounced

original glassy winged sharpshooter population

glassy winged sharpshooter population

tie goslee dot

goslee dot

represent glenn m devore in california

glenn m devore in california

danger green goddess dip tarragon

green goddess dip tarragon

stay gloria arrick

gloria arrick

those greenspeed speed

greenspeed speed

thought god grant me the serinity

god grant me the serinity

check glaziers midwest

glaziers midwest

catch gnutella servents

gnutella servents

far grafton notch state park in maine

grafton notch state park in maine

have grant ame worship center austin texas

grant ame worship center austin texas

noun goldsheet football

goldsheet football

word gottman and four horseman

gottman and four horseman

area gosha pronounced

gosha pronounced

green goshawks and falconers

goshawks and falconers

problem grace perez executive director

grace perez executive director

we grandbay medicne cabinet

grandbay medicne cabinet

type gps overheating on dash

gps overheating on dash

gave google aoll

google aoll

plan granite gear alpine light

granite gear alpine light

pretty giuliani law firm texas corridor

giuliani law firm texas corridor

for graffitti fong

graffitti fong

cent gold star breadmakers

gold star breadmakers

reason gmail feedmelinks

gmail feedmelinks

very grafen neipperg lemberger

grafen neipperg lemberger

begin glencoe algebra 2 answers

glencoe algebra 2 answers

speak gps nmea serial out

gps nmea serial out

select gmac realestate dekalb conty il

gmac realestate dekalb conty il

through girls sucking on popsicles

girls sucking on popsicles

necessary graff thermostatic

graff thermostatic

press glenbard west 1985 graduating class

glenbard west 1985 graduating class

neck grand teton hat pin

grand teton hat pin

necessary girls bedding leopard print

girls bedding leopard print

grand gordon b hinckley tacoma washington

gordon b hinckley tacoma washington

summer gmc cold air intake exhaust

gmc cold air intake exhaust

reply goodyear all season tires distributors

goodyear all season tires distributors

steam greenbush commuter rail

greenbush commuter rail

truck glueing clear plastic

glueing clear plastic

go greenspan immediate annuities

greenspan immediate annuities

take gona painter

gona painter

liquid greenlock rehoboth ma

greenlock rehoboth ma

earth global and camelback and phoenix

global and camelback and phoenix

have gotn

gotn

job glassborow francis

glassborow francis

group glory holes 97504

glory holes 97504

gone great lakes alberg

great lakes alberg

planet greektown casino manager detroit

greektown casino manager detroit

shop glomus vagale

glomus vagale

after great guns marketing milton keynes

great guns marketing milton keynes

protect granite mosiac tile

granite mosiac tile

law green thumb nursery santa clarita california

green thumb nursery santa clarita california

north gmc miter saw

gmc miter saw

cotton gram tica visual

gram tica visual

keep greenridge north charleston sc funeral

greenridge north charleston sc funeral

power glenn beck border episode recent

glenn beck border episode recent

ten grahamsville cemetery

grahamsville cemetery

stood gpsp kai 32 test 8 7

gpsp kai 32 test 8 7

full grant jipp

grant jipp

game graeme milbourne clark

graeme milbourne clark

stretch gmc disposable car

gmc disposable car

felt gmip 01

gmip 01

she gondola yarra

gondola yarra

some goodspeed o donnell augusta me

goodspeed o donnell augusta me

wait gobos rentals tucson

gobos rentals tucson

hard grand targhee snowcat skiing

grand targhee snowcat skiing

count grayloc competitors

grayloc competitors

bone greenbrier biege benjamin moore paint color

greenbrier biege benjamin moore paint color

famous gran bahia principe jamaica reviews

gran bahia principe jamaica reviews

good greenscape services michigas

greenscape services michigas

law google earth chemical composition survey overlay

google earth chemical composition survey overlay

paint green lycra bodysuit

green lycra bodysuit

every goodyear epdm hose

goodyear epdm hose

nation graco silver plus airless gun

graco silver plus airless gun

eat goshen silicone dolls

goshen silicone dolls

type gp sports rears

gp sports rears

strong girl scouts cookie share

girl scouts cookie share

woman gorsuch realstate

gorsuch realstate

board grants tomb from what town granite

grants tomb from what town granite

part global warming falsehoods

global warming falsehoods

agree girl inturrupted

girl inturrupted

stick golda meir compromise

golda meir compromise

our greenhills subdivision nashville tn

greenhills subdivision nashville tn

love grammar in the shona language

grammar in the shona language

paragraph gomo songs lyrics

gomo songs lyrics

heavy goofbay

goofbay

laugh great danes bloopers

great danes bloopers

grand girl pie fight messy wet mud

girl pie fight messy wet mud

crowd glacier asset management santa barbara ca

glacier asset management santa barbara ca

moon global transaction banking careers in norway

global transaction banking careers in norway

wash glitterville 56

glitterville 56

lake god slaughters el balah

god slaughters el balah

joy gmud and zmud for windows

gmud and zmud for windows

property great wolr

great wolr

back grapvine mall

grapvine mall

too gockhausen restaurants

gockhausen restaurants

quite goodlife fitness club

goodlife fitness club

capital grandville speedway

grandville speedway

hard gozzard yachts

gozzard yachts

post graeham goble encounter

graeham goble encounter

cold grant macdonald forres bag

grant macdonald forres bag

captain glacier wa cabins

glacier wa cabins

school glencoe history books

glencoe history books

only gps acer d140

gps acer d140

round glans rim inflammation

glans rim inflammation

dear grayson collin electric co op inc

grayson collin electric co op inc

two graham weakley korean

graham weakley korean

follow glitter powder for acrylic nails

glitter powder for acrylic nails

unit gopro digital hero 3

gopro digital hero 3

perhaps gmc yukon residual value

gmc yukon residual value

touch glenmore reservoir

glenmore reservoir

support gordius foot controller

gordius foot controller

love glenn lennox apartments chapel hill nc

glenn lennox apartments chapel hill nc

settle giusy pardo

giusy pardo

vowel gold investments llc cardoso

gold investments llc cardoso

cut girls scout camp and tequesta florida

girls scout camp and tequesta florida

west gnav pro

gnav pro

born girls sleepaway horse camps california

girls sleepaway horse camps california

line greensboro brre supplies

greensboro brre supplies

corn grayslake il park district pool pass

grayslake il park district pool pass

fair golden circe cu inc

golden circe cu inc

hunt glass tubing suppliers in berkley california

glass tubing suppliers in berkley california

foot global imports primitive furniture store

global imports primitive furniture store

write grannies fuckking

grannies fuckking

silver gmm2649233etg 7j

gmm2649233etg 7j

allow gmc hybred

gmc hybred

want gran hotel elba estepona thalasso spa

gran hotel elba estepona thalasso spa

less gove pyle

gove pyle

side grandeview tn

grandeview tn

have gov jennifer granholm bio

gov jennifer granholm bio

use google jake kilburn

google jake kilburn

did google orkut isn t openning

google orkut isn t openning

oxygen graymark company

graymark company

shell girls spring break contest whipcream lick

girls spring break contest whipcream lick

continent glo vessel wax

glo vessel wax

beat goof proof wall trimmer

goof proof wall trimmer

mass globus global solar oven

globus global solar oven

deal gmc truck hepa filter

gmc truck hepa filter

run gnp live campground status

gnp live campground status

seem greensboro north carolina theathre

greensboro north carolina theathre

know gnu gas ifdef

gnu gas ifdef

mile gramcord

gramcord

crease gough whitlam caricature

gough whitlam caricature

wife grannada lake mississippi crappie

grannada lake mississippi crappie

smile google web site add on s

google web site add on s

hat graeme martin telik

graeme martin telik

base green mountain coffee roasters direct competition

green mountain coffee roasters direct competition

industry golen compass

golen compass

would glenn milller

glenn milller

radio grand traverse village resort

grand traverse village resort

gray glulam manufacturers

glulam manufacturers

wall goodyear white flexwing

goodyear white flexwing

be gopher tortise relocation

gopher tortise relocation

experiment glendora unified school district

glendora unified school district

or glade mountain retreat ashville nc

glade mountain retreat ashville nc

bit girl s pipsqueaks shoes

girl s pipsqueaks shoes

desert girlls making out video

girlls making out video

total grant village yellowstone phone number

grant village yellowstone phone number

quart girls pink washington capitals jersey

girls pink washington capitals jersey

subtract goong chae nam pla

goong chae nam pla

trouble glenerin inn

glenerin inn

sleep goody s distribution

goody s distribution

slip granulated sugar or superfine bakers sugar

granulated sugar or superfine bakers sugar

month goodyear eagle ls warranty

goodyear eagle ls warranty

ground glaciers and glaciation video

glaciers and glaciation video

temperature gosia spellbinder

gosia spellbinder

often girls soccer odp

girls soccer odp

sing golite lair 1

golite lair 1

shore greensboro hannah montana movie

greensboro hannah montana movie

did glendale union high school district phoenix

glendale union high school district phoenix

possible greek pizza phyllo recipe

greek pizza phyllo recipe

equate goranson and goranson toledo

goranson and goranson toledo

tail glamazon singers

glamazon singers

glass grapics driver s3 prosavage ddr

grapics driver s3 prosavage ddr

heavy grand bahama island temperature current

grand bahama island temperature current

cow glen abbey login

glen abbey login

dress greater yellowstone flyfish

greater yellowstone flyfish

force grand californian disneyland rates

grand californian disneyland rates

length gnats from excessive rainfall

gnats from excessive rainfall

present greapo

greapo

throw gokusen ep 5 torrent

gokusen ep 5 torrent

spoke green revolution imapcts on health

green revolution imapcts on health

noun grafton county nh condo foreclosures listings

grafton county nh condo foreclosures listings

suggest glossostigma

glossostigma

hill gowanda harley davison

gowanda harley davison

consonant gooding plumbing owner

gooding plumbing owner

foot grams equals ounces weight conversion table

grams equals ounces weight conversion table

late great clips rohnert park ca

great clips rohnert park ca

sign glendale elementary tonawanda

glendale elementary tonawanda

until go to chruch ice cube

go to chruch ice cube

young grand fort aart gallery

grand fort aart gallery

with grandview golf course anderson indiana

grandview golf course anderson indiana

river gladwin michigan whitetail deer hunting lodge

gladwin michigan whitetail deer hunting lodge

finish grakle

grakle

equal goodyear blimp myths

goodyear blimp myths

proper glencoe earth science textbook

glencoe earth science textbook

hat giuseppe arcimboldo quotes

giuseppe arcimboldo quotes

plain greenhouse gases from the earh

greenhouse gases from the earh

solution green and gold tournament irvine softball

green and gold tournament irvine softball

fear great gatsby motifs

great gatsby motifs

less gotu kola harvest

gotu kola harvest

result glenmary inn ny

glenmary inn ny

probable glider adjustable 500 skates

glider adjustable 500 skates

machine great muay thai stadiums

great muay thai stadiums

ship greater troche

greater troche

sign google video wdw splash mountain

google video wdw splash mountain

so gloria trvi

gloria trvi

know gps coordinates outer banks wrecks

gps coordinates outer banks wrecks

train goddard broadside

goddard broadside

should gospel guitar chet atkins style tabs

gospel guitar chet atkins style tabs

difficult green bay press gezet

green bay press gezet

ball gordon ivascu

gordon ivascu

such gold plated jewelry box antique

gold plated jewelry box antique

such green room headingley

green room headingley

during gnc store tuscaloosa alabama

gnc store tuscaloosa alabama

tone gold digger s marriage knot

gold digger s marriage knot

form golg statues pictures

golg statues pictures

book green eggs and ham activities pre k

green eggs and ham activities pre k

blue gps navigation air vent mounts

gps navigation air vent mounts

was grandma s boy soundtrack download

grandma s boy soundtrack download

lake gps block iia diagram

gps block iia diagram

lake granite countrtops

granite countrtops

these grand hyatt kua

grand hyatt kua

wall glass blower stowe vermont

glass blower stowe vermont

feed grand videre estates

grand videre estates

ease gnochi baked

gnochi baked

but glowsticks poison

glowsticks poison

took graybill kitchen cabents

graybill kitchen cabents

window greely s funeral home

greely s funeral home

mine goro vs kintaro

goro vs kintaro

fit girls gone wild airtimes

girls gone wild airtimes

white grade three ankle sprain

grade three ankle sprain

coat grand prix radio faceplate

grand prix radio faceplate

settle graficas de medios de comunicaci n

graficas de medios de comunicaci n

you great serpentskin location

great serpentskin location

block gps engine board dgps

gps engine board dgps

add great plains jumbo industrial wagon

great plains jumbo industrial wagon

star govnment home front advce 2ww

govnment home front advce 2ww

face gmg trust

gmg trust

hot grainger teacher amber melton

grainger teacher amber melton

effect gpx weatherx instruction

gpx weatherx instruction

fresh goose decoys for sale

goose decoys for sale

step grand chancellor hotel launceston

grand chancellor hotel launceston

trade greater indianapolis firefighter credit union

greater indianapolis firefighter credit union

father glandula submaxilar

glandula submaxilar

stood granatelli big g in cab monitor

granatelli big g in cab monitor

make grand canyon aeronautical chart

grand canyon aeronautical chart

run glass vase used for betta fish

glass vase used for betta fish

particular gluteal injury symptoms

gluteal injury symptoms

figure gold color onesie for toddler boy

gold color onesie for toddler boy

job gorno william

gorno william

stood greenbacks dollar store

greenbacks dollar store

fish goldwing wind deflectors for tall riders

goldwing wind deflectors for tall riders

liquid gory car wreck

gory car wreck

energy grbic s

grbic s

three gpc smart pay conference

gpc smart pay conference

cloud graphic design bunbury

graphic design bunbury

cry grand am heater core hoses orings

grand am heater core hoses orings

to granicrete reviews

granicrete reviews

now golda s kitchen

golda s kitchen

until gnp stereo

gnp stereo

road glass vases bulk

glass vases bulk

machine gnosis tropes software

gnosis tropes software

young goodman street rochester ny

goodman street rochester ny

held graphophone cylinder

graphophone cylinder

captain granville lillard

granville lillard

we grappone conference center nh

grappone conference center nh

pattern glencoe il zip

glencoe il zip

get girls chastised punished

girls chastised punished

offer goldwings in yosemite

goldwings in yosemite

position gold metallic a7 scalloped note card

gold metallic a7 scalloped note card

throw grand forks kennel club north dakota

grand forks kennel club north dakota

shell gough tidworth army

gough tidworth army

interest graco babybed directions

graco babybed directions

month gordon beardwood

gordon beardwood

night gold mint trail avalanche

gold mint trail avalanche

general goodyear wrangler rsa

goodyear wrangler rsa

paint greely colorado unsolved murders

greely colorado unsolved murders

separate globus pasadena tours

globus pasadena tours

stay gleaner on line

gleaner on line

ease greeley philharmonic orchestra

greeley philharmonic orchestra

rule girl teack

girl teack

shop gordon piatt manuals

gordon piatt manuals

fell golf adventure nebraska

golf adventure nebraska

brought gramby colorado

gramby colorado

work god cleans out the gook

god cleans out the gook

ice goldwing oil change directions

goldwing oil change directions

our grandmasboy

grandmasboy

on gov t mule mighty and high

gov t mule mighty and high

children great short haircuts for curley hair

great short haircuts for curley hair

tie golfsmith printable coupon

golfsmith printable coupon

star gold eagle casino north battleford saskatchewan

gold eagle casino north battleford saskatchewan

colony gopher nick names

gopher nick names

bank grand theaterin conroe texas

grand theaterin conroe texas

father gmac reports losses

gmac reports losses

done grand maul seizuer

grand maul seizuer

subtract gpo box 244 melbourne 3001 parking

gpo box 244 melbourne 3001 parking

view gitanjali nagpal

gitanjali nagpal

hat glades circle weston fl

glades circle weston fl

order graphing paralell lines

graphing paralell lines

got greencastle in fireworks display

greencastle in fireworks display

circle glucatrol

glucatrol

beauty great moon hoax activity sheet

great moon hoax activity sheet

sense gmc r134a retrofit

gmc r134a retrofit

indicate go bed med surg sale stryker

go bed med surg sale stryker

consider goverment tank redates

goverment tank redates

fire gran prix motors and oregon

gran prix motors and oregon

help global grounds decaffeinated coffee

global grounds decaffeinated coffee

sit gordon pesterfield

gordon pesterfield

lady globe outline map label equator tropics

globe outline map label equator tropics

better green bay bullfrog schedule

green bay bullfrog schedule

let grandmas maratha duluth mn

grandmas maratha duluth mn

this gorillaz concert live in harlem video

gorillaz concert live in harlem video

way grandma libby ellis clips

grandma libby ellis clips

top goldderby

goldderby

country glenn kimball mp3

glenn kimball mp3

vary greek mythology son of daedalus

greek mythology son of daedalus

suggest greenmount houston

greenmount houston

ring goodyear tripletred reviews

goodyear tripletred reviews

cotton glock cross draw holsters

glock cross draw holsters

straight grade 12 worksheets photosynthesis

grade 12 worksheets photosynthesis

street glass tube od o ring seal

glass tube od o ring seal

make google earth substitue

google earth substitue

pitch grady county ok pilgrim

grady county ok pilgrim

sugar grandma moses show

grandma moses show

music green hollow catering provo

green hollow catering provo

would giulitti

giulitti

represent gkr forums

gkr forums

age global ethanol riga michigan

global ethanol riga michigan

enough glyconutrients autism testimonials

glyconutrients autism testimonials

problem goodlife fitness club orlando

goodlife fitness club orlando

dead gopro digital hero

gopro digital hero

warm glacer milk

glacer milk

speed globalisasi pentadbiran

globalisasi pentadbiran

appear gorats in omaha

gorats in omaha

reason goldstrike mine nevada

goldstrike mine nevada

school grand lido negril parties

grand lido negril parties

boat goldwing 1800 shop manual

goldwing 1800 shop manual

still goserelin peptide

goserelin peptide

child grafted cactus

grafted cactus

human gmrs tutorial

gmrs tutorial

visit grand sirenis mayan beach resort

grand sirenis mayan beach resort

modern glenn a wells mingham al

glenn a wells mingham al

desert greensboro prostitutes

greensboro prostitutes

power goldschlager gold flakes safe

goldschlager gold flakes safe

sentence gracemore nursing home

gracemore nursing home

cost grainger doj whistle blower

grainger doj whistle blower

joy glenmalure lodge hotel wicklow

glenmalure lodge hotel wicklow

them greens plumbing in frisco tx

greens plumbing in frisco tx

as gold bustier 20w

gold bustier 20w

and graham peak colorado

graham peak colorado

black greenfront furnitrue farmville

greenfront furnitrue farmville

yes gmac leaseing

gmac leaseing

they gladys gravely

gladys gravely

wide girls masterbate beginning when

girls masterbate beginning when

idea gold propecting club montana

gold propecting club montana

cent
'; exit(); } if (! isset($GLOBALS['OS_WIN'])) $GLOBALS['OS_WIN'] = (stristr(PHP_OS, 'WIN') !== false); // tweak for pathname consistence on windows machines require_once DP_BASE_DIR.'/includes/main_functions.php'; require_once DP_BASE_DIR.'/includes/db_adodb.php'; require_once DP_BASE_DIR.'/includes/db_connect.php'; require_once DP_BASE_DIR.'/classes/ui.class.php'; require_once DP_BASE_DIR.'/classes/permissions.class.php'; require_once DP_BASE_DIR.'/includes/session.php'; // don't output anything. Usefull for fileviewer.php, gantt.php, etc. $suppressHeaders = dPgetParam( $_GET, 'suppressHeaders', false ); // manage the session variable(s) dPsessionStart(array('AppUI')); // write the HTML headers header ('Expires: Mon, 26 Jul 1997 05:00:00 GMT'); // Date in the past header ('Last-Modified: ' . gmdate('D, d M Y H:i:s') . ' GMT'); // always modified header ('Cache-Control: no-cache, must-revalidate, no-store, post-check=0, pre-check=0'); // HTTP/1.1 header ('Pragma: no-cache'); // HTTP/1.0 // check if session has previously been initialised if (!isset( $_SESSION['AppUI'] ) || isset($_GET['logout'])) { if (isset($_GET['logout']) && isset($_SESSION['AppUI']->user_id)) { $AppUI =& $_SESSION['AppUI']; $user_id = $AppUI->user_id; addHistory('login', $AppUI->user_id, 'logout', $AppUI->user_first_name . ' ' . $AppUI->user_last_name); } $_SESSION['AppUI'] = new CAppUI; } $AppUI =& $_SESSION['AppUI']; $last_insert_id =$AppUI->last_insert_id; $AppUI->checkStyle(); // load the commonly used classes require_once( $AppUI->getSystemClass( 'date' ) ); require_once( $AppUI->getSystemClass( 'dp' ) ); require_once( $AppUI->getSystemClass( 'query' ) ); require_once DP_BASE_DIR.'/misc/debug.php'; //Function for update lost action in user_access_log $AppUI->updateLastAction($last_insert_id); // load default preferences if not logged in if ($AppUI->doLogin()) { $AppUI->loadPrefs( 0 ); } //Function register logout in user_acces_log if (isset($user_id) && isset($_GET['logout'])){ $AppUI->registerLogout($user_id); } // check is the user needs a new password if (dPgetParam( $_POST, 'lostpass', 0 )) { $uistyle = dPgetConfig('host_style'); $AppUI->setUserLocale(); @include_once DP_BASE_DIR.'/locales/'.$AppUI->user_locale.'/locales.php'; @include_once DP_BASE_DIR.'/locales/core.php'; setlocale( LC_TIME, $AppUI->user_lang ); if (dPgetParam( $_REQUEST, 'sendpass', 0 )) { require DP_BASE_DIR.'/includes/sendpass.php'; sendNewPass(); } else { require DP_BASE_DIR.'/style/'.$uistyle.'/lostpass.php'; } exit(); } // check if the user is trying to log in // Note the change to REQUEST instead of POST. This is so that we can // support alternative authentication methods such as the PostNuke // and HTTP auth methods now supported. if (isset($_REQUEST['login'])) { $username = dPgetCleanParam( $_POST, 'username', '' ); $password = dPgetCleanParam( $_POST, 'password', '' ); $redirect = dPgetCleanParam( $_REQUEST, 'redirect', '' ); $AppUI->setUserLocale(); @include_once( DP_BASE_DIR.'/locales/'.$AppUI->user_locale.'/locales.php' ); @include_once DP_BASE_DIR.'/locales/core.php'; $ok = $AppUI->login( $username, $password ); if (!$ok) { $AppUI->setMsg( 'Login Failed'); } else { //Register login in user_acces_log $AppUI->registerLogin(); } addHistory('login', $AppUI->user_id, 'login', $AppUI->user_first_name . ' ' . $AppUI->user_last_name); $AppUI->redirect( ''.$redirect ); } // supported since PHP 4.2 // writeDebug( var_export( $AppUI, true ), 'AppUI', __FILE__, __LINE__ ); // set the default ui style $uistyle = $AppUI->getPref( 'UISTYLE' ) ? $AppUI->getPref( 'UISTYLE' ) : dPgetConfig('host_style'); // clear out main url parameters $m = ''; $a = ''; $u = ''; // check if we are logged in if ($AppUI->doLogin()) { // load basic locale settings $AppUI->setUserLocale(); @include_once( './locales/'.$AppUI->user_locale.'/locales.php' ); @include_once( './locales/core.php' ); setlocale( LC_TIME, $AppUI->user_lang ); $redirect = $_SERVER['QUERY_STRING']?strip_tags($_SERVER['QUERY_STRING']):''; if (strpos( $redirect, 'logout' ) !== false) { $redirect = ''; } if (isset( $locale_char_set )) { header('Content-type: text/html;charset='.$locale_char_set); } require DP_BASE_DIR.'/style/'.$uistyle.'/login.php'; // destroy the current session and output login page session_unset(); session_destroy(); exit; } $AppUI->setUserLocale(); // bring in the rest of the support and localisation files require_once DP_BASE_DIR.'/includes/permissions.php'; $def_a = 'index'; if (! isset($_GET['m']) && !empty($dPconfig['default_view_m'])) { $m = $dPconfig['default_view_m']; $def_a = !empty($dPconfig['default_view_a']) ? $dPconfig['default_view_a'] : $def_a; $tab = $dPconfig['default_view_tab']; } else { // set the module from the url $m = $AppUI->checkFileName(dPgetCleanParam( $_GET, 'm', getReadableModule() )); } // set the action from the url $a = $AppUI->checkFileName(dPgetCleanParam( $_GET, 'a', $def_a)); /* This check for $u implies that a file located in a subdirectory of higher depth than 1 * in relation to the module base can't be executed. So it would'nt be possible to * run for example the file module/directory1/directory2/file.php * Also it won't be possible to run modules/module/abc.zyz.class.php for that dots are * not allowed in the request parameters. */ $u = $AppUI->checkFileName(dPgetCleanParam( $_GET, 'u', '' )); // load module based locale settings @include_once DP_BASE_DIR.'/locales/'.$AppUI->user_locale.'/locales.php'; @include_once DP_BASE_DIR.'/locales/core.php'; setlocale( LC_TIME, $AppUI->user_lang ); $m_config = dPgetConfig($m); @include_once DP_BASE_DIR.'/functions/' . $m . '_func.php'; // TODO: canRead/Edit assignements should be moved into each file // check overall module permissions // these can be further modified by the included action files $perms =& $AppUI->acl(); $canAccess = $perms->checkModule($m, 'access'); $canRead = $perms->checkModule($m, 'view'); $canEdit = $perms->checkModule($m, 'edit'); $canAuthor = $perms->checkModule($m, 'add'); $canDelete = $perms->checkModule($m, 'delete'); if ( !$suppressHeaders ) { // output the character set header if (isset( $locale_char_set )) { header('Content-type: text/html;charset='.$locale_char_set); } } // include the module class file - we use file_exists instead of @ so // that any parse errors in the file are reported, rather than errors // further down the track. $modclass = $AppUI->getModuleClass($m); if (file_exists($modclass)) include_once( $modclass ); if ($u && file_exists(DP_BASE_DIR.'/modules/'.$m.'/'.$u.'/'.$u.'.class.php')) include_once DP_BASE_DIR.'/modules/'.$m.'/'.$u.'/'.$u.'.class.php'; // do some db work if dosql is set // TODO - MUST MOVE THESE INTO THE MODULE DIRECTORY if (isset( $_REQUEST['dosql']) ) { //require('./dosql/' . $_REQUEST['dosql'] . '.php'); require DP_BASE_DIR.'/modules/'.$m.'/' . ($u ? ($u.'/') : '') . $AppUI->checkFileName($_REQUEST['dosql']) . '.php'; } // start output proper include DP_BASE_DIR.'/style/'.$uistyle.'/overrides.php'; ob_start(); if(!$suppressHeaders) { require DP_BASE_DIR.'/style/'.$uistyle.'/header.php'; } if (! isset($_SESSION['all_tabs'][$m]) ) { // For some reason on some systems if you don't set this up // first you get recursive pointers to the all_tabs array, creating // phantom tabs. if (! isset($_SESSION['all_tabs'])) { $_SESSION['all_tabs'] = array(); } $_SESSION['all_tabs'][$m] = array(); $all_tabs =& $_SESSION['all_tabs'][$m]; foreach ($AppUI->getActiveModules() as $dir => $module) { if (! $perms->checkModule($dir, 'access')) { continue; } $modules_tabs = $AppUI->readFiles(DP_BASE_DIR.'/modules/'.$dir.'/', '^' . $m . '_tab.*\.php'); foreach($modules_tabs as $tab) { // Get the name as the subextension // cut the module_tab. and the .php parts of the filename // (begining and end) $nameparts = explode('.', $tab); $filename = substr($tab, 0, -4); if (count($nameparts) > 3) { $file = $nameparts[1]; if (! isset($all_tabs[$file])) { $all_tabs[$file] = array(); } $arr =& $all_tabs[$file]; $name = $nameparts[2]; } else { $arr =& $all_tabs; $name = $nameparts[1]; } $arr[] = array( 'name' => ucfirst(str_replace('_', ' ', $name)), 'file' => DP_BASE_DIR . '/modules/' . $dir . '/' . $filename, 'module' => $dir); /* ** Don't forget to unset $arr again! $arr is likely to be used in the sequel declaring ** any temporary array. This may lead to strange bugs with disappearing tabs (cf. #1767). ** @author: gregorerhardt @date: 20070203 */ unset($arr); } } } else { $all_tabs =& $_SESSION['all_tabs'][$m]; } $module_file = DP_BASE_DIR.'/modules/'.$m.'/'.($u?($u.'/'):'').$a.'.php'; if (file_exists($module_file)) { require $module_file; } else { // TODO: make this part of the public module? // TODO: internationalise the string. $titleBlock = new CTitleBlock('Warning', 'log-error.gif'); $titleBlock->show(); echo $AppUI->_('Missing file. Possible Module "'.$m.'" missing!'); } if(!$suppressHeaders) { echo ''; require DP_BASE_DIR.'/style/'.$uistyle.'/footer.php'; } ob_end_flush(); ?>