aboutsummaryrefslogtreecommitdiffstats
path: root/htdocs/application/controllers/Iphone.php
blob: 22ee22f392ba63e0d8a96aab19ccdcbd45dd7107 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<?php if (!defined('BASEPATH')) {
    exit('No direct script access allowed');
}

class Iphone extends CI_Controller
{

    public function __construct()
    {
        parent::__construct();
        $this->load->model('languages');
    }

    public function index()
    {
        $this->load->model('pastes');
        $data = $this->pastes->getLists('iphone/');
        $this->load->view('iphone/recent', $data);
    }

    public function view()
    {
        $this->load->model('pastes');
        $data = $this->pastes->getPaste(3);
        $this->load->view('iphone/view', $data);
    }
}

© 2014-2024 Faster IT GmbH | imprint | privacy policy