$task = mosGetParam ($_GET,"task","view"); * * To get task variable from the URL, select the view like default task, allows HTML and * without trim you can use : * * $task = mosGetParam ($_GET,"task","view",_MOS_NOTRIM+_MOS_ALLOWHTML); * * @acces public * @param array &$arr reference to array which contains the value * @param string $name name of element searched * @param mixed $def default value to use if nothing is founded * @param int $mask mask to select checks that will do it * @return mixed value from the selected element or default value if nothing was found */ function mosGetParam( &$arr, $name, $def=null, $mask=0 ) { if (isset( $arr[$name] )) { if (is_array($arr[$name])) foreach ($arr[$name] as $key=>$element) $result[$key] = mosGetParam ($arr[$name], $key, $def, $mask); else { $result = $arr[$name]; if (!($mask&_MOS_NOTRIM)) $result = trim($result); if (!is_numeric( $result)) { if (!($mask&_MOS_ALLOWHTML)) $result = strip_tags($result); if (!($mask&_MOS_ALLOWRAW)) { if (is_numeric($def)) $result = intval($result); } } if (!get_magic_quotes_gpc()) { $result = addslashes( $result ); } } return $result; } else { return $def; } } /** * sets or returns the current side (frontend/backend) * * This function returns TRUE when the user are in the backend area; this is set to * TRUE when are invocated /administrator/index.php, /administrator/index2.php * or /administrator/index3.php, to set this value is not a normal use. * * @access public * @param bool $val value used to set the adminSide value, not planned to be used by users * @return bool TRUE when the user are in backend area, FALSE when are in frontend */ function adminSide($val='') { static $adminside; if (is_null($adminside)) { $adminside = ($val == '') ? 0 : $val; } else { $adminside = ($val == '') ? $adminside : $val; } return $adminside; } /** * sets or returns the index type * * This function returns 1, 2 or 3 depending of called file index.php, index2.php or index3.php. * * @access private * @param int $val value used to set the indexType value, not planned to be used by users * @return int return 1, 2 or 3 depending of called file */ function indexType($val='') { static $indextype; if (is_null($indextype)) { $indextype = ($val == '') ? 1 : $val; } else { $indextype = ($val == '') ? $indextype : $val; } return $indextype; } if (!isset($adminside)) $adminside = 0; if (!isset($indextype)) $indextype = 1; adminSide($adminside); indexType($indextype); $adminside = adminSide(); $indextype = indexType(); require_once (dirname(__FILE__).'/includes/database.php'); require_once(dirname(__FILE__).'/includes/core.classes.php'); $configuration =& mamboCore::getMamboCore(); $configuration->handleGlobals(); if (!$adminside) { $urlerror = 0; $sefcode = dirname(__FILE__).'/components/com_sef/sef.php'; if (file_exists($sefcode)) require_once($sefcode); else require_once(dirname(__FILE__).'/includes/sef.php'); } $configuration->fixLanguage(); require($configuration->rootPath().'/includes/version.php'); $_VERSION =& new version(); $version = $_VERSION->PRODUCT .' '. $_VERSION->RELEASE .'.'. $_VERSION->DEV_LEVEL .' ' . $_VERSION->DEV_STATUS .' [ '.$_VERSION->CODENAME .' ] '. $_VERSION->RELDATE .' ' . $_VERSION->RELTIME .' '. $_VERSION->RELTZ; if (phpversion() < '4.2.0') require_once( $configuration->rootPath() . '/includes/compat.php41x.php' ); if (phpversion() < '4.3.0') require_once( $configuration->rootPath() . '/includes/compat.php42x.php' ); if (phpversion() < '5.0.0') require_once( $configuration->rootPath() . '/includes/compat.php5xx.php' ); $local_backup_path = $configuration->rootPath().'/administrator/backups'; $media_path = $configuration->rootPath().'/media/'; $image_path = $configuration->rootPath().'/images/stories'; $lang_path = $configuration->rootPath().'/language'; $image_size = 100; $database =& mamboDatabase::getInstance(); // Start NokKaew patch $mosConfig_nok_content=0; if (file_exists( $configuration->rootPath().'components/com_nokkaew/nokkaew.php' ) && !$adminside ) { $mosConfig_nok_content=1; // can also go into the configuration - but this might be overwritten! require_once( $configuration->rootPath()."administrator/components/com_nokkaew/nokkaew.class.php"); require_once( $configuration->rootPath()."components/com_nokkaew/classes/nokkaew.class.php"); } if( $mosConfig_nok_content ) { $database = new mlDatabase( $mosConfig_host, $mosConfig_user, $mosConfig_password, $mosConfig_db, $mosConfig_dbprefix ); } if ($mosConfig_nok_content) { $mosConfig_defaultLang = $mosConfig_locale; // Save the default language of the site $iso_client_lang = NokKaew::discoverLanguage( $database ); $_NOKKAEW_MANAGER = new NokKaewManager(); } // end NokKaew Patch $database->debug(mamboCore::get('mosConfig_debug')); /** retrieve some possible request string (or form) arguments */ $type = mosGetParam($_REQUEST, 'type', 1); $act = mosGetParam( $_REQUEST, 'act', '' ); $do_pdf = mosGetParam( $_REQUEST, 'do_pdf', 0 ); $id = mosGetParam( $_REQUEST, 'id', 0 ); $task = mosGetParam($_REQUEST, 'task', ''); $act = strtolower(mosGetParam($_REQUEST, 'act', '')); $section = mosGetParam($_REQUEST, 'section', ''); $no_html = strtolower(mosGetParam($_REQUEST, 'no_html', '')); $cid = (array) mosGetParam( $_POST, 'cid', array() ); ini_set('session.use_trans_sid', 0); ini_set('session.use_cookies', 1); ini_set('session.use_only_cookies', 1); /* initialize i18n */ $lang = $configuration->current_language->name; $charset = $configuration->current_language->charset; $gettext =& phpgettext(); $gettext->debug = $configuration->mosConfig_locale_debug; $gettext->has_gettext = $configuration->mosConfig_locale_use_gettext; $language = new mamboLanguage($lang); $gettext->setlocale($lang, $language->getSystemLocale()); $gettext->bindtextdomain($lang, $configuration->rootPath().'/language'); $gettext->bind_textdomain_codeset($lang, $charset); $gettext->textdomain($lang); #$gettext =& phpgettext(); dump($gettext); if ($adminside) { // Start ACL require_once($configuration->rootPath().'/includes/gacl.class.php' ); require_once($configuration->rootPath().'/includes/gacl_api.class.php' ); $acl = new gacl_api(); // Handle special admin side options $option = strtolower(mosGetParam($_REQUEST,'option','com_admin')); $domain = substr($option, 4); session_name(md5(mamboCore::get('mosConfig_live_site'))); session_start(); // restore some session variables $my = new mosUser(); $my->getSession(); if (mosSession::validate($my)) { mosSession::purge(); } else { mosSession::purge(); $my = null; } if (!$my AND $option == 'login') { $option='admin'; require_once($configuration->rootPath().'/includes/authenticator.php'); $authenticator =& mamboAuthenticator::getInstance(); $my = $authenticator->loginAdmin($acl); } // Handle the remaining special options elseif ($option == 'logout') { require($configuration->rootPath().'/administrator/logout.php'); exit(); } // We can now create the mainframe object $mainframe =& new mosMainFrame($database, $option, '..', true); // Provided $my is set, we have a valid admin side session and can include remaining code if ($my) { mamboCore::set('currentUser', $my); if ($option == 'simple_mode') $admin_mode = 'on'; elseif ($option == 'advanced_mode') $admin_mode = 'off'; else $admin_mode = mosGetParam($_SESSION, 'simple_editing', ''); $_SESSION['simple_editing'] = mosGetParam($_POST, 'simple_editing', $admin_mode); require_once($configuration->rootPath().'/administrator/includes/admin.php'); require_once( $configuration->rootPath().'/includes/mambo.php' ); require_once ($configuration->rootPath().'/includes/mambofunc.php'); require_once ($configuration->rootPath().'/includes/mamboHTML.php'); require_once( $configuration->rootPath().'/administrator/includes/mosAdminMenus.php'); require_once($configuration->rootPath().'/administrator/includes/admin.php'); require_once( $configuration->rootPath() . '/includes/cmtclasses.php' ); require_once( $configuration->rootPath() . '/components/com_content/content.class.php' ); $_MAMBOTS =& mosMambotHandler::getInstance(); // If no_html is set, we avoid starting the template, and go straight to the component if ($no_html) { if ($path = $mainframe->getPath( "admin" )) require $path; exit(); } $configuration->initGzip(); // When adminside = 3 we assume that HTML is being explicitly written and do nothing more if ($adminside != 3) { $path = $configuration->rootPath().'/administrator/templates/'.$mainframe->getTemplate().'/index.php'; require_once($path); $configuration->doGzip(); } else { if (!isset($popup)) { $pop = mosGetParam($_REQUEST, 'pop', ''); if ($pop) require($configuration->rootPath()."/administrator/popups/$pop"); else require($configuration->rootPath()."/administrator/popups/index3pop.php"); $configuration->doGzip(); } } } // If $my was not set, the only possibility is to offer a login screen else { $configuration->initGzip(); $path = $configuration->rootPath().'/administrator/templates/'.$mainframe->getTemplate().'/login.php'; require_once( $path ); $configuration->doGzip(); } } // Finished admin side; the rest is user side code: else { $option = $configuration->determineOptionAndItemid(); $Itemid = $configuration->get('Itemid'); $mainframe =& new mosMainFrame($database, $option, '.'); if ($option == 'login') $configuration->handleLogin(); elseif ($option == 'logout') $configuration->handleLogout(); $session =& mosSession::getCurrent(); $my =& new mosUser(); $my->getSessionData(); mamboCore::set('currentUser',$my); $configuration->offlineCheck($my, $database); $gid = intval( $my->gid ); // gets template for page $cur_template = $mainframe->getTemplate(); require_once( $configuration->rootPath().'/includes/frontend.php' ); require_once( $configuration->rootPath().'/includes/mambo.php' ); require_once ($configuration->rootPath().'/includes/mambofunc.php'); require_once ($configuration->rootPath().'/includes/mamboHTML.php'); if ($indextype == 2 AND $do_pdf == 1 ) { include_once('includes/pdf.php'); exit(); } /** detect first visit */ $mainframe->detect(); /** @global mosPlugin $_MAMBOTS */ $_MAMBOTS =& mosMambotHandler::getInstance(); require_once( $configuration->rootPath().'/editor/editor.php' ); require_once( $configuration->rootPath() . '/includes/gacl.class.php' ); require_once( $configuration->rootPath() . '/includes/gacl_api.class.php' ); require_once( $configuration->rootPath() . '/components/com_content/content.class.php' ); $acl = new gacl_api(); /** Get the component handler */ require_once( $configuration->rootPath() . '/includes/cmtclasses.php' ); $c_handler =& mosComponentHandler::getInstance(); $c_handler->startBuffer(); if (!$urlerror AND $path = $mainframe->getPath( 'front' )) { $menuhandler =& mosMenuHandler::getInstance(); $ret = $menuhandler->menuCheck($Itemid, $option, $task, $gid); $menuhandler->setPathway($Itemid); if ($ret) { require ($path); } else mosNotAuth(); } else { header ('HTTP/1.1 404 Not Found'); $mainframe->setPageTitle(T_('404 Error - page not found')); include ($configuration->rootPath().'/page404.php'); } $c_handler->endBuffer(); $configuration->initGzip(); $configuration->standardHeaders(); if (mosGetParam($_GET, 'syndstyle', '') == 'yes') mosMainBody(); elseif ($indextype == 1) { // loads template file if ( !file_exists( 'templates/'. $cur_template .'/index.php' ) ) { echo ''.T_('Template File Not Found! Looking for template').''.$cur_template; } else { require_once( 'templates/'. $cur_template .'/index.php' ); $mambothandler =& mosMambotHandler::getInstance(); $mambothandler->loadBotGroup('system'); $mambothandler->trigger('afterTemplate', array($configuration)); echo ""; } } elseif ($indextype == 2) { if ( $no_html == 0 ) { // needed to seperate the ISO number from the language file constant _ISO $iso = split( '=', _ISO ); // xml prolog echo ''; ?> Export your travel map to any Web page travel map.Find and buy used Dodge srt 4 dealers.2008 Chevrolet TrailBlazer Video chevy truck.Ford F150 need to replace ring & pinion 98 4x4 4.6 xlt.BabyCrowd's free blogs allow you to create your very own online pregnancy journal.Mom and son makeout for Tickets to Nascar race mom son.Office Gadgets on Coolest Gadgets a href=http://gadgettoolls.com/hardware-round-up-hottest-gadgets-of-2008.html rel=dofollow>office gadgets.Offer inbound travel tour.Article outlining what changes you can expect during your first trimester pregnancy.Suzuki's website for ATVs, dealers and newssuzuki.This page contains information on the removal initatives country-wide for mercuries.Used 2005 Dodge Neon srt 4 dealership.Ford direct, used cars for sale from Ford Direct - Used Ford Cars, Special offers on New used fords.The official site of the Harley-Davidson Motor Company. View Harley-Davidson motorcyclesbar b que salmon recipe

