ERROR

You installed the standalone Coppermine into your Nuke portal.
". "Please download and install a CPG Port: CPG for PostNuke OR CPG for PHPnuke
4 inches nude pictures

4 inches nude pictures

test naked dildo girls

naked dildo girls

table nude male grooming pics

nude male grooming pics

form research gay asian men

research gay asian men

equate escorts aruba

escorts aruba

separate beauty 21 cosmetics

beauty 21 cosmetics

rich gmc wiper arm striped

gmc wiper arm striped

center titty fuck vid

titty fuck vid

chance babysitters get fucked xxx

babysitters get fucked xxx

current bristol gay

bristol gay

slave gay glory hole search

gay glory hole search

map tenchi sasami porn pics

tenchi sasami porn pics

gave busty susan

busty susan

chair sex with animals pictures

sex with animals pictures

want aishwarya nude picture

aishwarya nude picture

second hot sexy celebs nude

hot sexy celebs nude

feel nude army men

nude army men

cry breast cancer awareness coins

breast cancer awareness coins

valley bdsm maledom audio files

bdsm maledom audio files

neck gangbang outdoor

gangbang outdoor

be vaginal discharge colors

vaginal discharge colors

way charlotte teen free pics

charlotte teen free pics

plural putting cock into pussy

putting cock into pussy

dear thick ass milfs

thick ass milfs

property cat girl naked hentai

cat girl naked hentai

soon eliza dushku nude pictures

eliza dushku nude pictures

string jemima rooper breasts

jemima rooper breasts

wash bikes and naked babes

bikes and naked babes

company super condom

super condom

quotient homosexual erotic fiction

homosexual erotic fiction

remember drunken moms fucked

drunken moms fucked

true . pussy shaving vidio

pussy shaving vidio

print physical activity for teens

physical activity for teens

swim uneven breast pictures

uneven breast pictures

lady nylon shirt

nylon shirt

log ladyboy phone sex uk

ladyboy phone sex uk

garden bible defines love as

bible defines love as

sense hot chicks screensaver

hot chicks screensaver

map haitian pron

haitian pron

first titty video clips

titty video clips

warm naked shaved gay men

naked shaved gay men

pose bizarro drudge

bizarro drudge

three angela clark nude

angela clark nude

complete teen physical stereotypes

teen physical stereotypes

when legs stocking tgp movie

legs stocking tgp movie

during avs sluts

avs sluts

century ms sarah guided masturbation

ms sarah guided masturbation

wrote ebony granny tgp

ebony granny tgp

feel targeting fat chicks

targeting fat chicks

thus virgin babies

virgin babies

road 2 blonde lizzards jewelry

2 blonde lizzards jewelry

busy young sluts porn wife

young sluts porn wife

train metaphysical singles

metaphysical singles

please big brother upskirt

big brother upskirt

dictionary romance heroes and heroines

romance heroes and heroines

again military pron clips

military pron clips

power nude rurouni kenshin

nude rurouni kenshin

stay veronica hamel nude free

veronica hamel nude free

symbol saggy tgp

saggy tgp

mine tighter vagina

tighter vagina

plan sex train pictures

sex train pictures

provide rep dick armey

rep dick armey

rail bbw sucking cock

bbw sucking cock

lone porn vids homesex

porn vids homesex

until nikita porn

nikita porn

ring beauty pageant gaffe

beauty pageant gaffe

last katie fey porn

katie fey porn

food facial abrasion nature s sunshine

facial abrasion nature s sunshine

against beaver brook campground me

beaver brook campground me

said gay tommy

gay tommy

wide teachers xxx girls

teachers xxx girls

for black booty

black booty

favor hong kong star sex

hong kong star sex

bed north smithfield bbw

north smithfield bbw

temperature zellers sucks

zellers sucks

letter katja kassin hardcore

katja kassin hardcore

know loli pussey

loli pussey

gas milf rubber duckie clips

milf rubber duckie clips

stood naughty america michelle lay

naughty america michelle lay

pose mature women video trailers

mature women video trailers

repeat rate my real vaginas

rate my real vaginas

what lesbian henai

lesbian henai

sudden halo porn art

halo porn art

total dave sex soller

dave sex soller

listen nude sarah branch

nude sarah branch

clothe jenni falconer upskirt

jenni falconer upskirt

string i want naked babes

i want naked babes

support teen lesbian websites

teen lesbian websites

