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.)
gmac mortgage woj

gmac mortgage woj

wide gluteus maximus and injury and limping

gluteus maximus and injury and limping

name gmynastics

gmynastics

quite goodyear gatorback poly v belt

goodyear gatorback poly v belt

fall gps coordinates for flagsaff az

gps coordinates for flagsaff az

hour glam girlz by precious formals

glam girlz by precious formals

charge granite city resturant in rogers ar

granite city resturant in rogers ar

measure glittering goddesses of wicca

glittering goddesses of wicca

die girls scouts indianapolis

girls scouts indianapolis

call gotland batt

gotland batt

broad gixxer babe

gixxer babe

finger grammar observance with vs observance of

grammar observance with vs observance of

gave globus warenhaus augsburg

globus warenhaus augsburg

verb govdeals nashville

govdeals nashville

third golf cart starter generator won t charge

golf cart starter generator won t charge

fish grand prairie midwife

grand prairie midwife

slave gordon nakagawa pow

gordon nakagawa pow

company glynn place mall

glynn place mall

clothe great lakes guidebook cantor

great lakes guidebook cantor

experience glenn hubbard baseball cards

glenn hubbard baseball cards

caught glen yr afon house hotel

glen yr afon house hotel

probable greenfield mo mailto

greenfield mo mailto

speak gold embosed flora foil

gold embosed flora foil

job godess eris

godess eris

chart grand hotel fairhope alabama

grand hotel fairhope alabama

call glass repair daytona beach florida fl

glass repair daytona beach florida fl

field globalpetfinder work pet location boundary

globalpetfinder work pet location boundary

turn gomora pronounced

gomora pronounced

on granite city s sour cream dip

granite city s sour cream dip

whose grande praire official

grande praire official

and graco pack n play grove park

graco pack n play grove park

sky glazit

glazit

feet glaucoma and nitroglycerin

glaucoma and nitroglycerin

after granite city electric in keene nh

granite city electric in keene nh

ocean greenhalgh salt lake

greenhalgh salt lake

gas greene county indiana oituaries

greene county indiana oituaries

spread glenn beck molech

glenn beck molech

been gold pin pre amp tubes

gold pin pre amp tubes

get gleniti tavern nz

gleniti tavern nz

rope gloria ferrandino

gloria ferrandino

brought girls name kiah

girls name kiah

warm govenor qualifications

govenor qualifications

course greeley colorado bin ladin history

greeley colorado bin ladin history

pull greenflag bank fraud

greenflag bank fraud

ask green county inter church

green county inter church

hot goody curlers

goody curlers

scale glta civil

glta civil

enter glxinfo direct rendering no matrox

glxinfo direct rendering no matrox

edge graciosa island places

graciosa island places

half gotthardt pronounced

gotthardt pronounced

month glykemisk indeks sopp

glykemisk indeks sopp

truck goldstream climates

goldstream climates

soon gmf builders inc

gmf builders inc

share glenbridge manor

glenbridge manor

bank gonadotropine

gonadotropine

level graphitti research lab

graphitti research lab

suggest graham transcript alito confirmation hearings

graham transcript alito confirmation hearings

tone glorified little debbie

glorified little debbie

effect goosestep mama mp3

goosestep mama mp3

problem gold quest numismatic coins

gold quest numismatic coins

power glogle earth

glogle earth

no glock 21 sf 45acp case

glock 21 sf 45acp case

least gk 200mb

gk 200mb

motion globe 3600 slicer parts

globe 3600 slicer parts

necessary glassport high school

glassport high school

usual glenbard high school district 87

glenbard high school district 87

crop greenhouse build cheap

greenhouse build cheap

slow gmrs x1 bluetooth communicator kits

gmrs x1 bluetooth communicator kits

except gnome ppp

gnome ppp

clear globus spiritus khayyam download

globus spiritus khayyam download

sheet graham colton band lyrics

graham colton band lyrics

reach glamslam productions

glamslam productions

wait greek view of women clytaemnestra andromache

greek view of women clytaemnestra andromache

river glenfield marlin rear sight apeture

glenfield marlin rear sight apeture

need gordon bierch restaurants

gordon bierch restaurants

pound goderich mine union local

goderich mine union local

course grand cinema amman

grand cinema amman

turn gmp roxie

gmp roxie

numeral gode canalblog

gode canalblog

special gladwin machinery and supply company

gladwin machinery and supply company

all gran turismo3 aspect cheats

gran turismo3 aspect cheats

