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
+32
View File
@@ -0,0 +1,32 @@
<?php namespace Project\Controllers;
use DB, Import, URL, Cookie, Session, ML, Method,URI;
class Sss extends Controller
{
function __construct(){if (!USERID) {redirect(URL::base('panel'));}}
function main(){
View::liste($this->sss_model->liste())->get('main');
//import::view('sss/index',$data);
}
function new(){
if (method::post()) {$this->sss_model->new(method::post());}
import::view('sss/new');
}
function delete(){
$id = Uri::get('delete');
DB::where('id',$id)->delete('sss');
redirect('sss');
}
function edit(){
$id = Uri::get('edit');
if (method::post()) {$this->sss_model->update(method::post());}
$edit = $this->sss_model->edit($id);
View::edit($edit);
}
}