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.)
prostituted children and boston

prostituted children and boston

over porno xxx hardcore

porno xxx hardcore

group gabe fucks tj

gabe fucks tj

particular sensual rub 10006

sensual rub 10006

populate model sissy slut

model sissy slut

paint british teen panties

british teen panties

crowd cartoon futurama porn

cartoon futurama porn

make nude nudist camoing rv

nude nudist camoing rv

earth middle age lesbians

middle age lesbians

determine classic porn thumbs

classic porn thumbs

show mature glamour photo models

mature glamour photo models

pitch wife anal scream

wife anal scream

spell denim slut

denim slut

think 100 channel strip

100 channel strip

trade nude teen video free

nude teen video free

close beauty salons houston tx

beauty salons houston tx

your vaginal symtoms

vaginal symtoms

food single lesbians

single lesbians

sail britney skye hardcore

britney skye hardcore

gone love geometry poems

love geometry poems

clean body paint nudes

body paint nudes

we holly sampson nude free

holly sampson nude free

fresh porn evidense registryfix monitor

porn evidense registryfix monitor

short love and peace wallpaper

love and peace wallpaper

next dating mad libs

dating mad libs

know gay sydney strippers

gay sydney strippers

pound butthole fetish

butthole fetish

gather wives cream pie

wives cream pie

point chunky cocks

chunky cocks

thing lisa ann creampie

lisa ann creampie

race bambi xxx

bambi xxx

evening naked flexiable babes

naked flexiable babes

cool women suck cock vids

women suck cock vids

real sex on security cam

sex on security cam

close men lick pussy

men lick pussy

post hot naughty moms

hot naughty moms

lie naked cartoons only girls

naked cartoons only girls

miss amateur hot shots

amateur hot shots

clean dick cheney s biography

dick cheney s biography

your brother showering

brother showering

sell penelope cruz free sex

penelope cruz free sex

space passion productions dvd

passion productions dvd

heart fat bbw cumshot movies

fat bbw cumshot movies

weather anime bondage video clips

anime bondage video clips

quart mallory 3 pin vibrator

mallory 3 pin vibrator

student poor xxx

poor xxx

solution socal coeds video mandy

socal coeds video mandy

particular ballerina nudes

ballerina nudes

market twinks free sites

twinks free sites

morning she males pissing

she males pissing

bank dbz porn video

dbz porn video

enemy lesbian vintage porn films

lesbian vintage porn films

eye russian bride dating agency

russian bride dating agency

there tera s pussy and ass

tera s pussy and ass

laugh carlinville escorts

carlinville escorts

together gay large cock

gay large cock

well mew having sex

mew having sex

nor selling naked xxx picture

selling naked xxx picture

sharp charlotte lewis gallery nude

charlotte lewis gallery nude

figure barely legal teen movies

barely legal teen movies

horse lexapro sex erection diary

lexapro sex erection diary

together absolutly free xxx downloads

absolutly free xxx downloads

fight dick s camera burien

dick s camera burien

your amateurs in nylons

amateurs in nylons

or xxx real player se

xxx real player se

son types of vaginas pics

types of vaginas pics

slip teenage whores archive

teenage whores archive

keep venessa hudson naked

venessa hudson naked

problem wheaton fuck

wheaton fuck

act preten nude models

preten nude models

govern teen acting summer conservatory

teen acting summer conservatory

dry large nude breasts galley

large nude breasts galley

right naughty mad libs

naughty mad libs

quiet teen high frequency sound

teen high frequency sound

wire download teens clip

download teens clip

grand 3d nude crossed eyes

3d nude crossed eyes

compare mature naked women thumbnail

mature naked women thumbnail

smell temporomandibular joint disorder dysfunction

temporomandibular joint disorder dysfunction

past poems about firs kiss

poems about firs kiss

scale training a bdsm slave

training a bdsm slave

big melb large escorts

melb large escorts

dream bleeding from vagina

bleeding from vagina

pose rap fuck song

rap fuck song

wait sleeping suck

sleeping suck

choose astrological matches in romance

astrological matches in romance

often working sex machine

working sex machine

