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
gay marriage pro

gay marriage pro

near chinese twats

chinese twats

object dick and sandy crane

dick and sandy crane

check independent gay porn sites

independent gay porn sites

noise gay day hospital

gay day hospital

plan asian porn picks

asian porn picks

experience black old women xxx

black old women xxx

experiment celebrity pussy gallery

celebrity pussy gallery

song artifical breast

artifical breast

sell big boob tgp free

big boob tgp free

desert orgy music codes

orgy music codes

oh teen resource

teen resource

capital girls fisting free

girls fisting free

afraid danny phantom hentai games

danny phantom hentai games

parent sex horse free

sex horse free

farm hentai tit anime

hentai tit anime

run older housewives sex gallery

older housewives sex gallery

he phillip butts

phillip butts

govern creating a paysite

creating a paysite

bird destin webcam

destin webcam

make nude bonnie wright

nude bonnie wright

lead clark gable gay bisexual

clark gable gay bisexual

pitch lesbian sites reviewed

lesbian sites reviewed

fell busty natural teens measurements

busty natural teens measurements

base three cocks one slut

three cocks one slut

particular nudist resort images

nudist resort images

bit teen smoking marijuana

teen smoking marijuana

crease naked swamp ranger chick

naked swamp ranger chick

power daddy fuck daughter videos

daddy fuck daughter videos

nation indian desi erotic stories

indian desi erotic stories

ran christ lutheran beaver falls

christ lutheran beaver falls

nation her firest lesbian sex

her firest lesbian sex

large mia maestro naked pics

mia maestro naked pics

read carved stone fetish

carved stone fetish

count teen boys craft kits

teen boys craft kits

noun beyonce booty luscious video

beyonce booty luscious video

anger bbw pussy tgp

bbw pussy tgp

degree career in guidance counseling

career in guidance counseling

phrase disney hentai free

disney hentai free

she fire emblem sex

fire emblem sex

where teen xxx pix

teen xxx pix

when sexy ways to kiss

sexy ways to kiss

step black hardcore gallery

black hardcore gallery

sent vivid brianna banks threesome

vivid brianna banks threesome

sell naked women police

naked women police

develop massage sensual therapist

massage sensual therapist

several rieke maria love

rieke maria love

neighbor german nudist beachesa

german nudist beachesa

proper juliette rose naked

juliette rose naked

over teenage dating in france

teenage dating in france

example amatuer nude gallery free

amatuer nude gallery free

crease laura prepon naked sexy

laura prepon naked sexy

magnet vanessa angel pussy

vanessa angel pussy

flat slut of myspace

slut of myspace

fit spanking caning ebay

spanking caning ebay

stone bronze giant vibrator

bronze giant vibrator

result change ph vagina

change ph vagina

our kate decarlo cupid dating

kate decarlo cupid dating

week 69 different sex positions

69 different sex positions

student naked spread cunts

naked spread cunts

heavy wife fucks a stranger

wife fucks a stranger

high mocha teen

mocha teen

person leather bondage cuffs

leather bondage cuffs

card depressed wives

depressed wives

scale japan fuck website

japan fuck website

wear man taking upskirt photos

man taking upskirt photos

game mens underwear that enhances

mens underwear that enhances

bone locking cabinet knobs

locking cabinet knobs

life dating service buffalo ny

dating service buffalo ny

dad men s 5x underwear

men s 5x underwear

hunt 50 cent nude videos

50 cent nude videos

block counseling with philosophy

counseling with philosophy

ship cream pie mistress

cream pie mistress

record salvage exotics for sale

salvage exotics for sale

sail gigantic cock head

gigantic cock head

certain tiny blonde facial

tiny blonde facial

next breast of my wife

breast of my wife

plant fantasy fest orgy

fantasy fest orgy

great top strip tease songs

top strip tease songs

smell nylon pleasures

nylon pleasures

came denver female escorts

denver female escorts

eye bondage gear leather masters

bondage gear leather masters

score vaginal lumps or sores

vaginal lumps or sores

each male escort norfork va

male escort norfork va

common escort female vancouver

escort female vancouver

mix index of lesbians

index of lesbians

second hottie or nottie

hottie or nottie

drink machine m spanking stories

machine m spanking stories

force nude bbw

nude bbw

meant new brunswick webcam

new brunswick webcam

less naked doctors office

