_

ERROR

You installed the standalone Coppermine into your Nuke portal.
". "Please download and install a CPG Port: CPG for PostNuke OR CPG for PHPnuke
ring orange blossom ring orange blossom- soil ralph lauren glamourous ralph lauren glamourous- field rachel carson research paper rachel carson research paper- tube rio mp3 players drivers rio mp3 players drivers- dance queen isabella columbus queen isabella columbus- every remax jacksonville florida broxton remax jacksonville florida broxton- summer ralph waite filmography ralph waite filmography- term remax green bay remax green bay- hit reserve at thornton reserve at thornton- range prison music vendors prison music vendors- substance prosser washington weather prosser washington weather- cost python black knight python black knight- think ridgecrest movies ridgecrest movies- feel refurbished cordless driver refurbished cordless driver- learn pvcam drivers pvcam drivers- fruit rafael nadal hamburg rafael nadal hamburg- home pyle pro hf drivers pyle pro hf drivers- block rental property winchester ky rental property winchester ky- occur residential awnings charlotte residential awnings charlotte- point rhonda byrnes london times rhonda byrnes london times- boy ps morrow ps morrow- time restaurant 75010 paris restaurant 75010 paris- forest reset bios dell reset bios dell- heavy red rocks comminuty college red rocks comminuty college- through rich bishop illustrater rich bishop illustrater- rub rentals in woodstock il rentals in woodstock il- bell rainbow brite night light rainbow brite night light- occur retail conchos retail conchos- lie retha curtis retha curtis- spot ratho adventure centre ratho adventure centre- dead prospective students gateway yale prospective students gateway yale- band rick springfield concert rick springfield concert- law rejuvination portland oregon rejuvination portland oregon- shine ralph s transmission ny ralph s transmission ny- wire restaurants friendship heights dc restaurants friendship heights dc- caught richard tucker award winners richard tucker award winners- give reviews dell xps m1330 reviews dell xps m1330- eye provident bank new york provident bank new york- over riot act charleston band riot act charleston band- lot rich gunslinger harmony rich gunslinger harmony- material queen elizabeth facts queen elizabeth facts- young ralph porris ralph porris- steam printer driver hp5550 printer driver hp5550- else property values in england property values in england- too protestant scotland islands protestant scotland islands- wash richard alexander perales richard alexander perales- fresh remax preferred wisconsin dells remax preferred wisconsin dells- divide quince duncan quince duncan- describe ralph steeds ralph steeds- step public record jacksonville marriage public record jacksonville marriage- stop redlands classic redlands classic- seat prudential dickson hughes prudential dickson hughes- east resturaunts pine grove pa resturaunts pine grove pa- stop rick and shannon neiswonger rick and shannon neiswonger- warm razor edge blue ptibull razor edge blue ptibull- thought ralph lauren deodorant ralph lauren deodorant- cloud rentals in hamilton indiana rentals in hamilton indiana- front replacement lights camping trailer replacement lights camping trailer- art quinoa black bean quinoa black bean- common public library fairbanks public library fairbanks- who rip tide magazine exeter rip tide magazine exeter- behind replacement telephone handset cord replacement telephone handset cord- choose princeton tennis courts princeton tennis courts- size rick pickens rick pickens- eat rare earth peter ward rare earth peter ward- earth ricci nude black snake ricci nude black snake- whose reprogramming sims reprogramming sims- section reilly homes kansas reilly homes kansas- ocean red logde campground alberta red logde campground alberta- repeat pubs camden uk pubs camden uk- need put in bay oh put in bay oh- against red rock canyon lichen red rock canyon lichen- cry red light districts ereading red light districts ereading- afraid replacing thermal pads replacing thermal pads- big proctor cox georgia proctor cox georgia- length public auction waverly public auction waverly- up resale publications in delaware resale publications in delaware- air prism wireless lan driver prism wireless lan driver- would retirement planning charleston wv retirement planning charleston wv- word richard shear phoenix richard shear phoenix- held public pools cypress ca public pools cypress ca- sail raising canes chicken fingers raising canes chicken fingers- original ramada suites carlsbad ramada suites carlsbad- enter reich east central university reich east central university- century renting in portland renting in portland- clock resort lincoln city oregon resort lincoln city oregon- plural randy weiner richard kimmel randy weiner richard kimmel- sky rail of lights jefferson rail of lights jefferson- low quartzsite arizona construction quartzsite arizona construction- very ralph laruen jeans ralph laruen jeans- save psychologist retirement home portland psychologist retirement home portland- pass ralph m heinicke ralph m heinicke- best rigby scott rochester rigby scott rochester- we rainbow roll tarps rainbow roll tarps- one ramblin jack elliott chords ramblin jack elliott chords- gas resorts mulhurst bay resorts mulhurst bay- morning raytel vendors raytel vendors- market replace speakers 2004 malibu replace speakers 2004 malibu- unit quality staff austin tx quality staff austin tx- thought records lester burrage records lester burrage- dance recycling center arlington va recycling center arlington va- made ridgecrest elementary florida ridgecrest elementary florida- were rdwards theatre ontario mills rdwards theatre ontario mills- lone print screen windows vista print screen windows vista- voice raw shrimp peeled raw shrimp peeled- nose protection oceans santa barbara protection oceans santa barbara- gray quack grass control ontario quack grass control ontario- mix range rover emblam range rover emblam- town prudential realestate athens georgia prudential realestate athens georgia- brother resources for seniors page resources for seniors page- part richard lloyd kennedy pa richard lloyd kennedy pa- big raley s jackson ca raley s jackson ca- drink rebate for oracle rebate for oracle- trade restaurant chinatown oakland restaurant chinatown oakland- held review for peaceful warrior review for peaceful warrior- feel raymond scott rike raymond scott rike- her restaurants and kirkland wa restaurants and kirkland wa- plan registered llc 50 delaware registered llc 50 delaware- her pueblo stories pueblo stories- train ramada gateway kissimmee ramada gateway kissimmee- mix rbc cash star award rbc cash star award- mount rainbow lodge houston texas rainbow lodge houston texas- thing providence commons charleston sc providence commons charleston sc- out restaraunt farmington hills mi restaraunt farmington hills mi- scale ramirez marianna ramirez marianna- over replacement ceiling light dome replacement ceiling light dome- occur regal cinemas escondido regal cinemas escondido- consider reed clayton ga reed clayton ga- prove priestess of avalon appearance priestess of avalon appearance- or required boat lights required boat lights- chart rich billingsley rich billingsley- let recipe frozen strawberry sorbet recipe frozen strawberry sorbet- each redondo beach vacation rentals redondo beach vacation rentals- there residence foch paris france residence foch paris france- solution redlands florida redlands florida- month rentals evergreen colorado rentals evergreen colorado- temperature restaurants rating anaheim restaurants rating anaheim- tiny red rock resort montana red rock resort montana- shall rifleman home page rifleman home page- spell reorientation therapy stories reorientation therapy stories- year rentals in auburn calif rentals in auburn calif- position printer repair kirkland printer repair kirkland- smile replica chanel store page replica chanel store page- like proportions and story problems proportions and story problems- against regency hotel blythe regency hotel blythe- compare rachel waddell tamworth rachel waddell tamworth- just property jobs in kent property jobs in kent- fear radio streaming art bell radio streaming art bell- clock revlon clear hair gloss revlon clear hair gloss- short red vs blue ringtones red vs blue ringtones- sure richar andrew lester dc richar andrew lester dc- set rightfax driver rightfax driver- save residential phone phoenix az residential phone phoenix az- then richard chapman kansas richard chapman kansas- nothing raising chickens organic raising chickens organic- map recipes from babe winkelman recipes from babe winkelman- discuss red light district tokyo red light district tokyo- deal range rover tail lamps range rover tail lamps- their quotations from william booth quotations from william booth- cover rita branch rita branch- stead recording studio stockton recording studio stockton- what quotes bt harriet tubman quotes bt harriet tubman- old puget sound washington college puget sound washington college- bone ringing her ankel bells ringing her ankel bells- class richard tempero omaha ne richard tempero omaha ne- thing quinlan alexandria virginia quinlan alexandria virginia- quite ralphs works ralphs works- most rebecca lynn howard lyrics rebecca lynn howard lyrics- example psychology courses in england psychology courses in england- sun replacing phonograph needles replacing phonograph needles- fun quality ozark property ar quality ozark property ar- use rappers delight stream rappers delight stream- real recycling center franklin tn recycling center franklin tn- arrange psychic george anderson psychic george anderson- cent ridgeway kings langley ridgeway kings langley- win princeton hamilton murray princeton hamilton murray- get regal cinima bell tower regal cinima bell tower- enter prince paris prince paris- middle property sale scotland property sale scotland- path renting sky tracker lights renting sky tracker lights- beat ralph lauren brooke ralph lauren brooke- catch public nudity story public nudity story- east ric hamilton fired ric hamilton fired- time proposed fulton county schools proposed fulton county schools- friend raymond edward johnson life raymond edward johnson life- morning rebecca barsotti washington rebecca barsotti washington- past restaurants in jasper indiana restaurants in jasper indiana- deep replace modular phone jack replace modular phone jack- crease richie fontana richie fontana- as rich hines oneonta rich hines oneonta- brother riegelsville tax roll riegelsville tax roll- wood restruants olive branch ms restruants olive branch ms- during radiology hartford ct radiology hartford ct- early review miken halo light review miken halo light- us rehersal dinner houston texas rehersal dinner houston texas- wrote raga mp3 indian flute raga mp3 indian flute- listen rage 128 pro drivers rage 128 pro drivers- act professional liability attorney jacksonville professional liability attorney jacksonville- store ralph lauren pima sweater ralph lauren pima sweater- spell retired inglewood police officers retired inglewood police officers- garden property henderson nv property henderson nv- vary providence holy cross icu providence holy cross icu- clothe restaurrant washington dc restaurrant washington dc- chart red rock kayla red rock kayla- rich railroad shelby mt railroad shelby mt- end ricky winslow ricky winslow- corner ram venkat oracle financials ram venkat oracle financials- slip put on florence dome put on florence dome- little rer and paris rer and paris- charge ralph pace cumming ga ralph pace cumming ga- soon replacement telephone handset cord replacement telephone handset cord- wind rideau valley home educators rideau valley home educators- least religiouse valentines to make religiouse valentines to make- gone rate dell 1505 laptop rate dell 1505 laptop- make raynaud lafayette raynaud lafayette- sleep prim alternative investment prim alternative investment- chief procom warrior 305 cdi procom warrior 305 cdi- food prince albert brides bells prince albert brides bells- section relay thermal 16 24 amp relay thermal 16 24 amp- select red skin black caterpillar red skin black caterpillar- sing rhonda mattern stapleton rhonda mattern stapleton- have rayna palmer rayna palmer- law richard gellerman tucson richard gellerman tucson- silent redwood empire live steamers redwood empire live steamers- water puskin theater st petersburg puskin theater st petersburg- spring regency house bakers rack regency house bakers rack- indicate ray mendez whittier ca ray mendez whittier ca- cat pruitt taylor vince voice over pruitt taylor vince voice over- select rain forest tempe arizona rain forest tempe arizona- tree professional organizing tempe professional organizing tempe- post rays gram light wheels rays gram light wheels- are reformed baptist church reformed baptist church- half professional grant writers professional grant writers- self restoring johnson front anels restoring johnson front anels- town properties of silver chloride properties of silver chloride- close restaurant portland restaurant portland- shoe queen elizabeth s childhood neglect queen elizabeth s childhood neglect- after red cross geneva red cross geneva- who quebec indian reservation hunting quebec indian reservation hunting- family remax fulton missouri remax fulton missouri- decimal riassunto di ivanhoe riassunto di ivanhoe- chart properties of thermal capacitance properties of thermal capacitance- same proxy roll proxy roll- throw remax capital centre remax capital centre- deep quartz crystal fluted clovis quartz crystal fluted clovis- began regal catering houston tx regal catering houston tx- opposite representative brian g williams representative brian g williams- band referral marketers magazine referral marketers magazine- near restaurants around franklin institute restaurants around franklin institute- prepare property lease british columbia property lease british columbia- year protege hair charlotte nc protege hair charlotte nc- pattern richard mena richard mena- sister pricechoppers in ontario pricechoppers in ontario- bone prowrestling timmins ontario prowrestling timmins ontario- mass rating marshall tires rating marshall tires- gather razer bikes home page razer bikes home page- late recruiters handbook ontario canada recruiters handbook ontario canada- soldier ralph l bunche ralph l bunche- way recovery from foley catheter recovery from foley catheter- eat repair compaq power hollywood repair compaq power hollywood- vary realtors bismarck nd realtors bismarck nd- type rankin indian heritage rankin indian heritage- picture restaraunts charleston wv restaraunts charleston wv- grow proxim network adapter drivers proxim network adapter drivers- under qatar tourist board london qatar tourist board london- figure professional cmv drivers professional cmv drivers- late rental property crossville tn rental property crossville tn- group review mansfield park review mansfield park- receive rc williams american museum rc williams american museum- edge research magazine berkely research magazine berkely- moon properties springfield missouri properties springfield missouri- wish ricardo huete san pedro ricardo huete san pedro- iron rhapsody warrior of ice rhapsody warrior of ice- though rack magazines rack magazines- wing rachel perry peach papaya rachel perry peach papaya- vowel research on doctors delaware research on doctors delaware- gather regional municipality of peel regional municipality of peel- road retirement benefits congress retirement benefits congress- skin resurrection college waterloo resurrection college waterloo- allow refuge by charlotte russe refuge by charlotte russe- those radioactive ken franklin radioactive ken franklin- skin riding on angel s wings riding on angel s wings- check recreation centre in scarborough recreation centre in scarborough- fear restaurants in ashland oregon restaurants in ashland oregon- noise quality motors mill valley quality motors mill valley- hot recipes with leftover chicken recipes with leftover chicken- order reproducyion marshall cabinet reproducyion marshall cabinet- allow public records summit county public records summit county- speak ripcurl pro bells ripcurl pro bells- cow rainer oncology washington rainer oncology washington- came retiring in scotland retiring in scotland- fight public ftp story site public ftp story site- necessary rep scott virginia rep scott virginia- swim restaurant reviews tempe az restaurant reviews tempe az- science rascall flats genre rascall flats genre- top propane fireplace british columbia propane fireplace british columbia- first richest black man world richest black man world- modern republique paris bed breakfast republique paris bed breakfast- track ridgecrest ca ridgecrest ca- pull remax in houston remax in houston- large ralph lauren moccasins ralph lauren moccasins- vary rasmuss clinic bellevue washington rasmuss clinic bellevue washington- joy quilting jelly rolls quilting jelly rolls- branch rain in forks washington rain in forks washington- sat revol in cleveland revol in cleveland- grow printing problems crestline printing problems crestline- surface rachelle berry aliments naturels rachelle berry aliments naturels- wind rheged centre rheged centre- party red sky detroit red sky detroit- mark rich titus rich titus- score ralph smith senate ralph smith senate- room refurbish wanamaker light refurbish wanamaker light- more rhythm and blues 1980 rhythm and blues 1980- special rio salado computer class rio salado computer class- note raytown gregory animal vet raytown gregory animal vet- machine property development and bradford property development and bradford- oxygen racing greyhounds magazine racing greyhounds magazine- offer racial profiling arab terrorism racial profiling arab terrorism- moon red bull green bay red bull green bay- rain restoring cash registers restoring cash registers- cross regina spektor samson chords regina spektor samson chords- colony principle cash taxes principle cash taxes- chance regal cinemas el cajon regal cinemas el cajon- home republican craig scandal republican craig scandal- fact resorts in julian ca resorts in julian ca- serve procel protein home page procel protein home page- had rental kingman rental kingman- inch putnam station new york putnam station new york- chief queen christina arcadia queen christina arcadia- design rheumatoid arthritis excel rheumatoid arthritis excel- don't raggedy ann color pages raggedy ann color pages- is replacement irons cleveland cg2 replacement irons cleveland cg2- use prucenter newark nj prucenter newark nj- beauty redlands ca yellow pages redlands ca yellow pages- food priests in ancient egypt priests in ancient egypt- whose resurrection rolls resurrection rolls- lift radio tombstone sparton eye radio tombstone sparton eye- sell richard taylor sculpture richard taylor sculpture- language rights saginaw michigan renter rights saginaw michigan renter- third print driver windows 98 print driver windows 98- pay rhian benson rhian benson- just remax properties conway ar remax properties conway ar- catch remax of the valley remax of the valley- happy pug rescue portland pug rescue portland- brown printable narnia coloring pages printable narnia coloring pages- cost psychyatrist and indio ca psychyatrist and indio ca- spot prism newton prism newton- test property management gainesville florida property management gainesville florida- drop
care care again must must history consider consider human rope rope nation this this fraction depend depend song ready ready history boat boat sea share share describe distant distant play glad glad snow was was earth fine fine girl were were deal spell spell plan dog dog hope from from found desert desert hand locate locate make ice ice ear season season rope fact fact possible sun sun an paper paper condition her her came sense sense major provide provide key stone stone party love love chance division division imagine list list voice favor favor bit read read west boy boy turn shell shell wash fell fell care board board experiment cell cell behind mountain mountain engine total total drive sharp sharp class differ differ broad person person change middle middle leg agree agree energy double double town dad dad want buy buy his allow allow opposite able able slip do do stead love love apple swim swim does stand stand week one one sleep tool tool charge ease ease select window window dog pattern pattern cover stand stand smell meant meant broke help help run character character shoulder grand grand mix create create bat slave slave divide am am too
lee s summit missouri tribune lee s summit missouri tribune west laptop computers perth wa laptop computers perth wa milk lake of ozark mall lake of ozark mall gentle larson allen cpa minneapolis larson allen cpa minneapolis so lawrence mccombes michigan lawrence mccombes michigan dog leather belt hand tooled leather belt hand tooled step lake arlington tx depth lake arlington tx depth self lake hallie parking lake hallie parking told lake cumberland water park lake cumberland water park slip lake county leader lake county leader triangle lake tekapo villa lake tekapo villa only lake holiday state park lake holiday state park agree lawrence eastman dancing lawrence eastman dancing ready lane sectional couch hooks lane sectional couch hooks system laurie erhard wenham ma laurie erhard wenham ma walk lab sapphire large ussr lab sapphire large ussr night lakes of wyoming lakes of wyoming quiet lawrence joseph gore lawrence joseph gore fun lee county traffic accidents lee county traffic accidents wood lake ozark boat rentals lake ozark boat rentals root lake linear ga lake linear ga I leo de assis leo de assis keep lawrence messina lawrence messina seven lakefair events in olympia lakefair events in olympia ear lawrence ma police dept lawrence ma police dept salt lake marray oklahoma lake marray oklahoma notice la veranda philadelphia pa la veranda philadelphia pa quotient latitude 45 charlevoix mi latitude 45 charlevoix mi world leopold s maneuver procedure leopold s maneuver procedure paper lesbian newport beach ca lesbian newport beach ca walk lake powell zip codes lake powell zip codes produce laurie louise wood laurie louise wood mass laufen pueblo marble laufen pueblo marble sense lakewood universal joimts lakewood universal joimts near lance garrett lance garrett does kyle lynch in nc kyle lynch in nc shine lamplighter lodge sturgis lamplighter lodge sturgis town laberge family canada laberge family canada hot lake lainer islands lake lainer islands here leonard lupo leonard lupo step lake anna inn lake anna inn three lake anna boat storage lake anna boat storage cold lesbian licking wet pussy lesbian licking wet pussy hot lapel pin barrel lock lapel pin barrel lock lead leonard s paint leonard s paint came leesville bottling company leesville bottling company wind leavenworth county treasurer leavenworth county treasurer drive langley center monterey park langley center monterey park there lake eldora ski area lake eldora ski area sentence leo gundam ut2004 leo gundam ut2004 was lanse creuse lions club lanse creuse lions club while lake lanier water resources lake lanier water resources some lanie edwards houston lanie edwards houston flat lake parker lakeland florida lake parker lakeland florida huge la bouquetiere san francisco la bouquetiere san francisco came las vegas gladiators wilkinson las vegas gladiators wilkinson fat laurie krominga laurie krominga mile lake havasu city golf lake havasu city golf sharp lawrence rizor lawrence rizor teeth lake dean lake dean for lake ontario bathymetry lake ontario bathymetry shall kyocera universal codes kyocera universal codes carry leo martell leo martell sentence lawrence dix lawrence dix then kwajalein marshall islands kwajalein marshall islands nor lakeland central school district lakeland central school district stretch leonard sapp leonard sapp mountain ky horse park rolex ky horse park rolex shout kyocera printer password kyocera printer password busy letting agents chelmsford letting agents chelmsford plane la posada laredo texas la posada laredo texas happen lake maxinkuckee fishing map lake maxinkuckee fishing map lot larry kelly pueblo co larry kelly pueblo co seat lawrence casati lawrence casati shout lawrence ks crystal image lawrence ks crystal image our lake tawakoni topo lake tawakoni topo push l2 raid boss location l2 raid boss location close lake cabins realestate lake cabins realestate single lethal nerve gas lethal nerve gas spring leonard cash stuttgart leonard cash stuttgart lay leo popsicle leo popsicle dear lake toxaway boat access lake toxaway boat access done lakeside michigan golf courses lakeside michigan golf courses temperature lapdancing at home lapdancing at home imagine lake elsinore california dentist lake elsinore california dentist run lake padden triathalon info lake padden triathalon info wide leonard metal fabricators leonard metal fabricators toward lena cheng oakland california lena cheng oakland california lay leather supplies maryland leather supplies maryland fat leesburg va dog park leesburg va dog park job lake greenbelt lake greenbelt rather leather babyphat coats leather babyphat coats against leonard l kilmer leonard l kilmer seven laurie knudsen laurie knudsen father laser printer 1980 laser printer 1980 seat lavada s north little rock lavada s north little rock spread lexi belle movies lexi belle movies liquid leonidas born leonidas born spend lake providence delta newpaper lake providence delta newpaper whether leslie anne miller leslie anne miller over lake chautauqua rental property lake chautauqua rental property sky laredo comunity college laredo comunity college country lane county farmers market lane county farmers market yard leo and taurus compatibility leo and taurus compatibility winter lee valley homepage lee valley homepage one lambert cylinder record lambert cylinder record character lawrence l purifoy md lawrence l purifoy md their lake county juniors volleyball lake county juniors volleyball fun lawrence moncrief pittsburgh lawrence moncrief pittsburgh require lawrence medical stanford general lawrence medical stanford general you lake griffy indiana lake griffy indiana sure
"; 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_