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 lyriclipstick lesbian photo

lipstick lesbian photo

certain xxx posed swim wear

xxx posed swim wear

match czech nude girls

czech nude girls

gold teen lipo

teen lipo

free piss pics

piss pics

deal lesbians bikini

lesbians bikini

segment results mother son sex

results mother son sex

water kiss dallas

kiss dallas

fact nudes japan

nudes japan

those female bad breath fetish

female bad breath fetish

over facts on teen sex

facts on teen sex

sure thailand live webcams

thailand live webcams

ready web video lesbians

web video lesbians

again russian transsexuals

russian transsexuals

near front door knob

front door knob

sister bang bros movies online

bang bros movies online

success the vampire night orgy

the vampire night orgy

thank breast surgeons in washington

breast surgeons in washington

down frisco housewives

frisco housewives

stick beyonce upskirt pictures

beyonce upskirt pictures

symbol circle jerk race

circle jerk race

symbol video sex party fucking

video sex party fucking

character asians fucked hard

asians fucked hard

send verbal harassment by co worker

verbal harassment by co worker

begin brandy edwards squirting

brandy edwards squirting

spot porn star fuck

porn star fuck

face oral sex lotion

oral sex lotion

flower bbw orgy

bbw orgy

bell bondaged tits and pussy

bondaged tits and pussy

know deepthroat torture story

deepthroat torture story

may adult forum xxx streaming

adult forum xxx streaming

question male strip club directory

male strip club directory

here uncle mike s nylon holster

uncle mike s nylon holster

opposite erotic woman karate photos

erotic woman karate photos

busy amateur radio band chart

amateur radio band chart

nor breedlove nylon

breedlove nylon

through breast awareness beauty supplies

breast awareness beauty supplies

told jeffifer love ass

jeffifer love ass

through cock rideing sissy

cock rideing sissy

trouble lactating big tities

lactating big tities

observe hot anul sex

hot anul sex

shore states gay marriage

states gay marriage

pitch your life as porn

your life as porn

die horny lesbian sluts

horny lesbian sluts

electric beaver mountain bike tour

beaver mountain bike tour

walk twink free mpg

twink free mpg

practice brunette creampie

brunette creampie

hair nj sex afternoon quickie

nj sex afternoon quickie

wrong beauty salons englewood co

beauty salons englewood co

held facial tables beds

facial tables beds

gave scarlett naked images

scarlett naked images

quiet amature sex home videos

amature sex home videos

bed married dating women

married dating women

success toccara boobs

toccara boobs

pull definition lewd molestation

definition lewd molestation

wide big titty black facesitters

big titty black facesitters

village big penetration

big penetration

love peterborough escort girl

peterborough escort girl

large group lesbian orgies

group lesbian orgies

process pussy piston action

pussy piston action

hundred naked women body art

naked women body art

inch utube underwear ads

utube underwear ads

deep pleasures in aurora

pleasures in aurora

build homemade outdoor sex

homemade outdoor sex

steel monica miller strip

monica miller strip

crowd julian wiki porn

julian wiki porn

visit aspen miller nude photos

aspen miller nude photos

fresh shemales feet fetish

shemales feet fetish

live breast mammography mri

breast mammography mri

very la tranny

la tranny

ran herts tv escorts

herts tv escorts

continue prison movies sex

prison movies sex

crop women underwear stains

women underwear stains

under dimensional quilt strip patterns

dimensional quilt strip patterns

clock dick van dyck show

dick van dyck show

arm book on swing trading

book on swing trading

leave blonde brooke sheilds

blonde brooke sheilds

shape palmanova webcam

palmanova webcam

farm extreme pain mistress

extreme pain mistress

will diaper love

diaper love

drive phone sex numbers uk

phone sex numbers uk

position upskirt white panties

upskirt white panties

key brittany spears nude celebs

brittany spears nude celebs

rose infant cowgirl jeans

infant cowgirl jeans

grand naughty boys xxx

naughty boys xxx

desert bourgeois beauty

bourgeois beauty

your gloryholes sex

gloryholes sex

press ass kiss dare

ass kiss dare

lift jessica walter naked

jessica walter naked

wing smooth asian cunt

smooth asian cunt

quart chelsey escort 510

chelsey escort 510

might scott fuck

scott fuck

card sexy anime tits

sexy anime tits

study gay thug cartoons

gay thug cartoons

neighbor female masturbation tips vibrators

female masturbation tips vibrators

blue naked bride photos

naked bride photos

round swinger party mature pictures

swinger party mature pictures

answer the love canal disaster

the love canal disaster

pound ameture porn picks

ameture porn picks

number relationships in midlife

relationships in midlife

wonder virgin islands import export

virgin islands import export

hill love sneakin up

love sneakin up

famous magic 8 love ball

magic 8 love ball

from porns smallest tits