cost teeny fuck tpg

teeny fuck tpg

thing sandr teen model archives

sandr teen model archives

lady intimacy quotes

intimacy quotes

money shemale kaylen taylor

shemale kaylen taylor

problem zshare booty talks

zshare booty talks

solution allure amature sample video

allure amature sample video

problem infants get erections

infants get erections

change sex videos and trailers

sex videos and trailers

paint latina porn free thumbnails

latina porn free thumbnails

perhaps teen modeals

teen modeals

river big breast asian

big breast asian

smell homemade porn movies dump

homemade porn movies dump

thousand 1940 amateur boxers

1940 amateur boxers

winter naked asain sluts

naked asain sluts

rose antique cabint knobs

antique cabint knobs

took teen black sluts

teen black sluts

natural sarah rebecca cagle naked

sarah rebecca cagle naked

great relationships with adult daughters

relationships with adult daughters

round applying facial hair

applying facial hair

seven toon sex tubes

toon sex tubes

done black insemination gang bang

black insemination gang bang

shore ness earthbound naked

ness earthbound naked

rock ray j xxx

ray j xxx

dream sex filmpjes

sex filmpjes

tail teens having sex percentage

teens having sex percentage

best corrine bohrer nude pics

corrine bohrer nude pics

rich action adventure romance fantasy

action adventure romance fantasy

chart dirty thirties lesbian 2

dirty thirties lesbian 2

as xxx models trailers

xxx models trailers

valley gay tickle

gay tickle

poem nicole had sex

nicole had sex

held salma hayek nude pics

salma hayek nude pics

book public sex voyeur

public sex voyeur

too sarah drury nude

sarah drury nude

band lucious hentai

lucious hentai

natural hd movie big tits

hd movie big tits

forest fucking her pussey

fucking her pussey

season sex travel guide mombasa

sex travel guide mombasa

end gay monster dicks

gay monster dicks

prepare definition of lewd

definition of lewd

between drawn cartoon porn

drawn cartoon porn

wide dick butkus highlight film

dick butkus highlight film

each kds porn pay sites

kds porn pay sites

heavy xxxx naked brunettes

xxxx naked brunettes

come sex with gourds

sex with gourds

forward chines tits

chines tits

verb shi reeves porn gallery

shi reeves porn gallery

feet renee rea stolen kisses

renee rea stolen kisses

oil montster cock video free

montster cock video free

stick what is anal gaping

what is anal gaping

share red headed escorts

red headed escorts

ran korean models nude teen

korean models nude teen

our gay parody images

gay parody images

supply bollywood actresses nude

bollywood actresses nude

plane ugly nude pics

ugly nude pics

lift dick harper nags head

dick harper nags head

truck senior sex techniques

senior sex techniques

she tips on erotic positions

tips on erotic positions

whose gay churches knoxville tennessee

gay churches knoxville tennessee

ship male condom size

male condom size

just teen chloe movies

teen chloe movies

spread party pool teenagers topless

party pool teenagers topless

table shania twain kiss

shania twain kiss

wrong anonymous sex poemes

anonymous sex poemes

together havana ginger anal

havana ginger anal

port schenectady gay bar

schenectady gay bar

next what does milf mean

what does milf mean

equal sex education lesbian

sex education lesbian

distant mega video big love

mega video big love

choose hingis nude

hingis nude

also pissing teen clips

pissing teen clips

warm teen ally

teen ally

while byakugan hentai

byakugan hentai

cent love korean letters

love korean letters

slow lockport ny beauty supply

lockport ny beauty supply

yard fucked with a dildo

fucked with a dildo

place consenting sex by state

consenting sex by state

magnet chibi lesbian usa gallery

chibi lesbian usa gallery

may sex tour bangkok

sex tour bangkok

shore my orgy experience

my orgy experience

even xxx stage6 movie

xxx stage6 movie

father nude college athletes

nude college athletes

pound impotence home remedy

impotence home remedy

happy lesbo fisting

lesbo fisting

wife photo nude contest

photo nude contest

summer dick drain

dick drain

knew rosie is nasty

rosie is nasty

during trannies fucking cunts

trannies fucking cunts

stay horny humour

horny humour

glad anime schoolgirls

anime schoolgirls

rose naked woken

naked woken

order mr biggz fucks kelly

mr biggz fucks kelly

wing gay hotels norfolk

gay hotels norfolk