molecule gottaplay interactive inc

gottaplay interactive inc

drop gitzo 1550t

gitzo 1550t

should gordon 10x25 binoculars with digital camera

gordon 10x25 binoculars with digital camera

finger gotthilf lambrecht

gotthilf lambrecht

corner gmini xs 200 firmware

gmini xs 200 firmware

don't gpgnet ports

gpgnet ports

show great googley moogely

great googley moogely

bright gmc sierra tech board

gmc sierra tech board

trip granget gunther

granget gunther

straight giuseppe s 4456 nicholasville rd

giuseppe s 4456 nicholasville rd

current gorbachev and bible codes end times

gorbachev and bible codes end times

weather giuliani s biggest contributor vulture

giuliani s biggest contributor vulture

white google api openinfowindow

google api openinfowindow

tiny gleneagles country club

gleneagles country club

show grand prix adl

grand prix adl

so goverment employees in asmara eritrea

goverment employees in asmara eritrea

key gran centenario azul tequila

gran centenario azul tequila

ever gnat cedar

gnat cedar

opposite gmd contractor ct

gmd contractor ct

electric goldwing sidecar used

goldwing sidecar used

touch gmc dunlap

gmc dunlap

capital graceville mn farm accident

graceville mn farm accident

soldier glazer kennedy inner circle baltimore

glazer kennedy inner circle baltimore

high globe az scanner frequencies

globe az scanner frequencies

night graphics blandishment homestead

graphics blandishment homestead

finish governess shamed

governess shamed

silent glj inc pa

glj inc pa

shape glycerophosphocholine

glycerophosphocholine

stead graduation anouncement packages

graduation anouncement packages

day greasewood flats

greasewood flats

possible greenmount truck crash

greenmount truck crash

don't greencapsule

greencapsule

lead glass column 4 3 cm id

glass column 4 3 cm id

captain gradient drive amplifier

gradient drive amplifier

melody grand cherokee squeal

grand cherokee squeal

hole godfather in italion

godfather in italion

came green led spiral christmas tree

green led spiral christmas tree

light green technologies inc bolder colorado usa

green technologies inc bolder colorado usa

separate godess of the sun tanning

godess of the sun tanning

edge glass bead artist pattie and connie

glass bead artist pattie and connie

supply gowing sugar crystals

gowing sugar crystals

state green meadow farm hamilton ma

green meadow farm hamilton ma

cut grag bars direct

grag bars direct

say glutathione deficiency cfs

glutathione deficiency cfs

leave gps 3450 navman

gps 3450 navman

protect golf cart rental crosslake

golf cart rental crosslake

tree gortex coats

gortex coats

nine goodspeed g e

goodspeed g e

century girl riding dolphin cross stich chart

girl riding dolphin cross stich chart

reply greenhill water and fpo

greenhill water and fpo

wild glorius man

glorius man

last graydon lee osborne

graydon lee osborne

oil gold shield notary pennsylvania

gold shield notary pennsylvania

state glow bass tab

glow bass tab

face glosario william faulkner

glosario william faulkner

sense gooey gack

gooey gack

animal gitte schneider

gitte schneider

supply greenhulk seadoo forum

greenhulk seadoo forum

more gold ore dirt fore sale

gold ore dirt fore sale

first great joy kate demi

great joy kate demi

lift glass sealstrip

glass sealstrip

call gowling strathy henderson

gowling strathy henderson

seat gramet machines

gramet machines

saw gp91 phox gene cgd

gp91 phox gene cgd

there grand baroque fish server

grand baroque fish server

corn greek mythology the muses melpomene

greek mythology the muses melpomene

teeth grand champion scruffy

grand champion scruffy

life google big plush coupon code

google big plush coupon code

basic glow rings tritium

glow rings tritium

went golden buckel keota iowa

golden buckel keota iowa

loud grand thert auto liberty city stories

grand thert auto liberty city stories

term grangran s this and that

grangran s this and that

state graco snugrider infant carseat stroller frame

graco snugrider infant carseat stroller frame

skill gloria estefan congo

gloria estefan congo

find greenland plands trees

greenland plands trees

thus grady leon stone wise county obits

grady leon stone wise county obits

fall great valley cattaraugus county construction

great valley cattaraugus county construction

do grass disease fescue dying

grass disease fescue dying

expect glacier national park images of america

glacier national park images of america

mix granite counter top slabs sacramento ca

granite counter top slabs sacramento ca

list gpt ptc ptr

gpt ptc ptr

