Subversion Repositories SmartDukaan

Rev

Rev 16591 | Rev 16708 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 16591 Rev 16601
Line 44... Line 44...
44
	</li>
44
	</li>
45
	<?php endforeach; ?>
45
	<?php endforeach; ?>
46
	</ul>	
46
	</ul>	
47
	<ul class="pager">
47
	<ul class="pager">
48
	<?php
48
	<?php
49
		// if(PaginatorHelper::hasPrev()){
49
		/*if($this->Paginator->hasPrev()){
50
			echo $this->Paginator->prev('< ' . __('previous'), array('tag' => 'li'), '&nbsp;', array('class' => 'prev disabled'));
50
			// echo $this->Paginator->prev('< ' . __('previous'), array('tag' => 'li'), '', array('class' => 'prev disabled'));
-
 
51
			echo '<li><a href="'.$base_url.$slug.'/'.$type."?page=".($page-1).'">Prev</a>';
51
		// }
52
		}
52
		// echo $this->Paginator->numbers(array('separator' => ''));
53
		// echo $this->Paginator->numbers(array('separator' => ''));
53
		// if(PaginatorHelper::hasNext()){
54
		if($this->Paginator->hasNext()){
54
			echo $this->Paginator->next(__('next') . ' >', array('tag' => 'li','slug1'=>$slug,'slug2'=>$type), null, array('class' => 'next disabled'));
55
			// echo $this->Paginator->next(__('next') . ' >', array('tag' => 'li','slug1'=>$slug,'slug2'=>$type), null, array('class' => 'next disabled'));
-
 
56
			echo '<li><a href="'.$base_url.$slug.'/'.$type."?page=".($page+1).'">Next</a>';
55
		// }
57
		}*/
56
	?>
58
	?>
57
	</ul>
59
	</ul>
58
	<?php else:?>
60
	<?php else:?>
59
	<div class="text-center text-danger">This url has expired. Please open Profitmandi app for new url</div>
61
	<div class="text-center text-danger">This url has expired. Please open Profitmandi app for new url</div>
60
	<?php endif;?>
62
	<?php endif;?>