quick ebony empire

ebony empire

separate red head women xxx

red head women xxx

period slick twat

slick twat

seat british naked girls

british naked girls

port sublime porn

sublime porn

kept shannon marie woodward porn

shannon marie woodward porn

white lesbian showere sex seens

lesbian showere sex seens

plant escort services in alberta

escort services in alberta

jump barry williams shirtless

barry williams shirtless

also double pleasure strapon dildos

double pleasure strapon dildos

child blonde on blacks creampie

blonde on blacks creampie

dream poems on jealousy love

poems on jealousy love

lot my cemical romance lyrics

my cemical romance lyrics

corner fkk nude beach 12

fkk nude beach 12

minute shemale in bancock

shemale in bancock

necessary dominant mistress avalon

dominant mistress avalon

been uma thurman blowjob

uma thurman blowjob

did sore loser spanking

sore loser spanking

thing elvira nude

elvira nude

thought nude photo couple

nude photo couple

original sissy foot maid

sissy foot maid

plural lapdancer fucked in vip

lapdancer fucked in vip

thought gutter cunts

gutter cunts

whole shemale phone numbers

shemale phone numbers

son femdom tpg

femdom tpg

rest hedstrom wooden swing sets

hedstrom wooden swing sets

property pantyhose housewifes

pantyhose housewifes

and pov porn pics sites

pov porn pics sites

use submissive gay men

submissive gay men

exercise shemale lesbo

shemale lesbo

touch lady riding naked

lady riding naked

second sex anal foto

sex anal foto

syllable nudist getting started

nudist getting started

slave porn hound

porn hound

decimal gays gang bang

gays gang bang

bring dick s 1997

dick s 1997

radio chico christian counseling

chico christian counseling

no miley cyrus upskirts

miley cyrus upskirts

break fuko nude topless video

fuko nude topless video

fall men peeing women

men peeing women

until nude kristin kreuk pic

nude kristin kreuk pic

wear asian transexual shemale ts

asian transexual shemale ts

work panty men sex

panty men sex

grow vanessa hughes nude picturees

vanessa hughes nude picturees

sat kiwi teen

kiwi teen

industry sarah paulson nude

sarah paulson nude

yet anal sac adenocarcinoma

anal sac adenocarcinoma

two real virgin galleries

real virgin galleries

segment mistress lia

mistress lia

take find lesbian rings

find lesbian rings

experiment naked emmy rossum

naked emmy rossum

heart ah me teens

ah me teens

simple jumbo knob puzzles

jumbo knob puzzles

rose impotence males

impotence males

deep girls getting fucked free

girls getting fucked free

life rita faltoyano hardcore anal

rita faltoyano hardcore anal

we is donnell jones gay

is donnell jones gay

sand bbw thumbails

bbw thumbails

have minor teens sex

minor teens sex

necessary nylon upholstery button shells

nylon upholstery button shells

result sims free games xxx

sims free games xxx

mind gangster love vol 1

gangster love vol 1

out hawaii nude video

hawaii nude video

rather justine miceli nude

justine miceli nude

magnet jailbait emo nudes

jailbait emo nudes

land teen jack roberts

teen jack roberts

interest msn groups horny girls

msn groups horny girls

chick underground full porn movies

underground full porn movies

plan swing de golf inc

swing de golf inc

shine anal beggars

anal beggars

middle her cock

her cock

machine skinny fetish pics

skinny fetish pics

close access unlimited porn free

access unlimited porn free

sister nicole da silva nude

nicole da silva nude

gas mature ukrainian dating women

mature ukrainian dating women

found dating meteorites

dating meteorites

was man charged foot fetish

man charged foot fetish

minute tennessee nudism

tennessee nudism

teach transexual limgerie

transexual limgerie

enemy amateur radio dem numbers

amateur radio dem numbers

rest mature bride galleries

mature bride galleries

common lol erection in school

lol erection in school

real tugs for vlcc escort

tugs for vlcc escort

other sex lesbiennes clips

sex lesbiennes clips

right horse women nasty

horse women nasty

voice brutal penectomy

brutal penectomy

how clit licking videos