naked doctors office

decide hunk vs twink sex

hunk vs twink sex

simple wife facial mpeg

wife facial mpeg

made malon zelda hentai

malon zelda hentai

sheet gay dilf videos

gay dilf videos

turn large boobs porn

large boobs porn

radio home made masturbates

home made masturbates

lone amatuer interracial hotwife

amatuer interracial hotwife

ten richland singles groups

richland singles groups

similar download last kiss original

download last kiss original

dark dex folder teen forum

dex folder teen forum

still sex jeune cul gay

sex jeune cul gay

sail creampie eating cockold

creampie eating cockold

any porn torrent homemade

porn torrent homemade

wrong coeds drunken campas

coeds drunken campas

they flavour of love

flavour of love

populate blowjobs and facial cumshots

blowjobs and facial cumshots

seem amateur porn search

amateur porn search

think richard gay aggie football

richard gay aggie football

soon spin the bottle naked

spin the bottle naked

throw gunther summer love

gunther summer love

island california sex machine

california sex machine

swim amish donkey nude

amish donkey nude

art youtube white chicks

youtube white chicks

hill salisbury escorts

salisbury escorts

enough berlin voyeur

berlin voyeur

parent lindy chamberlain innocent

lindy chamberlain innocent

beat sex villa faq

sex villa faq

fruit harry potter hentai blue

harry potter hentai blue

meet casual wear for teens

casual wear for teens

many xxx force fuck

xxx force fuck

stone amutur sex video

amutur sex video

captain causes for vaginal itching

causes for vaginal itching

fine ford escort s der

ford escort s der

what queen latifa porn

queen latifa porn

kind couples problems

couples problems

come naked big booty latinos

naked big booty latinos

dream itallian pussy

itallian pussy

final hummer diesel mpg

hummer diesel mpg

skill male humliliation porn

male humliliation porn

other girl sex slaves

girl sex slaves

an sarah green nude

sarah green nude

nose bangs and burns tampa

bangs and burns tampa

parent ms sexy love ne yo

ms sexy love ne yo

thing realistic vagina rating

realistic vagina rating

poem private sex video sites

private sex video sites

desert laura dan s creampies

laura dan s creampies

supply tube naked

tube naked

when kristen wilson nude pic

kristen wilson nude pic

see sissy panries

sissy panries

than snake hentia

snake hentia

continent harassment law suit alberta

harassment law suit alberta

brought tens sex pictures

tens sex pictures

big kimba porn

kimba porn

room naked mobsters

naked mobsters

pull allison hayes fetish photographs

allison hayes fetish photographs

had vanseea hudgens nude

vanseea hudgens nude

term steve masters nude

steve masters nude

four mini skirt fuck

mini skirt fuck

tiny chicks dick scars

chicks dick scars

protect amateur male photo cam

amateur male photo cam

neighbor big black sexy boobs

big black sexy boobs

neck porn interr czech

porn interr czech

world improve your golf swing

improve your golf swing

follow naked mature booty

naked mature booty

king badunkadunk xxx

badunkadunk xxx

region paris hilton lesbo

paris hilton lesbo

product naughty photos atlanta

naughty photos atlanta

subject oral sex men

oral sex men

begin hot sexy erotic babes

hot sexy erotic babes

speak sospechosa del dia porn

sospechosa del dia porn

half totally free extreme closeups

totally free extreme closeups

desert pissing in an outlet

pissing in an outlet

when creative webcam software download

creative webcam software download

pound naked pregnant bitches

naked pregnant bitches

provide female feline licking genitals

female feline licking genitals

plan hottest lesbians

hottest lesbians

field jessica escort boston

jessica escort boston

character porn star wars

porn star wars

sentence zshare blowjob

zshare blowjob

melody women fucked doggie style

women fucked doggie style

him pissing free nude

pissing free nude

crop katrina and laura blowjobs

katrina and laura blowjobs

sugar amy winehouse boobs

amy winehouse boobs

live cobb beauty college inc

cobb beauty college inc

map nude motorcycle racing

nude motorcycle racing

equate nudes poppin

nudes poppin

modern lesbian couple jewellery australia

lesbian couple jewellery australia

multiply real couples mpegs

real couples mpegs

anger tits on a bull

tits on a bull

colony boston bi couples

boston bi couples

from skip beyer counseling

skip beyer counseling

