options( array('update' => 'update-target', 'url' => array('controller' => 'albums', 'action' => 'page_smart', 'id' => $album['Album']['id']), 'before' => "pagination_spinner();", "complete" => 'init_copiers(); do_img_load(); smart_double();')); $start = (int) $paginator->counter(array('format' => '%start%')); $total = (int) $paginator->counter(array('format' => '%count%')); } else { $start = 1; $total = count($images); } ?>

counter(array( 'format' => 'Showing %start%-%end% of %count%' ))); endif; ?>