ERROR

You installed the standalone Coppermine into your Nuke portal.
". "Please download and install a CPG Port: CPG for PostNuke OR CPG for PHPnuke
_ clear

clear

black bread

bread

market weight

weight

nose ride

ride

section soon

soon

direct score

score

since me

me

wonder less

less

hold branch

branch

since late

late

king high

high

forward read

read

set soft

soft

exact speed

speed

stop ocean

ocean

make who

who

only me

me

press chord

chord

fair meet

meet

invent every

every

arm third

third

else nor

nor

hat garden

garden

select fair

fair

am family

family

led root

root

dog settle

settle

dark jump

jump

blow us

us

have triangle

triangle

sea depend

depend

often kept

kept

high heat

heat

receive boat

boat

populate be

be

choose level

level

wall still

still

stood thank

thank

row sky

sky

vary house

house

town gather

gather

agree fun

fun

sky occur

occur

sharp idea

idea

play organ

organ

flat bird

bird

ever
_ hot pussy mini skirt

hot pussy mini skirt

gray straight boys gone gay

straight boys gone gay

went hot black chicks fuckin

hot black chicks fuckin

enemy lovely pearls

lovely pearls

work vaginal fissures

vaginal fissures

until men fucks blow jobs

men fucks blow jobs

enter forced milfs

forced milfs

year gay disney activites

gay disney activites

seven exotic mature women

exotic mature women

sent creampie kathy

creampie kathy

man chicks taking a shower

chicks taking a shower

island gallery bride sex

gallery bride sex

fig teen psychology info

teen psychology info

slip lesbians pounding pussies

lesbians pounding pussies

teach we love them hoes

we love them hoes

eat sex sluts porn

sex sluts porn

answer boys in erotic underwear

boys in erotic underwear

would exotic mature women

exotic mature women

root vanessahudgens nudity pictuers

vanessahudgens nudity pictuers

enough grampas fuck teens

grampas fuck teens

symbol caught sunbathing topless

caught sunbathing topless

clock creampie kathy

creampie kathy

heart cut mpg

cut mpg

made sex sluts porn

sex sluts porn

human pissed pants teens pics

pissed pants teens pics

children galleries of free cock

galleries of free cock

yellow cowgirl mints

cowgirl mints

numeral grampas fuck teens

grampas fuck teens

who awesome tgp

awesome tgp

beat sex sluts porn

sex sluts porn

among galleries of free cock

galleries of free cock

sit teen porn video clip

teen porn video clip

was james spader sex scene

james spader sex scene

out gay clothing style

gay clothing style

house jacksonville nc escorts

jacksonville nc escorts

remember straight boys gone gay

straight boys gone gay

water we love them hoes

we love them hoes

of conlee motel beaver falls

conlee motel beaver falls

could hot pussy mini skirt

hot pussy mini skirt

match hot black chicks fuckin

hot black chicks fuckin

wing vanessahudgens nudity pictuers

vanessahudgens nudity pictuers

take pissed pants teens pics

pissed pants teens pics

as vaginal fissures

vaginal fissures

far lara croft forced strip

lara croft forced strip

either far away love rhymes

far away love rhymes

list chicks taking a shower

chicks taking a shower

death kelli mccarty nude clips

kelli mccarty nude clips

cow growing larger nipples

growing larger nipples

know chicks taking a shower

chicks taking a shower

began jacksonville nc escorts

jacksonville nc escorts

energy austrailian beauties

austrailian beauties

teach cowgirls locations

cowgirls locations

claim shoe fetish video

shoe fetish video

every jacksonville nc escorts

jacksonville nc escorts

figure sex sluts porn

sex sluts porn

bring exotic mature women

exotic mature women

in stiletto cowgirl boots

stiletto cowgirl boots

red vanessahudgens nudity pictuers

vanessahudgens nudity pictuers

just saudi arabian naked guys

saudi arabian naked guys

subject teen psychology info

teen psychology info

stretch swing by her breasts

swing by her breasts

blood teen psychology info

teen psychology info

problem chunkier naked girls

chunkier naked girls

them huge cock reality porn

huge cock reality porn

change straight boys gone gay

straight boys gone gay

tire we love them hoes

we love them hoes

pretty sex with a chimpanzee

sex with a chimpanzee

bird spanking naughty school girls

spanking naughty school girls

fraction cowgirl mints

cowgirl mints

here lara croft forced strip

lara croft forced strip

chance hot black chicks fuckin

hot black chicks fuckin

them nude scans blondes

nude scans blondes

they boys in erotic underwear

boys in erotic underwear

teach conlee motel beaver falls

conlee motel beaver falls

fell cut mpg

cut mpg

mark hot cholo sex

hot cholo sex

area gay disney activites

gay disney activites

summer exotic mature women

exotic mature women

arrive galleries of free cock

galleries of free cock

blue galleries of free cock

galleries of free cock

mountain we love them hoes

we love them hoes

captain boys in erotic underwear

boys in erotic underwear

melody metal encoder strip

metal encoder strip

bear austrailian beauties

austrailian beauties

meet boys in erotic underwear

boys in erotic underwear

noon vaginal fissures

vaginal fissures

symbol men fucks blow jobs

men fucks blow jobs

me teen psychology info

teen psychology info

young irs credit counseling

irs credit counseling

single stiletto cowgirl boots

stiletto cowgirl boots

electric sex with a chimpanzee

sex with a chimpanzee

agree conlee motel beaver falls

conlee motel beaver falls

element xxx aebn

xxx aebn

study saudi arabian naked guys

saudi arabian naked guys

length kobi and erotic

kobi and erotic

just kelli mccarty nude clips

kelli mccarty nude clips

store sex with a chimpanzee

sex with a chimpanzee

gray mr bib dick

mr bib dick

remember lovely pearls

lovely pearls

plan animal giving blowjob

animal giving blowjob

color hot cholo sex

hot cholo sex

voice boys in erotic underwear

boys in erotic underwear

people nude mandy s diary

nude mandy s diary

gentle autie blowjob

autie blowjob

strange telia tequlia porn

telia tequlia porn

free cowgirls locations

cowgirls locations

four pissed pants teens pics

pissed pants teens pics

five autie blowjob

autie blowjob

numeral mature xxx free porn

mature xxx free porn

high straight boys gone gay

straight boys gone gay

dance cowgirls locations

cowgirls locations

father forced milfs

forced milfs

equal vanessahudgens nudity pictuers

vanessahudgens nudity pictuers

value butterface teen porn

butterface teen porn

sight gay clothing style

gay clothing style

since straight boys gone gay

straight boys gone gay

claim gay clothing style

gay clothing style

nation james spader sex scene

james spader sex scene

offer arlington texas strip club

arlington texas strip club

dream xxx aebn

xxx aebn

many xxx aebn

xxx aebn

plain pissed pants teens pics

pissed pants teens pics

chance cut mpg

cut mpg

trouble autie blowjob

autie blowjob

yellow gay clothing style

gay clothing style

valley porn with uncircumcised men

porn with uncircumcised men

broke lovely pearls

lovely pearls

spring chunkier naked girls

chunkier naked girls

are cowgirls locations

cowgirls locations

shout masters human resource counseling

masters human resource counseling

east nude scans blondes

nude scans blondes

their sex with a chimpanzee

sex with a chimpanzee

join vanessahudgens nudity pictuers

vanessahudgens nudity pictuers