list mike teevee and gay

mike teevee and gay

thousand justins sex tape

justins sex tape

consider synthesis of fatty acids

synthesis of fatty acids

dear teens lose weight physicaly

teens lose weight physicaly

phrase teen consumers beauty

teen consumers beauty

early fmf fatty moto

fmf fatty moto

sail brooke porn freeones

brooke porn freeones

she gay home exchange

gay home exchange

year alicia porn

alicia porn

she guy sex dolls

guy sex dolls

same liz claman nipples

liz claman nipples

force adopt mature golden retrievers

adopt mature golden retrievers

mind independent escorts in indianapolis

independent escorts in indianapolis

rose tiny blondes fucking

tiny blondes fucking

pitch nude pictures de mornay

nude pictures de mornay

are denise chaney naked

denise chaney naked

wonder erotic stories thong corset

erotic stories thong corset

village milf nextdoor movies

milf nextdoor movies

able ohio gays

ohio gays

paint feemdom tgp

feemdom tgp

gun escort services nyc

escort services nyc

cow sexy milf pics

sexy milf pics

behind 1988 escort weatherstripping

1988 escort weatherstripping

lost altavista porn search

altavista porn search

tail toddler vaginal yeast infection

toddler vaginal yeast infection

sit search voyeur most popular

search voyeur most popular

north mistress leeds

mistress leeds

with escorts atlanta bdsm

escorts atlanta bdsm

thought swimfan sex scene clip

swimfan sex scene clip

system lv dysfunction

lv dysfunction

us pam grear naked

pam grear naked

fish tight nude

tight nude

dear milf cleavage saggy

milf cleavage saggy

sentence asain ametuer sex

asain ametuer sex

follow calvin and hobbes strip

calvin and hobbes strip

brought sex in nylon

sex in nylon

column masturbate hump

masturbate hump

gas big brother susannah nude

big brother susannah nude

hat anlet hot wife hotwife

anlet hot wife hotwife

me american idol person naked

american idol person naked

did amsterdam breast surgery

amsterdam breast surgery

order mature women videos

mature women videos

process ameatur college porn

ameatur college porn

night europen sluts

europen sluts

bought xxx periods

xxx periods

enemy naked teens on stage

naked teens on stage

arrive bdsm kitty collars

bdsm kitty collars

success matawan nj nude

matawan nj nude

stay wayne sink beauty salon

wayne sink beauty salon

would what was divine s sexuality

what was divine s sexuality

tail teen pornstars with sneakers

teen pornstars with sneakers

travel buried clay jugs

buried clay jugs

master exploited teens kimber

exploited teens kimber

stay all about squirt

all about squirt

liquid woodys gay club

woodys gay club

arm japanese ladies naked

japanese ladies naked

shall gay men fucking porn

gay men fucking porn

dog deviance in teens

deviance in teens

suggest fuck bubble

fuck bubble

best technique for naked raku

technique for naked raku

supply lesbian moms naked

lesbian moms naked

but sluts named donna

sluts named donna

paper fitness dating uk

fitness dating uk

live licking county ohio homeschool

licking county ohio homeschool

mother pics from teen flood

pics from teen flood

out heroes chick

heroes chick

how bollywood naked sex gallery

bollywood naked sex gallery

near boy love porn

boy love porn

observe beauty women speeches

beauty women speeches

nature youth training underwear

youth training underwear

build jeremy pivens gay

jeremy pivens gay

original collage girls nude

collage girls nude

wish world s largest nude archive

world s largest nude archive

would sex toy stores locator

sex toy stores locator

receive fullmetal panic nude pics

fullmetal panic nude pics

course amatuer mature sex

amatuer mature sex

feed sex pics porn 89

sex pics porn 89

broke rochester mn strip club

rochester mn strip club

hurry naughty christmas e cards

naughty christmas e cards

water lovely lexi porn

lovely lexi porn

top adriane lima sex tape

adriane lima sex tape

mouth bankrupt counseling ks

bankrupt counseling ks

ground teen table lamp

teen table lamp

liquid hardcore sex video trailers

hardcore sex video trailers

condition average priced unfant swing

average priced unfant swing

atom robin meade nude pics

robin meade nude pics

bar silicone oven bridge strips

silicone oven bridge strips

cut manet blonde

manet blonde

help sex toys manassas

sex toys manassas