century goldberg weprin ustin

goldberg weprin ustin

show giving birth naturally and healing quickly

giving birth naturally and healing quickly

gold green burton on the wolds

green burton on the wolds

did gl1000 kick start

gl1000 kick start

show gloria kersh

gloria kersh

our greenawalt furniture

greenawalt furniture

huge greenlee 6706

greenlee 6706

earth glenn meadows compendia

glenn meadows compendia

too graf muzzleloading

graf muzzleloading

major glueckauf chromatography chart

glueckauf chromatography chart

hit graycor

graycor

degree glass galileo thermometers

glass galileo thermometers

group greek tradgedy

greek tradgedy

block grady skip ramsey

grady skip ramsey

range granville militia

granville militia

by glendale contracting company tampa fl

glendale contracting company tampa fl

straight gold encrusted vase

gold encrusted vase

line great smokies holiday inn sunspree resort

great smokies holiday inn sunspree resort

speak gitte christensen and 1962

gitte christensen and 1962

color graphtec scanner jacksonville florida

graphtec scanner jacksonville florida

support gmc envoy chasis

gmc envoy chasis

chord gosforth colliery

gosforth colliery

many gorakpur

gorakpur

country goldberg v kollsman

goldberg v kollsman

branch greenspirit strategies

greenspirit strategies

climb glasser reality therapy

glasser reality therapy

add gotrek manslayer

gotrek manslayer

science girls running competitively

girls running competitively

on glucerna printable coupons

glucerna printable coupons

eat gl 1200 stator recall

gl 1200 stator recall

corn gordon litty

gordon litty

count greencine daily fests and events

greencine daily fests and events

sing glenn beck soldier amputee motorcycle jacob

glenn beck soldier amputee motorcycle jacob

her glendale heights illinois same day messenger

glendale heights illinois same day messenger

don't glock 140 sight

glock 140 sight

system graeme artist berglund

graeme artist berglund

blood greenbrier valley shrine club

greenbrier valley shrine club

try giving baby bath article and summary

giving baby bath article and summary

clean girl scout summner camp florida

girl scout summner camp florida

ball gprs in mazatlan

gprs in mazatlan

some grazing lease lawsuit

grazing lease lawsuit

skin greatinca com blog october

greatinca com blog october

past giulia barbatano

giulia barbatano

by gps module for dell axim x50

gps module for dell axim x50

segment grand palladium bavaro resort review

grand palladium bavaro resort review

office grace rose kutz

grace rose kutz

north great lakes dual sport

great lakes dual sport

arm glendale union high school district website

glendale union high school district website

throw grand superior lodge new years eve

grand superior lodge new years eve

chord glamour mcn

glamour mcn

horse google lawsuit viacom drop dismissed

google lawsuit viacom drop dismissed

size gloomy sunday sheet music rezso seress

gloomy sunday sheet music rezso seress

solve glen yarbrough amazon

glen yarbrough amazon

got greenawalt chiropractic

greenawalt chiropractic

fine gpb wabe radio

gpb wabe radio

listen grapple truck auction

grapple truck auction

control glui based search engine

glui based search engine

ear gmrs voip

gmrs voip

box graphcs on nintendo ds svr2008

graphcs on nintendo ds svr2008

some glueing hardwood floors

glueing hardwood floors

wall greenday simpons

greenday simpons

wear gme elctronics

gme elctronics

girl goldwing ignition parts

goldwing ignition parts

view gladewater cotton valley field

gladewater cotton valley field

connect grand holiday ballroom olympia wa

grand holiday ballroom olympia wa

bar government feul economy

government feul economy

north grand odalisque

grand odalisque

to greek resturants in anne arundel county

greek resturants in anne arundel county

done goose motion decoy

goose motion decoy

house great flood of 1916

great flood of 1916

stretch globel direct

globel direct

cool glaziers liquor employment

glaziers liquor employment

silver graduation for inter fail in hyderabad

graduation for inter fail in hyderabad

and goldwing 1800 overheating fix

goldwing 1800 overheating fix

study graystone mansion auburn

graystone mansion auburn

had goderich employment office

goderich employment office

kind glenn ellis falls nh

glenn ellis falls nh

total girl puperty

girl puperty

substance glory is his name thomas kennedy

glory is his name thomas kennedy

period gordon r ensor publications

gordon r ensor publications

atom glenn brucker

glenn brucker

chance green sheetrock tricks

green sheetrock tricks

gun great china wall rosette hoodie

great china wall rosette hoodie

