@Dani, like catpaw said above teestuff is based on framework which is completely integrated app which does most of work. it is quite impossible to use its code in teeworlds-db
@toni, like above, Kohana PHP isn't pack of independent scripts. here is part of code which displays latest maps:
class Maps_Controller extends Website_Controller {
// ... other methods
function latest($page=1) {
// setting page title
$this->template->title = lang::s('title_latest_maps');
// setting heading
$this->template->heading = $this->template->title;
// setting instructions
$this->template->instructions = lang::s('ins_latest_maps');
// view items
$this->viewSorted('map', 'date', 'desc', $page);
}
}
and when you go to http://marines.vdl.pl/teestuff/maps/latest you will get paginated list of maps sorted by date desceding.
@catpaw, writing teeworlds-db with kohana help will be almost the same as teestuff from technical view :]
unfortunately i'm not good designer and i was forced to use ready template. if i find some better template i will use it as soon as possible.
and BTW just look at it ;] Kohana looks after safety instead of me