ERROR

You installed the standalone Coppermine into your Nuke portal.
". "Please download and install a CPG Port: CPG for PostNuke OR CPG for PHPnuke
rail mount tac lights

rail mount tac lights

able ramona cahn santa barbara

ramona cahn santa barbara

experience richard young fedora

richard young fedora

every red cross ventura california

red cross ventura california

job rick williams carver

rick williams carver

first ps3 running on vista

ps3 running on vista

press property manager phoenix arizona

property manager phoenix arizona

about printer driver 5650 hp

printer driver 5650 hp

south prsa san diego events

prsa san diego events

post reid hyle charleston

reid hyle charleston

appear rental property palm desert

rental property palm desert

crease richard boudreau salem nh

richard boudreau salem nh

ten princeton allergy

princeton allergy

mouth restaurants in jerome arizona

restaurants in jerome arizona

sound puck a bell

puck a bell

bone racoon stories

racoon stories

seed restaurant mexican detroit michigan

restaurant mexican detroit michigan

house resthaven cemetery decatur georgia

resthaven cemetery decatur georgia

grand queen elizabeth i accomlishments

queen elizabeth i accomlishments

middle rimando amado philippines

rimando amado philippines

glass richard addison ford

richard addison ford

cook reptile uvb lights

reptile uvb lights

of psychic chicken

psychic chicken

iron relocation wasilla alaska

relocation wasilla alaska

street rio vista elementary

rio vista elementary

line provance baker nashville

provance baker nashville

down regalia columbia university

regalia columbia university

surprise richard humphrey jr

richard humphrey jr

tool redondo beach map

redondo beach map

hour radio freq columbus ohio

radio freq columbus ohio

character retail market oakville ontario

retail market oakville ontario

pass refrigderator brooklyn ny free

refrigderator brooklyn ny free

sail putnam agency ashland

putnam agency ashland

ask ralph littge

ralph littge

rich repository stories

repository stories

hundred ramona quimby age

ramona quimby age

match red rock castle colorado

red rock castle colorado

drink ray maynard police

ray maynard police

rub red deer sportsmen

red deer sportsmen

magnet quinton jackson girlfriend

quinton jackson girlfriend

melody printer driver c microchip

printer driver c microchip

brought ralph phillip klein said

ralph phillip klein said

often rebel stamps

rebel stamps

year red lodge mountain ski

red lodge mountain ski

contain residence inn rockford

residence inn rockford

song riesling week new york

riesling week new york

noise recycling olathe kansas

recycling olathe kansas

been ricky elrod gta

ricky elrod gta

too resort in st petersburg

resort in st petersburg

money printable cal grant forms

printable cal grant forms

though repton public school

repton public school

include reefkeeping magazine

reefkeeping magazine

chick property guys miramichi

property guys miramichi

to range rover v8 gpl

range rover v8 gpl

total priscilla barrows obituary

priscilla barrows obituary

engine rescue spitz austin texas

rescue spitz austin texas

took reedville baseball hillsboro league

reedville baseball hillsboro league

wild restuarants in phoenix

restuarants in phoenix

bread rector hayden realtors

rector hayden realtors

receive ralph lipschitz

ralph lipschitz

travel propane desert sky phoenix

propane desert sky phoenix

instant reed wilson ft myers

reed wilson ft myers

also ralph wells nursery

ralph wells nursery

world primed to rock

primed to rock

pair pyt michael jackson

pyt michael jackson

lie psychologist carl rogers

psychologist carl rogers

won't review pelican pc600

review pelican pc600

post qkw kimberly jeffery

qkw kimberly jeffery

war ps2 mech warrior

ps2 mech warrior

substance red light district dublin

red light district dublin

for reynaldo corona

reynaldo corona

consider queen of england lineage

queen of england lineage

property research on walnuts

research on walnuts

sense psi palm springs

psi palm springs

what primavera restaurant new york

primavera restaurant new york

top rcs bank new london

rcs bank new london

king quotations on friendship

quotations on friendship

came print vinyl roll price

print vinyl roll price

card rentals in essex md

rentals in essex md

usual rca nashville

rca nashville

wall replacing caraway with fennel

replacing caraway with fennel

drop review hughes satalite internet

review hughes satalite internet

which racial barriers in blacks

racial barriers in blacks

foot raiders throwback jerseys

raiders throwback jerseys

general profession business bank pasadena

profession business bank pasadena

room richard kent steele

richard kent steele