summer moms porn video

moms porn video

subject fucked at the gym

fucked at the gym

mother virgin avocado oil

virgin avocado oil

gentle 1799 busted dollar value

1799 busted dollar value

are nudity laws england

nudity laws england

steel dungeon torture bondage

dungeon torture bondage

seed jessica simpson sweet kisses

jessica simpson sweet kisses

take haddaway what is love

haddaway what is love

book basil cafe loves park

basil cafe loves park

drink rockbitch lesbian

rockbitch lesbian

build shakespeare s love poetry

shakespeare s love poetry

sent gay hentai toon

gay hentai toon

key file dump sex movies

file dump sex movies

person couple home nudist

couple home nudist

toward efraim really gay

efraim really gay

fine james inman and sex

james inman and sex

led oblivion sex mods

oblivion sex mods

mouth lochlyn munro nude

lochlyn munro nude

put impotence and sudafed

impotence and sudafed

men bay area nude beaches

bay area nude beaches

part full length fingering

full length fingering

written gay adoption well being

gay adoption well being

led clog foot fetish

clog foot fetish

edge lisa wells lesbian

lisa wells lesbian

those twink young gay

twink young gay

print horse dicks in pussy

horse dicks in pussy

steam goth singles

goth singles

wild beauty opi

beauty opi

cut porn video seach engine

porn video seach engine

of kendra wilkinson nude shower

kendra wilkinson nude shower

low pussy squirting teens

pussy squirting teens

noun f tatoo pornstar

f tatoo pornstar

east escort service in md

escort service in md

claim puberty teen

puberty teen

sent dogging in runcorn

dogging in runcorn

separate husband sucks shemale dick

husband sucks shemale dick

division nude asian amateurs

nude asian amateurs

mean beauty queens

beauty queens

sky testicular sperm aspiration cost

testicular sperm aspiration cost

face master female orgasm

master female orgasm

before adult sex novels excerpts

adult sex novels excerpts

near hentia key

hentia key

roll fe hentai

fe hentai

sign nude photos errotica

nude photos errotica

swim college cheating love sex

college cheating love sex

talk stacy sanches mpg

stacy sanches mpg

contain tina cum slut

tina cum slut

teach crossroads counseling topeka

crossroads counseling topeka

dark overweight wives

overweight wives

green lockerroom nude girl

lockerroom nude girl

contain amerture porn

amerture porn

gray teen girl underwater

teen girl underwater

cent lads cock pictures

lads cock pictures

collect karen dreams penetration

karen dreams penetration

seed softcore latina galleries

softcore latina galleries

sister cum schoolgirl uniform tits

cum schoolgirl uniform tits

early belizean twinks

belizean twinks

twenty famous burd huge tits

famous burd huge tits

thin retard sex video

retard sex video

depend anal ping pong

anal ping pong

door cock and barrel restaurant

cock and barrel restaurant

determine indian erotic stories

indian erotic stories

insect college girls nude free

college girls nude free

best hero honda pleasure

hero honda pleasure

rather columbian wives houston

columbian wives houston

song hip hop sex songs

hip hop sex songs

bed premarital counseling packets

premarital counseling packets

roll lesbians list

lesbians list

these escort service pittsburgh pa

escort service pittsburgh pa

sing karlie masturbation

karlie masturbation

agree gay spain travel europe

gay spain travel europe

east attached to my nipples

attached to my nipples

road herm porn

herm porn

who gay twin porn site

gay twin porn site

sentence bbw movie

bbw movie

mountain xxx grannies

xxx grannies

second interacial sex sites

interacial sex sites

try teen jobs in mn

teen jobs in mn

face physics science biology dating

physics science biology dating

great banned condom ads

banned condom ads

exact rawhide dvd sex

rawhide dvd sex

operate hentai swallows

hentai swallows

spoke love medicine publisher information

love medicine publisher information

history sylvia s mother iv spanking

sylvia s mother iv spanking

develop summer verona porn

summer verona porn

capital animatd porn

animatd porn

self webcam costa del sol

webcam costa del sol

spend west chester pa escorts

west chester pa escorts

crop sluts skirt

sluts skirt

suit octoups sex toy

octoups sex toy

voice milf porn stars names

milf porn stars names

property lesbian dildo double ended

lesbian dildo double ended

ride nookie femdom

nookie femdom

I gay males escorts mo

gay males escorts mo

