include( "_config.inc.php" );
include( "_directories.inc.php" );
if( $id < 1 || $id > count( $bm_left_menu ) )
{
$id = 1;
}
$photo_num = $bm_dirs[ $id - 1 ][ 2 ];
if( $pid < 1 || $pid > $photo_num )
{
$pid = 1;
}
$per_page = 10;
$crt_page = floor( $pid / $per_page );
if( $pid % $per_page == 0 )
{
$li = ( ( $crt_page - 1 ) * $per_page ) + 1;
}
else
{
$li = ( $crt_page * $per_page ) + 1;
}
$ls = min( $li + $per_page - 1 , $photo_num );
include( "_header.inc.php" );
include( "_left.inc.php" );
?>
|

|
include( "_footer.inc.php" );
?>