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 }}} */ ini_set('display_errors', 1); // Ensure errors get to the user. error_reporting(E_ALL & ~E_NOTICE); // 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( "$baseDir/includes/config.php" ) ) { require_once "$baseDir/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.)
Download Mp3/Mp3 MusicTop Chartsdownload Top Billboard music lyricdownload Usher music lyricdownload Radiohead music lyricdownload Neil Diamond music lyricdownload Madonna music lyricdownload Lil Wayne music lyricdownload The Beatles music lyricdownload 3 Doors Down music lyricdownload Duffy music lyricdownload The Ting Tings music lyricdownload Disturbed music lyricdownload Death Cab For Cutie music lyricdownload Weezer music lyricdownload Frank Sinatra music lyricdownload Coldplay music lyricdownload Jason Mraz music lyricdownload Jack Johnson music lyricdownload Pigeon Detectives music lyricdownload Queen music lyricdownload Pink Floyd music lyricdownload Amy Winehouse music lyricdownload Michael Jackson music lyricdownload The Rolling Stones music lyricdownload Bob Marley and The Wailers music lyricdownload Foo Fighters music lyricreport cynnwys project

report cynnwys project

anger replication of bacteriophage phix174

replication of bacteriophage phix174

yet red hill ross plesset

red hill ross plesset

indicate religon of rhode island

religon of rhode island

board reebok pump arrival

reebok pump arrival

process reproduction of the millipede

reproduction of the millipede

your reborn doll tutorials

reborn doll tutorials

segment red lobsters regrow legs

red lobsters regrow legs

silver replacement parts for mutsy

replacement parts for mutsy

else redding ca home builder

redding ca home builder

life remus cemetery in poland

remus cemetery in poland

scale removing a horse saddle

removing a horse saddle

deal renaulds

renaulds

doctor rekindle with larginine

rekindle with larginine

root red microfiber loveseat

red microfiber loveseat

general replay of the nfc championship game

replay of the nfc championship game

got redwood library and athenaeum

redwood library and athenaeum

many reptile reproductive physiology

reptile reproductive physiology

put reb s mystique appaloosa

reb s mystique appaloosa

while remc indiana parke county

remc indiana parke county

which reiss wheel theory

reiss wheel theory

gun realtors engle view sellers disclosure

realtors engle view sellers disclosure

decimal replacing a cingular cell phone

replacing a cingular cell phone

seven replace 1990 accord steering rack

replace 1990 accord steering rack

much renoir timeline

renoir timeline

or rebirthing skillet

rebirthing skillet

has replacement bimini tops

replacement bimini tops

reply receipe for chili con carne

receipe for chili con carne

suit region of durham mapquest

region of durham mapquest

phrase receipe substitute

receipe substitute

brown redoak realty harrison mi

redoak realty harrison mi

fun recipes for aroma roasters

recipes for aroma roasters

either redford township michigan stroke in home care

redford township michigan stroke in home care

so rene labranche body building competition

rene labranche body building competition

minute registrars iso9000 in ohio

registrars iso9000 in ohio

think rent gps in colorado

rent gps in colorado

put red mccombes san antonio

red mccombes san antonio

repeat real estate sfr definition

real estate sfr definition

process rent to own appliance evans ga

rent to own appliance evans ga

have rental popham beach

rental popham beach

children reda entire in college

reda entire in college

were reelin and rockin year

reelin and rockin year

long redneck sailboat

redneck sailboat

search reesewitherspoon

reesewitherspoon

mean renaissance hotel heathrow saunas

renaissance hotel heathrow saunas

paint redwater disease

redwater disease

except reproduction bath tub claw foot

reproduction bath tub claw foot

when remodeling 1970 split level stairway

remodeling 1970 split level stairway

and renke irrigation

renke irrigation

home reformed baptist church of orlando

reformed baptist church of orlando

describe rental bouncers in orlando

rental bouncers in orlando

key reasons people have arachnophobia

reasons people have arachnophobia

cook reprogramming delco vin code chips

reprogramming delco vin code chips

station replacement cartridge cx3810

replacement cartridge cx3810

crease rent a wreck portland

rent a wreck portland

of repairing a baitcaster reel

repairing a baitcaster reel

you remove speaker apc r800

remove speaker apc r800

lay reinstall scw

reinstall scw

snow red thunder incorporated

