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
+22
View File
@@ -0,0 +1,22 @@
<?php namespace Project\Controllers;
use DB, Import, URL, Cookie, Session, Method;
class Ajax extends Controller{
function dissolved(){
$id = Method::post('id');
$s = DB::select('dissolved')->where('id',$id)->get('forum')->value();
if ($s == '1') {
$dissolved = '0';
}else{
$dissolved = '1';
}
DB::where('id',$id)->update('forum',['dissolved' => $dissolved]);
}
}