new pisilinux web sites

This commit is contained in:
Erkan IŞIK
2026-07-01 16:44:17 +03:00
commit b58488b586
21740 changed files with 2066209 additions and 0 deletions
+28
View File
@@ -0,0 +1,28 @@
<?php namespace Project\Controllers;
use Method,URI;
/**
*
*/
class Duyuru extends Controller{
function main(){
$content = $this->Duyuru_model->contentList();
view::list($content);
}
function new(){
if (Method::post()){$this->Duyuru_model->new(Method::post());}
}
function edit(){
$id = Uri::get('edit');
if (Method::post()){$this->Duyuru_model->update(Method::post());}
View::id($id);
}
}