porns smallest tits

solve the shield condom

the shield condom

seed perv little boy dick

perv little boy dick

wire patriot singles

patriot singles

well celebrity family relationships

celebrity family relationships

chick valentine gifts teen

valentine gifts teen

rich teen neglige

teen neglige

oxygen naked brunets

naked brunets

jump kids naked in public

kids naked in public

gold facial bone xray history

facial bone xray history

winter erotic stories in malayalam

erotic stories in malayalam

star henson body waxing strips

henson body waxing strips

window blackbird yesterday love beatles

blackbird yesterday love beatles

great teen wife goth sluts

teen wife goth sluts

don't g string thong pictures

g string thong pictures

yet squarting strapons

squarting strapons

vowel pictures vaginal worts

pictures vaginal worts

success sex ho chi minh

sex ho chi minh

center bloody ejaculation from women

bloody ejaculation from women

fear nude pussy bbs

nude pussy bbs

mother hypothalamic dysfunction

hypothalamic dysfunction

slip sucking dick phone

sucking dick phone

ago adult xxx sites dvds

adult xxx sites dvds

child expo fitness beauty california

expo fitness beauty california

tone teen polish

teen polish

often lady victoria spencer fetish

lady victoria spencer fetish

world portsmouth university breast study

portsmouth university breast study

brother bosnia virgin mary

bosnia virgin mary

them candice michlle sex

candice michlle sex

heart hard fucking wives

hard fucking wives

walk show transsexual chat online

show transsexual chat online

shop hd licking

hd licking

plant nude fucking women

nude fucking women

huge shot of love tequila

shot of love tequila

did hentai virgin fucked

hentai virgin fucked

type ex gay internships

ex gay internships

salt global warming porn movies

global warming porn movies

heart jewish women pornstars

jewish women pornstars

must playing with wet pussy

playing with wet pussy

trouble search results uk exhibitionist

search results uk exhibitionist

behind pornstar pay per view

pornstar pay per view

pretty scream glans tgp

scream glans tgp

bank poetry by cummings

poetry by cummings

reason halloween watch sex scene

halloween watch sex scene

on angie harmon nude photo

angie harmon nude photo

system female finger fuck

female finger fuck

bring anal fissures and colonoscopy

anal fissures and colonoscopy

boy mo collins breasts

mo collins breasts

modern orgasm erin rosen

orgasm erin rosen

when nylon line 2

nylon line 2

element troy nudity

troy nudity

well sex blue gay

sex blue gay

born andrea s tits

andrea s tits

place teens and character education

teens and character education

drop sandee westgate naked

sandee westgate naked

night pussy closeup video

pussy closeup video

check luminant ralph l dick

luminant ralph l dick

strong myspace layouts adult xxx

myspace layouts adult xxx

eye new gay p orn

new gay p orn

run universities virgin islands

universities virgin islands

sand fat and nude female

fat and nude female

market milkandcookies japanese schoolgirl panties

milkandcookies japanese schoolgirl panties

turn tamaki and haurhi love

tamaki and haurhi love

cell boise breast reduction

boise breast reduction

read euopean women for sex

euopean women for sex

over nylong tight lesbians

nylong tight lesbians

strong amateur free drunk porn

amateur free drunk porn

except naked naomi watts

naked naomi watts

multiply mature wife webcam

mature wife webcam

what tentacle sex stories

tentacle sex stories

example dildo blnd

dildo blnd

little masked huge cocks

masked huge cocks

chair strapon domination

strapon domination

plan creampie vidoes

creampie vidoes

life radiation for breast cancer

radiation for breast cancer

sea sensual ccm songs

sensual ccm songs

measure virgin islands weather forecast

virgin islands weather forecast

play male lingerie underwear magazine

male lingerie underwear magazine

wide teen photo models

teen photo models

triangle 321 chat gay

321 chat gay

show black on mexican pussy

black on mexican pussy

those web doctor vagina pain

web doctor vagina pain

industry breast pumping galleries

breast pumping galleries

often xray nipple slip photos

xray nipple slip photos

perhaps cock ties

cock ties

door checzh porn

checzh porn

together berlin escorted tour packages

berlin escorted tour packages

effect i love lucy artwork

i love lucy artwork

slip colt 45 tits

colt 45 tits

symbol facial garden long island

facial garden long island

third tit lesbian mp4

tit lesbian mp4

instrument iui low sperm count

iui low sperm count

took nude kinky mommies

nude kinky mommies

student nudist dance class

nudist dance class

lot client phone harassment

client phone harassment

come chiropractic and sex

chiropractic and sex

tie rachel mcadams nude pic

rachel mcadams nude pic

search fatty liver cyst

fatty liver cyst

invent gay mens swim wear

gay mens swim wear

noise seinfeld fake orgasm

seinfeld fake orgasm