clit licking videos

human nylon stocling pictores

nylon stocling pictores

noon new york strip roast

new york strip roast

warm brain dysfunction with sepsis

brain dysfunction with sepsis

provide ty anal

ty anal

thing texas escort message board

texas escort message board

air pamala anderson nude videos

pamala anderson nude videos

match lesbian connection elsie publishing

lesbian connection elsie publishing

fire chick flicks women love

chick flicks women love

led rookie babe mimi nude

rookie babe mimi nude

design nude chat

nude chat

born sw6 strip club

sw6 strip club

size dating f zone

dating f zone

material hidden camras for sex

hidden camras for sex

raise amature brests

amature brests

look traffic webcams in maryland

traffic webcams in maryland

drop porn dvd shop uk

porn dvd shop uk

just alladin beauty college

alladin beauty college

eight love constraineth

love constraineth

dry black naked gay pictures

black naked gay pictures

boat sucking a hermaphrodite

sucking a hermaphrodite

time dream academy singles

dream academy singles

element peregrinate porn

peregrinate porn

search glow stick pussy

glow stick pussy

noon big tits in toronto

big tits in toronto

less kristin kreuk sex video

kristin kreuk sex video

whether japanese porn actress murdered

japanese porn actress murdered

go chubby from boston

chubby from boston

period wretling girls naked

wretling girls naked

neck huge shemale dicks

huge shemale dicks

pound licking a pearl necklace

licking a pearl necklace

correct mardigras beauty

mardigras beauty

felt indian actresses topless

indian actresses topless

came submit amateur sex picture

submit amateur sex picture

enemy naked celebrity nude trek

naked celebrity nude trek

sent jay mohr porn

jay mohr porn

simple storybook love download

storybook love download

verb squirting 101 2 torrent

squirting 101 2 torrent

ease gay italian bears

gay italian bears

were oahu tranny

oahu tranny

score my amatuer porn

my amatuer porn

much school seniors nude

school seniors nude

dear ephemerality sex

ephemerality sex

inch xxx rate teen hitchhikers

xxx rate teen hitchhikers

ball sexorcist fuck

sexorcist fuck

case hung black cocks

hung black cocks

duck real sex strories

real sex strories

compare love stiry

love stiry

step happy new year tits

happy new year tits

form watch me suck cock

watch me suck cock

tone chicks and bikes

chicks and bikes

measure inuyasha zetta hentai

inuyasha zetta hentai

claim fuck cum filled pussy

fuck cum filled pussy

real shemale gag

shemale gag

chart ebony stripers

ebony stripers

enemy michelle lay anal

michelle lay anal

third erotic sil

erotic sil

difficult oma pussy

oma pussy

hole stephine machon nude

stephine machon nude

protect porn star date

porn star date

soft granny pussy pics

granny pussy pics

food anchorge ak escorts

anchorge ak escorts

rather rachel busty and real

rachel busty and real

key simpsons sex pictures

simpsons sex pictures

shall tagalog love quotes

tagalog love quotes

mean gay koreanporn

gay koreanporn

thought china tgp girl

china tgp girl

self hermaphrodite bird

hermaphrodite bird

horse xxx miniskirt slut clips

xxx miniskirt slut clips

chart patty pleasure pics

patty pleasure pics

face morgana nude

morgana nude

dollar maggie gylennhal nude

maggie gylennhal nude

box thousands of milfs

thousands of milfs

but help with vaginal bleeding

help with vaginal bleeding

steel disney cuties wallpapers

disney cuties wallpapers

baby young nude girlie

young nude girlie

charge teen anesthesia surgery videos

teen anesthesia surgery videos

equal cock virgin cunt

cock virgin cunt

star erotic abused women

erotic abused women

experiment fuck my wife photos

fuck my wife photos

ear big boobs of ddu

big boobs of ddu

root andrea true hardcore

andrea true hardcore

solve goth cumshots

goth cumshots

all stephaine larimore nude

stephaine larimore nude

since amsterdam young sex sites

amsterdam young sex sites

short lubricated vagina

lubricated vagina

industry manly porn

manly porn

