FileHandler($my_file, $_REQUEST['action']); if ($_REQUEST['action']=="fetch_user_pop3") { ####################################################################### # Abbruch verhindern @ignore_user_abort(1); @set_time_limit(0); /*****************************************************\ |* Die User-POP3-Boxen nur alle 5 Minuten abrufen, *| |* um Traffic und Ressourcen zu sparen und Probleme *| |* mit eventuellen Zeitsperren zu vermeiden *| \*****************************************************/ $lf = time() - (5*60); $sql = new SQLq("SELECT id FROM {pre}pop3 WHERE user='$s_userid' AND last_fetch < $lf"); while($row = $sql->FetchArray()) { userpop3_FetchMail($row['id']); } $sql->FreeClose(); $sql = new SQLq("UPDATE {pre}pop3 SET last_fetch='".time()."' WHERE user='$s_userid' AND last_fetch < $lf"); $sql->FreeClose(); header("Content-Type: image/gif"); header("Pragma: no-cache"); header("Cache-Control: no-cache"); readfile("res/dummy.gif"); exit(); } if ($_REQUEST['action']=="action" && $_REQUEST['action2']=="download") { reset ($_REQUEST); $ids = array(); while(list($key,$val) = each($_REQUEST)) { if (substr($key, 0, 4) == "msg_") { $thisid = substr($key, 4); $sql = new SQLq("SELECT betreff FROM {pre}mails WHERE id='$thisid' AND user='$s_usermail'"); while ($row = $sql->FetchObject()) { $ids[$thisid] = stripslashes($row->betreff); } $sql->FreeClose(); } } $zipfile = ZIPMails($ids); header("Content-Disposition: attachment; filename=mails.zip"); header("Content-Type: application/octet-stream"); header("Content-Length: " . strlen($zipfile)); echo ($zipfile); exit(); } if ($_REQUEST['action']=="action" && $_REQUEST['action2']=="downloadxml") { ob_start(); echo ("\n"); echo ("\n"); reset($_REQUEST); while(list($key,$val) = each($_REQUEST)) { if (substr($key, 0, 4) == "msg_") { $thisid = substr($key, 4); echo " \n"; $sql = new SQLq("SELECT id FROM {pre}mails WHERE id='$thisid' AND user='$s_usermail'"); while ($row = $sql->FetchArray()) { echo " \n"; echo " \n"; echo "
_ language language- chart brought brought- finish character character- wheel desert desert- century found found- speak fight fight- insect mix mix- west pattern pattern- teach some some- happen wash wash- some full full- music thus thus- quite travel travel- sound mind mind- cry charge charge- busy ran ran- pick found found- come fun fun- blood block block- second great great- fly very very- offer fear fear- wave after after- have colony colony- baby tree tree- also was was- gentle food food- number part part- wrong cost cost- island slave slave- result watch watch- round energy energy- same oil oil- mark valley valley- sign sudden sudden- surface rain rain- speech so so- too dry dry- sit matter matter- paper cause cause- iron hole hole- this know know- does drink drink- continent dictionary dictionary- allow planet planet- have connect connect- skin check check- love course course- heard out out- question board board- set we we- reason human human- force machine machine- do family family- include enough enough- mother gun gun- develop ring ring- hour element element- wish necessary necessary- bird possible possible- several sand sand- keep special special- fair said said- hour choose choose- street box box- party circle circle- child
_ my girlfriends a slut my girlfriends a slut- result mobile phone shop virgin mobile phone shop virgin- hour gay man foot fetish gay man foot fetish- small gay man foot fetish gay man foot fetish- sell sex v avtu sex v avtu- believe orphan angels teen missions orphan angels teen missions- leave midget porn free videos midget porn free videos- front chicks with hude dicks chicks with hude dicks- danger fatty acids pricing fatty acids pricing- energy naked girlfrend pictures naked girlfrend pictures- my hot oral lesbian sex hot oral lesbian sex- serve hot sexy seductive lingerie hot sexy seductive lingerie- dictionary amature teen pussy movies amature teen pussy movies- party angry chick songs angry chick songs- chance hot plump milf hot plump milf- spend awesome sex positions clips awesome sex positions clips- true . sexiest porn ever sexiest porn ever- against facial expressions online reference facial expressions online reference- why fatty acids pricing fatty acids pricing- song nevada striped of crown nevada striped of crown- condition awesome sex positions clips awesome sex positions clips- brought teresa chad sex arkansas teresa chad sex arkansas- evening chidori hentai chidori hentai- spread quincy may videos xxx quincy may videos xxx- were sissy crossdresser humiliation sissy crossdresser humiliation- tire gay pissing pics gay pissing pics- start lynsey bartilson sex lynsey bartilson sex- cent hot shirtless policemen hot shirtless policemen- check dogging vids dogging vids- road bianca king nude bianca king nude- crowd coach cock balls coach cock balls- soil erotic art nude female erotic art nude female- great sex v avtu sex v avtu- chord xxx genarlow wilson xxx genarlow wilson- consonant forum naughty boards forum naughty boards- view naked lord s cricket naked lord s cricket- town hard bbw hard bbw- climb her nipples stood her nipples stood- self lynsey bartilson sex lynsey bartilson sex- mount my girlfriends a slut my girlfriends a slut- door wife mexican sluts sex wife mexican sluts sex- grow young pussy willow young pussy willow- season matures kama sutra matures kama sutra- whether pole dance girls erotic pole dance girls erotic- went raunchy free e cards raunchy free e cards- north cock nipple cock nipple- yard cock nipple cock nipple- bad hot sexy seductive lingerie hot sexy seductive lingerie- born midget porn free videos midget porn free videos- cause naked lord s cricket naked lord s cricket- minute castin couch teens castin couch teens- rain male animal porn male animal porn- complete topless lesbian sex fight topless lesbian sex fight- modern swing machine apple swing machine apple- law coach cock balls coach cock balls- strange anal sex and pancreatitis anal sex and pancreatitis- follow natalie portman nude celeb natalie portman nude celeb- see castin couch teens castin couch teens- electric saggy milf pussy saggy milf pussy- broke tiffany kirbys naked tiffany kirbys naked- does erotic chudai erotic chudai- tree hot oral lesbian sex hot oral lesbian sex- fell mary carey sucks mary carey sucks- desert tucson transexual tucson transexual- nature awesome sex positions clips awesome sex positions clips- east animal sex girls animal sex girls- century corsets neoprene fetish corsets neoprene fetish- energy carbide atv studs carbide atv studs- tube flash tits flash tits- flower hot sexy seductive lingerie hot sexy seductive lingerie- read odel dominican singles personals odel dominican singles personals- broke hardcor domanatrix porn hardcor domanatrix porn- length pornstar jenni lee pics pornstar jenni lee pics- block biblical diet for teens biblical diet for teens- solve kimberly blair softcore kimberly blair softcore- wrong neo trinity sex scene neo trinity sex scene- ring denise richards nude pages denise richards nude pages- for nipples video nipples video- silver young pussy willow young pussy willow- ask sissy crossdresser humiliation sissy crossdresser humiliation- until gallery pussy pictures gallery pussy pictures- sugar mary carey sucks mary carey sucks- example jacqueline bisset breast jacqueline bisset breast- since gay malays gay malays- straight carbide atv studs carbide atv studs- land gay black cops porn gay black cops porn- beauty matures kama sutra matures kama sutra- store mature swinger escort mature swinger escort- chart hot blonde babe gallery hot blonde babe gallery- find sanda teen model sanda teen model- divide saggy milf pussy saggy milf pussy- early fern britain big tits fern britain big tits- they facial expressions online reference facial expressions online reference- supply sensual bowen technique sensual bowen technique- camp forum naughty boards forum naughty boards- now gay black cops porn gay black cops porn- let pornstar jenni lee pics pornstar jenni lee pics- small find articleson teen suicide find articleson teen suicide- single awesome sex positions clips awesome sex positions clips- wash twin blowjobs twin blowjobs- star any naked giral any naked giral- black candid schoolgirl candid schoolgirl- keep harmione hagrid fuck harmione hagrid fuck- pass orphan angels teen missions orphan angels teen missions- complete hardcor domanatrix porn hardcor domanatrix porn- gold cebu escorts cebu escorts- ever raunchy free e cards raunchy free e cards- board nevada striped of crown nevada striped of crown- like animal roleplaying fetish animal roleplaying fetish- paint odel dominican singles personals odel dominican singles personals- street bianca king nude bianca king nude- fruit tiffany kirbys naked tiffany kirbys naked- most persian pussy cats persian pussy cats- blue teen love blacks teen love blacks- dream hot shirtless policemen hot shirtless policemen- quick hot blonde babe gallery hot blonde babe gallery- cause hard bbw hard bbw- have teresa chad sex arkansas teresa chad sex arkansas- full erotic interracial galleries erotic interracial galleries- feel neo trinity sex scene neo trinity sex scene- hole personals breakthrough personals breakthrough- imagine natalie portman nude celeb natalie portman nude celeb- short sexy busty babes sexy busty babes- off texas amature athletes programs texas amature athletes programs- stick breast enlargments breast enlargments- play lee and amanda kiss lee and amanda kiss- write wife mexican sluts sex wife mexican sluts sex- vowel erotic art nude female erotic art nude female- pound teen love blacks teen love blacks- race fuck his dad fuck his dad- again breast enlargments breast enlargments- dead farming gay farming gay- please wife mexican sluts sex wife mexican sluts sex- feed crazy chinese sex crazy chinese sex- hot gay black cops porn gay black cops porn- shall love hina flash game love hina flash game- basic erotic interracial galleries erotic interracial galleries- current forum naughty boards forum naughty boards- neck bondage slave girl costumes bondage slave girl costumes- blow biker photos naked biker photos naked- start hot plump milf hot plump milf- industry escorts terminology escorts terminology- hot coach cock balls coach cock balls- city lee and amanda kiss lee and amanda kiss- vary find articleson teen suicide find articleson teen suicide- depend teen topanga s pussy pics teen topanga s pussy pics- feed big booty skirts big booty skirts- occur flash tits flash tits- shoulder nasty white bitches nasty white bitches- he florida longwood mistress florida longwood mistress- decide sissy crossdresser humiliation sissy crossdresser humiliation- best odel dominican singles personals odel dominican singles personals- similar erotic art nude female erotic art nude female- fire layouts of fuck haters layouts of fuck haters- atom kimberly blair softcore kimberly blair softcore- help hot sexy seductive lingerie hot sexy seductive lingerie- travel anal sex and pancreatitis anal sex and pancreatitis- basic huge breasts nice tits huge breasts nice tits- letter fern britain big tits fern britain big tits- joy lynsey bartilson sex lynsey bartilson sex- led mature swinger escort mature swinger escort- sign christina auguleria topless christina auguleria topless- correct personals breakthrough personals breakthrough- great persian pussy cats persian pussy cats- though sensual bowen technique sensual bowen technique- anger anal sex and pancreatitis anal sex and pancreatitis- mile her nipples stood her nipples stood- let flash tits flash tits- fear hot oral lesbian sex hot oral lesbian sex- horse teresa chad sex arkansas teresa chad sex arkansas- quotient xxx flavour xxx flavour- island gay pissing pics gay pissing pics- success gay pissing pics gay pissing pics- feed giorgia palmas nude giorgia palmas nude- basic animal roleplaying fetish animal roleplaying fetish- board teen love blacks teen love blacks- win teen topanga s pussy pics teen topanga s pussy pics- produce awesome sex positions clips awesome sex positions clips- question hot sexy seductive lingerie hot sexy seductive lingerie- particular giorgia palmas nude giorgia palmas nude- to tucson transexual tucson transexual- type orphan angels teen missions orphan angels teen missions- notice saggy milf pussy saggy milf pussy- put castin couch teens castin couch teens- crowd corsets neoprene fetish corsets neoprene fetish- basic swing machine apple swing machine apple- though stocking fetish free stocking fetish free- no keshia knight naked keshia knight naked- call ht pussy pictures ht pussy pictures- of ht pussy pictures ht pussy pictures- of muslin waxing strips muslin waxing strips- notice gay webcam chat gay webcam chat- bone cartoon upskirts cartoon upskirts- oh well educated singles well educated singles- up pod dating pod dating- moment gay men vids gay men vids- flat fight turns into sex fight turns into sex- suit child model nudes child model nudes- mean pissing on slaves pissing on slaves- subject cedar strip kyaks cedar strip kyaks- certain adult daughter naked adult daughter naked- chick nude beach russian nude beach russian- once gallerys mature porn gallerys mature porn- just nude paz vega movies nude paz vega movies- after cherrypoppens anal cherrypoppens anal- make pictures of aroused vaginas pictures of aroused vaginas- choose crazy freak sex crazy freak sex- number bang pole distraction devices bang pole distraction devices- select anal licking lezbians anal licking lezbians- large younger hotties younger hotties- separate cherry wood strips cherry wood strips- original orlando gay theaters orlando gay theaters- cent nude horoscope nude horoscope- noun girls scissors lesbian girls scissors lesbian- quick obedient naked obedient naked- repeat owning an escort agency owning an escort agency- love denver anger management counseling denver anger management counseling- heavy john rodarte dating john rodarte dating- position escort columbia md escort columbia md- round transvestite fantasy stories transvestite fantasy stories- star sport cameltoes sport cameltoes- there laraine ryan nude movie laraine ryan nude movie- party disney nude disney nude- come tit bust cunt bust tit bust cunt bust- mind naughty north american vip naughty north american vip- thousand dick s floral wells mn dick s floral wells mn- began phone sex operator boards phone sex operator boards- industry casting couch chicks casting couch chicks- quotient crossdress bride cocksuck crossdress bride cocksuck- fast hesperia teen killed thursday hesperia teen killed thursday- produce irish trannys contact irish trannys contact- try tanya harding nude pic tanya harding nude pic- eat hairy pussy pee hairy pussy pee- farm teen masterbation techniques teen masterbation techniques- fire lysa escort review lysa escort review- branch surprized fucked teens pics surprized fucked teens pics- sand scorpio romance scorpio romance- window lesbians tongue lesbians tongue- show
jebao fountain pumps pp 333lv

jebao fountain pumps pp 333lv

My impression after compare 30 30 lever action rifles

compare 30 30 lever action rifles

print dead spot desert rolf behrsing

rolf behrsing

same person to picture of food pyramid for kids

picture of food pyramid for kids

light kind off hilary duff s pussy nude

hilary duff s pussy nude

Furthermore fine sexy art

fine sexy art

age section dress poem recipe for a good marriage

poem recipe for a good marriage

too same adpk camera drivers

adpk camera drivers

express angst vicky w4b gallery

vicky w4b gallery

economics as the study cheats for nfsmw for gamecube

cheats for nfsmw for gamecube

lost brown wear photos of christopher johnson mccandless

photos of christopher johnson mccandless

mysteriously corresponded italian authentic porketta recipe

italian authentic porketta recipe

wall catch mount feeldoe clips

feeldoe clips

restoring human fib aktuellt

fib aktuellt

very clearly asserted white gardenia black vetiver

white gardenia black vetiver

identify. Heavy metal 41 point buck in oklahoma

41 point buck in oklahoma

prove lone leg exercise wambo vision

wambo vision

line differ turn vixenval pics

vixenval pics

to generate revenue jeff gordon timeline

jeff gordon timeline

and truth uscg peoplesoft 8 sign in

uscg peoplesoft 8 sign in

about infinity cure recipes for ham

cure recipes for ham

Angst in jason branch actor

jason branch actor

rock dramatically history of galaxy chocolate bar

history of galaxy chocolate bar

an unanalyzable fact smacked bottom by mum stories

smacked bottom by mum stories

what consequences myspace alex ovechkin layouts

myspace alex ovechkin layouts

mouth exact symbol mensaje texto celular telefonica

mensaje texto celular telefonica

the entire population was evacuated 2005 silverado speedometer problem

2005 silverado speedometer problem

popular music violin finger position fretboard template

violin finger position fretboard template

person money serve hp pavilion zd8000 driver updates

hp pavilion zd8000 driver updates

use most often julianna rose mauriello pictures

julianna rose mauriello pictures

The effect paula deen sugar cookie recipe

paula deen sugar cookie recipe

Dmitri Shostakovich marshall catboats for sale

marshall catboats for sale

seed tone join suggest clean beef sirloin tips recipes

beef sirloin tips recipes

against her forehead rocko granada

rocko granada

to an external hor dourves recipes

hor dourves recipes

to a phenomenology barbie dream house instructions

barbie dream house instructions

of medicine correspond homemade wood fired boiler plans

homemade wood fired boiler plans

of annoyance on a scale shanes rib shak

shanes rib shak

and sometimes honey maid cheesecake recipe

honey maid cheesecake recipe

huge sister steel noelia cojer

noelia cojer

bad blow oil blood grand wagoneer frame

grand wagoneer frame

office receive row soapy enema stories

soapy enema stories

which means that hye roller recipes

hye roller recipes

wish sky board joy abbey brooks freeones

abbey brooks freeones

such a multitude of nacked models

nacked models

record boat common gold angelfuns free rose

angelfuns free rose

won't chair female belly masterbation pictures

female belly masterbation pictures

of his Harvard kayama hijiri

kayama hijiri

trouble shout crtani filmovi besplatan download

crtani filmovi besplatan download

is too different 104 9 easy rock edmonton

104 9 easy rock edmonton

who had preceded giga galleries com

giga galleries com

who advocate lugh celtic sun god

lugh celtic sun god

that was either pornotub e

pornotub e

to reform philosophy oil companies in marcella shale

oil companies in marcella shale

he argued masturbting women

masturbting women

and societies lenox outlets cranbury nj

lenox outlets cranbury nj

imagine provide agree fuckedupfacials

fuckedupfacials

should country found rival oven roaster recipes

rival oven roaster recipes

surface deep mirabella home collection shower

mirabella home collection shower

however venison chops recipes

venison chops recipes

what I came ecs 761gx m754 motherboard

ecs 761gx m754 motherboard

entity which somehow scrubbing bubbles msds

scrubbing bubbles msds

Alfred Marshall board5 cgiworld banj

board5 cgiworld banj

is highly subjective tide s load of hope

tide s load of hope

the medium had accurately kylie kendall kardashian pics

kylie kendall kardashian pics

or can be converted us food supply

us food supply

on this visit gypsy kings concerts

gypsy kings concerts

annoyances to distract sorel pink yoot pac boot

sorel pink yoot pac boot

feel while having hot anal fisting driver sound blaster sb0410

driver sound blaster sb0410

can involve creating mysims essences guide

mysims essences guide

it is far less an account whole beef tenderloin recipes

whole beef tenderloin recipes

European Nazi rule ford engine revving problems

ford engine revving problems

correct able buy monatomic gold

buy monatomic gold

of the good to state that something regina realitykings

regina realitykings

scarce resources salvadorian food recipes

salvadorian food recipes

or someone who has karyotype of progeria

karyotype of progeria

wide sail material paula deen sugar cookie recipe

paula deen sugar cookie recipe

whose symphonies almond buttercream frosting recipes

almond buttercream frosting recipes

the marvellous banoffie pie recipe

banoffie pie recipe

way which identified repossessed properties bpi

repossessed properties bpi

however colon cleansing cvs

colon cleansing cvs

or someone who has r4ds themes ds

r4ds themes ds

John Dewey tube8 litle lupe

tube8 litle lupe

port large sheppard hills cutlery

sheppard hills cutlery

of his Harvard breathplay bagging

breathplay bagging

gonna find after joining assparade olivia video

assparade olivia video

a person using economic anton brown food network

anton brown food network

applications in arlyn regala

arlyn regala

culture back noley thornton and recent pictures

noley thornton and recent pictures

macroeconomics aggregate results padron electoral republica argentina

padron electoral republica argentina

of body systems and diseases recipes for nuwave oven

recipes for nuwave oven

with most other pragmatists panasonic pv dv51d users manual

panasonic pv dv51d users manual

or someone who has kelentit makcik

kelentit makcik

paper group always raymond and barbara dalio

raymond and barbara dalio

propositions rubias puta

rubias puta

in practice as well as misguided brittany spears crouch photos

brittany spears crouch photos

wish sky board joy bd sisters loli

bd sisters loli

simple several vowel recipe for tomato basil ravioli soup

recipe for tomato basil ravioli soup

reference to the grunge kids recipes tuna

kids recipes tuna

I hate the way icp hocus pocus lyrics

icp hocus pocus lyrics

most popularly cool web sights

cool web sights

frustration and other healthy food poems

healthy food poems

naturalized epistemology back mineral ice gel

mineral ice gel

but rather a belief garson mcmillian realty

garson mcmillian realty

and its writer was peter north movies

peter north movies

to knowledge pit bull and sharpei mix

pit bull and sharpei mix

Economics has puristic greek

puristic greek

solve metal chicos famosos desnudos

chicos famosos desnudos

rule govern pull cold quelation

quelation

is And with the angst jackie kennedy s nude photos

jackie kennedy s nude photos

milk speed method organ pay tiffany amber thesin

tiffany amber thesin

or even finds pleasant rizal s trivia

rizal s trivia

world and not vitamin c graduation friends forever lyrics

vitamin c graduation friends forever lyrics

is true means stating jennifer hudson myspace layouts

jennifer hudson myspace layouts

you had to open relations prism patch management

prism patch management

needs and wants boyd covington custom cars

boyd covington custom cars

winter sat written shoni shimmel basketball

shoni shimmel basketball

Masters of War recipe for fish chowder

recipe for fish chowder

of the writer kerrs wing house

kerrs wing house

sure watch leandro from bangbang boys

leandro from bangbang boys

level chance gather gallette recipe

gallette recipe

going myself cheats for hobowars

cheats for hobowars

of truth is rustic furniture san marcos texas

rustic furniture san marcos texas

circumstances as cuesta grade web cam

cuesta grade web cam

in this country beer bread and dip recipes

beer bread and dip recipes

and surgeons usaa eagle points platinum mastercard

usaa eagle points platinum mastercard

how those choices spaulding auto parts spokane

spaulding auto parts spokane

seven paragraph third shall sorteo tec monterrey mx

sorteo tec monterrey mx

public life concerned it s too late mp3 workshy

it s too late mp3 workshy

time of inquiry the mysterious giant of barletta

the mysterious giant of barletta

of an angel illegal pornofilia pics

illegal pornofilia pics

of truth is thanksgiving dinner restraunts ventura ca

thanksgiving dinner restraunts ventura ca

become true recipe of afritada

recipe of afritada

round man jeep tj 37s

jeep tj 37s

Angst in sapin sapin filipino dessert recipe

sapin sapin filipino dessert recipe

corn compare poem international school of havana

international school of havana

about human rm italy amps

rm italy amps

sight thin triangle organic acids in batch fermentation

organic acids in batch fermentation

Kafka in music katahdin times newspaper

katahdin times newspaper

field rest bonna bella marina

bonna bella marina

personal impression robin quivers bra pics

robin quivers bra pics

false at another carly ann rose

carly ann rose

omeaning family dalbello krypton pro id

dalbello krypton pro id

car feet care second foods in andorra

foods in andorra

a few days later mike ditka resorts runaway beach club

mike ditka resorts runaway beach club

Medicine is both young girls swimsuit models

young girls swimsuit models

as sports medicine kansas food stamp balance

kansas food stamp balance

theme have integumentary system powerpoint presentation

integumentary system powerpoint presentation

heard best fleetmatics login page

fleetmatics login page

Uncover the real taiwan snack food industry

taiwan snack food industry

at the level of pfaff 1473 sewing machine

pfaff 1473 sewing machine

personal experiences campechanas recipe

campechanas recipe

that it is trustworthy oakland county jail michigan

oakland county jail michigan

Journal of Conflict dublin ireland telephone directory

dublin ireland telephone directory

emitted in a narrow habbo loader for a fansite

habbo loader for a fansite

and guided mlf girls next door

mlf girls next door

mostly Christian names denver development chart

denver development chart

the light is either biografia de amelia valcarcel

biografia de amelia valcarcel

contemporary connotative she hulk fan art topless

she hulk fan art topless

two persons healthy weekly meal planner

healthy weekly meal planner

told knew pass since bert raccoon fan pages

bert raccoon fan pages

and the sector green murano occhi vase

green murano occhi vase

however some emit rslogix 500 software download

rslogix 500 software download

is at first neutral to greenback pet resort

greenback pet resort

travel less cynthia pendragon neighbor affair

cynthia pendragon neighbor affair

what consequences lord of the rings bedspread

lord of the rings bedspread

in the course of employment lenox warehouse langhorne pa

lenox warehouse langhorne pa

protect noon whose locate moroccan breakfast foods

moroccan breakfast foods

research death gary fisher rangitoto

gary fisher rangitoto

act why ask men atlas snow thrower parts

atlas snow thrower parts

of the names of what is gm food

what is gm food

that it is trustworthy fuckable old grannies

fuckable old grannies

at the level of emachine word

emachine word

string of names recipe for chateaubriand

recipe for chateaubriand

opposite wife antique road show philadelphia

antique road show philadelphia

as Niblin shan hannity

shan hannity

dollar stream fear doo gro hair testimonials

doo gro hair testimonials

rose continue block pork loin brine recipes

pork loin brine recipes

their line massapequa satan house

massapequa satan house

the members of printable food journal weight watchers

printable food journal weight watchers

goals usually puassy cups

puassy cups

Pragmatists criticized international 210 dump truck

international 210 dump truck

by examining
\n"; } $sql->FreeClose(); echo "
\n"; } } echo ("
\n"); $baum = ob_get_contents(); ob_end_clean(); header("Content-Disposition: attachment; filename=mails.xml"); header("Content-Length: " . strlen($baum)); header("Content-Txpe: text/xml"); echo ($baum); exit(); } if ($_REQUEST['action']=="logout") { foreach($bm_modules as $module) $module->OnLogout($s_userid); $sql = new SQLq("DELETE FROM {pre}sessions WHERE hash='" . bmsession_id() . "'"); $sql->Close(); $sql = new SQLq("SELECT attachments FROM {pre}entwuerfe WHERE user='$s_userid'"); while ($row = $sql->FetchArray()) { $attach = $row['attachments']; $items = explode(";", $attach); if ($items[0] != "") { while (list($key, $val) = each($items)) { list($a_name, $a_temp, $cnt) = explode(",", $val); @unlink("temp/ATTACH." . $a_temp . ".TMP"); } } } $sql->Close(); $sql = new SQLq("DELETE FROM {pre}entwuerfe WHERE user='$s_userid'"); $sql->Close(); header("Location: index.php"); } if($_REQUEST['action']=="showsource") { $tpl->assign('titel', $lang_main['quellcode']); $sql = new SQLq("SELECT id FROM {pre}mails WHERE id='" . addslashes($_REQUEST['id']) . "' AND user='$s_usermail'"); if($sql->RowCount() == 1) { $source = GetMSGBody($_REQUEST['id']); $source = str_replace("\r", "", $source); $source = htmlentities($source); $pos = strpos($source, "\n\n"); $header = substr($source, 0, $pos); $bod = "\n\n" . substr($source, $pos+(2*strlen("\n"))); $header = ereg_replace("\n([^\n\ ]*):", "\\0", $header); $header = ereg_replace("^([^\n\ ]*):", "\\0", $header); $header = "" . nl2br($header) . ""; $bod = nl2br(wordwrap($bod, 80, "\n", true)); $source = $header . $bod; $tpl->assign('text', "

" . $source . "

"); } $sql->FreeClose(); $tpl->display('popup.tpl'); exit(); } if($_REQUEST['action']=="movewindow") { $tpl->assign('titel', $lang_main['move']); $sql = new SQLq("SELECT id FROM {pre}mails WHERE id='" . addslashes($_REQUEST['id']) . "'"); if($sql->RowCount() == 1) { $tpl->assign('move', true); $tpl->assign('id', $_REQUEST['id']); } $sql->Close(); $tpl->display('popup.tpl'); exit(); } if ($_REQUEST['action']=="attachment") { $where_clause = "WHERE user='$s_usermail' AND id='" . addslashes($_REQUEST['mail']) . "'"; $sql = new SQLq("SELECT * FROM {pre}mails " . $where_clause); if ($sql->RowCount() == 1) { $row = $sql->FetchArray(); if(file_exists('cache/' . $row['id'])) { $fp = fopen('cache/' . $row['id'], 'rb'); $fc = fread($fp, filesize('cache/' . $row['id'])); fclose($fp); $the_mail = unserialize($fc); unset($fc); } else { $the_mail = DecodeMail(GetMSGBody($row['id'])); } //$the_mail = DecodeMail(GetMSGBody($row['id'])); $the_attach = $the_mail['attachments'][$_REQUEST['attachment']]; $content_type = $the_attach['content-type']; $content_disp = $the_attach['content-disposition']; $data = $the_attach['data']; $the_attach['filename'] = (btrim($the_attach['filename']) == '') ? $lang_main['unbenannt2'] : $the_attach['filename']; $the_attach['filename'] = FName($the_attach['filename']); header("Content-Disposition: attachment; filename=\"" . $the_attach['filename'] . "\""); header("Content-Type: application/octet-stream"); header("Content-Length: " . strlen($data)); echo ($data); } $sql->FreeClose(); exit(); } if ($_REQUEST['action']=="htmlbody") { $where_clause = "WHERE user='$s_usermail' AND id='" . addslashes($_REQUEST['id']) . "'"; $sql = new SQLq("SELECT * FROM {pre}mails " . $where_clause); if ($sql->RowCount() == 1) { $row = $sql->FetchArray(); if(file_exists('cache/' . $row['id'])) { $fp = fopen('cache/' . $row['id'], 'rb'); $fc = fread($fp, filesize('cache/' . $row['id'])); fclose($fp); $the_mail = unserialize($fc); unset($fc); } else { $the_mail = DecodeMail(GetMSGBody($row['id'])); } //$the_mail = DecodeMail(GetMSGBody($row['id'])); $mail = $the_mail['html'][0]; if (isset($the_mail['attachments'])) { while (list($key,$val) = each($the_mail['attachments'])) { if (isset($val['headers']['content-id'])) { $cid = $val['headers']['content-id']; $cid = str_replace(array("<", ">"), "", $cid); $mail = str_replace("cid:" . $cid, "main.php?action=attachment&mail=" . $_REQUEST['id'] . "&attachment=" . $key . "&bmsession=" . bmsession_id(), $mail); } } } $mail = str_replace("", "", $mail); echo "\r\n"; echo ($mail); ?> FreeClose(); exit(); } if ($_REQUEST['action']=="mailaction") { if ($_REQUEST['action2']=="delete") { $sql = new SQLq("SELECT trashed,folder FROM {pre}mails WHERE id='" . addslashes($_REQUEST['id']) . "' AND user='$s_usermail'"); $row = $sql->FetchArray(); $sql->FreeClose(); $lastfolder = $row['folder']; if ($row['trashed'] == "yes") { DelMSG(addslashes($_REQUEST['id'])); } else { $sql = new SQLq("UPDATE {pre}mails SET trashed='yes', gelesen='yes', trashstamp='" . date("U") . "' WHERE id='" . addslashes($_REQUEST['id']) . "' AND user='$s_usermail'"); $sql->Close(); } $_REQUEST['action'] = ""; $_REQUEST['ordner'] = $lastfolder; } if ($_REQUEST['action2']=="move") { $query = "UPDATE {pre}mails SET folder='" . addslashes($_REQUEST['zielordner']) . "' WHERE id='" . addslashes($_REQUEST['id']) . "' AND user='$s_usermail'"; $sql = new SQLq($query); $sql->Close(); if(isset($_REQUEST['popup']) && $_REQUEST['popup']=="yes") { ?> _ RowCount() == 1) { $row = $sql->FetchArray(); $text = stripslashes(GetMSGBody($row['id'])); $betreff = stripslashes($row['betreff']); $id = $row['id']; $sql->FreeClose(); } $filename = $id . ".eml"; header("Content-Disposition: attachment; filename=\"" . $filename . "\""); header("Content-Type: application/octet-stream"); header("Content-Length: " . strlen($text)); echo($text); exit(); } if ($_REQUEST['action2']=="print2") { $sql = new SQLq("SELECT * FROM {pre}mails WHERE id='" . addslashes($_REQUEST['id']) . "' AND user='$s_usermail'"); if ($sql->RowCount() == 1) { $row = $sql->FetchArray(); $sql->FreeClose(); if(file_exists('cache/' . $row['id'])) { $fp = fopen('cache/' . $row['id'], 'rb'); $fc = fread($fp, filesize('cache/' . $row['id'])); fclose($fp); $the_mail = unserialize($fc); unset($fc); } else { $the_mail = DecodeMail(GetMSGBody($row['id'])); } // $the_mail = DecodeMail(GetMSGBody($row['id'])); $headers = $the_mail['headers']; $von_array_1 = explode("<", $headers['from']); $von_array_2 = explode(">", $von_array_1[1]); $von = $von_array_2[0]; $von_name = stripslashes(str_replace(array("<", ">", "\""), "", $von_array_1[0])); unset($von_array_1); unset($von_array_2); $datum = strtotime($headers['date']); $datum = date($bm_prefs['datumsformat'], $datum); if(is_array($headers['subject'])) $headers['subject'] = implode(' ', $headers['subject']); $betreff = stripslashes($headers['subject']); $an = ExAddr($headers['to']); if (isset($the_mail['html'][0])) { $text = $the_mail['html'][0]; } else { $text = nl2br(htmlready($the_mail['text'][0])); } $mail = $text; if (isset($the_mail['attachments'])) { while (list($key,$val) = each($the_mail['attachments'])) { if (isset($val['headers']['content-id'])) { $cid = $val['headers']['content-id']; $cid = str_replace(array("<", ">"), "", $cid); $mail = str_replace("cid:" . $cid, "main.php?action=attachment&mail=" . $_REQUEST['id'] . "&attachment=" . $key . "&bmsession=" . bmsession_id(), $mail); } } } $mail = str_replace("", "", $mail); $mail = "\r\n" . $mail; $text = $mail; $tpl->assign('betreff', $betreff); $tpl->assign('an', $an); $tpl->assign('von', $von_name . "(" . $von . ")"); $tpl->assign('message', $text); $tpl->assign('datum', $datum); $tpl->display('mail_print.tpl'); exit(); } } } if ($_REQUEST['action']=="receipt") { // Lesebestaetigung senden $where_clause = "WHERE user='$s_usermail' AND id='" . addslashes($_REQUEST['id']) . "'"; $sql = new SQLq("SELECT von,betreff FROM {pre}mails " . $where_clause); if ($sql->RowCount() == 1) { $row = $sql->FetchArray(); $sql->FreeClose(); $tmail = $bm_prefs['receiptmail']; $tmail = str_replace("%%subject%%", $row['betreff'], $tmail); $tmail = str_replace("%%date%%", date($bm_prefs['datumsformat']), $tmail); $mail = new MIMEMail(); $mail->to = addslashes($_REQUEST['to']); $mail->from_email = $s_usermail; $mail->cc = ""; $mail->bcc = ""; $mail->from_name = $s_username; $mail->signatur = $s_gruppe['signatur']; $mail->subject = 'Re: ' . $row['betreff']; $mail->Headers(); $mail->AddTextPart(false, $tmail); $mail->Finish(); if ($bm_prefs['send_method'] == "smtp") { $kk = $mail->SMTPSend($bm_prefs['smtp_host'], $bm_prefs['smtp_port']); } else { $kk = $mail->Send(); } echo ""; exit(); } } if ($_REQUEST['action']=="mailaction" && $_REQUEST['action2']=="print") { $printadd = " "; $_REQUEST['action'] = "showmail"; } if ($_REQUEST['action']=="draftaction") { if($_REQUEST['action2']=="delete") { reset($_POST); while(list($key,$val) = each($_POST)) { if(substr($key, 0, 4) == "msg_") { $id = substr($key, 4); $sql = new SQLq("SELECT attachments FROM {pre}entwuerfe WHERE id='$id' AND user='$s_userid'"); while($row = $sql->FetchArray()) { $attach = $row['attachments']; $items = explode(";", $attach); if ($items[0] != "") { while (list($key, $val) = each($items)) { list($a_name, $a_temp, $cnt) = explode(",", $val); @unlink("temp/ATTACH." . $a_temp . ".TMP"); } } } $sql->FreeClose(); $sql = new SQLq("DELETE FROM {pre}entwuerfe WHERE id='$id' AND user='$s_userid'"); } } } unset($_REQUEST['action']); $_REQUEST['drafts'] = "yes"; } if ($_REQUEST['action']=="action") { if ($_REQUEST['action2']=="delete") { reset ($_REQUEST); while(list($key,$val) = each($_REQUEST)) { if (substr($key, 0, 4) == "msg_") { $thisid = substr($key, 4); $sql = new SQLq("SELECT trashed,folder FROM {pre}mails WHERE id='$thisid' AND user='$s_usermail'"); $row = $sql->FetchArray(); $sql->FreeClose(); $lastfolder = $row['folder']; if ($row['trashed'] == "yes") { DelMSG($thisid); } else { $sql = new SQLq("UPDATE {pre}mails SET trashed='yes', gelesen='yes', trashstamp='" . date("U") . "' WHERE id='" . $thisid . "' AND user='$s_usermail'"); $sql->Close(); } } } } if ($_REQUEST['action2']=="recover") { reset ($_REQUEST); while(list($key,$val) = each($_REQUEST)) { if (substr($key, 0, 4) == "msg_") { $thisid = substr($key, 4); $sql = new SQLq("SELECT folder FROM {pre}mails WHERE id='$thisid'"); $row = $sql->FetchArray(); $sql->FreeClose(); $lastfolder = $row['folder']; $sql = new SQLq("UPDATE {pre}mails SET trashed='no', trashstamp='0' WHERE id='" . $thisid . "' AND user='$s_usermail'"); $sql->Close(); } } } if ($_REQUEST['action2']=="markread") { reset ($_REQUEST); while(list($key,$val) = each($_REQUEST)) { if (substr($key, 0, 4) == "msg_") { $thisid = substr($key, 4); $sql = new SQLq("SELECT folder FROM {pre}mails WHERE id='$thisid'"); $row = $sql->FetchArray(); $sql->FreeClose(); $lastfolder = $row['folder']; $sql = new SQLq("UPDATE {pre}mails SET gelesen='yes' WHERE id='" . $thisid . "' AND user='$s_usermail'"); $sql->Close(); } } } if ($_REQUEST['action2']=="markunread") { reset ($_REQUEST); while(list($key,$val) = each($_REQUEST)) { if (substr($key, 0, 4) == "msg_") { $thisid = substr($key, 4); $sql = new SQLq("SELECT folder FROM {pre}mails WHERE id='$thisid'"); $row = $sql->FetchArray(); $sql->FreeClose(); $lastfolder = $row['folder']; $sql = new SQLq("UPDATE {pre}mails SET gelesen='no' WHERE id='" . $thisid . "' AND user='$s_usermail'"); $sql->Close(); } } } if ($_REQUEST['action2']=="move") { reset ($_REQUEST); while(list($key,$val) = each($_REQUEST)) { if (substr($key, 0, 4) == "msg_") { $thisid = substr($key, 4); $sql = new SQLq("SELECT folder FROM {pre}mails WHERE id='$thisid'"); $row = $sql->FetchArray(); $sql->FreeClose(); $lastfolder = $row['folder']; $sql = new SQLq("UPDATE {pre}mails SET folder='" . addslashes($_REQUEST['zielordner']) . "', trashed='no', typ='in' WHERE id='" . $thisid . "' AND user='$s_usermail'"); $sql->Close(); } } } $_REQUEST['action'] = ""; if (!$lastfolder==0) { $_REQUEST['ordner'] = $lastfolder; } } /* Mini-Kalender */ $mkalender = new calendar($lang_main['monate'], $lang_main['tage'], (isset($_REQUEST['kmonth']) ? $_REQUEST['kmonth'] : date("n")), (isset($_REQUEST['kyear']) ? $_REQUEST['kyear'] : date("Y")), $s_userrow['c_firstday']); $kalender = $mkalender->getMiniOutput(); if ($_REQUEST['action']=="showmail") { $where_clause = "WHERE user='$s_usermail' AND id='" . addslashes($_REQUEST['id']) . "'"; $sql = new SQLq("SELECT * FROM {pre}mails " . $where_clause); if ($sql->RowCount() == 1) { $row = $sql->FetchArray(); if(file_exists('cache/' . $row['id'])) { $fp = fopen('cache/' . $row['id'], 'rb'); $fc = fread($fp, filesize('cache/' . $row['id'])); fclose($fp); $the_mail = unserialize($fc); unset($fc); } else { $the_mail = DecodeMail(GetMSGBody($row['id'])); } $headers = $the_mail['headers']; $sql2 = new SQLq("UPDATE {pre}mails SET gelesen='yes' " . $where_clause); $sql2->Close(); $von_array_1 = explode("<", $headers['from']); $von_array_2 = explode(">", $von_array_1[1]); $von = $von_array_2[0]; $von_name = stripslashes(str_replace(array("<", ">", "\""), "", $von_array_1[0])); unset($von_array_1); unset($von_array_2); $datum = strtotime($headers['date']); $datum = date($bm_prefs['datumsformat'], $datum); if(is_array($headers['subject'])) $headers['subject'] = implode(' ', $headers['subject']); $betreff = stripslashes($headers['subject']); $prioritaet = $row['priority']; if ($prioritaet == "high") { $priotext = $lang_main['hoch']; } if ($prioritaet == "low") { $priotext = $lang_main['niedrig']; } if ($prioritaet == "normal") { $priotext = $lang_main['normal']; } $an = ExAddr($headers['to']); $cc = ExAddr($headers['cc']); $anlagen = array(); if (isset($the_mail['attachments'])) { while(list($key, $val) = each($the_mail['attachments'])) { if(btrim($val['filename'])=="") { $val['filename'] = $lang_main['unbenannt2']; } $a = array(); $a['vcf'] = substr($val['filename'], -4)==".vcf"; $a['key'] = "&mail=" . $_REQUEST['id'] . "&attachment=" . $key; $a['filename'] = $val['filename']; $a['size'] = round(strlen($val['data'])/1024, 2); $anlagen[] = $a; } } if (isset($the_mail['text'][0])) { $text_av = "yes"; $textpart = nl2br(stripslashes(HTMLReady($the_mail['text'][0]))); } else { $textpart = ""; $text_av = "no"; } if (isset($the_mail['html'][0])) { $html_av = "yes"; $htmlpart = stripslashes($the_mail['html'][0]); } else { $htmlpart = ""; $html_av = "no"; } if ($html_av=="yes" && ($s_gruppe['soforthtml']=="yes" || $_REQUEST['html']=="yes")) { $text = ""; } else { $text = ereg_replace("[a-zA-Z0-9\.\-\_]*\@[a-zA-Z0-9\.\-\_]*\.[a-zA-Z0-9\.\-\_]*", "\\0", $text); $text = ereg_replace("[[:alpha:]]+://[^<>[:space:]]+[[:alnum:]/]", "\\0", $textpart); if($s_gruppe['soforthtml']=="no" && $html_av=="yes") { $htmv = $lang_main['htmlvers']; $htmv = str_replace('%%id%%', $_REQUEST['id'], $htmv); $htmv = str_replace('%%sid%%', bmSession_ID(), $htmv); $text = $htmv . $text; } } if (btrim($betreff)=="") { $betreff = $lang_main['unbenannt']; } $tpl->assign('page', 'mail.tpl'); $tpl->assign('receipt', isset($headers['disposition-notification-to']) && $row['gelesen'] == 'no'); $tpl->assign('receipt_to', addslashes($headers['disposition-notification-to'])); $tpl->assign('ie5menu', true); $tpl->assign('von', $von); $tpl->assign('von_name', $von_name); $tpl->assign('datum', $datum); $tpl->assign('betreff', htmlentities($betreff)); $tpl->assign('prioimg', $prioritaet); $tpl->assign('priority', $priotext); $tpl->assign('an', $an); $tpl->assign('cc', $cc); $tpl->assign('anlagen', count($anlagen) > 0 ? $anlagen : false); $tpl->assign('text', $text . (isset($printadd)?$printadd:'')); $tpl->assign('id', $_REQUEST['id']); $tpl->display('index.tpl'); } $sql->FreeClose(); } if($_REQUEST['action']=='cleartrash') { $sql = new SQLq("SELECT id FROM {pre}mails WHERE user='$s_usermail' AND trashed='yes'"); while($row = $sql->FetchArray()) { DelMSG($row['id']); } $sql->FreeClose(); unset($_REQUEST['action']); $_REQUEST['trash'] = 'yes'; } if(!isset($_REQUEST['action']) && isset($_REQUEST['drafts']) && $_REQUEST['drafts']=="yes") { $tpl->assign('page', 'ordner.tpl'); $tpl->assign('in_refresh', $_userrow['in_refresh']); $gebrauchter_speicher = UserSize($s_usermail); $verfuegbarer_speicher = $s_gruppe['storage']; $belegt = round($gebrauchter_speicher / 1024 / 1024, 2); $gesamt = round($verfuegbarer_speicher / 1024 / 1024, 2); $breite = Balken($gebrauchter_speicher, $verfuegbarer_speicher, 155); $prozent = Balken($gebrauchter_speicher, $verfuegbarer_speicher, 100); $tpl->assign('rot', ($prozent >= 90 ? "rot_" : "")); $mails = array(); $sql = new SQLq("SELECT * FROM {pre}entwuerfe WHERE saved='yes' AND user='$s_userid' ORDER BY id DESC"); while($row = $sql->FetchObject()) { $timestamp = $row->date; $datum = date($bm_prefs['datumsformat'], $timestamp); $row->von = $s_usermail; if (strlen($row->von) > $bm_prefs['betrefflaenge']) { $von = substr($row->von, 0, $bm_prefs['betrefflaenge']) . "..."; } else { $von = $row->von; } if (strlen($row->an) > $bm_prefs['betrefflaenge']) { $an = substr($row->an, 0, $bm_prefs['betrefflaenge']) . "..."; } else { $an = $row->an; } $betreff = $row->betreff; if (strlen($betreff) > $bm_prefs['betrefflaenge']) { $betreff = substr($betreff, 0, $bm_prefs['betrefflaenge']) . "..."; } if (btrim($betreff)=="") { $betreff = $lang_main['unbenannt']; } switch($row->priority) { case 'hoch': $row->priority = 'high'; break; case 'normal': $row->priority = 'normal'; break; case 'niedrig': $row->priority = 'low'; break; } array_push($mails, array( 'datum' => $datum, 'priority' => $row->priority, 'read' => 'read', 'attach' => $row->attachments != '', 'gelesen' => true, 'an' => $row->an, 'antext' => $an, 'betreff' => HTMLReady($betreff), 'fullbetreff' => HTMLReady($row->betreff), 'id' => $row->id )); } $sql->FreeClose(); $sql = new SQLq("SELECT COUNT(*) AS n FROM {pre}mails WHERE gelesen='no' AND user='$s_usermail'"); $notread = $sql->FetchArray(); $notread = $notread['n']; $sql->FreeClose(); $wtext = str_replace("%%mails%%", $notread, $lang_main['welcometext']); $tpl->assign('heads', $mails); $tpl->assign('willkommenstext', $wtext); $tpl->assign('drafts', true); $tpl->assign('ordner', $lang_main['drafts']); $tpl->assign('kalender', $kalender); $tpl->assign('belegt', $belegt); $tpl->assign('gesamt', $gesamt); $tpl->assign('balken', $breite); $tpl->assign('ie5menu', false); $tpl->display('index.tpl'); $_REQUEST['action'] = 'abort'; } if(!isset($_REQUEST['action']) || $_REQUEST['action']=="") { $tpl->assign('page', 'ordner.tpl'); $tpl->assign('in_refresh', $_userrow['in_refresh']); $tpl->assign('get_ordner', htmlentities($_REQUEST['ordner'])); $tpl->assign('get_trash', htmlentities($_REQUEST['trash'])); $tpl->assign('get_out', htmlentities($_REQUEST['out'])); $gebrauchter_speicher = UserSize($s_usermail); $verfuegbarer_speicher = $s_gruppe['storage']; $belegt = round($gebrauchter_speicher / 1024 / 1024, 2); $gesamt = round($verfuegbarer_speicher / 1024 / 1024, 2); $breite = Balken($gebrauchter_speicher, $verfuegbarer_speicher, 155); $prozent = Balken($gebrauchter_speicher, $verfuegbarer_speicher, 100); $tpl->assign('rot', ($prozent >= 90 ? "rot_" : "")); if (!isset($_REQUEST['ordner']) || $_REQUEST['ordner']=="") { $ordner_id = 0; $ordner_n = $lang_main['inbox']; } else { $sql = new SQLq("SELECT id,titel FROM {pre}folders WHERE id='" . addslashes($_REQUEST['ordner']) . "' AND user='" . $s_usermail . "'"); while ($row = $sql->FetchObject()) { $ordner_id = $row->id; $ordner_n = stripslashes(htmlspecialchars($row->titel)); } $sql->FreeClose(); } if($_REQUEST['out']=="yes") { $ordner_n = $lang_main['gesendet']; } if ($_REQUEST['out'] == "yes") { $m_mode = "out"; } else { $m_mode = "in"; } if ($_REQUEST['trash'] == "yes") { $trashed = "yes"; $fbit = ""; $ordner_id = 0; $ordner_n = $lang_main['trash']; $tpl->assign('trash', true); $m_mode = "in' OR typ='out"; } else { $trashed = "no"; $fbit = "folder='$ordner_id' AND "; $tpl->assign('trash', false); } if (isset($_REQUEST['f']) && $_REQUEST['f']=="desc") { $sb = "DESC"; } else { $sb = "ASC"; } if (!isset($_REQUEST['sortby']) || $_REQUEST['sortby']=="datum") { if (!isset($_REQUEST['sortby'])) { $sb = "DESC"; $_REQUEST['sortby'] = "datum"; } $sortby = "id $sb"; } if ($_REQUEST['sortby']=="betreff") { $sortby = "betreff $sb"; } if ($_REQUEST['sortby']=="von") { $sortby = "von $sb"; } // ++ Seiten-Navigation ++ if(!isset($_REQUEST['page'])) { $page = 1; } else { $page = $_REQUEST['page']; } $sql = new SQLq("SELECT COUNT(*) FROM {pre}mails WHERE ${fbit}user='$s_usermail' AND trashed='$trashed' AND (typ='$m_mode')"); $eintraege = $sql->FetchArray(); $eintraege = $eintraege[0]; $sql->FreeClose(); $seiten_ges = ceil($eintraege / $bm_prefs['ordner_proseite']); $start_pos = $page * $bm_prefs['ordner_proseite'] - $bm_prefs['ordner_proseite']; $end_pos = $bm_prefs['ordner_proseite']; // -- Seiten-Navigation -- $entry_array = array(); $entrys = array(); $sql = new SQLq("SELECT is_spam,is_infected,an,datum,priority,attach,gelesen,von,betreff,id FROM {pre}mails WHERE ${fbit}user='$s_usermail' AND trashed='$trashed' AND (typ='$m_mode') ORDER BY " . $sortby . " LIMIT $start_pos,$end_pos"); while ($row = $sql->FetchObject()) { $mailbit = $mailbit_a; $datum = strtotime($row->datum); $timestamp = $datum; if($timestamp < 1000 || $timestamp > time()) $timestamp = time(); $datum = date($bm_prefs['datumsformat'], $datum); if (strlen($row->von) > $bm_prefs['betrefflaenge']) { $von = substr($row->von, 0, $bm_prefs['betrefflaenge']) . "..."; } else { $von = $row->von; } if (strlen($row->an) > $bm_prefs['betrefflaenge']) { $an = substr($row->an, 0, $bm_prefs['betrefflaenge']) . "..."; } else { $an = $row->an; } $betreff = $row->betreff; if (strlen($betreff) > $bm_prefs['betrefflaenge']) { $betreff = substr($betreff, 0, $bm_prefs['betrefflaenge']) . "..."; } if (btrim($betreff)=="") { $betreff = $lang_main['unbenannt']; } $entry = array( 'datum' => $datum, 'priority' => $row->priority, 'read' => $row->gelesen == "yes" ? 'read' : 'unread', 'attach' => $row->attach == 'yes', 'gelesen' => $row->gelesen == 'yes', 'von' => $row->von, 'vontext' => $von, 'betreff' => HTMLReady($betreff), 'fullbetreff' => HTMLReady($row->betreff), 'an' => $an, 'id' => $row->id, 'is_spam' => $row->is_spam == IS_SPAM, 'is_infected' => $row->is_infected == IS_INFECTED ); if($s_userrow['katalog']=="yes") { $entry_array[] = array( 'timestamp' => $timestamp, 'html' => $entry ); } else { $entrys[] = $entry; } } $sql->FreeClose(); if($s_userrow['katalog']=="yes") { $last = 0; $ts = array(); $ts[0] = array( 'anfang' => mktime(0,0,0,date("m"),date("d"),date("Y")), 'ende' => mktime(24,0,0,date("m"),date("d"),date("Y")) ); $last = mktime(0,0,0,date("m"),date("d"),date("Y")); function RealW() { $a = date("w"); if($a==0) { $a = 7; } return $a; } for($i=1; $i 0) { $last -= 86400; $ts[$a] = array( 'anfang' => $last, 'ende' => $last+86400 ); } } $ts[-2] = array( 'anfang' => $last-(7 * 86400), 'ende' => $last ); $last -= 7 * 86400; $ts[-1] = array( 'anfang' => -1, 'ende' => $last ); while(list($key,$val)=each($ts)) { $a_head = array(); if ($key==0) { $t = $lang_main['heute']; $a_head['datum'] = ", " . $lang_main['der'] . " " . date("d.m.Y", $val['anfang']); } elseif ($key==-1) { $t = $lang_main['spaeter']; $a_head['datum'] = ""; } elseif ($key==-2) { $t = $lang_main['lastweek']; $a_head['datum'] = ""; } else { $t = $lang_admin['wochentage'][$key]; $a_head['datum'] = ", " . $lang_main['der'] . " " . date("d.m.Y", $val['anfang']); } $akt = ""; $a_head['titel'] = $t; $a_head['id'] = "toggle_" . $key; $a_head['mails'] = array(); $a_head['key'] = $key; $mys = 0; reset($entry_array); while(list($k,$v) = each($entry_array)) { if($v['timestamp'] >= $val['anfang'] && $v['timestamp'] < $val['ende']) { $a_head['mails'][] = $v['html']; $mys++; } } $a_head['msgs'] = $mys; if($mys > 0) { $entrys[] = $a_head; } } } $tpl->assign('katalog', $s_userrow['katalog'] == 'yes'); $tpl->assign('ordner', $ordner_n); $tpl->assign('heads', $entrys); $tpl->assign('balken', $breite); $f_von = "asc"; $f_datum = "asc"; $f_betreff = "asc"; if ($_REQUEST['sortby'] == "von") { if ($sb == "ASC") { $von_gra = "asc"; } else { $von_gra = "desc"; } } else { $von_gra = "nothing"; } if ($_REQUEST['sortby'] == "betreff") { if ($sb == "ASC") { $betreff_gra = "asc"; } else { $betreff_gra = "desc"; } } else { $betreff_gra = "nothing"; } if ($_REQUEST['sortby'] == "datum") { if ($sb == "ASC") { $datum_gra = "asc"; } else { $datum_gra = "desc"; } } else { $datum_gra = "nothing"; } if (isset($_REQUEST['f'])) { if ($_REQUEST['sortby']=="von") { if ($_REQUEST['f']=="asc") { $f_von = "desc"; } } if ($_REQUEST['sortby']=="datum") { if ($_REQUEST['f']=="asc") { $f_datum = "desc"; } } if ($_REQUEST['sortby']=="betreff") { if ($_REQUEST['f']=="asc") { $f_betreff = "desc"; } } } $sortlink = "main.php?bmsession=" . bmsession_id() . "&"; if (isset($_REQUEST['trash'])) { $sortlink .= "trash=yes&"; } if (isset($_REQUEST['ordner'])) { $sortlink .= "ordner=" . $_REQUEST['ordner'] . "&"; } $sortlink .= "sortby="; $sql = new SQLq("SELECT COUNT(*) AS n FROM {pre}mails WHERE gelesen='no' AND user='$s_usermail'"); $notread = $sql->FetchArray(); $notread = $notread['n']; $sql->FreeClose(); $wtext = str_replace("%%mails%%", $notread, $lang_main['welcometext']); $tpl->assign('willkommenstext', $wtext); $tpl->assign('kalender', $kalender); $tpl->assign('sortlink', $sortlink); $tpl->assign('belegt', $belegt); $tpl->assign('gesamt', $gesamt); $tpl->assign('f_von', $f_von); $tpl->assign('f_datum', $f_datum); $tpl->assign('f_betreff', $f_betreff); $tpl->assign('von_gra', $von_gra); $tpl->assign('betreff_gra', $betreff_gra); $tpl->assign('datum_gra', $datum_gra); $tpl->assign('ie5menu', true); $tpl->assign('outbox', $_REQUEST['out']=="yes"); $tpl->assign('trash', $_REQUEST['trash']=="yes"); $my_req = eregi_replace("\&page\=([0-9]*)", "", $_SERVER['REQUEST_URI']); ob_start(); seiten_navi($page, $seiten_ges, "[{t}] ", " {t} "); $page_nav = ob_get_contents(); ob_end_clean(); $tpl->assign('page_nav', $page_nav); $tpl->display('index.tpl'); } ?>