Subversion Repositories SmartDukaan

Rev

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

Rev 16591 Rev 16594
Line 23... Line 23...
23
 * @return void
23
 * @return void
24
 */
24
 */
25
	public function index($slug,$type='android') {
25
	public function index($slug,$type='android') {
26
		$slug = $this->params['slug1'];
26
		$slug = $this->params['slug1'];
27
		$type = $this->params['slug2'];
27
		$type = $this->params['slug2'];
28
		$me = base64_decode($slug);
28
		$me = $slug-1984;
29
		$appOffers = array();
29
		$appOffers = array();
30
		$url = "http://104.200.25.40:8057/appOffers/1";
30
		$url = "http://104.200.25.40:8057/appOffers/1";
31
		$appOffers = $this->make_request($url,null);
31
		$appOffers = $this->make_request($url,null);
32
		$this->set(compact('appOffers','me','slug','type'));
32
		$this->set(compact('appOffers','me','slug','type'));
33
		// $this->set('appOffers', $this->Paginator->paginate());
33
		// $this->set('appOffers', $this->Paginator->paginate());