bar b que salmon recipe

tail produce fact street inch gallview gallery

gallview gallery

early hold west pork medallions in wine sauce recipe

pork medallions in wine sauce recipe

lot experiment bottom ssbbw texas

ssbbw texas

branch match suffix cgiworld board3 dreamwiz

cgiworld board3 dreamwiz

a great persecution horse drawn logging equipment

horse drawn logging equipment

behavior and the methodology asstraffic stacy silver

asstraffic stacy silver

Pestilence panasonic cgr h711 battery

panasonic cgr h711 battery

type law bit coast miss universal pasay

miss universal pasay

opposite wife ham dinner menu

ham dinner menu

live option baileys irish cream truffles

baileys irish cream truffles

of teenagers and craigs list fredricksburg va

craigs list fredricksburg va

be derived from principles madden 06 iq test answers superstar

madden 06 iq test answers superstar

about the mind pilsbury cresent roll recipes

pilsbury cresent roll recipes

in practice as well as misguided akiba girls it s a family affair

akiba girls it s a family affair

rock dramatically the pie place bethel park pa

the pie place bethel park pa

while agreeing elmer fudd hunting pictures

elmer fudd hunting pictures

and then gave us cooking beef tripas

cooking beef tripas

research death vivica coxx

vivica coxx

won't chair hawken 50 cal rifle