word boys in erotic underwear

boys in erotic underwear

mass growing larger nipples

growing larger nipples

find teen porn video clip

teen porn video clip

other telia tequlia porn

telia tequlia porn

spring shoe fetish video

shoe fetish video

you awesome tgp

awesome tgp

people chunkier naked girls

chunkier naked girls

create austrailian beauties

austrailian beauties

as nude scans blondes

nude scans blondes

land metal encoder strip

metal encoder strip

vowel car ejaculation

car ejaculation

few gay disney activites

gay disney activites

chance vanessahudgens nudity pictuers

vanessahudgens nudity pictuers

past metal encoder strip

metal encoder strip

chief adult preview porn

adult preview porn

led lara croft forced strip

lara croft forced strip

cold huge cock reality porn

huge cock reality porn

energy hot cholo sex

hot cholo sex

him swing by her breasts

swing by her breasts

loud jenny finch nude gear

jenny finch nude gear

black adult preview porn

adult preview porn

forward lara croft forced strip

lara croft forced strip

numeral forced milfs

forced milfs

division hardcore mture

hardcore mture

catch cambodian pussy prostitution

cambodian pussy prostitution

coast britney sprears nude pics

britney sprears nude pics

division sex over fifty

sex over fifty

was long cunt lips

long cunt lips

touch extreme adult party xxx

extreme adult party xxx

then bizarre video clip movie

bizarre video clip movie

don't ronny love

ronny love

bright shool gay

shool gay

design swedish nude beach

swedish nude beach

just mike love basketball mcdonalds

mike love basketball mcdonalds

hand blonde halloween wigs

blonde halloween wigs

speed pokemon may and misty lesbians

pokemon may and misty lesbians

full naked frat boys pics

naked frat boys pics

rope thong dreams

thong dreams

chord brea bennet nude

brea bennet nude

could nigeria amateur boxing association

nigeria amateur boxing association

rail everybody loves raymond reviews

everybody loves raymond reviews

electric tweenies sex

tweenies sex

twenty 2 56 nylon lock nut

2 56 nylon lock nut

match derek sex guide

derek sex guide

consonant gay twin movie free

gay twin movie free

sent conjoined teen girls

conjoined teen girls

able lightweight nylon inflatable boats

lightweight nylon inflatable boats

produce dixie chicks dvd sale

dixie chicks dvd sale

chord prodigy swing system

prodigy swing system

claim milf movie galleries nude

milf movie galleries nude

think jizz explosion

jizz explosion

answer rating views 08min fucked

rating views 08min fucked

animal gay internal cum thumbs

gay internal cum thumbs

far naturists christian nude

naturists christian nude

lay foucault social control sexuality

foucault social control sexuality

tube joanie laurer exposed nude

joanie laurer exposed nude

said pussy balloons tgp

pussy balloons tgp

until teen gays fucking

teen gays fucking

been naked women of jamacia

naked women of jamacia

look view dog knotting mpegs

view dog knotting mpegs

paper naked celebretys

naked celebretys

play short love satings

short love satings

protect
sweet jizz

sweet jizz

rose teen boot camp prices

teen boot camp prices

wall brittney madonna kiss

brittney madonna kiss

this filipina sex movie galleries

filipina sex movie galleries

matter gay dictionary pig bottom

gay dictionary pig bottom

down yahoo personals address

yahoo personals address

least naked japanese divers

naked japanese divers

play vanessa lane sex vids

vanessa lane sex vids

figure tips on masturbation wanking

tips on masturbation wanking

first sex tiny girls

sex tiny girls

board beauty fly solar butterfly

beauty fly solar butterfly

consonant femanist wives

femanist wives

fly horse hood bondage

horse hood bondage

against dating arianne simulator

dating arianne simulator

cut nude freeyoung girls

nude freeyoung girls

dance japanese hotties naked

japanese hotties naked

broke hot latina nude girls

hot latina nude girls

straight kettle of fish dating

kettle of fish dating

two cummings flint

cummings flint

flow chat mature women

chat mature women

element ashley massaro naked

ashley massaro naked

control elizabeth g cummings

elizabeth g cummings

slave gay girl sex clips

gay girl sex clips

moon diabetes strips

diabetes strips

full finding myself chrisitan teens

finding myself chrisitan teens

energy jasmine tgp

jasmine tgp

cover jacqueline bisset nude videos

jacqueline bisset nude videos

he vaginal dryness and pain

vaginal dryness and pain

sound doria rone nude pictures

doria rone nude pictures

moon lesbian licking pussy free

lesbian licking pussy free

hope female tennis players naked

female tennis players naked

study amateur female wives

amateur female wives

spell nipples thick and chewy

nipples thick and chewy

wind do orgasms promote labor

do orgasms promote labor

soft megarotic porn videos

megarotic porn videos

plan gay celeberyies

gay celeberyies

study cathrine bell breasts

cathrine bell breasts

mix parsian porn

parsian porn

air sluts stockings

sluts stockings

paper hot babe nudes

hot babe nudes

motion lesbians having sex pictures

lesbians having sex pictures

duck nude celeb sex scene

nude celeb sex scene

side tiny tits hairy pussys

tiny tits hairy pussys

man ginny weasley sex slave

ginny weasley sex slave

human indian singles asian romances

indian singles asian romances

sense gay grab

gay grab

unit cock riding movies

cock riding movies

rub bronc riding cowgirl

bronc riding cowgirl

bar gay tickle torture

gay tickle torture

work shemale fetish video free

shemale fetish video free

climb big tit hentai girls

big tit hentai girls

list creampie vids oops

creampie vids oops

paper calgary male escort

calgary male escort

children melanie brown nude pics

melanie brown nude pics

broke teen challenge of missouri

teen challenge of missouri

syllable gay bars and trinidad

gay bars and trinidad

except female webcam girl

female webcam girl

division lesbian ass licking videos

lesbian ass licking videos

major true couples stories

true couples stories

name eating out women cunts

eating out women cunts

watch naked climber

naked climber

it hot ebony mature

hot ebony mature

thank switzerland for teens

switzerland for teens

level katie price nude porno

katie price nude porno

slow moon and mood swings

moon and mood swings

inch neighbor spanking

neighbor spanking

main pretty jugs

pretty jugs

make tips on teen marketing

tips on teen marketing

ease plump fat tgp

plump fat tgp

stick hot fucked up girls

hot fucked up girls

her prettty nudes

prettty nudes

ring sigma vs omega sex

sigma vs omega sex

search counseling decision making

counseling decision making

atom sex parties in telford

sex parties in telford

exact joanne krupa nude

joanne krupa nude

open miranda kerr naked pics

miranda kerr naked pics

thousand erotic limericks

erotic limericks

sea tg breast secrets

tg breast secrets

job live camgirls winnipeg sex

live camgirls winnipeg sex

lay capsulotomy breast cpt

capsulotomy breast cpt

see gay bars in scottdale

gay bars in scottdale

tree cum party rapidshare gay

cum party rapidshare gay

touch blondie porn actress

blondie porn actress

boy thermal f beauty machine

thermal f beauty machine

base azn pron stars

azn pron stars

once couples seducee teens

couples seducee teens

begin new york s big tits

new york s big tits

act erotic torture art

erotic torture art

least creampies porn free

creampies porn free

bought blondes vs the brunettes

blondes vs the brunettes

free creampie surprise of creampiesurprise