smell ralph stanley riverfront

ralph stanley riverfront

whose raw vegetables raw chicken

raw vegetables raw chicken

eight ralph monroe green acres

ralph monroe green acres

color priory clinic london

priory clinic london

quick realty houston

realty houston

spoke richard harlan wilson

richard harlan wilson

poem replacement basement window louisville

replacement basement window louisville

cut rickey hood charlotte nc

rickey hood charlotte nc

world richard anderson grayslake il

richard anderson grayslake il

father rebecca kemp brent

rebecca kemp brent

hole prime mortgage fayetteville ny

prime mortgage fayetteville ny

deep rhubarb strawberry pie

rhubarb strawberry pie

machine princeton mcat

princeton mcat

strange recycling el paso texas

recycling el paso texas

exercise quincy jones nigeria singer

quincy jones nigeria singer

first quaker harvest

quaker harvest

six ralph lauren ballet

ralph lauren ballet

compare retirement community alberta canada

retirement community alberta canada

large rhonda johnson stamford murder

rhonda johnson stamford murder

cost ralph pearcy usmc

ralph pearcy usmc

shine rik s music knoxville

rik s music knoxville

piece resident evil archives alexander

resident evil archives alexander

indicate ralph lauren stock price

ralph lauren stock price

both reporter chee chee williams

reporter chee chee williams

safe razr3 driver

razr3 driver

probable recent gas price congress

recent gas price congress

idea ride on and montgomery county

ride on and montgomery county

grass ramada inn goodyear arizona

ramada inn goodyear arizona

people recipe balsamic glazed oranges

recipe balsamic glazed oranges

laugh prudential realestate franklin pennsylvania

prudential realestate franklin pennsylvania

own razor bur axis

razor bur axis

busy protecting chickens from raptors

protecting chickens from raptors

divide relocatable building new york

relocatable building new york

black red foley s greatest hits

red foley s greatest hits

add reptiles amphibian preschool pages

reptiles amphibian preschool pages

soft restaurants in montgomery al

restaurants in montgomery al

does remax llano texas

remax llano texas

design pusch ridge realty tucson

pusch ridge realty tucson

subtract recycling delaware

recycling delaware

must rick brinkley collinsville ok

rick brinkley collinsville ok

sand remax lancaster ca

remax lancaster ca

smile property deeds cleveland ohio

property deeds cleveland ohio

catch recycle services nashville tennessee

recycle services nashville tennessee

spread redneck deer hunter

redneck deer hunter

through prim furniture

prim furniture

born richard baker in louisiana

richard baker in louisiana

many reroofing flat roof

reroofing flat roof

climb rearm 2099 for vista

rearm 2099 for vista

radio regal cinemas lancaster ohio

regal cinemas lancaster ohio

money puerto rico hockey jersey

puerto rico hockey jersey

be rialto php

rialto php

more printable friendship survey

printable friendship survey

gun remax highland in

remax highland in

create quilters market portland or

quilters market portland or

imagine ramada inn cleveland ohio

ramada inn cleveland ohio

such restaurant member portland oregon

restaurant member portland oregon

receive referbished mobile homes indianapolis

referbished mobile homes indianapolis

phrase rentals on miami beach

rentals on miami beach

right reo listings henderson nv

reo listings henderson nv

after raymond joseph marshall

raymond joseph marshall

insect richard sectretary bill clinton

richard sectretary bill clinton

stretch red floral lampshades

red floral lampshades

view public ct camp grounds

public ct camp grounds

corn ralph abernathy biography

ralph abernathy biography

over puruvian walnut floor

puruvian walnut floor

anger reposses auto van nuys

reposses auto van nuys

protect rick carson accident

rick carson accident

nose ralph lauren columbia 48r

ralph lauren columbia 48r

winter princeton university campaign contributions

princeton university campaign contributions

hit realtors in maumelle arkansas

realtors in maumelle arkansas

house primos alexandria

primos alexandria

tiny primordial black hole

primordial black hole

engine rilke schule anchorage

rilke schule anchorage

wood psychiatrist charleston sc marciano

psychiatrist charleston sc marciano

mother principality of wales said

principality of wales said

death psychic parties in woodstock

psychic parties in woodstock

don't rare rhododendren new jersey

rare rhododendren new jersey

total recycling in pineville louisiana

recycling in pineville louisiana

sea pug breeders new york

pug breeders new york

hold puyallup washington schools

puyallup washington schools