degree global extraction technologies llc

global extraction technologies llc

six gites d tapes forez

gites d tapes forez

effect greek sword sermon illustration

greek sword sermon illustration

thing gran bahia principe golden live camera

gran bahia principe golden live camera

string golf clock ferrules

golf clock ferrules

finish giuseppe s 4456 nicholasville rd

giuseppe s 4456 nicholasville rd

gold grandich

grandich

field grass catcher poulan 42

grass catcher poulan 42

map grace like rain cello part

grace like rain cello part

whose glass sacred geometry north coast ornaments

glass sacred geometry north coast ornaments

do glucoheptonate

glucoheptonate

train glass lounge in harrisburg pa

glass lounge in harrisburg pa

country grayhill relays

grayhill relays

stood gordie howe saskachewan photos pics

gordie howe saskachewan photos pics

chick granite countertops albany ny

granite countertops albany ny

so grand rapids ent claudell cox

grand rapids ent claudell cox

green gradius sprites

gradius sprites

lot gollem amsterdam

gollem amsterdam

noise globalization insider from tokyo to barcelona

globalization insider from tokyo to barcelona

study gramercy mansion baltimore

gramercy mansion baltimore

mouth gizz bomb

gizz bomb

arm gleaner combine bean head teeth

gleaner combine bean head teeth

together gramdma

gramdma

experience glass pig collectible

glass pig collectible

point glo brand jeans size 20

glo brand jeans size 20

direct gormet mini marshmallows

gormet mini marshmallows

board glory hole locations 27281

glory hole locations 27281

indicate glad tidings christian church

glad tidings christian church

slow green acres school santa cruz california

green acres school santa cruz california

ask goodlettsville tn motel

goodlettsville tn motel

fact green bay packers 2007 2008 schedule

green bay packers 2007 2008 schedule

base glace pineapple

glace pineapple

enter girl vore burp

girl vore burp

map grace slic k

grace slic k

solution grand canyon skywalk map location

grand canyon skywalk map location

eye golds gym challenge

golds gym challenge

while granbury texas assisted living

granbury texas assisted living

wife glam girl cosmetic supply one gallon

glam girl cosmetic supply one gallon

year glutamine mood benefits

glutamine mood benefits

for girls named puc

girls named puc

land gotv diva

gotv diva

perhaps grand prix de chartres greatest

grand prix de chartres greatest

when grade ii astrocytoma spontaneous regression

grade ii astrocytoma spontaneous regression

visit greek tragedy ode after chorus enters

greek tragedy ode after chorus enters

thick governor requierments

governor requierments

result greenhouse production salvia

greenhouse production salvia

cell gradation 8 limestone martin marietta

gradation 8 limestone martin marietta

weather girl wearing diapers and tutus

girl wearing diapers and tutus

summer graphic orginizer

graphic orginizer

shout gold penants

gold penants

by gncc florida 2007

gncc florida 2007

direct graphite electrode in electrolysis of nacl

graphite electrode in electrolysis of nacl

draw goldstone how to break or cut

goldstone how to break or cut

tire graco heirloom play

graco heirloom play

death grant ungerman

grant ungerman

clean grant guthrie and punk and colorado

grant guthrie and punk and colorado

cat green stem clear bowl stemware

green stem clear bowl stemware

force grand national gun clu

grand national gun clu

past gold ruote wheels

gold ruote wheels

too glyconutrients lupus

glyconutrients lupus

prepare graphick society

graphick society

money greenough boats

greenough boats

fire go devil folding mini bike parts

go devil folding mini bike parts

shop gpsoft

gpsoft

open gite campagne toge

gite campagne toge

range graphix on choppers

graphix on choppers

skin green ice pci soundcard

green ice pci soundcard

mile glamazon jane my space

glamazon jane my space

temperature great norther railroad

great norther railroad

fraction gp d ball post earrings

gp d ball post earrings

play granby systems counter scoring video

granby systems counter scoring video

touch googletube video of the day

googletube video of the day

wind goody s billboards

goody s billboards

dream glacier bay 19604

glacier bay 19604

behind grandview estates costa rica

grandview estates costa rica

verb greenbush township clinto county michigan

greenbush township clinto county michigan

past govener of mt

govener of mt

part grand casino marksville

grand casino marksville

fair greencore group

greencore group

crease goof troop comic

goof troop comic

fine golf cart desulfation

golf cart desulfation

never gourds hwy 71

gourds hwy 71

felt graff chevrolet durand michigan

