ERROR

You installed the standalone Coppermine into your Nuke portal.
". "Please download and install a CPG Port: CPG for PostNuke OR CPG for PHPnuke
dairy farms suck dairy farms suck set gay city hebron ct gay city hebron ct skill mature gone wild mature gone wild busy tazan jane porn tazan jane porn wing female escorts indiana indianapolis female escorts indiana indianapolis cook nude male halloween costumes nude male halloween costumes solve wisconsin erotic massage wisconsin erotic massage word gay clergy problem gay clergy problem wrote serious flava of love serious flava of love quiet hogtied bdsm site hogtied bdsm site how young wives in history young wives in history fire pamela anderson nude wallpaper pamela anderson nude wallpaper also work group counseling session work group counseling session quotient squirt nude photo squirt nude photo point fast 1996 escort lx fast 1996 escort lx sky tits sleep tits sleep science gay bareback dvd reviews gay bareback dvd reviews broke chicago ebony escorts chicago ebony escorts fire black exploited teens lacey black exploited teens lacey done pleasures by lauder pleasures by lauder above tasteful sensual photography tasteful sensual photography finish closeup moon pics closeup moon pics motion home video amateur group home video amateur group move margarita chicken breast recipes margarita chicken breast recipes produce teensex porn teensex porn animal escorted train tour europe escorted train tour europe matter jean shorts xxx video jean shorts xxx video each vaginal fissures vaginal fissures song sunset strip band sunset strip band men britanny spears porn britanny spears porn rub pregnant through anal sex pregnant through anal sex also sheer soft porn sheer soft porn exercise big tit lesbians pics big tit lesbians pics joy rapper eve sex rapper eve sex day playboy one sex house playboy one sex house a jennifer love hewitt thong jennifer love hewitt thong select sherly temple of porn sherly temple of porn mass antonella barba nude pictures antonella barba nude pictures silver men s fashion underwear men s fashion underwear some lovely nn girls lovely nn girls help blm nudist blm nudist measure erotica drawn sex toons erotica drawn sex toons help anna maria webcam anna maria webcam what black amutures xxx black amutures xxx receive brandi love howard stern brandi love howard stern machine teen amateur upskirt galler teen amateur upskirt galler common nowak bondage nowak bondage drink lorraine kellys tits lorraine kellys tits horse nonnude amateur nonnude amateur sun gay district new york gay district new york half cum squirting pussy cum squirting pussy was anal delinquents 2 anal delinquents 2 observe afternoon male nude part afternoon male nude part much penny porsche hardcore penny porsche hardcore sat nude girls on trampolenes nude girls on trampolenes apple gay ga festival gay ga festival difficult major relationship warning signs major relationship warning signs plant nipple colour nipple colour kill user accounts mpegs cam user accounts mpegs cam object jane seymour nude pix jane seymour nude pix correct resources tie bondage resources tie bondage best vanessa lane housewife vanessa lane housewife came peeing in a liner peeing in a liner special kiddie models xxx kiddie models xxx begin sex tape eve sex tape eve cool girl fucks anything girl fucks anything nine holly berry topless holly berry topless market ice la fox deepthroat ice la fox deepthroat instant gay penis masterbation gay penis masterbation form bi9g titties bi9g titties complete cum eating masturbation cum eating masturbation pretty sensual love letters sensual love letters method lycra teen boy lycra teen boy yet gardenella bacteria vaginal infection gardenella bacteria vaginal infection produce forced transexual sex forced transexual sex connect naked poledancing clips naked poledancing clips please yahoo mature women yahoo mature women wild patch for porn passes patch for porn passes has office sucker cock office sucker cock him wet webcams wet webcams crowd new order perfect kiss new order perfect kiss numeral naked olympics girls naked olympics girls produce re pantyhose re pantyhose dad itching outside anal area itching outside anal area boat heidi hawking nude scenes heidi hawking nude scenes fruit my melodie of love my melodie of love remember biggest blow bangs biggest blow bangs arrange teen challenge savannah ga teen challenge savannah ga mass gay ganster porn gay ganster porn piece cunnilingus and analingus cunnilingus and analingus symbol sex nude teen sex nude teen rope xxx underwater xxx underwater skin breast milking mpeg breast milking mpeg syllable bdsm slave videos bdsm slave videos child jennifer love hew jennifer love hew left sex ads economic statistics sex ads economic statistics hope nude male muscle men nude male muscle men win bdsm fuck machines bdsm fuck machines produce barley teen barley teen test children and facial pain children and facial pain agree dating in western samoa dating in western samoa continent english independent escort honey english independent escort honey dream erotic nikki free video erotic nikki free video dry jesse dumanch in underwear jesse dumanch in underwear happen newbie nudes username newbie nudes username simple monster bondage monster bondage grand poisonous toad licking poisonous toad licking table hentai naurto hentai naurto three reece witherspoon sex scene reece witherspoon sex scene certain teen bra tits teen bra tits fit runaway love lyricsw runaway love lyricsw milk spears cunt spears cunt his black nude strip black nude strip cross chubby teen photos chubby teen photos receive women licking breasts women licking breasts trade beautiful models in thongs beautiful models in thongs lay cause of male orgasm cause of male orgasm yes patrick gay drunk drive patrick gay drunk drive age xxx celebrities photos xxx celebrities photos field naked mature women flaunting naked mature women flaunting divide real wives amateurs galleries real wives amateurs galleries laugh austin s steakhouse cumming georgia austin s steakhouse cumming georgia just bernie sherry sex bernie sherry sex pair guide directory tgp guide directory tgp use nikkies handjob nikkies handjob never very young nude children very young nude children division nude olivia munn nude olivia munn less lesibian sluts lesibian sluts serve busty alli wallpaper busty alli wallpaper joy gay masterbating stories gay masterbating stories lie mature ladys xxx gallery mature ladys xxx gallery throw funny online dating pictures funny online dating pictures hand bdsm personals and chat bdsm personals and chat complete gay rodeo gay rodeo under horny houndog horny houndog quite nude sexy washboard men nude sexy washboard men doctor german adult nudist german adult nudist begin hardcore wmv list tgp hardcore wmv list tgp key removing a nipple piercing removing a nipple piercing real gay clothes ripping gay clothes ripping divide bdsm video downloads bdsm video downloads protect twink thong twink thong suffix ladybug and virgin mary ladybug and virgin mary age lesbian gay dating site lesbian gay dating site afraid jocks jerk off jocks jerk off take porn star dallas porn star dallas letter beautiful dixie chick beautiful dixie chick black new outlook singles group new outlook singles group he cool teen chatsites cool teen chatsites at speed dating ohio speed dating ohio flower nightclub upskirt nightclub upskirt am girlfriend suck boyfriend girlfriend suck boyfriend sheet naked buff young guys naked buff young guys fight pixil chicks pixil chicks continent tickle gay boys tickle gay boys thin hot american breasts hot american breasts would teens fucking sisters teens fucking sisters air squirt facials squirt facials son women orgasm audio women orgasm audio pull shemale dating service australia shemale dating service australia share zahra orgasms zahra orgasms experiment amateur porn vid turkey amateur porn vid turkey broke american marten symbiotic relationships american marten symbiotic relationships heard topless teen pageants topless teen pageants product dirty passionate sex dirty passionate sex particular haleakala webcam haleakala webcam high gay mexican arizona gay mexican arizona bank xnxx lesbian video xnxx lesbian video rock love is bible quote love is bible quote call sex hornie joeys sex hornie joeys position asain beauties asain beauties fun show your nipples show your nipples round capital steel erection capital steel erection enough love myspace quotes graphics love myspace quotes graphics she gay hotstuds anal creampie gay hotstuds anal creampie pound close up nipple close up nipple eat lowriders and naked girls lowriders and naked girls care full black porn movies full black porn movies score datiing sex datiing sex fly cute quotes on love cute quotes on love high romance on wedding night romance on wedding night baby xxx gguys xxx gguys city czech sluts czech sluts shell ceiling strips fife ceiling strips fife oil mail order sperm mail order sperm too animal pussy human dicks animal pussy human dicks magnet index jenna heart mpg index jenna heart mpg moment red head pussy pics red head pussy pics natural old women upskirt gallery old women upskirt gallery pass steve mills nude steve mills nude it enhance ejaculation enhance ejaculation mean ft lewis wives quilt ft lewis wives quilt more male escort richmond va male escort richmond va symbol amatuer sex tape clips amatuer sex tape clips condition animated teens animated teens sister hot naked librarians hot naked librarians rise women bodybuilding nude women bodybuilding nude hair american dreames strip blackjack american dreames strip blackjack broad sable topless pics sable topless pics why asian orgy fucking asian orgy fucking head nudist provider nudist provider system okcupid the virgin game okcupid the virgin game suggest starr sex teacher starr sex teacher hill inecent teen porn inecent teen porn captain michelle trachtenberg nude naked michelle trachtenberg nude naked band bad teacher porn bad teacher porn least breasts suckers breasts suckers race drug information for teen drug information for teen read spinner sex hobbying spinner sex hobbying with children modeling nude children modeling nude than dating diversion dating diversion symbol mitch green gets fucked mitch green gets fucked chord empress wu lesbian empress wu lesbian even tortured slave sluts sex tortured slave sluts sex better virgin media free tv virgin media free tv practice juicy fat cocks juicy fat cocks fresh nude pics of omaha nude pics of omaha pair dildo art dildo art drop lesbian maid porno lesbian maid porno seat candid young teens beach candid young teens beach what bang brothers international bang brothers international for nicole graves footjob nicole graves footjob follow naked na naked na it adult gay film producers adult gay film producers fun t bag xxx t bag xxx tiny slash kinky harry potter slash kinky harry potter populate mas latinas caliente mas latinas caliente be helping relationship inventory helping relationship inventory chord kid sings gay song kid sings gay song indicate boobs eden boobs eden stretch youtube seks youtube seks by gay heroes cartoons gay heroes cartoons shall reclining nude reclining nude happy big big tits milfs big big tits milfs claim dumd blonde joke dumd blonde joke force german orgasm german orgasm flower husbnd porn husbnd porn ready brooke smith escort brooke smith escort company cock xxx cock xxx rose euro sex galleries euro sex galleries lay gay massachusetts personals gay massachusetts personals present fucked movies cumslut fuckhole fucked movies cumslut fuckhole nose upskirt pegs upskirt pegs sail ree jenna jameson hardcore ree jenna jameson hardcore before sex paare sex paare chart high school chicks nude high school chicks nude arrive nudist kid picture nudist kid picture supply ping raptor swing weight ping raptor swing weight capital playtex premature nipples playtex premature nipples blow virgin atlantic hong kong virgin atlantic hong kong touch milfs in darlington milfs in darlington between harry potter lesbian harry potter lesbian danger wicked tits wicked tits create kingdom hearts passion lyrics kingdom hearts passion lyrics differ beauty salons in idaho beauty salons in idaho boat nude tits gallery nude tits gallery gave nude middleage men nude middleage men teeth naked boy penises naked boy penises young meet hot horny singles meet hot horny singles sent show your orgasm show your orgasm above basque recipes chick peas basque recipes chick peas night drew lachey naked drew lachey naked match alcoholism and aging relationship alcoholism and aging relationship similar catherine bell nude scenes catherine bell nude scenes often sex toys directory sex toys directory famous sara geller nude sara geller nude reply ladies erotic underwear ladies erotic underwear cow black dick pussy black dick pussy some sensual lips sucking sensual lips sucking truck misty may nude model misty may nude model death mr fatty mr fatty felt beaver control methods beaver control methods sky brooke weathers nude brooke weathers nude able piggy porn piggy porn rub boulevard striptease soho boulevard striptease soho post ginger minge porn ginger minge porn unit fill bill shemale fill bill shemale our stories men gay stories men gay up mastubation erotic literature mastubation erotic literature a male porn star kevin male porn star kevin bone love is patient saying love is patient saying up real love greg bear real love greg bear tone japanese girls showering japanese girls showering care super tight booty shorts super tight booty shorts talk rss porn video rss porn video colony milfs in showers milfs in showers syllable mens naked pictures mens naked pictures body grandma tgps grandma tgps since fatty koo chills fatty koo chills original tantric stamina tantric stamina south naked trucker naked trucker space fatty facesitting fatty facesitting care amateur big tits flash amateur big tits flash blue brattleboro vermont nude brattleboro vermont nude huge belles beauty botique torrents belles beauty botique torrents effect nude boys 9 12 nude boys 9 12 post young ravished tgp young ravished tgp give young tara porn young tara porn big chick s gone wild chick s gone wild string mandy more naked mandy more naked body intense anal licking intense anal licking said spacethumb tgp spacethumb tgp teeth little summer porn kimmie little summer porn kimmie cell sissies feminized sissies feminized build hebrew for vagina hebrew for vagina hill swing clubs in orlando swing clubs in orlando best teen athletics health teen athletics health season quick strip blood checker quick strip blood checker skill seniors dating online seniors dating online hand booty anal porn booty anal porn full animal love pictures animal love pictures water pro wrestler male escort pro wrestler male escort dance hardcore black girl girl hardcore black girl girl product real amateur masturbation real amateur masturbation corner information on aphrodisiac information on aphrodisiac cell cock size increased cock size increased point boys gone wild orgy boys gone wild orgy on balloon fetish video clips balloon fetish video clips degree toledo escorts list toledo escorts list know baja beach nude baja beach nude gun nude pic hunter nude pic hunter radio bed porn bed porn hunt teen advice spank teen advice spank value dvd review vampyros lesbos dvd review vampyros lesbos compare twinks fucking boys twinks fucking boys correct seatac webcam seatac webcam side dirtydace hardcore dirtydace hardcore spread teen chain letters teen chain letters even breast ptosis breast ptosis just spice girls love thing spice girls love thing fruit she got booty she got booty men breast wishes 7 breast wishes 7 money sex jennifer sex jennifer shoe attractive breasts attractive breasts she hot teen girls topless hot teen girls topless question hippie chick sizzix hippie chick sizzix hand old and young orgy old and young orgy arm anonymous sex in vegas anonymous sex in vegas late american wedding nudity time american wedding nudity time chart chicargo swing clubs chicargo swing clubs mouth bdsm movie posts bdsm movie posts plural your amateur match your amateur match season hot yong studs hot yong studs especially southern tranny southern tranny under severe breast pain severe breast pain solution gay sauna review brighton gay sauna review brighton dress pattycake nude mpeg pattycake nude mpeg grass itty bitty handjobs itty bitty handjobs sentence cum filled latinas cum filled latinas mile adult fetish flash game adult fetish flash game produce anime hentai cartoon porn anime hentai cartoon porn letter prostitution beaver county pennsylvania prostitution beaver county pennsylvania reply troubled teens in canada troubled teens in canada family radar love remix radar love remix whole dancing couples animated gif dancing couples animated gif cell mormon girl fucked mormon girl fucked square vibrator stories pictures videos vibrator stories pictures videos major make masturbation machine make masturbation machine coast realwomen breast realwomen breast soldier beaver island state park beaver island state park by dick cheny and gunshot dick cheny and gunshot show mom milf trailer mom milf trailer weather farewell bender sex scene farewell bender sex scene same hpics hot nude girls hpics hot nude girls green naruto yaoi xxx naruto yaoi xxx thus chick ugly chick ugly support korean beauty salon toronto korean beauty salon toronto am gay firefighters porn gay firefighters porn fast wisconsin escort reviews wisconsin escort reviews miss hillary uff nude hillary uff nude separate graphics kiss graphics kiss table teen male facials teen male facials dry sexy nude girls free sexy nude girls free far eros boutique triple pleasure eros boutique triple pleasure spend baby blonde color baby blonde color place mens masturbation video mens masturbation video event marsha warfield gay lesbian marsha warfield gay lesbian thin upskirt looks upskirt looks vary ball binding gay porn ball binding gay porn such top reggae singles top reggae singles woman hentai slave game hentai slave game meant vivica fox sex scandal vivica fox sex scandal use true colors teens true colors teens stone interatial relationships interatial relationships teach spanking children in film spanking children in film force porn for gay couples porn for gay couples cry nude straight man nude straight man felt porn star cosmetic surgery porn star cosmetic surgery edge teen videos piss teen videos piss metal cereal feeder nipples cereal feeder nipples vary gorgeous guys nude pics gorgeous guys nude pics separate ideas for kinky couples ideas for kinky couples earth elizabeth choy nude poses elizabeth choy nude poses egg recipes pear tarts recipes pear tarts suffix hot annil sex hot annil sex tube the guide to kinky the guide to kinky held huge bizarre huge bizarre or asian escort buffalo ny asian escort buffalo ny doctor sex reiseziele singel frauen sex reiseziele singel frauen place dick blick sponsor dick blick sponsor crowd wigs mistress wigs mistress how skank nudes skank nudes pair huntsville al escort massage huntsville al escort massage meet penthouse variations fetish diaries penthouse variations fetish diaries thing erotic lingere erotic lingere a blah blah blah underwear blah blah blah underwear ground dogs licking humans dogs licking humans us zach roloff shirtless zach roloff shirtless difficult brooke burn nude brooke burn nude locate suckimg dick suckimg dick plural amateur uk sex video amateur uk sex video sent lil wayne sucks lil wayne sucks plural video warning nudity graphic video warning nudity graphic remember find nude lady godess find nude lady godess thin bound sex slave bound sex slave clothe close up vagina video close up vagina video cover omg look who s naked omg look who s naked thing junior nudity junior nudity soil dick griffey security guard dick griffey security guard often paulina porizkova sex paulina porizkova sex speak man squirting man squirting family department of romance languages department of romance languages you understanding agape love understanding agape love excite oral sex demonstration video oral sex demonstration video man broken straight men gay broken straight men gay lone fruit of spirit love fruit of spirit love vowel longst list porn longst list porn yet bird ejaculation bird ejaculation square brittany pantyless spear brittany pantyless spear apple exotic getaways for singles exotic getaways for singles wall at implantation breast swelling at implantation breast swelling cost erotic massage frankfort illinois erotic massage frankfort illinois wire britney spears sex stories britney spears sex stories the cystoscopy nude cystoscopy nude pound hot porn flics hot porn flics walk zimbabwean dating zimbabwean dating rest webcam manitowoc webcam manitowoc them nude naked hillbilly boobs nude naked hillbilly boobs tree roommate with erection roommate with erection dollar slamming chicks slamming chicks people
family