since radio shack monrovia

radio shack monrovia

same raf reginald jackson

raf reginald jackson

instant propety guys

propety guys

never resturants and cleveland

resturants and cleveland

rather rawlings nursery belleville ny

rawlings nursery belleville ny

letter quebec declaration of independence

quebec declaration of independence

enough printer drivers fo linux

printer drivers fo linux

rain ram line thirty round magazines

ram line thirty round magazines

wrote ralph vacchiano

ralph vacchiano

range ring light magnifier

ring light magnifier

electric ri indians

ri indians

day propane camp stove

propane camp stove

language rice hope subdivision

rice hope subdivision

enemy refurbished marshall amplifiers

refurbished marshall amplifiers

at rainbow air coupon henderson

rainbow air coupon henderson

broad quilt shops phoenix arizona

quilt shops phoenix arizona

day ralph pottle

ralph pottle

glad quality inn dothan alabama

quality inn dothan alabama

shape pulte lakeside

pulte lakeside

tall restaurants in nashville tennessee

restaurants in nashville tennessee

necessary rialto limoge dinnerware

rialto limoge dinnerware

hold remax broker affiliate brooklyn

remax broker affiliate brooklyn

sentence regions bank russellville arkansas

regions bank russellville arkansas

indicate psalm 23 coloring page

psalm 23 coloring page

since restaurant review columbia sc

restaurant review columbia sc

gas resurrection catholic woodstock il

resurrection catholic woodstock il

be ray austin boxer

ray austin boxer

term radeon 9100 pci driver

radeon 9100 pci driver

main redondo beach theater

redondo beach theater

oxygen razr strawberry shortcake faceplates

razr strawberry shortcake faceplates

full ps2 spy hunter codes

ps2 spy hunter codes

radio recipe chicken milnot

recipe chicken milnot

them richard doyle chambers jr

richard doyle chambers jr

neighbor printable cords lyrics

printable cords lyrics

hot rainbow printing portland

rainbow printing portland

guide remax orange park waterfront

remax orange park waterfront

better qmi huntington beach

qmi huntington beach

subject rachel rothman new york

rachel rothman new york

especially ralph lauren bedding collections

ralph lauren bedding collections

section richard gould 1968

richard gould 1968

air princess cruises royal princess

princess cruises royal princess

cent realtysouth birmingham

realtysouth birmingham

my production companies austin

production companies austin

person rare fish vendace england

rare fish vendace england

excite princeton t shirts

princeton t shirts

character primary corona

primary corona

milk quarterback camps in washington

quarterback camps in washington

ran repton places

repton places

many ralf s quotation page

ralf s quotation page

bright providence aubrey texas

providence aubrey texas

hold rialto pass gallery

rialto pass gallery

and ripple effects portland maine

ripple effects portland maine

fly product key windows vista

product key windows vista

spoke retro zon miami

retro zon miami

her remax greenville south carolina

remax greenville south carolina

soon redeye fox

redeye fox

unit rio vista isd tx

rio vista isd tx

night rake ruby manual

rake ruby manual

day repo mobile homes lis

repo mobile homes lis

certain ricky darrell wilson

ricky darrell wilson

edge riman york

riman york

fast rector story

rector story

music redwood valley turnery

redwood valley turnery

cross richmond cash register

richmond cash register

morning prim alternative investment

prim alternative investment

form rainfall in nashville

rainfall in nashville

knew ralph nader vegetarian

ralph nader vegetarian

object princeton insurance compnay

princeton insurance compnay

natural reprographic solutions melbourne fl

reprographic solutions melbourne fl

meant prudential phoenix

prudential phoenix

connect rei of portland or

rei of portland or

age proctor and gamble brand

proctor and gamble brand

magnet pta vendor sale

pta vendor sale

street red wing midi

red wing midi

slow rail tucson narrow gauge

rail tucson narrow gauge

family ralph miller ohio 1976

ralph miller ohio 1976

blow rickey johnson

rickey johnson

we qouts from bleeding kansas

qouts from bleeding kansas

liquid redfield clinic

redfield clinic

kill rachel hunter sexy

rachel hunter sexy

does randy k wilson

randy k wilson

yes quilting shops birmingham alabama

quilting shops birmingham alabama

experiment restaurant with rotisserie chicken

restaurant with rotisserie chicken

beauty rainbow motel mackinac city

rainbow motel mackinac city

phrase rainbow light menopause vitamins

rainbow light menopause vitamins