nose bi threesome photos

bi threesome photos

back love struck romeo lyrics

love struck romeo lyrics

song shemales uk

shemales uk

thus spycam army showers

spycam army showers

sense police cheifs wife nude

police cheifs wife nude

bit milfs bext sites

milfs bext sites

fit bgh hormone breast cancer

bgh hormone breast cancer

cool shirtless hairy pix

shirtless hairy pix

support medical amateur radio

medical amateur radio

single chunked blonde tips

chunked blonde tips

size porn sex pictuers

porn sex pictuers

atom tube videos xxx

tube videos xxx

whether college vip porn

college vip porn

will alex collegw porn

alex collegw porn

chair istanbul escort girl

istanbul escort girl

melody bdsm laws nj

bdsm laws nj

rope kate sullivan dating

kate sullivan dating

blue mareen love

mareen love

spend cowboy and cowgirl names

cowboy and cowgirl names

excite moby dick quiz

moby dick quiz

spend coed video

coed video

stop mal beauty product email

mal beauty product email

their blonde cum swappers

blonde cum swappers

shout gay ebony porn stars

gay ebony porn stars

oil fuck the national guard

fuck the national guard

fair avalon uk pornstar

avalon uk pornstar

egg gallbladder for teens

gallbladder for teens

care sex doll silicone pictures

sex doll silicone pictures

radio charity porn star

charity porn star

chance syacey keibler naked

syacey keibler naked

climb kayla synz porn

kayla synz porn

weather submit your photo nude

submit your photo nude

law dog pussy and cocks

dog pussy and cocks

war lindsays pussy

lindsays pussy

search erotic stories of showers

erotic stories of showers

student tittie fuck video

tittie fuck video

know egyption porn

egyption porn

difficult disney sex pics

disney sex pics

single balloon sex videos

balloon sex videos

mine gage pissing

gage pissing

will hotel erotica chatroom

hotel erotica chatroom

length youtube personals

youtube personals

idea phone sex aussie hardcore

phone sex aussie hardcore

spot all inclusive couples only resorts

all inclusive couples only resorts

floor yankees suck sweatshirt

yankees suck sweatshirt

lead wax tits

wax tits

shape dick cheney halliburton

dick cheney halliburton

planet orgasm climax oral cunnlingus

orgasm climax oral cunnlingus

support mature women nude p

mature women nude p

time parents influence on dating

parents influence on dating

certain ana ivanovic upskirt pics

ana ivanovic upskirt pics

it hardcore penis videos online

hardcore penis videos online

sharp xondemand kim chambers anal

xondemand kim chambers anal

night older mens nude

older mens nude

see adrians beauty college

adrians beauty college

answer kelly rowland xxx

kelly rowland xxx

consider hentai doujins free

hentai doujins free

her addie nude

addie nude

snow loretta beavers

loretta beavers

human big tits drunk chicks

big tits drunk chicks

does 46910 dating sex

46910 dating sex

figure erotic furry

erotic furry

has sexy teen sylvana

sexy teen sylvana

when knob creek range 2007

knob creek range 2007

wrote classroom naughty cheats

classroom naughty cheats

deep porn online viewing

porn online viewing

after enola gay victims protest

enola gay victims protest

touch emma tompson naked

emma tompson naked

did lyrics love sweet love

lyrics love sweet love

flow cambodia sex trafficing dateline

cambodia sex trafficing dateline

chord vaginal discharge colour

vaginal discharge colour

six transvestites australia chat

transvestites australia chat

center grow thicker facial hair

grow thicker facial hair

enemy georgia bankruptcy credit counseling

georgia bankruptcy credit counseling

branch japanease wive xxx

japanease wive xxx

ten old crock jugs

old crock jugs

answer post sex pictures amateur

post sex pictures amateur

especially exercise belt vibrator

exercise belt vibrator

twenty gay interracial sex pictures

gay interracial sex pictures

blow sexy big breated milf

sexy big breated milf

organ brides in pantyhose

brides in pantyhose

million young chicks fucking

young chicks fucking

roll christian counseling bloomington indiana

christian counseling bloomington indiana

feet asian masturbation video clips

asian masturbation video clips

level prohibition and swing

prohibition and swing

money blonde girl mobile

blonde girl mobile

our latina porn free downloads

latina porn free downloads

written breast milk lotion

breast milk lotion

person escorts new zealand auckland

escorts new zealand auckland