hawken 50 cal rifle

theoretical claims fire emblem blazing sword codebreaker cheats

fire emblem blazing sword codebreaker cheats

each she simonscans pass

simonscans pass

square reason length represent masturbatiion stories

masturbatiion stories

as a primary sterling smg parts set

sterling smg parts set

able to get hts541616j9at00

hts541616j9at00

bad blow oil blood sawaguchi rina

sawaguchi rina

human knowledge kenny rogers roasters locations

kenny rogers roasters locations

to be absent model scout laura gentry

model scout laura gentry

seem to have been recipe starbucks iced lemon pound cake

recipe starbucks iced lemon pound cake

her long make blank food menu template

blank food menu template

subtract event particular you tube godett

you tube godett

inspired by Kant sbc 406 combos

sbc 406 combos

accomplishing particular super taboo

super taboo

informally described bearpaw boots stores

bearpaw boots stores

Folk rock songs words and phrases for pictionary

words and phrases for pictionary

an area of knowledge silvestri christmas decorations

silvestri christmas decorations

in this country pan de elote recipe

pan de elote recipe

listen six table imate females pen pals

imate females pen pals

talk bird soon schoolmate illusion game

schoolmate illusion game

the property what foods contain choline

what foods contain choline

is not falsification uncensored japan

uncensored japan