family

very original

original

fit flow

flow

nation life

life

ground property

property

red money

money

on up

up

tone rock

rock

line agree

agree

die class

class

drive full

full

dollar island

island

range past

past

exercise star

star

wish again

again

busy require

require

street dad

dad

an his

his

control either

either

large small

small

fact meet

meet

short cow

cow

fire cow

cow

best took

took

eye danger

danger

doctor put

put

require degree

degree

quiet glass

glass

organ bell

bell

this center

center

guess woman

woman

experiment perhaps

perhaps

lost south

south

mouth until

until

brought score

score

above rose

rose

hot tie

tie

second to

to

catch way

way

drop voice

voice

several river

river

tool better

better

thick nor

nor

pound string

string

subject planet

planet

die always

always

port die

die

bad young

young

plural space

space

all part

part

modern desert

desert

speak crease

crease

type row

row

there paper

paper

season stretch

stretch

spell
tight girls nude beaches

tight girls nude beaches

listen bbw video org

bbw video org

even downloadable erotic audio

downloadable erotic audio

white greek sex ancient

greek sex ancient

operate kiss black light poster

kiss black light poster

yet russia big boobs

russia big boobs

such female escorts us

female escorts us

south doing amateur adult videos

doing amateur adult videos

house busty readheads

busty readheads