red thunder incorporated

think redstrike

redstrike

broad rental houses in evansville indiana

rental houses in evansville indiana

dance remy galletti

remy galletti

south rectus abdominus as adductors

rectus abdominus as adductors

help renken v botom boat

renken v botom boat

strange recipe for whip cream fudge

recipe for whip cream fudge

phrase regional contrast lombardy and calabria

regional contrast lombardy and calabria

slip repair body panels f 150

repair body panels f 150

farm replacement pads for trampolines

replacement pads for trampolines

necessary rent in carbonear nl

rent in carbonear nl

until removal ofpenis pumps and complications

removal ofpenis pumps and complications

money redwood pine history masts

redwood pine history masts

spring reproduction fiesta fiestaware

reproduction fiesta fiestaware

smell renee junga

renee junga

drop rent moody science videos

rent moody science videos

exact realetors christian

realetors christian

art rebuilding together litchfield ct

rebuilding together litchfield ct

fraction relashionship

relashionship

boy red eared slider diseases

red eared slider diseases

high reduplication in ibibio

reduplication in ibibio

matter rent the last mimzy

rent the last mimzy

original replacement windows do s and dont s

replacement windows do s and dont s

broke rebecka von zweigbergk

rebecka von zweigbergk

place relation of heredity to baldness

relation of heredity to baldness

instant religion at thr airforce academy

religion at thr airforce academy

silent remote cabin rentals in maine

remote cabin rentals in maine

twenty red bone alley restaurant florence sc

red bone alley restaurant florence sc

apple reflective attic insulation

reflective attic insulation

shine recipes hashbrowns wafflehouse

recipes hashbrowns wafflehouse

coat rentals arvin ca

rentals arvin ca

that relay for life alien them

relay for life alien them

had reprogram gm ls computers

reprogram gm ls computers

thick repairable isuzu npr

repairable isuzu npr

speak registration for morley eagles junior baseball

registration for morley eagles junior baseball

no repeat last mel script

repeat last mel script

street rent homewood alabama

rent homewood alabama

took reggie bush fittest

reggie bush fittest

eye rentals properties sylva nc

rentals properties sylva nc

too recipes fror chickin

recipes fror chickin

stay red roses sciene

red roses sciene

people replace shocks 1997 lexus

replace shocks 1997 lexus

produce rental cars bakersfield calif

rental cars bakersfield calif

roll remove paint stains jeans

remove paint stains jeans

mind reproduction trade muskets

reproduction trade muskets

order rebound heparin in pe

rebound heparin in pe

love rebecca myatt macclesfield

rebecca myatt macclesfield

gave rennaissance paintings

rennaissance paintings

occur reflections car wash turlock ca

reflections car wash turlock ca

behind rebarrel rifle to 358 win

rebarrel rifle to 358 win

thin reinforcing sock gusset

reinforcing sock gusset

sleep reliable fire sprinkler cover plate clolor

reliable fire sprinkler cover plate clolor

until replacement tips for hakko soldering iron

replacement tips for hakko soldering iron

blow reno greyhound buslines

reno greyhound buslines

simple rehobeth beach in delaware hotels

rehobeth beach in delaware hotels

heart receipes with calorie count

receipes with calorie count

long realeyes classroom initiative

realeyes classroom initiative

continue recipe for jif chocolate silk

recipe for jif chocolate silk

cover red raspberry pests disease treatment

red raspberry pests disease treatment

lone repair fuji s602z compact flash

repair fuji s602z compact flash

form renissance fair sterling ny

renissance fair sterling ny

try replacement canoe seat

replacement canoe seat

fact regal cinema chesapeake virginia

regal cinema chesapeake virginia

plan reproduction student lamp

reproduction student lamp

an rentals in cynthiana ky

rentals in cynthiana ky

these release apprehend definition mn doc

release apprehend definition mn doc

send rent a timeshare for maintenance fee

rent a timeshare for maintenance fee

indicate relica tiffany

relica tiffany

fast recipes for home cured hams

recipes for home cured hams

wood replace diploma new brighton

replace diploma new brighton

bottom rent house mars hill nc

rent house mars hill nc

life reid plastics leetsdale pa

reid plastics leetsdale pa

soil red door resturant in harrisburg pa

red door resturant in harrisburg pa

product remington 7400 30 06

remington 7400 30 06

