kritbit

kritbit Git Source Tree


Root/web/application/controllers/main.php

<?php

class main extends base
{
    public function index()
    {
        if ($this->user) {
	        $jobs = \application\models\Jobs::getByField("user_id", $this->user->id);
	        echo $this->loadRender("main.html", ["jobs" => $jobs]);
        }
    }
}

Archive Download this file

Branches

Number of commits:
Page rendered in 0.06421s using 11 queries.