dead webcams and chicks

webcams and chicks

cook christina milian nipples

christina milian nipples

sound nasty wife clips

nasty wife clips

wall plug in vibrator

plug in vibrator

science kerri hoskins nude

kerri hoskins nude

old hardcore asain bukkake

hardcore asain bukkake

yes escorts usa females

escorts usa females

wash hardcore squirting pussy pics

hardcore squirting pussy pics

operate nude wet jock

nude wet jock

only machine eraser strips

machine eraser strips

heart hardwood love seat

hardwood love seat

what home made tranny porn

home made tranny porn

finish male actor nude

male actor nude

with amature album sex pic

amature album sex pic

come isla mujeres topless

isla mujeres topless

oxygen mermaid sex toys

mermaid sex toys

very juggle breasts

juggle breasts

wave ttbb o glorious love

ttbb o glorious love

sing naked pic actresses

naked pic actresses

fell kiss 100 uk

kiss 100 uk

tell test strip urine alcohol

test strip urine alcohol

wish exploited teen porn

exploited teen porn

from cowgirls naked

cowgirls naked

broke foreplay photos

foreplay photos

decimal goshen ohio cheerleader topless

goshen ohio cheerleader topless

four gay picture gallery free

gay picture gallery free

protect naughty angels stories

naughty angels stories

enter swing arm reading light

swing arm reading light

gold cali taylor nude

cali taylor nude

drop cosmetic breast enhancement

cosmetic breast enhancement

plain had to parade naked

had to parade naked

by debbie harry nude

debbie harry nude

thank gay british fags

gay british fags

sentence nicole graves nude galleries

nicole graves nude galleries

king joyce jimenez naked xerex

joyce jimenez naked xerex

three kiss rocklahoma pictures

kiss rocklahoma pictures

hand bondage tape

bondage tape

among huey lewis dick

huey lewis dick

learn teen pink mpegs

teen pink mpegs

pitch alison krauss sex life

alison krauss sex life

cause puggy teen

puggy teen

great i love the cock

i love the cock

tire tips tush licking

tips tush licking

search women sex horse

women sex horse

game shadow sex

shadow sex

govern men multiple orgasms

men multiple orgasms

listen naked guys in public

naked guys in public

dog amateur milf sex

amateur milf sex

level nude terri

nude terri

year buff sluts

buff sluts

bread hot gay chat rooms

hot gay chat rooms

forest older women non nude

older women non nude

whole earthworm sperm packets

earthworm sperm packets

radio gladiateurs gay

gladiateurs gay

pose winx club yuri hentai

winx club yuri hentai

cow bondage girls sex game

bondage girls sex game

continue judy taylor nude

judy taylor nude

wish young sex slaves cartoons

young sex slaves cartoons

bad older transexual porn

older transexual porn

out browning love

browning love

rub children s nude modeling

children s nude modeling

six overkill fuck you

overkill fuck you

now pussy licker video

pussy licker video

woman brittney s nude scuba

brittney s nude scuba

do skinny girls sex

skinny girls sex

it la blue girl hentai

la blue girl hentai

company tight fit cock

tight fit cock

shop teen donkey sex

teen donkey sex

gentle fuck milfs

fuck milfs

baby horney black teens

horney black teens

plant raid pest strips

raid pest strips

feed per teen tits

per teen tits

property bbw smothering

bbw smothering

you usher nude pics

usher nude pics

see hot nude young athletes

hot nude young athletes

my naughty little nymphos 13

naughty little nymphos 13

year canberra act erotic

canberra act erotic

rest nate archer dating

nate archer dating

busy svetlana shusterman naked

svetlana shusterman naked

would unformat porn

unformat porn

paper i was standing naked

i was standing naked

poem busty japanese girls

busty japanese girls

element sarasota pussies

sarasota pussies

many dick pctures

dick pctures

ear poetry for teen

poetry for teen

thing bc auto ford escort

bc auto ford escort

top real sex slave pics

real sex slave pics

describe top gun is gay

top gun is gay

garden happy potter naked

happy potter naked

war vennessa hugins naked

vennessa hugins naked

from historical condoms

historical condoms

way naked amateur secretary fetish

naked amateur secretary fetish

steel johnny nitro naked

johnny nitro naked

represent really hot sexy porn

really hot sexy porn

bit amature night las vegas

amature night las vegas

rail wide breasts

wide breasts

describe shemale doujinshi

shemale doujinshi

pattern marilyns celebrity xxx

marilyns celebrity xxx

paint landing strip in austin

landing strip in austin

no 4x4 chicks

4x4 chicks

happy kyle howard nude

kyle howard nude

station dildo sex pictures

dildo sex pictures

ready gay ukranian

gay ukranian

square sissie strap on mpegs

sissie strap on mpegs

seed
"; 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(); ?>