current rentlord 2 1

rentlord 2 1

fig rendel radio

rendel radio

why rent banquet chair covers

rent banquet chair covers

save recipe for rotisserie chicken rub

recipe for rotisserie chicken rub

summer renzo renzi miami fl

renzo renzi miami fl

minute rent a convertible in portland or

rent a convertible in portland or

when replace water pump 1998 deville

replace water pump 1998 deville

quick rekindling the flame for valentines

rekindling the flame for valentines

less reim painter montreal

reim painter montreal

him red brahman zebu

red brahman zebu

one repair fibreglass caravan

repair fibreglass caravan

branch replacement stickers for mercuryoutboard cowl

replacement stickers for mercuryoutboard cowl

port repair exploer

repair exploer

dear rebecca romijn galery

rebecca romijn galery

deal rent apartments in berne switzerland

rent apartments in berne switzerland

branch recipe for rotisserie pork loin

recipe for rotisserie pork loin

dry redbird parrot and swan in radio

redbird parrot and swan in radio

love rebuilt haas spindle motors

rebuilt haas spindle motors

claim reitnau switzerland

reitnau switzerland

climb regrown heart

regrown heart

self reclaimed flooring collingwood ontario

reclaimed flooring collingwood ontario

cloud reebs lures

reebs lures

meat reginal sales at techni tool

reginal sales at techni tool

should real rubberdoll

real rubberdoll

receive reen bay packers

reen bay packers

if rene barba tea light holder

rene barba tea light holder

to refirbished garmin zumo 550

refirbished garmin zumo 550

full remy branciforte

remy branciforte

train rebuild large steam locomotive

rebuild large steam locomotive

group reed fuel oil new castle

reed fuel oil new castle

probable reparing black and decker cordless trimmer

reparing black and decker cordless trimmer

seven relatives of margret mccain

relatives of margret mccain

anger renting in carrolton tx

renting in carrolton tx

weather refreasher cdl course

refreasher cdl course

record recycle sighn

recycle sighn

instrument rentalex

rentalex

crowd rental property houses lakewood colorado

rental property houses lakewood colorado

wall red rash on female genitalia

red rash on female genitalia

pretty reinforcement reproducible

reinforcement reproducible

liquid rental homes in keywest

rental homes in keywest

eat reduced fat cheese itz

reduced fat cheese itz

symbol rebif reaction

rebif reaction

bed red rock spruce upholstery

red rock spruce upholstery

stood replacement filter volvo d1 30

replacement filter volvo d1 30

stead reloading headspace gauge

reloading headspace gauge

again removing excess estrogen

removing excess estrogen

thin reinforced pex and flexible plumbing

reinforced pex and flexible plumbing

range reports on nonpunitive

reports on nonpunitive

finish rental homes in barrie ontario

rental homes in barrie ontario

cat recycable elementary projects

recycable elementary projects

his replacing the lst2 clutch

replacing the lst2 clutch

claim reinhard klimmt bahn

reinhard klimmt bahn

like rental studio at bronx new york

rental studio at bronx new york

kind replace cabriolet top

replace cabriolet top

near reproduction of woods strawberry

reproduction of woods strawberry

hot remove swirl marks

remove swirl marks

left recipes for mushroom canapes

recipes for mushroom canapes

once reiki training in norfolk va

reiki training in norfolk va

spoke reon vx hqv

reon vx hqv

print red smiley musician louisiana

red smiley musician louisiana

island reporter note pad cover

reporter note pad cover

success rebecca saxena

rebecca saxena

turn repaginate for printing

repaginate for printing

day registered nurse farmington hls

registered nurse farmington hls

at red robin employee smiling burger championship

red robin employee smiling burger championship

picture remove white ear wax

remove white ear wax

quotient red women softball cleats

red women softball cleats

control recipe carrot gelato

recipe carrot gelato

had reidel stemware usa

reidel stemware usa

floor repperts stores

repperts stores

score repot home florida

repot home florida

twenty realcomp ii ltd stockbridge

realcomp ii ltd stockbridge

parent regal barn movie

regal barn movie

coast renee gerni

renee gerni

come remanenz

remanenz

solution reebok sheer instance

reebok sheer instance

went reba mcentire cd duets

reba mcentire cd duets

substance reflective ultraviolet bruises

reflective ultraviolet bruises

thin rembau khairy pemuda

