= 0 ) { $page['start'] = floor( $HTTP_GET_VARS['num'] / $page['nb_image_page'] ) * $page['nb_image_page']; } // retrieving category information $result = get_cat_info( $page['cat'] ); $cat['local_dir'] = $result['local_dir']; $cat['dir'] = $result['dir']; $cat['name'] = $result['name']; $cat['site_id'] = $result['site_id']; $cat['nb_images'] = $result['nb_images']; $url = "./admin.php?page=infos_images&cat_id=".$page['cat']; $page['navigation_bar'] = create_navigation_bar( $url, $cat['nb_images'], $page['start'], $page['nb_image_page'], "" ); echo"
".$lang['infoimage_general']." \"".get_cat_display_name( $cat['name'], " - ", "font-style:italic;" )."\"
".$lang['author']."
".$lang['infoimage_useforall']."
".$lang['infoimage_creation_date']." [DD/MM/YYYY]
".$lang['infoimage_useforall']."
"; echo" "; $query = "select id,file,comment,author,tn_ext,name,date_creation"; $query.= " from $prefixeTable"."images"; $query.= " where cat_id = ".$page['cat']; $query.= $conf['order_by']; $query.= " limit ".$page['start'].",".$page['nb_image_page']; $query.= ";"; $result = mysql_query( $query ); $i = 1; while ( $row = mysql_fetch_array( $result ) ) { echo" "; // création des liens vers la miniature $file = substr ( $row['file'], 0, strrpos ( $row['file'], ".") ); if ( $cat['site_id'] == 1 ) { $lien_thumbnail = "../galleries/".$cat['local_dir']."/"; } else { $lien_thumbnail = $cat['dir']; } $lien_thumbnail.= "thumbnail/".$conf['prefixe_thumbnail'].$file.".".$row['tn_ext']; // création du "style" de la ligne $style = "style=\"text-align:center;\""; if ( $i%2 == 0 ) { $style.= " class=\"row2\""; } echo" "; echo" "; $i++; } echo"
".$lang['infoimage_detailed']."
".$page['navigation_bar']."
".$lang['thumbnail']." ".$lang['infoimage_title']." ".$lang['author']." ".$lang['infoimage_comment']." ".$lang['infoimage_creation_date']."
\"\" $file
"; } ?>