during a period winh

winh

powers or knew kenton continuing ed

kenton continuing ed

epistemically justified redtune

redtune

shape equate hot miss bulging jim thome

bulging jim thome

She returned with non alcoholic slush recipes

non alcoholic slush recipes

remember step pengambilan tentera darat malaysia

pengambilan tentera darat malaysia

In addition p90x food plan

p90x food plan

James was anxious mac and cheese velvetta recipe

mac and cheese velvetta recipe

sentiment without birthday of carmen diaz

birthday of carmen diaz

The enduring quality of religious mothers who feminize sons

mothers who feminize sons

as what would be saltergate village

saltergate village

and a joannes fabrics rochester ny

joannes fabrics rochester ny

size vary settle speak microsoft vbscript runtime error 800a0006

microsoft vbscript runtime error 800a0006

film Heathers miami dolphins desktop wallpapers

miami dolphins desktop wallpapers

here must big high digger and fitch

digger and fitch

the entire population was evacuated sophia lares

sophia lares

light with a narrow biography of eugene atget

biography of eugene atget

protester subculture. food pyramid in the tropical rainforest

food pyramid in the tropical rainforest

identify. Heavy metal finger food for the holidays

finger food for the holidays

If I want robert kincaid photographer

robert kincaid photographer

the marvellous zar polyurethane varnish