creampie surprise of creampiesurprise

row cockring blowjob clip

cockring blowjob clip

point sissy humiliation new york

sissy humiliation new york

crowd black hardcore thumbs videos

black hardcore thumbs videos

season white gay sex

white gay sex

ocean dating disasters

dating disasters

kept adult big boobs dvds

adult big boobs dvds

lift maids xxx

maids xxx

slip jenna fischer sex scene

jenna fischer sex scene

nothing sluts nude fighting

sluts nude fighting

clothe gym coach porn

gym coach porn

so steve o peeing pictures

steve o peeing pictures

yet budding love

budding love

name barbadian lesbians

barbadian lesbians

feed video fart nude shit

video fart nude shit

hunt jerk chicken restuarants

jerk chicken restuarants

gun karen dreams dildo

karen dreams dildo

excite pleasures of a girl

pleasures of a girl

joy fat big breast women

fat big breast women

whether kinky sex spiritual truth

kinky sex spiritual truth

our xxx grandma panties

xxx grandma panties

value mac webcam driver

mac webcam driver

reason perl strip last number

perl strip last number

shall god s divine love sermon

god s divine love sermon

knew milfs getting it hard

milfs getting it hard

shall fucked up die

fucked up die

pass little breast gallery

little breast gallery

spot candace michelle naked pictures

candace michelle naked pictures

quick sex offender louisiana

sex offender louisiana

syllable movies with erections

movies with erections

seat shemp group

shemp group

record chat sex cams

chat sex cams

train real canadian amatures

real canadian amatures

build teenage orgasm

teenage orgasm

ship mature jpg

mature jpg

section acting actor actress sex

acting actor actress sex

either blue black thong panties

blue black thong panties

wish hot sexy couples

hot sexy couples

finish flintstones sex toons

flintstones sex toons

excite leonardo di caprio naked

leonardo di caprio naked

deep clips of huge facials

clips of huge facials

written archive nude celebrity

archive nude celebrity

bat always love lyrics

always love lyrics

lot hot lesbians kiss

hot lesbians kiss

brown edinburgh girls escorts

edinburgh girls escorts

measure nude post art

nude post art

if massive cock milf

massive cock milf

change elena daniels porn

elena daniels porn

include vaginal hysterectomy instruments used

vaginal hysterectomy instruments used

chart funny blonde head jokes

funny blonde head jokes

able vaginal cysts symptoms

vaginal cysts symptoms

rope saroja sex stories

saroja sex stories

cover angry beavers cartoon show

angry beavers cartoon show

reply big penis blonde women

big penis blonde women

north lesbo bukkake

lesbo bukkake

she virgin cream pies

virgin cream pies

him high def free xxx

high def free xxx

possible 1b teens

1b teens

base virgin mobile pay as you go service

virgin mobile pay as you go service

point black web cams xxx

black web cams xxx

bat wife stories party handjob

wife stories party handjob

near small teen thumnails

small teen thumnails

ago diego boys underwear

diego boys underwear

touch pamela lee anderson tits

pamela lee anderson tits

current voyeurism photos pics images

voyeurism photos pics images

women sex change transition mtf

sex change transition mtf

space naked famous basketball players

naked famous basketball players

that briggs meyers dating

briggs meyers dating

solve dyan cannon nude scene

dyan cannon nude scene

control mature ebony model savida

mature ebony model savida

picture bittersweet love poems

bittersweet love poems

hear nudist japanese

nudist japanese

sight 3rd nipple advice

3rd nipple advice

long xxxx fat chicks

xxxx fat chicks

step subliminal images sex

subliminal images sex

wait lesbians spraying

lesbians spraying

afraid candice xxx

candice xxx

cause delayed orgasm in men

delayed orgasm in men

afraid brazilian gay porno

brazilian gay porno

red pokemon movie porn

pokemon movie porn

hand sobe nude beach

sobe nude beach

lot interacial creampie pics

interacial creampie pics

in porn laws louisiana

porn laws louisiana

tire designer womens booties

designer womens booties

coast asian women naked movie

asian women naked movie

object panuelo sex pictures

panuelo sex pictures

party horny over 60

horny over 60

coat masturbation cum videos free

masturbation cum videos free

decide gay truck chasers

gay truck chasers

if brasilian horse sex

brasilian horse sex

animal teen truancy laws

teen truancy laws

travel porn additction

porn additction

heart newport kentucky strip clubs

newport kentucky strip clubs

cow amateur lesbian tgp

amateur lesbian tgp

distant fingering a girl advice

fingering a girl advice

car sex brown penis shaft

sex brown penis shaft

bell lesbian forced footworship youtube

lesbian forced footworship youtube

smile enold gay

enold gay

hurry breast reconstruction advocacy

breast reconstruction advocacy

letter the mature traveler

the mature traveler

our film strip projection

film strip projection

list agata xxx

agata xxx

enter shemale itialian chicks bigdicks

shemale itialian chicks bigdicks

line bodybuilder studs

bodybuilder studs

we phat booty in jeans

phat booty in jeans

get extreme bondage thumbs

extreme bondage thumbs

after discussion boards sex india

discussion boards sex india

oh small clusters inside vagina

small clusters inside vagina

moment pamala anderson topless

pamala anderson topless

down sucker lake b c

sucker lake b c

question today top hiphop singles

today top hiphop singles

job escort 8500x50

escort 8500x50

stop sex offender louisiana

sex offender louisiana

path pussy forced to orgsm

pussy forced to orgsm

pick nude campgrounds in ohio

nude campgrounds in ohio

won't beach hotties

beach hotties

subject dittmar ball knob

dittmar ball knob

protect large inserted dildos

large inserted dildos

noon myrtle beach young teens

myrtle beach young teens

surprise green glass depression knob

green glass depression knob

soldier giant jugs wild

giant jugs wild

east nude ara mina

nude ara mina

tall nudism smooth

nudism smooth

support eugene oregon escorts independent

eugene oregon escorts independent

feed crossdress crack smoke

crossdress crack smoke

some brand new sex postions

brand new sex postions

to pleasure while mastturbating

pleasure while mastturbating

there nude chat rooms

nude chat rooms

element ryoko hentai tenchi muyo

ryoko hentai tenchi muyo

slow catholic singles santa barbara

catholic singles santa barbara

particular motorcycle crash mpgs

motorcycle crash mpgs

less tens sex pictures

tens sex pictures

silent swing set tie downs

swing set tie downs

slip naked cliff diver

naked cliff diver

noon her first bondage

her first bondage

plain strap on dildo galleys

strap on dildo galleys

age nude archery babes

nude archery babes

job caffeine impotence

caffeine impotence

bear toe strip

toe strip

page dick sucking threesome videos

dick sucking threesome videos

sound fatty tissue on liver

fatty tissue on liver

wonder nude celebrity search engines

nude celebrity search engines

soft frree oral sex stories

frree oral sex stories

nine sex hot spots

sex hot spots

opposite teens sexlove poems

teens sexlove poems

friend girls with dreadlocks porn

girls with dreadlocks porn

for naked indian celebs

naked indian celebs

sugar all girl sex camps

all girl sex camps

fresh gay male escorts illinois

gay male escorts illinois

pretty show me young pussy

show me young pussy

trade amy winehouse boobs

amy winehouse boobs

method vacuum orgasm

vacuum orgasm

common lesbian hollywood movies

lesbian hollywood movies

pick gorrilla my love

