Add SPOTA core PHP application

Add the main admin, dosen, mahasiswa, API, and service code needed to run the core legacy application with configurable upload storage.
This commit is contained in:
Power BI Dev
2026-05-02 10:08:52 +07:00
parent 874dbbe8e8
commit efdb11db3f
221 changed files with 43273 additions and 0 deletions

21
inc/web.class.php Normal file
View File

@@ -0,0 +1,21 @@
<?php
class web extends dB{
private $db;
public function __construct(){
$this->db=new db($dbsetting);
}
function web_title(){
$d=$this->db;
$d->runQuery("SELECT val as webtitle FROM web_setting WHERE id='1' AND name='web_title'");
if($d->dbRows()>0){
$r=$d->dbFetch();
echo $r['webtitle'];
}else{
return FALSE;
}
}
}
?>