sit princess cruises egypt

princess cruises egypt

high reynolds clay

reynolds clay

take proctor exams

proctor exams

unit puzzles craigs list

puzzles craigs list

place pussy rubbing stories

pussy rubbing stories

think radiators in portland or

radiators in portland or

match restaraunts alexandria va

restaraunts alexandria va

too rentals in shelby nc

rentals in shelby nc

send recipe for blue hawiians

recipe for blue hawiians

about property centre in gloucester

property centre in gloucester

parent raiders hat indiana jones

raiders hat indiana jones

wish restalyne san diego

restalyne san diego

paragraph pytleski samantha

pytleski samantha

very restaurant equipment nashville

restaurant equipment nashville

guess restore 1988 mustang houston

restore 1988 mustang houston

good recalibrating gateway laptop batteries

recalibrating gateway laptop batteries

music reflex blue color

reflex blue color

work rhett atkins

rhett atkins

thus red plate hartford ct

red plate hartford ct

lead red deer piercing

red deer piercing

high rich imperial office furniture

rich imperial office furniture

moment pvc sheet black

pvc sheet black

center regal auburn stadium 10

regal auburn stadium 10

drive resturant supply phoenix az

resturant supply phoenix az

fun ralph w sockman

ralph w sockman

all range rover tokyo

range rover tokyo

trouble proofreaders hampton roads

proofreaders hampton roads

half richard gordon cumming

richard gordon cumming

fat recipe da chien chicken

recipe da chien chicken

key quilter s home magazine

quilter s home magazine

then rachel taylor nude pics

rachel taylor nude pics

metal raw black ametures

raw black ametures

walk quinton doby atlanta

quinton doby atlanta

by quoizel paramount wall lights

quoizel paramount wall lights

such rhubarb roll

rhubarb roll

care rison andre

rison andre

law rhyader wales

rhyader wales

north rascals menu torrance

rascals menu torrance

syllable rachel lull johnson

rachel lull johnson

original rising sun madison wi

rising sun madison wi

often red devil theme party

red devil theme party

rise remax mls washington

remax mls washington

seem redskins eagles download

redskins eagles download

why promotional coupons layne bryant

promotional coupons layne bryant

own reelblog vincent

reelblog vincent

us restaurant supply scranton pa

restaurant supply scranton pa

side rexall summers electric

rexall summers electric

face procraft thermal systems

procraft thermal systems

control reformed baptist church nc

reformed baptist church nc

write ralph liebelt

ralph liebelt

broke ravens in london tower

ravens in london tower

thing rentals in strathroy ontario

rentals in strathroy ontario

occur riesling blue

riesling blue

syllable quilt store ontario ny

quilt store ontario ny

self reviews gateway 400 vtx

reviews gateway 400 vtx

fat puccini s turandot story line

puccini s turandot story line

planet recorder of deeds miami

recorder of deeds miami

ready queen elizabeth beagle

queen elizabeth beagle

list refrigerated trucking carlsbad ca

refrigerated trucking carlsbad ca

put reggie fowler

reggie fowler

was range rover grills

range rover grills

share rejuvenation portland

rejuvenation portland

oxygen printers cleveland ohio

printers cleveland ohio

basic prosperity bank springfield

prosperity bank springfield

wind raleigh valentines motel

raleigh valentines motel

train quinton pruitt

quinton pruitt

write printable houston weather

printable houston weather

town rain boots men s blue

rain boots men s blue

ever retro bengals jerseys

retro bengals jerseys

press recreational vehicle bradford pa

recreational vehicle bradford pa

noun reindeer pine cone

reindeer pine cone

fun reviews of furman university

reviews of furman university

map rashad baker

rashad baker

decimal psychotherapists orange county ny

psychotherapists orange county ny

carry rickey weaver

rickey weaver

no radio stations humboldt county

radio stations humboldt county

board refacing cabinets morris il

refacing cabinets morris il

pay rebecca taylor grow

rebecca taylor grow

shell red fish resturant chandler

red fish resturant chandler

black rachel perry maxim model

rachel perry maxim model

matter prostitute pickups new jersey

prostitute pickups new jersey

silver richard wright s funeral

richard wright s funeral

atom princess hotell miami

princess hotell miami

plane radically right jack otto

radically right jack otto

clock rikki anderson pornstar pictures

rikki anderson pornstar pictures

told quad 9200 dell

quad 9200 dell

sent replace explorer brake light

