opentable($locale['419'].$data['photo_title']); if(dbrows($result)!=1){ echo "

".$locale['428']."

\n"; }else{ $img_filename = PHOTOS.$photo.".jpg"; $imgsize=@getimagesize($img_filename); $prev=@dbresult(@dbquery("SELECT t2.photo_id FROM ".$db_prefix."photos t1 JOIN ".$db_prefix."photos t2 WHERE t1.photo_order=t2.photo_order+1 AND t1.album_id=t2.album_id AND t1.photo_id='".$photo."'"),0); $next=@dbresult(@dbquery("SELECT t2.photo_id FROM ".$db_prefix."photos t1 JOIN ".$db_prefix."photos t2 WHERE t1.photo_order=t2.photo_order-1 AND t1.album_id=t2.album_id AND t1.photo_id='".$photo."'"),0); echo "
\n\n
".$locale['429']." ".$locale['427']." ".$locale['430']."
\n
".$locale[
".$locale['420'].$imgsize[0]." x ".$imgsize[1].$locale['421']."(".parseByteSize(filesize($img_filename)).")
".$locale['422']."".$data['user_name']."".$locale['423']."".showdate("shortdate", $data['photo_date']).".
".$locale['424']."".$data['photo_views']."".$locale['425']."
"; } closetable();