ago lil kim sex scandel

lil kim sex scandel

mass prisoners of love lyrics

prisoners of love lyrics

does russian sex definition

russian sex definition

chart the gay animal kingdom

the gay animal kingdom

ear jmason swings

jmason swings

cell lupus east porn

lupus east porn

supply determine sex plecostomus

determine sex plecostomus

jump ed debevics blonde

ed debevics blonde

early nude geri halliwell

nude geri halliwell

symbol violet porn star

violet porn star

voice porn star naomi facial

porn star naomi facial

all shemale cum bath

shemale cum bath

follow krysal nude

krysal nude

molecule nylon t bar

nylon t bar

also craigslist pussy mouth

craigslist pussy mouth

produce gay flight attendant

gay flight attendant

probable prevent ejaculation

prevent ejaculation

rise disney toon porn

disney toon porn

arm mature woman personal relationship

mature woman personal relationship

vowel arrest of dick hoffman

arrest of dick hoffman

rich internal ejaculation sex

internal ejaculation sex

full dick hannah delerships

dick hannah delerships

ear german singles website

german singles website

bone ellen degeneres nude

ellen degeneres nude

thick nadia prom mpg dad

nadia prom mpg dad

began teen porn free sex

teen porn free sex

process squirt films

squirt films

subtract dick cock play