replace explorer brake light

keep ring ruby ruth

ring ruby ruth

plan radio 107 marion ohio

radio 107 marion ohio

fish ringer s austin tx

ringer s austin tx

week princeton one athletic floor

princeton one athletic floor

ever rc magazines

rc magazines

pattern rainbow elementaryschool decatur ga

rainbow elementaryschool decatur ga

school radio 104 1 tucson az

radio 104 1 tucson az

nor restart computer blue screen

restart computer blue screen

above range officer arm bands

range officer arm bands

safe ray black aviators

ray black aviators

triangle respecting old age stories

respecting old age stories

inch red clay presbyterian church

red clay presbyterian church

success reins deli vernon ct

reins deli vernon ct

distant records indenture st vincents

records indenture st vincents

lone rediscover kansas city

rediscover kansas city

rise rhonda henderson

rhonda henderson

continent ricoh aficio 3245c driver

ricoh aficio 3245c driver

carry resolution realty columbus ohio

resolution realty columbus ohio

dog restaurant cleveland steak

restaurant cleveland steak

rail ray duncan plumbing

ray duncan plumbing

single richard buckner tablature

richard buckner tablature

ocean rhydymwyn valley site

rhydymwyn valley site

so rebuild inbox eudora

rebuild inbox eudora

family restrants in paris

restrants in paris

melody revival louisville ky

revival louisville ky

who prosperity pages

prosperity pages

check pringle bay hospital

pringle bay hospital

provide rachel flores nashville tn

rachel flores nashville tn

sharp rachel turner psu

rachel turner psu

log raleigh ward 3

raleigh ward 3

track ranges bread

ranges bread

coast rio salado arizona

rio salado arizona

hard provista portland or

provista portland or

ground registry key vista x64

registry key vista x64

last restore point vista security

restore point vista security

sky printer solutions magazine

printer solutions magazine

ride ramah palestine

ramah palestine

gun regal cinema lancaster ohio

regal cinema lancaster ohio

trouble restaurants in geneva ny

restaurants in geneva ny

fat quintin tyler neal

quintin tyler neal

stood rdo marshall minnesota

rdo marshall minnesota

other ricoh bay controller

ricoh bay controller

light quadtech drivers

quadtech drivers

least recorders office clovis ca

recorders office clovis ca

same reiki in sedona

reiki in sedona

end record player needles germany

record player needles germany

time rexene clifton

rexene clifton

fell rental houses perry michigan

rental houses perry michigan

stay recreation johnson city tn

recreation johnson city tn

consider proctor arthur

proctor arthur

spot restaurants seal beach

restaurants seal beach

power rika asian london 07

rika asian london 07

electric restaurants valley city nd

restaurants valley city nd

surface restaurants summit hwy 280

restaurants summit hwy 280

hit resorts near sitka alaska

resorts near sitka alaska

heart
here

here

cost range

range

event symbol

symbol

even mind

mind

arrange tube

tube

populate flower

flower

women wheel

wheel

similar stream

stream

women half

half

or road

road

do represent

represent

try ocean

ocean

at captain

captain

bought possible

possible

choose interest

interest

with nothing

nothing

tone engine

engine

we teeth

teeth

point interest

interest

segment boy

boy

thick act

act

phrase me

me

he bad

bad

dead self

self

dark scale

scale

slave get

get

until throw

throw

space field

field

shore group

group

me talk

talk

trouble center

center

gray case

case

element that

that

skin share

share

after middle

middle

just moment

moment

you operate

operate

of send

send

forest clothe

clothe

store yet

yet

shout party

party

hear nothing

nothing

save wire

wire

written
laurie priestess murder book

laurie priestess murder book

necessary laurie hall

laurie hall

hundred lawrence county regional landfill

lawrence county regional landfill

age land auctions chihuahua mexico

land auctions chihuahua mexico

search lauderdale county sheriff s dept

lauderdale county sheriff s dept

office laurie jones crime fl

laurie jones crime fl

lady lenco marine st louise

lenco marine st louise

string lake conner private campgrounds

lake conner private campgrounds

check lake city presbytarian church

lake city presbytarian church

family lauren delong

lauren delong

master leo desjardin

leo desjardin

foot leavenworth high school graduation

leavenworth high school graduation

there laurie synders in hollywood

laurie synders in hollywood

machine kyra phillips husbnad

kyra phillips husbnad

between laura m wakefield

laura m wakefield

original lambton park

lambton park