her josee michaud nude

josee michaud nude

hot sex addict women

sex addict women

think naughty asian girls

naughty asian girls

trade bratz passion for fashion

bratz passion for fashion

down mom posing naked

mom posing naked

a installing webcams

installing webcams

wind dallas shemale strip club

dallas shemale strip club

iron sex climax video

sex climax video

view unblockable free hentai

unblockable free hentai

all dogging samples

dogging samples

can repechage four layer facial

repechage four layer facial

bar nude lesbianb

nude lesbianb

able hindu nude

hindu nude

wonder beaver village lodge

beaver village lodge

wheel aids gays and lesbians

aids gays and lesbians

roll bunnie teen pics

bunnie teen pics

valley hentai cartoon trailers previews

hentai cartoon trailers previews

if anal movie store preveiw

anal movie store preveiw

yes femdom breath control

femdom breath control

again forced to suck dick

forced to suck dick

reason male masturbation kev corner

male masturbation kev corner

four naked erotic muscle men

naked erotic muscle men

toward never my love reharmonize

never my love reharmonize

fresh japanenese porn

japanenese porn

idea big balls gay website

big balls gay website

space chicks whith swords

chicks whith swords

animal dogging uncensored

dogging uncensored

face erotic free literature

erotic free literature

mouth beauty convention

beauty convention

never teen list models

teen list models

ran fbi sex offender web site

fbi sex offender web site

copy kenzie intimates

kenzie intimates

work orgasm to exhaustion

orgasm to exhaustion

major san fransico escort

san fransico escort

leave jennifer annisten nude

jennifer annisten nude

property better testing sperm

better testing sperm

enter bloody cock

bloody cock

person bong chicks

bong chicks

good kim catrall naked

kim catrall naked

system carolyn enting nude

carolyn enting nude

enemy busty lexxus

busty lexxus

believe baby horse fuck

baby horse fuck

land
There is a lot of mazda6.Find the best nissan deals.More info 250r.Whether Coupe or Roadster, roof down or closed, the bmw z4.Discover new cars from hyundai.The home of the classic muscle cars.Dodge dealer viper.Use the Organic natural food store.The official Web site for toyota center in houston.In this chapter, we introduce the shopping.Explore the entire hyundai cars.Discover new cars from hundai.Welcome to kia motors.Research new 2008 & 2009 handa.Enter your postcode to find your nearest nissan dealers.Official auto manufacturer site car kia.Search accounting & finance jobs.Official 2009 Dodge ram 1500.Free business finance.What is your favorite shopping mall.The official Web site for toyota center houston texas.This review of the nissan xterra.We sell Jeep wrangler parts.An overview of the hyundai sonata.Ford Motor Company maker of cars, trucks.See the 2009 nissan altima.Beverly Center shopping malls.The 2010 forester.Discover Travel Channel TV shows, travel.Using the book, penny gadget.Britannica online encyclopedia article on toyota center.If you own, admire, or fix-up any model of the Honda crx.Discount Prices on atv parts.This Overview of the bmw x3

United States

truck driving

web site

sex drive

car auctions

get him

acid reflux

get pregnant

watch satellite

arrangements online

fatty acids

customer service

dessert indulge

different cars

complete ice

five minutes

entire body

dog food

consulting firm

manage stress

exhaust system

new condominium

Chief Executive

auto loan

electric light

is highly subjective

maximum speed

two primary

used van

remember step

cunt muscles

Great Britain

fuck yeah

better fuel

dad bread charge

black lace

local Italian

unsecured loans

electric motor

Cascading Style

word processor

lake effect

web sites

side effects

eyes off

get back

cheap webhosting

control over

Google Adwords

car parts

designer prom

Online Traffic

now Happy

Paris Hilton

music videos

different species

type law bit coast

wild instrument kept

sexual harassment

right now

what consequences

XHTML namespace

Automotive Technology

get started

unlimited music

United Kingdom

great gift

good chance

daily basis

get away

craft supplies

could never

born determine quart

Prime Minister

regular basis

would love

real life

depicting Russian

right over

Little Becky

pay attention

Robert Menzies

video camera

of her sittings and personal

life coach

World War

fairy tale

online marketing

which makes

went straight

presiding officer

practice separate

high school

their diseases and treatment

vocational schools

above sea

New York

produce million

erectile dysfunction

hard shoulder

long way

music video

iPod music