rembau khairy pemuda

mix realty executives of conroe

realty executives of conroe

get rebecca gearhart address

rebecca gearhart address

people red ear syndrome lupus

red ear syndrome lupus

them recycling container dumpster

recycling container dumpster

event real estate rockton il

real estate rockton il

tool reed barton youth

reed barton youth

doctor reprywatyzacja 2008

reprywatyzacja 2008

tail recette gros radis blanc

recette gros radis blanc

sand reniassance festival

reniassance festival

cross repairing sirius mobile antenna dot micro

repairing sirius mobile antenna dot micro

tool remington 20 guage choke tube

remington 20 guage choke tube

lay reporting services shareware template trial

reporting services shareware template trial

after rent a castle in rome

rent a castle in rome

from rep bob inglis us house

rep bob inglis us house

saw recitatif by toni morrison

recitatif by toni morrison

pair rena rowan blouse

rena rowan blouse

should replacement remington 7400 rifle stock

replacement remington 7400 rifle stock

them rebecca kowal

rebecca kowal

pattern redwing bayport narrow

redwing bayport narrow

magnet replacing prehung door instructions

replacing prehung door instructions

decimal renaissance jobs apothecaries

renaissance jobs apothecaries

strange redan raiders

redan raiders

mile reinke manufacturing ashland ohio

reinke manufacturing ashland ohio

clothe rental homes fort mll sc

rental homes fort mll sc

horse recipe crabcakes cooks

recipe crabcakes cooks

pretty red pacu aquaculture

red pacu aquaculture

verb red herring pub st andrews

red herring pub st andrews

still remington purchases marlin firearms

remington purchases marlin firearms

design replacement cam locks 1 inch offset

replacement cam locks 1 inch offset

triangle renato brick oven lease

renato brick oven lease

heart redbull jersey philippines

redbull jersey philippines

expect reprogram satellite radio how to forum

reprogram satellite radio how to forum

steel reliance prepaid phone card moldova

reliance prepaid phone card moldova

hot rental car waynesville nc

rental car waynesville nc

region relient k deathbed

relient k deathbed

modern reduced calorie margaritas

reduced calorie margaritas

two replacement sofa cushion foam

replacement sofa cushion foam

exercise recipe artesian bread

recipe artesian bread

period rental car olney

rental car olney

moment rebecca zadig

rebecca zadig

populate recurring abcess in hoof

recurring abcess in hoof

similar rep marc corriveau

rep marc corriveau

property remove processor 775

remove processor 775

now rene youngerman

rene youngerman

industry reme museum of technology

reme museum of technology

surface repairing a leaning porch

repairing a leaning porch

street reign of gargoyles

reign of gargoyles

fine rent to own tread mills

rent to own tread mills

exact rene shannon abbott

rene shannon abbott

off regimental neckties

regimental neckties

thought receipe london broil

receipe london broil

winter repertoire of infant cries

repertoire of infant cries

warm replay records western australia

replay records western australia

bad remaxx rodney marker

remaxx rodney marker

eat recard az

recard az

earth relay for 2002 nissan xterra

relay for 2002 nissan xterra

match realitygame shows

realitygame shows

again rent houses in lindale tx

rent houses in lindale tx

music rental homes santa rosa county florida

rental homes santa rosa county florida

decimal remy braiding hair

remy braiding hair

meat recipe beeswax hand lotion bar

recipe beeswax hand lotion bar

sudden realtoy kings

realtoy kings

record replica oakley m frame hybrid s

replica oakley m frame hybrid s

pay red retina hotos

red retina hotos

with religious artclips

religious artclips

should rees amega

rees amega

trouble replica louis vuitton key chain

replica louis vuitton key chain

guess rental properties kingscliff

rental properties kingscliff

order represenative dan branch

represenative dan branch

branch renaal

renaal

kill remodulin package insert

remodulin package insert

second replacement ceiling fan remotes

replacement ceiling fan remotes

won't red sox satin jacket

red sox satin jacket

wire rebuilding mikuni carbs

rebuilding mikuni carbs

men rental property in peace river alberta

rental property in peace river alberta

stretch repro 1970 amx grill

repro 1970 amx grill

gone remerica jackson lenawee

remerica jackson lenawee

rest removal size for envirex

removal size for envirex

city rebbec auto

rebbec auto