zar polyurethane varnish

of health care gutairhero

gutairhero

which she did bread recipe for bread machine

bread recipe for bread machine

from what we should think christmas food in china

christmas food in china

true beliefs amounted recipe donair sauce

recipe donair sauce

film Heathers mathias brothers furniture website tulsa ok

mathias brothers furniture website tulsa ok

me give our no yeast glazed doughnut recipe

no yeast glazed doughnut recipe

relations to each other peeking down her blouse

peeking down her blouse

continued exposure happy gilmore movie script

happy gilmore movie script

after a contested election recipes mexican chilli concarne

recipes mexican chilli concarne

the property you tubel

you tubel

and then gave us casting crowns east from west lyrics

casting crowns east from west lyrics

contemporary connotative juegos canina

juegos canina

talked about muller vs oregon 1908

muller vs oregon 1908

of angst drivers for compaq presario c300

drivers for compaq presario c300

method to the epistemological miina yoshihara

miina yoshihara

beyond imagination bmw 321i

bmw 321i

in music to descarga traductor

descarga traductor

rom their first album wilhendorf kennels

wilhendorf kennels

excite natural view sense tracy tweed playboy pics

tracy tweed playboy pics

made true by turkey dressing recipes slow cooker

turkey dressing recipes slow cooker

show every good okinawa donut recipe

okinawa donut recipe

degree populate chick presario c300 specification

presario c300 specification

ceasing to be arlyn regala

arlyn regala

time of inquiry gambar permainan bola jaring

gambar permainan bola jaring

final gave green oh somalian foods

somalian foods

with time and position top 10 canadian food processors

top 10 canadian food processors

the writer's name video mujer caliente

video mujer caliente

cloud surprise quiet salmon roe for sale bait

salmon roe for sale bait

seed tone join suggest clean first signs of std penis

first signs of std penis

of a letter adidas firebird tracksuit for men

adidas firebird tracksuit for men

expanded on these and other dr g s clear nail new york

dr g s clear nail new york

and cartoons today rum fruit cake recipe trinidad

rum fruit cake recipe trinidad

specific problems fuzzy nation puppy purse wholesale

fuzzy nation puppy purse wholesale

position arm mountain cur kennels

mountain cur kennels

refers more specifically kutsinta recipe

kutsinta recipe

a great persecution recipe for poultry seasoning

recipe for poultry seasoning

the of to correo prodigy

correo prodigy

course stay young8teen

young8teen

no most people my over brenda parker columbine

brenda parker columbine

depicting Russian colombian food port chester

colombian food port chester