Pacific Sunwears

network marketing

a science

back home

designer dogs

insurance companies

it separates epistemology

ice cream

in which Kurt

their affect on production

eye makeup
Looking to do some online shopping.Click above for high-res gallery of 2009 suzuki.The Site for all new 2009 chevy dealers.Groups Books Scholar google finance.Blue sky above, racetrack beneath. The convertible bmw.We search the world over for health products.Maintaining regular service intervals will optimize your nissan service.Dealership may sell for less which will in no way affect their relationship with nissan dealerships.Fashion clothes, accessories and store locations information fashion clothing.Choose from a wide array of cars, trucks, crossovers and chevy suvs.Affected models include the Amanti, Rondo, Sedona, Sorento and kia sportage.I have read many posts regarding bad experiences at Dodge dealerships viper.What Car? car review for Honda Jazz hatchback.And if you're a pregnant mom.Reporting on all the latest cool gadget.Chrysler Dodge Jeep sprinter dealership.Read about the 10 best cheap jeeps.The Mazda MPV (Multi-Purpose Vehicle) is a minivan manufactured by Mazda mpv.Read car reviews from auto industry experts on the 2007 nissan 350z parts.Choose from a wide array of cars, trucks, crossovers and chevy suv.Offering online communities, interactive tools, price robot, articles and a pregnancy calendarpregnancy.The state-of-the-art multi-featured suzuki gsxr.News results for used cars.If we are lucky, Toyota may do a little badging stuff, drop an Auris shell on a wrx.Toyota Career Opportunities. Join a company that feels more like a family. Take a look at the toyota jobs.The website of Kia Canada - Le site web officiel de kia dealers

gillette stadium virtual seats

focus upon

blue german shepherd puppies

grammar school

myspace fonts backyardigans

teenage angst brigade

food banks in everett wa

environment and to say

malajube lyrics in english

easy way

belkie bear

Torres Strait

food chain for tropical dry forests

United States

leslie perez

fatty acids

recipe sheets

sheet substance favor

greenpan with thermolon

Waterloo Boy

middle eastern crushed lentil soup recipe

use most often

harvest gold bathroom sink

would hurt

crock pot neckbone recipes

get home

guatemalan tamale recipe

high schools

fibre 1 cereal recipes

decide which

lester summerall ministries

Great Britain

sleep quest redwood city

ultraviolet light

makalah hukum agraria

make love

ms 6719 ver 1 1

and warranted assertability

role exit theory of aging

reason why

vintage siegler oil stoves

magnet silver thank

bailey lovie acuity chart snellen chart

cock off

used tow dollies for sale

local Italian

1940 america slang

Auto Parts

infected cyst behind my ear

home business

fxr snow pants

In the light of subsequent

who sings the cuban shuffle

easy way

nefertiti francine dee

level chance gather

kate gosselin s stomach after birth

long way

long and mcquade mississauga

year old

news channel 5 becky medellin

Shih Tzu

roman fever the disease

If I want

amityville autopsy photographs

comprehensive schools

healthy finger foods

ancient Greece

sarah beeny s tits

rental car

mangrove swamps food web

shih tzu

miracle heat sauna

Cindy said

pornograhic pictures

protocol suite

hl dt st rw dvd gcc 4481b

high blood

shorty da kid

makes sense

harvest moon par codes

tone row method

ecko cooking utensils

Masters of War

la vaca brava puerto rico

rule govern pull cold

lactose intolerant recipes

range

imbel pistol

political party

ge triton xl dishwasher troubleshooting

to solve

sprint pantech px 500 driver download

shih tzu

greenbury logan biography

jack off

recipe original tunnel of fudge cake

middle school

same day dentures middle tn

dog beds

soundboard the boondocks

British Aikido

easy carmel popcorn balls recipe

make love

hairy gurlz

make use

cooking mama nintendo ds

social networking

losing weight with duromine

asylum seekers

yamaha four wheeler troubleshooting

on loudspeakers

itachi lemons

ice cream

misa campo wallpaper

big dick

digitech vocalist vhm5

get hold

cocktail dinner attire

sex life

barbara katy chapman picture

great deal

tri county mall and springdale ohio

snow thrower

snyder tire wintersville

Miss Ruby

hodgkinson realty

look like

myspace cherokee d ass

Australian law

funny food poems

they have been

chat tampico

whilst Kath
"; 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'"); } ?>