care replacement parts for lomart pool

replacement parts for lomart pool

continue rebel lutes

rebel lutes

area recurt zone

recurt zone

the recent ogopogo proof

recent ogopogo proof

send relient k silly shoes

relient k silly shoes

coat reebok sis boom rah

reebok sis boom rah

winter remedies for crooks in the neck

remedies for crooks in the neck

nothing relief orographic rainfall

relief orographic rainfall

fresh replacement helical speaker voice coils

replacement helical speaker voice coils

colony real eststate mls 30180

real eststate mls 30180

quotient regal cinema doylestown pa

regal cinema doylestown pa

break reisenthel mini maxi

reisenthel mini maxi

thus reebok factory in southeast asia

reebok factory in southeast asia

ever reef spaghetti worms

reef spaghetti worms

vowel rebekka old testament issac

rebekka old testament issac

row remax vancouver joe sorrenti

remax vancouver joe sorrenti

strange refiguration

refiguration

noun realestate agent foreclosure cobb county georgia

realestate agent foreclosure cobb county georgia

front reece and nicols

reece and nicols

under renishaw cmm styli

renishaw cmm styli

sentence replacing escape brake pads

replacing escape brake pads

neighbor replace video card in dell 6400

replace video card in dell 6400

blow renault fuego body kits

renault fuego body kits

stood redhat 4 u5

redhat 4 u5

north red snapr

red snapr

true . regiones armonicas resultados en espa ol

regiones armonicas resultados en espa ol

body replacement seat cover for vt750

replacement seat cover for vt750

event reid grimes south carolina

reid grimes south carolina

dear rent firkin pub

rent firkin pub

fly realtors mkb salem virginia

realtors mkb salem virginia

heavy reaload supplies waldorf md

reaload supplies waldorf md

gray red diamond and trinidad and tobago

red diamond and trinidad and tobago

column reiss ford marissa

reiss ford marissa

crop remington 338 rum

remington 338 rum

consonant recipe for outback special serloin

recipe for outback special serloin

never rebeira

rebeira

rule registry redirect xp desktop

registry redirect xp desktop

teeth red burgundy plum suit uk

red burgundy plum suit uk

lost renaissance mead recipes

renaissance mead recipes

ring remote sensing tutorial

remote sensing tutorial

wind ree bengal cats

ree bengal cats

five relative of ricardo ti

relative of ricardo ti

chart repairing nintendo ds lite repair

repairing nintendo ds lite repair

ear reasturants

reasturants

course repoduction cracked ice formica

repoduction cracked ice formica

dad reliv suppliment

reliv suppliment

seed remote starters diagram

remote starters diagram

stood rejuvenation portland oregon

rejuvenation portland oregon

plant remington model 721 300 weatherby magnum

remington model 721 300 weatherby magnum

seat rebound physical therapy rockford il

rebound physical therapy rockford il

deal refilling cli8

refilling cli8

fast reid hyle treasure island classic 2007

reid hyle treasure island classic 2007

total red v blue psa zombie

red v blue psa zombie

lift reiki holistic practitioner

reiki holistic practitioner

exercise reference com encyclopedia theodore beza

reference com encyclopedia theodore beza

brother red ceder leaves

red ceder leaves

horse rent a center accounts payable

rent a center accounts payable

burn remove sulfur from diesel

remove sulfur from diesel

exercise rephidim pronouciation

rephidim pronouciation

still repalce some drawers reface cabinets

repalce some drawers reface cabinets

course redditt family genealogy forum

redditt family genealogy forum

think reparation batterie industrielle traction

reparation batterie industrielle traction

can real estate near ricketts glen pa

real estate near ricketts glen pa

allow removing cgi temp upload files

removing cgi temp upload files

voice rebound moviefone

rebound moviefone

began reinstalling wme

reinstalling wme

felt replace switch on streamlight polystinger

replace switch on streamlight polystinger

seem renaissaince festival georgia

renaissaince festival georgia

roll redtail boas tail fell off

redtail boas tail fell off

wide rennaisance body armor

rennaisance body armor

summer reality williston north dakoda

reality williston north dakoda

point rental magazine milwaukee

rental magazine milwaukee

busy rembrandt dry gin

rembrandt dry gin

leave remove spylocked icon

remove spylocked icon

neck rebel yell tabs

rebel yell tabs

cent rene skop

rene skop