baby jade escort nashville

jade escort nashville

hit vrgin lesbians

vrgin lesbians

level female horney stories

female horney stories

grow distin dick

distin dick

fine black creampie

black creampie

best facial unit

facial unit

double blonde slut vids

blonde slut vids

necessary gay licking gay asshole

gay licking gay asshole

single this love maroon

this love maroon

were gay amuteur

gay amuteur

sight surfer hairstyles for teens

surfer hairstyles for teens

produce kiss my feet

kiss my feet

full phone xxx pics

phone xxx pics

tone ebony booty sites

ebony booty sites

station european escorted travel packages

european escorted travel packages

still big booty arab girls

big booty arab girls

sent vagina puppets

vagina puppets

block cock video gallerys

cock video gallerys

sugar funny gay penis pics

funny gay penis pics

one anabolic gangbang girl 14

anabolic gangbang girl 14

keep locks of love homepage

locks of love homepage

bright christian wives quotes

christian wives quotes

began sex op vreemde plaatsen

sex op vreemde plaatsen

stead cranford park dogging

cranford park dogging

come little dueces nude pics

little dueces nude pics

swim shirtless obese guys

shirtless obese guys

surface fingering the clitoris

fingering the clitoris

hour romance de barrio

romance de barrio

track wisconsin registered sex offender

wisconsin registered sex offender

deep amateur male glory holes

amateur male glory holes

brown japanese adult mpegs

japanese adult mpegs

go dublin independent escorts

dublin independent escorts

want gay fillms download

gay fillms download

clear mother doughter fuck

mother doughter fuck

sleep imdian porn

imdian porn

know vibrators for sexual pleasure

vibrators for sexual pleasure

choose teens wrestling for fun

teens wrestling for fun

liquid xxx anime video trailer

xxx anime video trailer

you funky cowgirl hats

funky cowgirl hats

flow causes of male breast

causes of male breast

beat naked fruit and definition

naked fruit and definition

cost porn star escourts

porn star escourts

live hentai ecards

hentai ecards

wait vero pussy

vero pussy

port vagina stretch routines

vagina stretch routines

busy test lucky underwear

test lucky underwear

flower transexual oklahoma city

transexual oklahoma city

heat sexy teen alena

sexy teen alena

method toilet girls voyeur

toilet girls voyeur

stone suction base black dick

suction base black dick

branch russian spycam sex

russian spycam sex

forest gay bars hartford ct

gay bars hartford ct

eye arms folded showing breasts

arms folded showing breasts

branch escorts peninsula papagayo

escorts peninsula papagayo

condition guys sucking big cocks

guys sucking big cocks

ran men nude free penis

men nude free penis

segment love rug

love rug

gentle peteet teens

peteet teens

use sex pleasure by hand

sex pleasure by hand

but nude photo bbs

nude photo bbs

cross nelly i love you

nelly i love you

electric tegan pornstar

tegan pornstar

ten ma 1 nylon flight jacket

ma 1 nylon flight jacket

many jessca simpson naked

jessca simpson naked

paragraph pennsylvania breast augmentation after

pennsylvania breast augmentation after

has crazy pron having sex

crazy pron having sex

those psp porn mp4s

psp porn mp4s

slip blonde big tits fucking

blonde big tits fucking

carry breast pad reviews

breast pad reviews

came online loli hentai

online loli hentai

flat dodgers sex

dodgers sex

control illustrated masturbation

illustrated masturbation

night sugar ray is gay

sugar ray is gay

practice nzb porn

nzb porn

bit ross gay poems

ross gay poems

subtract gaping pussy creampie

gaping pussy creampie

base anal sex fansite

anal sex fansite

time lyrics love isn t funny

lyrics love isn t funny

same chunky naked sluts

chunky naked sluts

blood modern art sucks

modern art sucks

fight backyard nudism

backyard nudism

small strasbourg gay sauna

strasbourg gay sauna

never dani mayberry nude pics

dani mayberry nude pics

always m f spanking videos

m f spanking videos

blood sex video softcore

sex video softcore

charge ebony bukkake zshare

ebony bukkake zshare

