Add the main admin, dosen, mahasiswa, API, and service code needed to run the core legacy application with configurable upload storage.
21 lines
349 B
PHP
21 lines
349 B
PHP
<?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;
|
|
}
|
|
}
|
|
}
|
|
?>
|