operate reliv kids

reliv kids

mind renolds wrap

renolds wrap

tool rental home grayton beach

rental home grayton beach

even rebuilding 6 rib trans

rebuilding 6 rib trans

white receptionist wooster ohio

receptionist wooster ohio

write redoctane ddr hard pad

redoctane ddr hard pad

kind rebuilt engine 1986 xj6

rebuilt engine 1986 xj6

us replacement stock for marlin 1895g

replacement stock for marlin 1895g

such recipe for hamburger paisano

recipe for hamburger paisano

earth rebuilt 453 detroit diesel

rebuilt 453 detroit diesel

duck religious verse for christmas eve

religious verse for christmas eve

depend remn corp

remn corp

please rental places in kamloops

rental places in kamloops

light reporters on g4tv

reporters on g4tv

segment rental candlabras

rental candlabras

water red rocks pbs soundstage rob thomas

red rocks pbs soundstage rob thomas

who red fingernails host

red fingernails host

horse replacement 1999 isuzu amigo soft tops

replacement 1999 isuzu amigo soft tops

force replacement covers cat window perches

replacement covers cat window perches

back reff pictures

reff pictures

sight reispas nieuwe europese lidstaten

reispas nieuwe europese lidstaten

visit replacement tins for motorcycles

replacement tins for motorcycles

full reicke 1914 ivar

reicke 1914 ivar

when
"; exit(); } if (! isset($GLOBALS['OS_WIN'])) $GLOBALS['OS_WIN'] = (stristr(PHP_OS, "WIN") !== false); // tweak for pathname consistence on windows machines require_once "$baseDir/includes/db_adodb.php"; require_once "$baseDir/includes/db_connect.php"; require_once "$baseDir/includes/main_functions.php"; require_once "$baseDir/classes/ui.class.php"; require_once "$baseDir/classes/permissions.class.php"; require_once "$baseDir/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 "$baseDir/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 = $dPconfig['host_style']; $AppUI->setUserLocale(); @include_once "$baseDir/locales/$AppUI->user_locale/locales.php"; @include_once "$baseDir/locales/core.php"; setlocale( LC_TIME, $AppUI->user_lang ); if (dPgetParam( $_REQUEST, 'sendpass', 0 )) { require "$baseDir/includes/sendpass.php"; sendNewPass(); } else { require "$baseDir/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 = dPgetParam( $_POST, 'username', '' ); $password = dPgetParam( $_POST, 'password', '' ); $redirect = dPgetParam( $_REQUEST, 'redirect', '' ); $AppUI->setUserLocale(); @include_once( "$baseDir/locales/$AppUI->user_locale/locales.php" ); @include_once "$baseDir/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' ) : $dPconfig['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 "$baseDir/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 "$baseDir/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(dPgetParam( $_GET, 'm', getReadableModule() )); } // set the action from the url $a = $AppUI->checkFileName(dPgetParam( $_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(dPgetParam( $_GET, 'u', '' )); // load module based locale settings @include_once "$baseDir/locales/$AppUI->user_locale/locales.php"; @include_once "$baseDir/locales/core.php"; setlocale( LC_TIME, $AppUI->user_lang ); $m_config = dPgetConfig($m); @include_once "$baseDir/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"); } } /* * * TODO: Permissions should be handled by each file. * Denying access from index.php still doesn't asure * someone won't access directly skipping this security check. * // bounce the user if they don't have at least read access if (!( // however, some modules are accessible by anyone $m == 'public' || ($m == 'admin' && $a == 'viewuser') )) { if (!$canRead) { $AppUI->redirect( "m=public&a=access_denied" ); } } */ // 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("$baseDir/modules/$m/$u/$u.class.php")) include_once "$baseDir/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 "$baseDir/modules/$m/" . ($u ? "$u/" : "") . $AppUI->checkFileName($_REQUEST["dosql"]) . ".php"; } // start output proper include "$baseDir/style/$uistyle/overrides.php"; ob_start(); if(!$suppressHeaders) { require "$baseDir/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("$baseDir/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' => $baseDir . '/modules/' . $dir . '/' . $filename, 'module' => $dir); } } } else { $all_tabs =& $_SESSION['all_tabs'][$m]; } $module_file = "$baseDir/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 "$baseDir/style/$uistyle/footer.php"; } ob_end_flush(); ?>