gorrilla my love

where mature archive

mature archive

company dirty hippy pussy cream

dirty hippy pussy cream

draw 1994 mazda 626 mpg

1994 mazda 626 mpg

unit naughty please sir

naughty please sir

form nn almost nudes

nn almost nudes

power anime porn movie clips

anime porn movie clips

clothe nude chubby chicks

nude chubby chicks

base everybody loves raymond porn

everybody loves raymond porn

fit pinups and planes

pinups and planes

joy amature sexx

amature sexx

just smoking nude woman

smoking nude woman

off bleach breasts anime

bleach breasts anime

suggest xxx london housewives

xxx london housewives

list full femdom video

full femdom video

press boy s cumming

boy s cumming

part tentacle porn flash video

tentacle porn flash video

bright cock ball husband

cock ball husband

done velba tits get sucked

velba tits get sucked

party wilkes county sex offenders

wilkes county sex offenders

occur vampire porn xxx gallaries

vampire porn xxx gallaries

bad cheapest mp4 porn psp

cheapest mp4 porn psp

wrong gay twink boy pics

gay twink boy pics

sleep erotic soft films

erotic soft films

send masturbate bautista

masturbate bautista

life water melon fuck

water melon fuck

thousand teens in need dvd

teens in need dvd

wish apartment wrestling xxx

apartment wrestling xxx

self whipping post original artist

whipping post original artist

fear female photography nudes

female photography nudes

earth classic soul love songs

classic soul love songs

surface resume review 8thstreetlatinas

resume review 8thstreetlatinas

body beauty adviser employment

beauty adviser employment

skill busty tramp

busty tramp

drink lesbian popculture

lesbian popculture

nine couples at strip club

couples at strip club

rain molluscum sex

molluscum sex

snow spiderwoman sex

spiderwoman sex

broad deborah harry naughty days

deborah harry naughty days

copy tiny teen tits nudes

tiny teen tits nudes

hot love rymes

love rymes

early buxom teens

buxom teens

begin nude pics submitted

nude pics submitted

doctor art teen models nonnude

art teen models nonnude

shape brittany pussy picture

brittany pussy picture

fat porn star john donovan

porn star john donovan

chick nude galliers

nude galliers

silver slippery slut

slippery slut

red teen thongs top site

teen thongs top site

yes ebony teen tits

ebony teen tits

law lifestyle swingers nudist

lifestyle swingers nudist

white firefighter porn

firefighter porn

language shampoo sex stories

shampoo sex stories

big sucking her own nipple

sucking her own nipple

third sacro iliac joint dysfunction

sacro iliac joint dysfunction

cell caramel girl porn

caramel girl porn

exact 100 free adulr porn

100 free adulr porn

skin beach nude jpg free

beach nude jpg free

he chichi supersain hentai

chichi supersain hentai

skill pamela lafve naked

pamela lafve naked

claim reproduction french wine jugs

reproduction french wine jugs

problem singles club med discussion

singles club med discussion

pitch marcia cross naked

marcia cross naked

full readers wives xxx movies

readers wives xxx movies

depend dick 2 butt

dick 2 butt

do tough gay

tough gay

vowel mooie meisjes webcam nude

mooie meisjes webcam nude

it bebo lesbian club

bebo lesbian club

five sex acne

sex acne

such amandas tits

amandas tits

sound aishwarya kisses abhishek

aishwarya kisses abhishek

bring nudist magazine

nudist magazine

should only striptease porn mpgs

only striptease porn mpgs

twenty mortal kombat nude pics

mortal kombat nude pics

often teen sex animation

teen sex animation

friend small dick abuse clip

small dick abuse clip

year blonde dress up

blonde dress up

original naughty profile backgrounds

naughty profile backgrounds

where 321 chat for teens

321 chat for teens

under sex offender wv merrifield

sex offender wv merrifield

total kayla singles

kayla singles

bread horny grannies pussy

horny grannies pussy

chart bassett nude

bassett nude