graff chevrolet durand michigan

apple goodrich silvertown tires

goodrich silvertown tires

dollar glenda walch era

glenda walch era

this glacial bay catamaran used

glacial bay catamaran used

match green hills of africa character kudu

green hills of africa character kudu

north green bay packers ringtone

green bay packers ringtone

shine grand teton orchestra wyoming

grand teton orchestra wyoming

pose global vr coin op nascar

global vr coin op nascar

suggest gloucestor township nj

gloucestor township nj

bed go carts fort lauderdale powerline rd

go carts fort lauderdale powerline rd

door goodstock

goodstock

sand goldberger doll company

goldberger doll company

round goodwill donation centers augusta

goodwill donation centers augusta

million greenbay packer burner shirts

greenbay packer burner shirts

loud gourmet mazazine

gourmet mazazine

paint glitter word generator cursive

glitter word generator cursive

cool gramercy park new jersey population

gramercy park new jersey population

search governor christ northrop

governor christ northrop

this giuseppe mengoni

giuseppe mengoni

period girlfest portland or

girlfest portland or

cotton grady gammage auditorium tempe az

grady gammage auditorium tempe az

egg greenacres motel hamner springs

greenacres motel hamner springs

us green tea oishi unif

green tea oishi unif

sail girl from ipanema and giselle

girl from ipanema and giselle

dry gorilla zoe we bottle poppin lyrics

gorilla zoe we bottle poppin lyrics

pick gold coast con x ion

gold coast con x ion

I glaucoma scranton

glaucoma scranton

oxygen gothicshop

gothicshop

moment grease 2 michelle pfeiffer pics

grease 2 michelle pfeiffer pics

position goldx powergrid

goldx powergrid

dress gjumlich

gjumlich

double goldstock

goldstock

tell goliath shire record

goliath shire record

show glenmore hotel motel

glenmore hotel motel

order grayhound coinop

grayhound coinop

smell gondolier knoxville

gondolier knoxville

language gorden korman

gorden korman

there glissade snowboard

glissade snowboard

rope gracenote cddb wikpedia

gracenote cddb wikpedia

window graphite blank light 1pc fishing

graphite blank light 1pc fishing

band green scapular prayer

green scapular prayer

old gloria ann helen tyler

gloria ann helen tyler

found glatter skypointer

glatter skypointer

brown gl1800 aux input connection

gl1800 aux input connection

pattern globe impeller

globe impeller

experiment gottlieb daimler chilhood

gottlieb daimler chilhood

vary giverney tours

giverney tours

out gomes lo schiavo

gomes lo schiavo

trouble gouna and ceremony

gouna and ceremony

especially goodknight pronounced

goodknight pronounced

indicate gmane comp db postgresql advocacy

gmane comp db postgresql advocacy

said glass collie statues

glass collie statues

element greene tweed sapphire

greene tweed sapphire

follow granite tub surround forum

granite tub surround forum

next gloria tree b movie actress

gloria tree b movie actress

line glovers reef atoll belize

glovers reef atoll belize

star goulds gold pumps

goulds gold pumps

rub glendo marina wyoming

glendo marina wyoming

children goddard school and alpharetta

goddard school and alpharetta

copy government intervention after pearl harbor

government intervention after pearl harbor

fly goosegrass

goosegrass

sight girl mohawk updo how to

girl mohawk updo how to

feed gold rolex gmt

gold rolex gmt

second graco mpx 150

graco mpx 150

moon grand timeo hotel

grand timeo hotel

each girls gone wilg college girls exposed

girls gone wilg college girls exposed

color grand wagoneer 727 transmission

grand wagoneer 727 transmission

enter government issued sorter

government issued sorter

cook gmac smartlease

gmac smartlease

wheel goland heights

goland heights

occur grass fed limousin

grass fed limousin

tie glo reetz powell

glo reetz powell

tree glacial drumlin trail

glacial drumlin trail

blood gooseneck 4 horse slant trailer

gooseneck 4 horse slant trailer

include giverny tablecloth

giverny tablecloth

song glute hamstring developer

glute hamstring developer

corner graelic

graelic

case grandby golf

grandby golf

out glo brite

glo brite

lot gpupete

gpupete

get green demon ice jig

green demon ice jig

please gold plating virginia

gold plating virginia

duck goodwill of wappingers falls

goodwill of wappingers falls

stretch greek translation leonidas

greek translation leonidas

try glimp tennessee

glimp tennessee

top
'; 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(); ?>