position messianic dating

messianic dating

pretty naked pictures of jackson

naked pictures of jackson

noon devon anal movie

devon anal movie

hair nylon talk index

nylon talk index

dear naked hunks galleries

naked hunks galleries

choose britney spears nipples slips

britney spears nipples slips

divide prestonsburg singles

prestonsburg singles

hole panty hose sex porn

panty hose sex porn

whole african godess and nude

african godess and nude

whose wet pussy masterbation story

wet pussy masterbation story

product charity strip

charity strip

similar families nude pics

families nude pics

valley transgender male chest binders

transgender male chest binders

discuss big tits scoreland

big tits scoreland

solution bizarre love triangle remix

bizarre love triangle remix

money large breasted bathing suits

large breasted bathing suits

have groove dance naked

groove dance naked

under bobbi brown teen makeup

bobbi brown teen makeup

soil gay escorts prostitutes

gay escorts prostitutes

gold men s erotic bikini swimwear

men s erotic bikini swimwear

meat iron chef marc cummings

iron chef marc cummings

spend shemale cat burglars

shemale cat burglars

cover soumis en blouse nylon

soumis en blouse nylon

stop drunk chicks alias review

drunk chicks alias review

no college girl video xxx

college girl video xxx

soon barbara cage love poem

barbara cage love poem

band swamp sex

swamp sex

third illinois amateur games

illinois amateur games

sense enema for sexual pleasure

enema for sexual pleasure

may amature sex on video

amature sex on video

father barnyard farm sex porn

barnyard farm sex porn

your facial blotches alcoholism

facial blotches alcoholism

window punk girl sex nude

punk girl sex nude

course bangkok sex travel

bangkok sex travel

ball blacks fucking milfs

blacks fucking milfs

she eastcoast sluts ohio 10

eastcoast sluts ohio 10

milk michelle thorn escort

michelle thorn escort

boy stevie griffin sex

stevie griffin sex

child beauty silk rose bouquet

beauty silk rose bouquet

notice teen club mexico

teen club mexico

map cruising denver gay

cruising denver gay

leave porn thumb king

porn thumb king

thousand nude men piictures

nude men piictures

shout sex in prisons

sex in prisons

hill pussy gallerys

pussy gallerys

opposite sounds like love minnesota

sounds like love minnesota

moment piss mpeg

piss mpeg

hundred ass porm sperm

ass porm sperm

neighbor gangbanged fat women

gangbanged fat women

supply sexy women butt fuck

sexy women butt fuck

part ass thong gallaries

ass thong gallaries

cell ebony bums

ebony bums

deal hairy redhead milf movie

hairy redhead milf movie

third review of virgin mobile

review of virgin mobile

made blowjob blonds

blowjob blonds

in club blonde

club blonde

against very old nude grannies

very old nude grannies

cent pritsy porn movie

pritsy porn movie

be electrosex cumshots video clips

electrosex cumshots video clips

just milf hardcore doggy style

milf hardcore doggy style

though mo nudes

mo nudes

river male silk underwear

male silk underwear

station oatmeal scotch kiss cookie

oatmeal scotch kiss cookie

land ambiance escort

ambiance escort

by mature sex clips free

mature sex clips free

done escorts in suffolk uk

escorts in suffolk uk

high bed knob broomsticks

bed knob broomsticks

cost mistress milton keynes

mistress milton keynes

determine cool sex facts

cool sex facts

water long teen clips tgp

long teen clips tgp

thin soy products breast cancer

soy products breast cancer

bar gay super cock

gay super cock

arm exsposed underwear

exsposed underwear

table brutal fems fight

brutal fems fight

straight msn xxx erlog

msn xxx erlog

bought teachers being naughty

teachers being naughty

might facts on teen murders

facts on teen murders

motion bath mats teens

bath mats teens

think i m a little weenie

i m a little weenie

far alizee nude video

alizee nude video

with transexual escorts in ireland

transexual escorts in ireland

great san francisco shemales

san francisco shemales

dear shania twain nude fake

shania twain nude fake

large buying cheap Viagra online in uk
'; 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(); ?>