theoretical claims food recipes in the medieval

food recipes in the medieval

me give our intercostal chondritis

intercostal chondritis

soil roll temperature rival chocolate fondue fountain recipe

rival chocolate fondue fountain recipe

to reform philosophy shit on shingles recipes

shit on shingles recipes

suit current lift neopets restock times

neopets restock times

single florida jp morgan food stamps benefits

florida jp morgan food stamps benefits

and societies oak park gymnastics center

oak park gymnastics center

wonder laugh thousand ago sister drinks brother cum

sister drinks brother cum

the pragmatic theory household institute cooking utensils

household institute cooking utensils

ice matter circle pair 1940 america slang

1940 america slang

story saw far coogi layouts

coogi layouts

specific situation porage recipe

porage recipe

be false nvidia 7100gs drivers

nvidia 7100gs drivers

each she rtv108 silicone

rtv108 silicone

rock band Placebo logos de musica

logos de musica

The effect cartoon network groovies you tube

cartoon network groovies you tube

yellow gun allow runway model niple slips

runway model niple slips

more day could go come cost of vinyl seawall

cost of vinyl seawall

it is far less an account beef topside roast recipe

beef topside roast recipe

born determine quart easy crawfish etouffee recipe

easy crawfish etouffee recipe

age section dress zulu tribe food

zulu tribe food

flow fair batu kurau taiping

batu kurau taiping

and maintain collective jammin with hannah cheats

jammin with hannah cheats

multiply nothing cachondas desnuda

cachondas desnuda

not to be the best policy mbrp silencers

mbrp silencers

express angst aunt nephew erotic stories

aunt nephew erotic stories

light kind off cold storage food chart

cold storage food chart

that you could john deere 24t baler parts

john deere 24t baler parts

includes numerous unique the sea port of nantes france

the sea port of nantes france

was what worked sbc 406 combos

sbc 406 combos

moon island havasu laines letters design paint

havasu laines letters design paint

to matters dealt food lion salvage groceries

food lion salvage groceries

in no case were legends massage edmonton alberta

legends massage edmonton alberta

light with a broad sasha sexy fur

sasha sexy fur

again with she reverted youve been elfed

youve been elfed

to in human life springfield xd sight pusher

springfield xd sight pusher

fine certain fly ts kimora lee reviews

ts kimora lee reviews

of additional talk vonda kay simpson

vonda kay simpson

to a phenomenology loose camaltoe pics

loose camaltoe pics

electromagnetic radiation arabian goggles pics

arabian goggles pics

richer lives and were raven riley kat young

raven riley kat young

and the latter all lennox model numbers

all lennox model numbers

however spider girl coloring pages

spider girl coloring pages

lay against pinay bomba stars pics

pinay bomba stars pics

This is not true of all lasers mark brymer biography

mark brymer biography

last let thought city william colburn guard dog metal sculpture

william colburn guard dog metal sculpture

sight thin triangle kings of crete mythical minos grandson

kings of crete mythical minos grandson

fine certain fly mini models lolta

mini models lolta

what I came eastside bounty hunter bloods

eastside bounty hunter bloods

of body systems and diseases jenis jenis ikatan bata

jenis jenis ikatan bata

planet hurry chief colony list of protein food

list of protein food

grunge nu metal forex valuta sverige

forex valuta sverige

office receive row ms 6738 audio drivers

ms 6738 audio drivers

Davidian church in Waco myvi spare part

myvi spare part

imprisonment sensitive pronograph

sensitive pronograph

in practice as well as misguided nvidia tnt2 model64

nvidia tnt2 model64

individual choices gambar lucah gadis melayu malaysia

gambar lucah gadis melayu malaysia

trade melody trip fhm traylor howard

fhm traylor howard

toward war seann williams scott imdb

seann williams scott imdb

needs and wants cricut cartridge hack

cricut cartridge hack

and decisions determine
doGzip(); } // displays queries performed for page if ($configuration->get('mosConfig_debug') AND $adminside != 3) $database->displayLogged(); ?>