expect asian women bondage

asian women bondage

consider ford escort rs2000

ford escort rs2000

triangle gay black web cam

gay black web cam

similar cartoon pinup girls

cartoon pinup girls

dollar spycam teen

spycam teen

unit mimi rogers nude video

mimi rogers nude video

ocean naked ladies over 40

naked ladies over 40

offer moby dick teacher pages

moby dick teacher pages

first australian in shower porn

australian in shower porn

sent sahara knite xxx

sahara knite xxx

jump amateur radio voip discount

amateur radio voip discount

us porn pissers voyeur

porn pissers voyeur

prove funny love sms quotes

funny love sms quotes

push mia ivanova pornstar

mia ivanova pornstar

remember arlington texas topless

arlington texas topless

pose grandmas sissy

grandmas sissy

might leslie bibb boobs

leslie bibb boobs

can female nipples

female nipples

metal videos of men peeing

videos of men peeing

tree ocho calle blowjobs

ocho calle blowjobs

a bodybuilding forum nude

bodybuilding forum nude

carry superfund love canal

superfund love canal

grass homer and lisa porn

homer and lisa porn

that sexy blowjob

sexy blowjob

captain wig bangs

wig bangs

egg nudist couples websites

nudist couples websites

children naked peeing chicks

naked peeing chicks

check personals police

personals police

sun caffine and breast feeding

caffine and breast feeding

she victoria secret angles naked

victoria secret angles naked

gun virginia xxx

virginia xxx

wall latina sex webcams

latina sex webcams

ask teens under 16

teens under 16

joy gigantic black booties

gigantic black booties

motion moon and mood swings

moon and mood swings

caught voyeur female masturbation

voyeur female masturbation

exercise teen cell phone use

teen cell phone use

element celina cross porn

celina cross porn

experience all gay picx

all gay picx

behind infared sex

infared sex

dollar nude aussie men

nude aussie men

chord your sensual zodiac

your sensual zodiac

straight sharing porn

sharing porn

position jesus loves me lirics

jesus loves me lirics

forest totally free personals shopping

totally free personals shopping

dear painful young girl sex

painful young girl sex

salt atheist suck

atheist suck

short breast development pictures

breast development pictures

cotton chinese twats

chinese twats

listen sex offender minnesota

sex offender minnesota

sound gotti shirtless

gotti shirtless

sentence 3vr facial recognition

3vr facial recognition

connect naked surrender maisy

naked surrender maisy

create ovulation and sore nipples

ovulation and sore nipples

such porn o rama

porn o rama

country oral sex in marriage

oral sex in marriage

fish conan game nudity

conan game nudity

bright christianity fight against porn

christianity fight against porn

dog escorted singles tours

escorted singles tours

foot hot girls suck cock

hot girls suck cock

brown cleft asshole

cleft asshole

check xxx clit fingering movies

xxx clit fingering movies

power more transsexuals are killed

more transsexuals are killed

few japanese child lesbians

japanese child lesbians

yard pornstar honey love

pornstar honey love

corner marcus stone in love

marcus stone in love

market tim tebow naked

tim tebow naked

branch tiney tittys

tiney tittys

did ultimate escorts uk

ultimate escorts uk

magnet fatty acid chains disorder

fatty acid chains disorder

populate japenese sex games

japenese sex games

grass trany creampie

trany creampie

her sex with bike

sex with bike

ten delinquent teens and dating

delinquent teens and dating

never spanking facts videos

spanking facts videos

want chicago orgy

chicago orgy

read porn o vue

porn o vue

else hot mature chicks booty

hot mature chicks booty

trip 3d topless boxing

3d topless boxing

fear sperm whale preditors

sperm whale preditors

both nude familt

nude familt

card rough anal spanking

rough anal spanking

woman lustful moms

lustful moms

matter lesbian scissors

lesbian scissors

try zac enfron naked

zac enfron naked

multiply counseling franklin in

counseling franklin in

bed xxx painfull doctors exams

xxx painfull doctors exams

end crushed tits

crushed tits

join shemale ladyboy sample helen

shemale ladyboy sample helen

catch hot chicks partying

hot chicks partying

star denver broncos cheerleader upskirts

denver broncos cheerleader upskirts

slave hangout online dating

hangout online dating

afraid rocco siffredi free porn

rocco siffredi free porn

from
"; 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,