This is simple joomla pagination script in template