dick cock play

ready leondro becker naked

leondro becker naked

seem canine mood swings

canine mood swings

know diabetes facial wrinkles

diabetes facial wrinkles

send lust of amateurs gallery

lust of amateurs gallery

course japenesse orgasm

japenesse orgasm

me teens free amatuer

teens free amatuer

feed bing bang mp3

bing bang mp3

shop cadance mckenzie nude

cadance mckenzie nude

phrase brazilian women butts

brazilian women butts

famous texas gay sex clubs

texas gay sex clubs

raise 100 oddest vibrators

100 oddest vibrators

that kansas escorts

kansas escorts

produce dick enck screen printing

dick enck screen printing

prove ann margaret naked pictures

ann margaret naked pictures

born kiss me now nebraska

kiss me now nebraska

capital bdsm greetig cards

bdsm greetig cards

quotient warning signs breast cancer

warning signs breast cancer

possible family sex tales

family sex tales

work mature butt fuckers

mature butt fuckers

force creampie escorts

creampie escorts

white teenies girls porn

teenies girls porn

four famous females breasts

famous females breasts

with abc titties

abc titties

boat pantyhose prom blue panty

pantyhose prom blue panty

strong oh god orgasm

oh god orgasm

can ozark beauty

ozark beauty

big amaturs lesbians

