<< prev'; }else{ $pagination .= '<< prev'; } }else{ $currPage = 1; $pagination .= '<< prev'; } $numPages = ceil($getNumPhotosNR/$perPage); $pagination .= ' - page '.$currPage.' of '.$numPages.' - '; if(isset($_GET['page'])){ if($_GET['page'] < $numPages){ $nextPage = $_GET['page'] + 1; $pagination .= ' next >>'; }else{ $pagination .= 'next >>'; } }else{ $pagination .= ' next >>'; } } echo '
'; echo '
'; echo '
'; $getNumFavsQ = "SELECT `num` FROM `cms_uploads` WHERE `tableName` = '$tableName' AND `fieldName` = '$fieldName' AND `recordNum` = '$recordNum' AND `info5` = '1'"; $getNumFavsR = mysql_query($getNumFavsQ); $getNumFavsNR = mysql_num_rows($getNumFavsR); if(isset($_GET['favs'])){ echo '
'.$getNumFavsNR.' Favorites View All Previews
'; }else{ echo '
'.$getNumFavsNR.' FavoritesView Favorites
'; } if(!isset($_GET['favs'])){ echo '
'.$pagination.'
'; } echo '
'; while($photos = mysql_fetch_assoc($getPhotosR)){ $thisfilename = fileName($photos['urlPath']); if($photos['info5'] > 0){ $savedChecked = ' CHECKED'; }else{ $savedChecked = ''; } if(isset($_GET['favs'])){ $detailBoxClass = 'detailBox2'; $detailImageClass = 'detailImage2'; $img = ''.$photos['info1'].''; $underimagefilename = '
'.$thisfilename.'
'; }else{ $detailBoxClass = 'detailBox2'; $detailImageClass = 'detailImage2'; $img = ''.$photos['info1'].''; $underimagefilename = '
'; } echo <<
$img $underimagefilename

{$photos['info1']}

FILENAME: EOD; echo $thisfilename; echo '
'; } if(!isset($_GET['favs'])){ echo '

'.$pagination.'
'; }else{ echo '

'; } echo '
'; } //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //END DEVELOPMENT CLASS ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// ?>

Danny Hagey Family
Fri, Oct 11th, 2013

Fatal error: Uncaught Error: Call to undefined function getPhotosWithFavsOlder() in /opt/websites/celuch/htdocs/content/portraits/portraitProofs2.php:202 Stack trace: #0 /opt/websites/celuch/htdocs/includes/celuchTemplate.php(94): include() #1 /opt/websites/celuch/htdocs/index.php(12): include_once('/opt/websites/c...') #2 {main} thrown in /opt/websites/celuch/htdocs/content/portraits/portraitProofs2.php on line 202