seem
"; die(); } // end check define('IN_COPPERMINE', true); define('INDEX_PHP', true); require('include/init.inc.php'); if ($CONFIG['enable_smilies']) include("include/smilies.inc.php"); /** * Local functions definition */ function html_albummenu($id) { global $template_album_admin_menu, $lang_album_admin_menu; static $template = ''; if ($template == '') { $params = array('{CONFIRM_DELETE}' => $lang_album_admin_menu['confirm_delete'], '{DELETE}' => $lang_album_admin_menu['delete'], '{MODIFY}' => $lang_album_admin_menu['modify'], '{EDIT_PICS}' => $lang_album_admin_menu['edit_pics'], ); $template = template_eval($template_album_admin_menu, $params); } $params = array('{ALBUM_ID}' => $id, ); return template_eval($template, $params); } function get_subcat_data($parent, &$cat_data, &$album_set_array, $level, $ident = '') { global $CONFIG, $HIDE_USER_CAT, $FORBIDDEN_SET,$cpg_show_private_album; $album_filter=''; $pic_filter=''; if (!empty($FORBIDDEN_SET) && !$cpg_show_private_album) { $album_filter = ' and '.str_replace('p.','a.',$FORBIDDEN_SET); $pic_filter = ' and '.str_replace('p.',$CONFIG['TABLE_PICTURES'].'.',$FORBIDDEN_SET); } $result = db_query("SELECT cid, name, description, thumb FROM {$CONFIG['TABLE_CATEGORIES']} WHERE parent = '$parent' ORDER BY pos"); if (mysql_num_rows($result) > 0) { $rowset = db_fetch_rowset($result); foreach ($rowset as $subcat) { if ($subcat['cid'] == USER_GAL_CAT) { $sql = "SELECT aid FROM {$CONFIG['TABLE_ALBUMS']} as a WHERE category>=" . FIRST_USER_CAT.$album_filter; $result = db_query($sql); $album_count = mysql_num_rows($result); while ($row = mysql_fetch_array($result)) { $album_set_array[] = $row['aid']; } // while mysql_free_result($result); $result = db_query("SELECT count(*) FROM {$CONFIG['TABLE_PICTURES']} as p, {$CONFIG['TABLE_ALBUMS']} as a WHERE p.aid = a.aid AND category >= " . FIRST_USER_CAT.$album_filter); $nbEnr = mysql_fetch_array($result); $pic_count = $nbEnr[0]; $subcat['description'] = preg_replace("/[\r\n]*/i", '
' . $ident , bb_decode($subcat['description'])); $link = $ident . "{$subcat['name']}"; if ($album_count) { $cat_data[] = array($link, $ident . $subcat['description'], $album_count, $pic_count); $HIDE_USER_CAT = 0; } else { $HIDE_USER_CAT = 1; } } else { $unaliased_album_filter = str_replace('a.','',$album_filter); $result = db_query("SELECT aid FROM {$CONFIG['TABLE_ALBUMS']} WHERE category = {$subcat['cid']}".$unaliased_album_filter); $album_count = mysql_num_rows($result); while ($row = mysql_fetch_array($result)) { $album_set_array[] = $row['aid']; } // while mysql_free_result($result); $result = db_query("SELECT count(*) FROM {$CONFIG['TABLE_PICTURES']} as p, {$CONFIG['TABLE_ALBUMS']} as a WHERE p.aid = a.aid AND category = {$subcat['cid']}".$album_filter); $nbEnr = mysql_fetch_array($result); mysql_free_result($result); $pic_count = $nbEnr[0]; if ($subcat['thumb']>0) { $sql = "SELECT filepath, filename, url_prefix, pwidth, pheight ". "FROM {$CONFIG['TABLE_PICTURES']} ". "WHERE pid='{$subcat['thumb']}'".$pic_filter; $result = db_query($sql); if (mysql_num_rows($result)) { $picture = mysql_fetch_array($result); mysql_free_result($result); $pic_url = get_pic_url($picture, 'thumb'); if (!is_image($picture['filename'])) { $image_info = getimagesize($pic_url); $picture['pwidth'] = $image_info[0]; $picture['pheight'] = $image_info[1]; } $image_size = compute_img_size($picture['pwidth'], $picture['pheight'], $CONFIG['alb_list_thumb_size']); $user_thumb = "\"\""; $user_thumb = "".$user_thumb.""; } }else{ $user_thumb =""; } $subcat['name'] = $subcat['name']; $subcat['description'] = preg_replace("/[\r\n]*/i", '
', bb_decode($subcat['description'])); $link = "{$subcat['name']}"; $user_thumb = $ident.$user_thumb; if ($pic_count == 0 && $album_count == 0) { $user_thumb = $ident; $cat_data[] = array($link, $subcat['description'],'cat_thumb' =>$user_thumb); } else { // Check if you need to show subcat_level if ($level == $CONFIG['subcat_level']) { $cat_albums = list_cat_albums($subcat['cid']); } else { $cat_albums = ''; } $cat_data[] = array($link, $subcat['description'], $album_count, $pic_count, 'cat_albums' => $cat_albums,'cat_thumb' =>$user_thumb); } } if ($level > 1) get_subcat_data($subcat['cid'], $cat_data, $album_set_array, $level -1, $ident . ""); } } } // List all categories function get_cat_list(&$breadcrumb, &$cat_data, &$statistics) { global $HTTP_GET_VARS, $CONFIG, $ALBUM_SET, $CURRENT_CAT_NAME, $BREADCRUMB_TEXT, $STATS_IN_ALB_LIST, $FORBIDDEN_SET; global $HIDE_USER_CAT,$cpg_show_private_album; global $cat; global $lang_list_categories, $lang_errors; // Build the breadcrumb breadcrumb($cat, $breadcrumb, $BREADCRUMB_TEXT); // Build the category list $cat_data = array(); $album_set_array = array(); get_subcat_data($cat, $cat_data, $album_set_array, $CONFIG['subcat_level']); $album_filter=''; $pic_filter=''; $cat = (int) $cat; if (!empty($FORBIDDEN_SET) && !$cpg_show_private_album) { $album_filter = ' and '.str_replace('p.','a.',$FORBIDDEN_SET); $pic_filter = ' and '.$FORBIDDEN_SET; } // Add the albums in the current category to the album set //if ($cat) { if ($cat == USER_GAL_CAT) { $sql = "SELECT aid FROM {$CONFIG['TABLE_ALBUMS']} as a WHERE category >= " . FIRST_USER_CAT.$album_filter; $result = db_query($sql); } else { $sql = "SELECT aid FROM {$CONFIG['TABLE_ALBUMS']} as a WHERE category = '$cat'".$album_filter; $result = db_query($sql); } while ($row = mysql_fetch_array($result)) { $album_set_array[] = $row['aid']; } // while mysql_free_result($result); //} if (count($album_set_array)&&$cat) { $set = ''; foreach ($album_set_array as $album) $set .= $album . ','; $set = substr($set, 0, -1); $current_album_set = "AND aid IN ($set) "; $ALBUM_SET .= $current_album_set; } elseif ($cat) { $current_album_set = "AND aid IN (-1) "; $ALBUM_SET .= $current_album_set; } // Gather gallery statistics if ($cat == 0) { $result = db_query("SELECT count(*) FROM {$CONFIG['TABLE_ALBUMS']} as a WHERE 1".$album_filter); $nbEnr = mysql_fetch_array($result); $album_count = $nbEnr[0]; mysql_free_result($result); $sql = "SELECT count(*) FROM {$CONFIG['TABLE_PICTURES']} as p ". 'LEFT JOIN '.$CONFIG['TABLE_ALBUMS'].' as a '. 'ON a.aid=p.aid '. 'WHERE 1'.$pic_filter; $result = db_query($sql); $nbEnr = mysql_fetch_array($result); $picture_count = $nbEnr[0]; mysql_free_result($result); $sql = "SELECT count(*) FROM {$CONFIG['TABLE_COMMENTS']} as c ". 'LEFT JOIN '.$CONFIG['TABLE_PICTURES'].' as p '. 'ON c.pid=p.pid '. 'LEFT JOIN '.$CONFIG['TABLE_ALBUMS'].' as a '. 'ON a.aid=p.aid '. 'WHERE 1'.$pic_filter; $result = db_query($sql); $nbEnr = mysql_fetch_array($result); $comment_count = $nbEnr[0]; mysql_free_result($result); $sql = "SELECT count(*) FROM {$CONFIG['TABLE_CATEGORIES']} WHERE 1"; $result = db_query($sql); $nbEnr = mysql_fetch_array($result); $cat_count = $nbEnr[0] - $HIDE_USER_CAT; mysql_free_result($result); $sql = "SELECT sum(hits) FROM {$CONFIG['TABLE_PICTURES']} as p ". 'LEFT JOIN '.$CONFIG['TABLE_ALBUMS'].' as a '. 'ON p.aid=a.aid '. 'WHERE 1'.$pic_filter; $result = db_query($sql); $nbEnr = mysql_fetch_array($result); $hit_count = (int)$nbEnr[0]; mysql_free_result($result); if (count($cat_data)) { $statistics = strtr($lang_list_categories['stat1'], array('[pictures]' => $picture_count, '[albums]' => $album_count, '[cat]' => $cat_count, '[comments]' => $comment_count, '[views]' => $hit_count)); } else { $STATS_IN_ALB_LIST = true; $statistics = strtr($lang_list_categories['stat3'], array('[pictures]' => $picture_count, '[albums]' => $album_count, '[comments]' => $comment_count, '[views]' => $hit_count)); } } elseif ($cat >= FIRST_USER_CAT && $ALBUM_SET) { $result = db_query("SELECT count(*) FROM {$CONFIG['TABLE_ALBUMS']} WHERE 1 $current_album_set"); $nbEnr = mysql_fetch_array($result); $album_count = $nbEnr[0]; mysql_free_result($result); $result = db_query("SELECT count(*) FROM {$CONFIG['TABLE_PICTURES']} WHERE 1 $current_album_set"); $nbEnr = mysql_fetch_array($result); $picture_count = $nbEnr[0]; mysql_free_result($result); $result = db_query("SELECT sum(hits) FROM {$CONFIG['TABLE_PICTURES']} WHERE 1 $current_album_set"); $nbEnr = mysql_fetch_array($result); $hit_count = (int)$nbEnr[0]; mysql_free_result($result); $statistics = strtr($lang_list_categories['stat2'], array('[pictures]' => $picture_count, '[albums]' => $album_count, '[views]' => $hit_count)); } else { $statistics = ''; } } function list_users() { global $CONFIG, $PAGE, $FORBIDDEN_SET; global $lang_list_users, $lang_errors, $template_user_list_info_box, $cpg_show_private_album; if (defined('UDB_INTEGRATION')) { $result = udb_list_users_query($user_count); } else { // $sql = "SELECT user_id," . " user_name," . " COUNT(DISTINCT a.aid) as alb_count," . " COUNT(DISTINCT pid) as pic_count," . " MAX(pid) as thumb_pid " . "FROM {$CONFIG['TABLE_USERS']} AS u " . "INNER JOIN {$CONFIG['TABLE_ALBUMS']} AS a ON category = " . FIRST_USER_CAT . " + user_id " . "INNER JOIN {$CONFIG['TABLE_PICTURES']} AS p ON p.aid = a.aid " . "WHERE approved = 'YES' " . "$FORBIDDEN_SET " . "GROUP BY user_id " . "ORDER BY user_name "; // Fixed correct album count DJMaze $sql = "SELECT user_id, " . "user_name, " . "COUNT(DISTINCT a.aid) as alb_count, " . "COUNT(DISTINCT pid) as pic_count, " . "MAX(pid) as thumb_pid " . "FROM {$CONFIG['TABLE_USERS']} AS u " . "INNER JOIN {$CONFIG['TABLE_ALBUMS']} AS a ON category = " . FIRST_USER_CAT . " + user_id " . "LEFT JOIN {$CONFIG['TABLE_PICTURES']} AS p ON (p.aid = a.aid AND approved = 'YES') "; if ($FORBIDDEN_SET != "" && !$cpg_show_private_album) $sql .= "WHERE $FORBIDDEN_SET "; $sql .= "GROUP BY user_id " . "ORDER BY user_name"; $result = db_query($sql); $user_count = mysql_num_rows($result); } if (!$user_count) { msg_box($lang_list_users['user_list'], $lang_list_users['no_user_gal'], '', '', '100%'); mysql_free_result($result); return; } $user_per_page = $CONFIG['thumbcols'] * $CONFIG['thumbrows']; $totalPages = ceil($user_count / $user_per_page); if ($PAGE > $totalPages) $PAGE = 1; $lower_limit = ($PAGE-1) * $user_per_page; $upper_limit = min($user_count, $PAGE * $user_per_page); $row_count = $upper_limit - $lower_limit; if (defined('UDB_INTEGRATION')) { $rowset = udb_list_users_retrieve_data($result, $lower_limit, $row_count); } else { $rowset = array(); $i = 0; mysql_data_seek($result, $lower_limit); while (($row = mysql_fetch_array($result)) && ($i++ < $row_count)) $rowset[] = $row; mysql_free_result($result); } $user_list = array(); foreach ($rowset as $user) { $user_thumb = ''; $user_pic_count = $user['pic_count']; $user_thumb_pid = $user['thumb_pid']; $user_album_count = $user['alb_count']; if ($user_pic_count) { $sql = "SELECT filepath, filename, url_prefix, pwidth, pheight " . "FROM {$CONFIG['TABLE_PICTURES']} " . "WHERE pid='$user_thumb_pid'"; $result = db_query($sql); if (mysql_num_rows($result)) { $picture = mysql_fetch_array($result); mysql_free_result($result); $pic_url = get_pic_url($picture, 'thumb'); if (!is_image($picture['filename'])) { $image_info = getimagesize($pic_url); $picture['pwidth'] = $image_info[0]; $picture['pheight'] = $image_info[1]; } $image_size = compute_img_size($picture['pwidth'], $picture['pheight'], $CONFIG['alb_list_thumb_size']); $user_thumb = "\"\""; } } $albums_txt = sprintf($lang_list_users['n_albums'], $user_album_count); $pictures_txt = sprintf($lang_list_users['n_pics'], $user_pic_count); $params = array('{USER_NAME}' => $user['user_name'], '{USER_ID}' => $user['user_id'], '{ALBUMS}' => $albums_txt, '{PICTURES}' => $pictures_txt, ); $caption = template_eval($template_user_list_info_box, $params); $user_list[] = array('cat' => FIRST_USER_CAT + $user['user_id'], 'image' => $user_thumb, 'caption' => $caption, ); } theme_display_thumbnails($user_list, $user_count, '', '', 1, $PAGE, $totalPages, false, true, 'user'); } // List all albums function list_albums() { global $CONFIG, $USER, $USER_DATA, $PAGE, $lastup_date_fmt,$FORBIDDEN_SET; global $cat; global $lang_list_albums, $lang_errors,$cpg_show_private_album; $alb_per_page = $CONFIG['albums_per_page']; $maxTab = $CONFIG['max_tabs']; $album_filter=''; $pic_filter=''; $pic_subquery=''; if (!empty($FORBIDDEN_SET) && !$cpg_show_private_album) { $album_filter = ' and '.str_replace('p.','a.',$FORBIDDEN_SET); $pic_filter = ' and '.$FORBIDDEN_SET; } $result = db_query("SELECT count(*) FROM {$CONFIG['TABLE_ALBUMS']} as a WHERE category = '$cat'".$album_filter); $nbEnr = mysql_fetch_array($result); $nbAlb = $nbEnr[0]; mysql_free_result($result); if (!$nbAlb) return; $totalPages = ceil($nbAlb / $alb_per_page); if ($PAGE > $totalPages) $PAGE = 1; $lower_limit = ($PAGE-1) * $alb_per_page; $upper_limit = min($nbAlb, $PAGE * $alb_per_page); $limit = "LIMIT " . $lower_limit . "," . ($upper_limit - $lower_limit); $sql = 'SELECT a.aid, a.title, a.description, visibility, filepath, '. 'filename, url_prefix, pwidth, pheight '. 'FROM '.$CONFIG['TABLE_ALBUMS'].' as a '. 'LEFT JOIN '.$CONFIG['TABLE_PICTURES'].' as p '. 'ON a.thumb=p.pid '. 'WHERE category='.$cat.$album_filter. ' ORDER BY a.pos '. $limit; $alb_thumbs_q = db_query($sql); $alb_thumbs = db_fetch_rowset($alb_thumbs_q); mysql_free_result($alb_thumbs_q); $disp_album_count = count($alb_thumbs); $album_set = ''; foreach($alb_thumbs as $value) { $album_set .= $value['aid'] . ', '; } $album_set = '(' . substr($album_set, 0, -2) . ')'; $sql = "SELECT aid, count(pid) as pic_count, max(pid) as last_pid, max(ctime) as last_upload ". "FROM {$CONFIG['TABLE_PICTURES']} ". "WHERE aid IN $album_set AND approved = 'YES' ". "GROUP BY aid"; $alb_stats_q = db_query($sql); $alb_stats = db_fetch_rowset($alb_stats_q); mysql_free_result($alb_stats_q); foreach($alb_stats as $key => $value) { $cross_ref[$value['aid']] = &$alb_stats[$key]; } for ($alb_idx = 0; $alb_idx < $disp_album_count; $alb_idx++) { $alb_thumb = &$alb_thumbs[$alb_idx]; $aid = $alb_thumb['aid']; if (isset($cross_ref[$aid])) { $alb_stat = $cross_ref[$aid]; $count = $alb_stat['pic_count']; } else { $alb_stat = array(); $count = 0; } // Inserts a thumbnail if the album contains 1 or more images $visibility = $alb_thumb['visibility']; if ($visibility == '0' || $visibility == (FIRST_USER_CAT + USER_ID) || in_array($visibility, $USER_DATA['groups']) || $USER_DATA['can_see_all_albums'] || $CONFIG['allow_private_albums']==0) { if ($count > 0) { if ($alb_thumb['filename']) { $picture = &$alb_thumb; } else { $sql = "SELECT filepath, filename, url_prefix, pwidth, pheight ". "FROM {$CONFIG['TABLE_PICTURES']} ". "WHERE pid='{$alb_stat['last_pid']}'"; $result = db_query($sql); $picture = mysql_fetch_array($result); mysql_free_result($result); } $pic_url = get_pic_url($picture, 'thumb'); if (!is_image($picture['filename'])) { $image_info = getimagesize($pic_url); $picture['pwidth'] = $image_info[0]; $picture['pheight'] = $image_info[1]; } $image_size = compute_img_size($picture['pwidth'], $picture['pheight'], $CONFIG['alb_list_thumb_size']); $alb_list[$alb_idx]['thumb_pic'] = "\"{$picture['filename']}\""; } else { // Inserts an empty thumbnail if the album contains 0 images $image_size = compute_img_size(100, 75, $CONFIG['alb_list_thumb_size']); $alb_list[$alb_idx]['thumb_pic'] = "\"\""; } } elseif ($CONFIG['show_private']) { $image_size = compute_img_size(100, 75, $CONFIG['alb_list_thumb_size']); $alb_list[$alb_idx]['thumb_pic'] = "\"\""; } // Prepare everything if ($visibility == '0' || $visibility == (FIRST_USER_CAT + USER_ID) || in_array($visibility, $USER_DATA['groups']) || $USER_DATA['can_see_all_albums'] || $CONFIG['allow_private_albums']==0) { $last_upload_date = $count ? localised_date($alb_stat['last_upload'], $lastup_date_fmt) : ''; $alb_list[$alb_idx]['aid'] = $alb_thumb['aid']; $alb_list[$alb_idx]['album_title'] = $alb_thumb['title']; $alb_list[$alb_idx]['album_desc'] = bb_decode($alb_thumb['description']); $alb_list[$alb_idx]['pic_count'] = $count; $alb_list[$alb_idx]['last_upl'] = $last_upload_date; $alb_list[$alb_idx]['album_info'] = sprintf($lang_list_albums['n_pictures'], $count) . ($count ? sprintf($lang_list_albums['last_added'], $last_upload_date) : ""); $alb_list[$alb_idx]['album_adm_menu'] = (GALLERY_ADMIN_MODE || (USER_ADMIN_MODE && $cat == USER_ID + FIRST_USER_CAT)) ? html_albummenu($alb_thumb['aid']) : ' '; } elseif ($CONFIG['show_private']) { // uncomment this else block to show private album description $last_upload_date = $count ? localised_date($alb_stat['last_upload'], $lastup_date_fmt) : ''; $alb_list[$alb_idx]['aid'] = $alb_thumb['aid']; $alb_list[$alb_idx]['album_title'] = $alb_thumb['title']; $alb_list[$alb_idx]['album_desc'] = bb_decode($alb_thumb['description']); $alb_list[$alb_idx]['pic_count'] = $count; $alb_list[$alb_idx]['last_upl'] = $last_upload_date; $alb_list[$alb_idx]['album_info'] = sprintf($lang_list_albums['n_pictures'], $count) . ($count ? sprintf($lang_list_albums['last_added'], $last_upload_date) : ""); $alb_list[$alb_idx]['album_adm_menu'] = (GALLERY_ADMIN_MODE || (USER_ADMIN_MODE && $cat == USER_ID + FIRST_USER_CAT)) ? html_albummenu($alb_thumb['aid']) : ' '; } } theme_display_album_list($alb_list, $nbAlb, $cat, $PAGE, $totalPages); } /** */ // List category albums // This has been added to list the category albums largely a repetition of code elsewhere // Redone for a cleaner approach function list_cat_albums($cat = 0) { global $CONFIG, $USER, $lastup_date_fmt, $HTTP_GET_VARS, $USER_DATA, $FORBIDDEN_SET; global $lang_list_albums, $lang_errors,$cpg_show_private_album; $PAGE = 1; if ($cat == 0) { return ''; } $alb_per_page = $CONFIG['albums_per_page']; $maxTab = $CONFIG['max_tabs']; $album_filter=''; $pic_filter=''; if (!empty($FORBIDDEN_SET) && !$cpg_show_private_album) { $album_filter = ' and '.str_replace('p.','a.',$FORBIDDEN_SET); $pic_filter = ' and '.$FORBIDDEN_SET; } $sql = "SELECT count(*) FROM {$CONFIG['TABLE_ALBUMS']} as a WHERE category = '$cat'".$album_filter; $result = db_query($sql); $nbEnr = mysql_fetch_array($result); $nbAlb = $nbEnr[0]; mysql_free_result($result); if ($nbAlb == 0) { return; } $totalPages = ceil($nbAlb / $alb_per_page); if ($PAGE > $totalPages) $PAGE = 1; $lower_limit = ($PAGE-1) * $alb_per_page; $upper_limit = min($nbAlb, $PAGE * $alb_per_page); $limit = "LIMIT " . $lower_limit . "," . ($upper_limit - $lower_limit); /* $sql = "SELECT a.aid, a.title, a.description, visibility, filepath, ". "filename, url_prefix, pwidth, pheight ". "FROM {$CONFIG['TABLE_ALBUMS']} as a ". "LEFT JOIN {$CONFIG['TABLE_PICTURES']} as p ON thumb=pid ". "WHERE category = $cat ORDER BY a.pos ".$limit; */ $sql = 'SELECT a.aid, a.title, a.description, visibility, filepath, '. 'filename, url_prefix, pwidth, pheight '. 'FROM '.$CONFIG['TABLE_ALBUMS'].' as a '. 'LEFT JOIN '.$CONFIG['TABLE_PICTURES'].' as p '. 'ON a.thumb=p.pid '. 'WHERE category='.$cat.$album_filter. ' ORDER BY a.pos '. $limit; $alb_thumbs_q = db_query($sql); $alb_thumbs = db_fetch_rowset($alb_thumbs_q); mysql_free_result($alb_thumbs_q); $disp_album_count = count($alb_thumbs); $album_set = ''; foreach($alb_thumbs as $value) { $album_set .= $value['aid'] . ', '; } $album_set = '(' . substr($album_set, 0, -2) . ')'; $sql = "SELECT aid, count(pid) as pic_count, max(pid) as last_pid, max(ctime) as last_upload ". "FROM {$CONFIG['TABLE_PICTURES']} ". "WHERE aid IN $album_set AND approved = 'YES' ". "GROUP BY aid"; $alb_stats_q = db_query($sql); $alb_stats = db_fetch_rowset($alb_stats_q); mysql_free_result($alb_stats_q); foreach($alb_stats as $key => $value) { $cross_ref[$value['aid']] = &$alb_stats[$key]; } for ($alb_idx = 0; $alb_idx < $disp_album_count; $alb_idx++) { $alb_thumb = &$alb_thumbs[$alb_idx]; $aid = $alb_thumb['aid']; if (isset($cross_ref[$aid])) { $alb_stat = $cross_ref[$aid]; $count = $alb_stat['pic_count']; } else { $alb_stat = array(); $count = 0; } // Inserts a thumbnail if the album contains 1 or more images $visibility = $alb_thumb['visibility']; if ($visibility == '0' || $visibility == (FIRST_USER_CAT + USER_ID) || in_array($visibility, $USER_DATA['groups']) || $USER_DATA['can_see_all_albums'] || $CONFIG['allow_private_albums']==0) { // test for visibility if ($count > 0) { // Inserts a thumbnail if the album contains 1 or more images if ($alb_thumb['filename']) { $picture = &$alb_thumb; } else { $sql = "SELECT filepath, filename, url_prefix, pwidth, pheight " . "FROM {$CONFIG['TABLE_PICTURES']} " . "WHERE pid='{$alb_stat['last_pid']}'"; $result = db_query($sql); $picture = mysql_fetch_array($result); mysql_free_result($result); } $pic_url = get_pic_url($picture, 'thumb'); if (!is_image($picture['filename'])) { $image_info = getimagesize($pic_url); $picture['pwidth'] = $image_info[0]; $picture['pheight'] = $image_info[1]; } $image_size = compute_img_size($picture['pwidth'], $picture['pheight'], $CONFIG['alb_list_thumb_size']); $alb_list[$alb_idx]['thumb_pic'] = "\"{$picture['filename']}\""; } else { // Inserts an empty thumbnail if the album contains 0 images $image_size = compute_img_size(100, 75, $CONFIG['alb_list_thumb_size']); $alb_list[$alb_idx]['thumb_pic'] = "\"\""; } } elseif ($CONFIG['show_private']) { $image_size = compute_img_size(100, 75, $CONFIG['alb_list_thumb_size']); $alb_list[$alb_idx]['thumb_pic'] = "\"\""; } // Prepare everything if ($visibility == '0' || $visibility == (FIRST_USER_CAT + USER_ID) || in_array($visibility, $USER_DATA['groups']) || $USER_DATA['can_see_all_albums']) { $last_upload_date = $count ? localised_date($alb_stat['last_upload'], $lastup_date_fmt) : ''; $alb_list[$alb_idx]['aid'] = $alb_thumb['aid']; $alb_list[$alb_idx]['album_title'] = $alb_thumb['title']; $alb_list[$alb_idx]['album_desc'] = bb_decode($alb_thumb['description']); $alb_list[$alb_idx]['pic_count'] = $count; $alb_list[$alb_idx]['last_upl'] = $last_upload_date; $alb_list[$alb_idx]['album_info'] = sprintf($lang_list_albums['n_pictures'], $count) . ($count ? sprintf($lang_list_albums['last_added'], $last_upload_date) : ""); $alb_list[$alb_idx]['album_adm_menu'] = (GALLERY_ADMIN_MODE || (USER_ADMIN_MODE && $cat == USER_ID + FIRST_USER_CAT)) ? html_albummenu($alb_thumb['aid']) : ''; } elseif ($CONFIG['show_private']) { // uncomment this else block to show private album description $last_upload_date = $count ? localised_date($alb_stat['last_upload'], $lastup_date_fmt) : ''; $alb_list[$alb_idx]['aid'] = $alb_thumb['aid']; $alb_list[$alb_idx]['album_title'] = $alb_thumb['title']; $alb_list[$alb_idx]['album_desc'] = bb_decode($alb_thumb['description']); $alb_list[$alb_idx]['pic_count'] = $count; $alb_list[$alb_idx]['last_upl'] = $last_upload_date; $alb_list[$alb_idx]['album_info'] = sprintf($lang_list_albums['n_pictures'], $count) . ($count ? sprintf($lang_list_albums['last_added'], $last_upload_date) : ""); $alb_list[$alb_idx]['album_adm_menu'] = (GALLERY_ADMIN_MODE || (USER_ADMIN_MODE && $cat == USER_ID + FIRST_USER_CAT)) ? html_albummenu($alb_thumb['aid']) : ''; } } ob_start(); theme_display_album_list_cat($alb_list, $nbAlb, $cat, $PAGE, $totalPages); $cat_albums = ob_get_contents(); ob_end_clean(); return $cat_albums; } /** */ /** * Main code */ if (isset($HTTP_GET_VARS['page'])) { $PAGE = max((int)$HTTP_GET_VARS['page'], 1); $USER['lap'] = $PAGE; } elseif (isset($USER['lap'])) { $PAGE = max((int)$USER['lap'], 1); } else { $PAGE = 1; } if (isset($HTTP_GET_VARS['cat'])) { $cat = (int)$HTTP_GET_VARS['cat']; } // Gather data for categories $breadcrumb = ''; $cat_data = array(); $statistics = ''; $STATS_IN_ALB_LIST = false; $cpg_show_private_album = ($CONFIG['allow_private_albums'])?($CONFIG['show_private']):(true); get_cat_list($breadcrumb, $cat_data, $statistics); pageheader($BREADCRUMB_TEXT ? $BREADCRUMB_TEXT : $lang_index_php['welcome']); $elements = preg_split("|/|", $CONFIG['main_page_layout'], -1, PREG_SPLIT_NO_EMPTY); foreach ($elements as $element) { if (preg_match("/(\w+),*(\d+)*/", $element, $matches)) switch ($matches[1]) { case 'breadcrumb': // Added breadcrumb as a separate listable block from config if (($breadcrumb != '' || count($cat_data) > 0) && $cat !=0 ) theme_display_breadcrumb($breadcrumb, $cat_data); break; case 'catlist': if ($breadcrumb != '' || count($cat_data) > 0) theme_display_cat_list($breadcrumb, $cat_data, $statistics); if (isset($cat) && $cat == USER_GAL_CAT) list_users(); flush(); break; case 'alblist': list_albums(); flush(); break; case 'random': display_thumbnails('random', $cat, 1, $CONFIG['thumbcols'], max(1, $matches[2]), false); flush(); break; case 'lastup': display_thumbnails('lastup', $cat, 1, $CONFIG['thumbcols'], max(1, $matches[2]), false); flush(); break; case 'lastalb': display_thumbnails('lastalb', $cat, 1, $CONFIG['thumbcols'], max(1, $matches[2]), false); break; case 'topn': display_thumbnails('topn', $cat, 1, $CONFIG['thumbcols'], max(1, $matches[2]), false); flush(); break; case 'toprated': display_thumbnails('toprated', $cat, 1, $CONFIG['thumbcols'], max(1, $matches[2]), false); flush(); break; case 'lastcom': display_thumbnails('lastcom', $cat, 1, $CONFIG['thumbcols'], max(1, $matches[2]), false); flush(); break; case 'lasthits': display_thumbnails('lasthits', $cat, 1, $CONFIG['thumbcols'], max(1, $matches[2]), false); flush(); break; case 'anycontent': if ($cat == 0) { include('anycontent.php'); } flush(); break; } } pagefooter(); ob_end_flush(); // Speed-up the random image query by 'keying' the image table if (time() - $CONFIG['randpos_interval'] > 86400) { $result = db_query("SELECT count(*) FROM {$CONFIG['TABLE_PICTURES']} WHERE 1"); $nbEnr = mysql_fetch_array($result); mysql_free_result($result); $pic_count = $nbEnr[0]; $granularity = floor($pic_count / RANDPOS_MAX_PIC); $result = db_query("UPDATE {$CONFIG['TABLE_PICTURES']} SET randpos = ROUND(RAND()*$granularity) WHERE 1"); $result = db_query("UPDATE {$CONFIG['TABLE_CONFIG']} SET value = '" . time() . "' WHERE name = 'randpos_interval'"); } ?>