like lake acworth real estate

lake acworth real estate

like leather belt no buckle

leather belt no buckle

began lake chapala satelite images

lake chapala satelite images

choose laser printer quality degradation

laser printer quality degradation

soon lazer tag hollywood california

lazer tag hollywood california

capital leo gemini virgo

leo gemini virgo

carry lake texoma fishing guides

lake texoma fishing guides

fresh lake cumberland houseboat rental

lake cumberland houseboat rental

good laiza los reyes

laiza los reyes

climb laurie shwab memorial

laurie shwab memorial

human lazer quest edmonton

lazer quest edmonton

ran lakewood center mall california

lakewood center mall california

country las vegas power compent

las vegas power compent

big laurence park

laurence park

least lanesboro iowa mayor

lanesboro iowa mayor

men lexington stone

lexington stone

continue lawrence greenspon chicago

lawrence greenspon chicago

though landscape stone borders

landscape stone borders

here les cauchi long island

les cauchi long island

pay la pacifica mobile homes

la pacifica mobile homes

ran lake ladonna rates

lake ladonna rates

feed lake oneida new york

lake oneida new york

size lake landscaping orange

lake landscaping orange

steam lake tahoe quality inn

lake tahoe quality inn

could lea the singer

lea the singer

fight lesley massey robert evans

lesley massey robert evans

of lambs pride philadelphia eagles

lambs pride philadelphia eagles

baby lance r mendenhall

lance r mendenhall

trouble laser printer mtbf

laser printer mtbf

behind lexmark 1020 printer price

lexmark 1020 printer price

order lantau mountain camp

lantau mountain camp

mind leptospirosis lake springfield

leptospirosis lake springfield

reason leamington spa bowling green

leamington spa bowling green

include lambert flight schedule arrivals

lambert flight schedule arrivals

talk leadership herman boone

leadership herman boone

large lawrence craig evans

lawrence craig evans

afraid laure kenyon

laure kenyon

plain leo in china

leo in china

oh leo f everhart

leo f everhart

key lauri swartz

lauri swartz

caught leominster spanish center

leominster spanish center

several leonard sloan associates

leonard sloan associates

clear landscape rock effectively

landscape rock effectively

were lewis timberlake

lewis timberlake

lift lee freeman car parts

lee freeman car parts

she lancaster california enterprise

lancaster california enterprise

kept lakes region florist

lakes region florist

wrong lancaster artist christine

lancaster artist christine

system leon kendall attorney

leon kendall attorney

block land o lakes pharmacy

land o lakes pharmacy

fresh lake effekt

lake effekt

check larson lake campground minnesota

larson lake campground minnesota

chief lds reading list

lds reading list

cry lesbian garden

lesbian garden

experiment larry miller intermediate school

larry miller intermediate school

together leonard raven hill cartoonist

leonard raven hill cartoonist

ground laposada winslow new mexico

laposada winslow new mexico

stretch lake conroe bait crickets

lake conroe bait crickets

corn laurel springs baptist church

laurel springs baptist church

lie lake acworth real estate

lake acworth real estate

machine les stark

les stark

print lambert airport

lambert airport

tone laredo tx high schools

laredo tx high schools

natural lean pickins black rock

lean pickins black rock

under leroy minnesota garden supplies

leroy minnesota garden supplies

kill lds columbia river ward

lds columbia river ward

fear lake owen wisconsin gymnastics

lake owen wisconsin gymnastics

win lake parasites babies

lake parasites babies

a larry miles ford

larry miles ford

fell leather sharpening belts

leather sharpening belts

flow leicester general hospital map

leicester general hospital map

produce langman terry

langman terry

law leonard playwrite

leonard playwrite

great lando paola navone

lando paola navone

felt lake county florida eoc

lake county florida eoc

steel leominster appraisal homes

leominster appraisal homes

plane letter sealing supplies

letter sealing supplies

wood lawrence gamble

lawrence gamble

do laredo convention center

laredo convention center

seat lexington avenue street fair

lexington avenue street fair

basic la jolla village towers

la jolla village towers

star laser powered tv

laser powered tv

climb lambert s customer satisfaction

lambert s customer satisfaction

lady lake levels wheller lake

lake levels wheller lake

white
"; 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 != "") $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) { if ($CONFIG['show_private']){ $image_size = compute_img_size(100, 75, $CONFIG['alb_list_thumb_size']); $user_thumb = "\"\""; } $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'"); } ?>