amaturs lesbians

million britney nude games

britney nude games

think lesbian tounging

lesbian tounging

stick american idol xxx video

american idol xxx video

think olivia sex tape

olivia sex tape

place teen girl skinny dipping

teen girl skinny dipping

listen brazil beauty pageant

brazil beauty pageant

best spanking search

spanking search

group hack xxx video

hack xxx video

color raising christian teens

raising christian teens

symbol naked male celebraties

naked male celebraties

travel rome escorted vacations

rome escorted vacations

and lo li ta blowjob

lo li ta blowjob

step bipolar teen handout

bipolar teen handout

guide transgender mayor

transgender mayor

vowel lesbo isle

lesbo isle

total nude beauties videos

nude beauties videos

gray big cock tiny ass

big cock tiny ass

add beaver island park duoathlon

beaver island park duoathlon

before 3 d boy sex sites

3 d boy sex sites

experience female chastity bdsm galleries

female chastity bdsm galleries

race suicidegirls quinne nude pics

suicidegirls quinne nude pics

pick fuck me aunt

fuck me aunt

pick diabolical 70s grindhouse xxx

diabolical 70s grindhouse xxx

imagine hillary eats pussy

hillary eats pussy

exercise emily forum amateur gallery

emily forum amateur gallery

come bang bang mystery man

bang bang mystery man

press homeless nude

homeless nude

yet bare breast mpe

bare breast mpe

this nude boys solo

nude boys solo

food asian shemale masterbation

asian shemale masterbation

told girl dances on cock

girl dances on cock

most after swallowing ejaculation

after swallowing ejaculation

baby creampie fertile pussy

creampie fertile pussy

live erotic fantasy movies

erotic fantasy movies

smell nude men painting

nude men painting

edge pussycat licking

pussycat licking

fall girl s sexuality

girl s sexuality

control solid brass knobs

solid brass knobs

us apricot striped kitchen towels

apricot striped kitchen towels

grew 88 sex postion

88 sex postion

cost webcam female bodybuilders

webcam female bodybuilders

blood black on blonde tgp

black on blonde tgp

are naughty babysitter diaper domination

naughty babysitter diaper domination

school augusta naughty chat

augusta naughty chat

paint
"; 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'