|
|
|
# File Index
|
|
|
|
|
|
|
|
## File List
|
|
|
|
|
|
|
|
Here is a list of all files with brief descriptions:
|
|
|
|
|
|
|
|
**library/config.php**
|
|
|
|
|
|
|
|
**library/function\_antiinjection.php**
|
|
|
|
|
|
|
|
**library/function\_date.php**
|
|
|
|
|
|
|
|
**library/function\_form.php**
|
|
|
|
|
|
|
|
**library/function\_menu.php**
|
|
|
|
|
|
|
|
**library/function\_remove.php**
|
|
|
|
|
|
|
|
**library/function\_seo.php**
|
|
|
|
|
|
|
|
**library/function\_table.php**
|
|
|
|
|
|
|
|
**library/function\_template.php**
|
|
|
|
|
|
|
|
**library/function\_unzip.php**
|
|
|
|
|
|
|
|
**library/konek.php**
|
|
|
|
|
|
|
|
# File Documentation
|
|
|
|
|
|
|
|
## library/config.php File Reference
|
|
|
|
|
|
|
|
### Variables
|
|
|
|
|
|
|
|
- . **$host** = "localhost"
|
|
|
|
- . **$user** = "root"
|
|
|
|
- . **$pass** = ""
|
|
|
|
- . **$db** = "cms\_stis"
|
|
|
|
- . **$mysqli** = new mysqli($host, $user, $pass, $db)
|
|
|
|
- . **$nama\_hari** = array("Minggu","Senin","Selasa","Rabu","Kamis","Jumat","Sabtu")
|
|
|
|
- . **$hari** = date("w")
|
|
|
|
- . **$hari\_ini** = $nama\_hari[$hari]
|
|
|
|
- . **$tgl\_sekarang** = date("d")
|
|
|
|
- . **$bln\_sekarang** = date("m")
|
|
|
|
- . **$thn\_sekarang** = date("Y")
|
|
|
|
- . **$tanggal** = date('Ymd')
|
|
|
|
- . **$jam** = date("H:i:s")
|
|
|
|
|
|
|
|
### Variable Documentation
|
|
|
|
|
|
|
|
#### $bln\_sekarang = date("m")
|
|
|
|
|
|
|
|
#### $db = "cms\_stis"
|
|
|
|
|
|
|
|
#### $hari = date("w")
|
|
|
|
|
|
|
|
#### $hari\_ini = $nama\_hari[$hari]
|
|
|
|
|
|
|
|
#### $host = "localhost"
|
|
|
|
|
|
|
|
#### $jam = date("H:i:s")
|
|
|
|
|
|
|
|
#### $mysqli = new mysqli($host, $user, $pass, $db)
|
|
|
|
|
|
|
|
#### $nama\_hari = array("Minggu","Senin","Selasa","Rabu","Kamis","Jumat","Sabtu")
|
|
|
|
|
|
|
|
#### $pass = ""
|
|
|
|
|
|
|
|
#### $tanggal = date('Ymd')
|
|
|
|
|
|
|
|
#### $tgl\_sekarang = date("d")
|
|
|
|
|
|
|
|
#### $thn\_sekarang = date("Y")
|
|
|
|
|
|
|
|
#### $user = "root"
|
|
|
|
|
|
|
|
## library/function\_antiinjection.php File Reference
|
|
|
|
|
|
|
|
### Functions
|
|
|
|
|
|
|
|
- . **antiinjeksi** ($text)
|
|
|
|
|
|
|
|
### Function Documentation
|
|
|
|
|
|
|
|
#### antiinjeksi ( _$text_)
|
|
|
|
|
|
|
|
## library/function\_date.php File Reference
|
|
|
|
|
|
|
|
### Functions
|
|
|
|
|
|
|
|
- . **tgl\_indonesia** ($tgl)
|
|
|
|
|
|
|
|
### Function Documentation
|
|
|
|
|
|
|
|
#### tgl\_indonesia ( _$tgl_)
|
|
|
|
|
|
|
|
## library/function\_form.php File Reference
|
|
|
|
|
|
|
|
### Functions
|
|
|
|
|
|
|
|
- . **buka\_form** ($link, $id, $aksi)
|
|
|
|
- . **buat\_textbox** ($label, $nama, $nilai, $lebar='4', $tipe="text")
|
|
|
|
- . **lihat\_textbox** ($label, $nama, $nilai, $lebar='4', $tipe="text")
|
|
|
|
- . **buat\_textarea** ($label, $nama, $nilai, $class='')
|
|
|
|
- . **lihat\_textarea** ($label, $nama, $nilai, $class='')
|
|
|
|
- . **buat\_combobox** ($label, $nama, $list, $nilai, $lebar='4')
|
|
|
|
- . **buat\_checkbox** ($label, $nama, $list)
|
|
|
|
- . **buat\_radio** ($label, $nama, $list)
|
|
|
|
- . **buat\_imagepicker** ($label, $nama, $nilai, $lebar='4')
|
|
|
|
- . **tutup\_form** ($link)
|
|
|
|
- . **verifikator\_form** ($link, $label1, $label2, $ikon)
|
|
|
|
- . **lihat\_form** ($link)
|
|
|
|
|
|
|
|
### Function Documentation
|
|
|
|
|
|
|
|
#### buat\_checkbox ( _$label_, _$nama_, _$list_)
|
|
|
|
|
|
|
|
#### buat\_combobox ( _$label_, _$nama_, _$list_, _$nilai_, _$lebar_ = '4')
|
|
|
|
|
|
|
|
#### buat\_imagepicker ( _$label_, _$nama_, _$nilai_, _$lebar_ = '4')
|
|
|
|
|
|
|
|
#### buat\_radio ( _$label_, _$nama_, _$list_)
|
|
|
|
|
|
|
|
#### buat\_textarea ( _$label_, _$nama_, _$nilai_, _$class_ = '')
|
|
|
|
|
|
|
|
#### buat\_textbox ( _$label_, _$nama_, _$nilai_, _$lebar_ = '4', _$tipe_ = "text")
|
|
|
|
|
|
|
|
#### buka\_form ( _$link_, _$id_, _$aksi_)
|
|
|
|
|
|
|
|
#### lihat\_form ( _$link_)
|
|
|
|
|
|
|
|
#### lihat\_textarea ( _$label_, _$nama_, _$nilai_, _$class_ = '')
|
|
|
|
|
|
|
|
#### lihat\_textbox ( _$label_, _$nama_, _$nilai_, _$lebar_ = '4', _$tipe_ = "text")
|
|
|
|
|
|
|
|
#### tutup\_form ( _$link_)
|
|
|
|
|
|
|
|
#### verifikator\_form ( _$link_, _$label1_, _$label2_, _$ikon_)
|
|
|
|
|
|
|
|
## library/function\_menu.php File Reference
|
|
|
|
|
|
|
|
### Functions
|
|
|
|
|
|
|
|
- . **buat\_menu** ($link, $ikon, $judul, $leveluser=array("admin"))
|
|
|
|
- . **buat\_submenu** ($link, $judul, $leveluser=array("admin", "author", "verifikator"))
|
|
|
|
- . **buka\_dropdown** ($ikon, $judul, $leveluser=array("admin", "author", "verifikator"))
|
|
|
|
- . **tutup\_dropdown** ($leveluser=array("admin", "author", "verifikator"))
|
|
|
|
|
|
|
|
### Function Documentation
|
|
|
|
|
|
|
|
#### buat\_menu ( _$link_, _$ikon_, _$judul_, _$leveluser_ = array("admin"))
|
|
|
|
|
|
|
|
#### buat\_submenu ( _$link_, _$judul_, _$leveluser_ = array("admin", "author", "verifikator"))
|
|
|
|
|
|
|
|
#### buka\_dropdown ( _$ikon_, _$judul_, _$leveluser_ = array("admin", "author", "verifikator"))
|
|
|
|
|
|
|
|
#### tutup\_dropdown ( _$leveluser_ = array("admin", "author", "verifikator"))
|
|
|
|
|
|
|
|
## library/function\_remove.php File Reference
|
|
|
|
|
|
|
|
### Functions
|
|
|
|
|
|
|
|
- . **hapus\_folder** ($path)
|
|
|
|
|
|
|
|
### Function Documentation
|
|
|
|
|
|
|
|
#### hapus\_folder ( _$path_)
|
|
|
|
|
|
|
|
## library/function\_seo.php File Reference
|
|
|
|
|
|
|
|
### Functions
|
|
|
|
|
|
|
|
- . **convert\_seo** ($kata)
|
|
|
|
|
|
|
|
### Function Documentation
|
|
|
|
|
|
|
|
#### convert\_seo ( _$kata_)
|
|
|
|
|
|
|
|
## library/function\_table.php File Reference
|
|
|
|
|
|
|
|
### Functions
|
|
|
|
|
|
|
|
- . **buka\_tabel** ($judul)
|
|
|
|
- . **buka\_tabel\_2** ($judul)
|
|
|
|
- . **isi\_tabel** ($no, $data, $link, $id, $edit=true, $hapus=true)
|
|
|
|
- . **isi\_tabel\_2** ($no, $data, $link, $id)
|
|
|
|
- . **tutup\_tabel** ()
|
|
|
|
|
|
|
|
### Function Documentation
|
|
|
|
|
|
|
|
#### buka\_tabel ( _$judul_)
|
|
|
|
|
|
|
|
#### buka\_tabel\_2 ( _$judul_)
|
|
|
|
|
|
|
|
#### isi\_tabel ( _$no_, _$data_, _$link_, _$id_, _$edit_ = true, _$hapus_ = true)
|
|
|
|
|
|
|
|
#### isi\_tabel\_2 ( _$no_, _$data_, _$link_, _$id_)
|
|
|
|
|
|
|
|
#### tutup\_tabel ()
|
|
|
|
|
|
|
|
## library/function\_template.php File Reference
|
|
|
|
|
|
|
|
### Functions
|
|
|
|
|
|
|
|
- . **web\_info** ($parameter)
|
|
|
|
- . **folder\_template** ()
|
|
|
|
- . **meta\_header** ()
|
|
|
|
- . **template\_header** ()
|
|
|
|
- . **form\_pencarian** ($tombol="Search", $placeholder="Search here...")
|
|
|
|
- . **template\_footer** ()
|
|
|
|
- . **cari\_link** ($rmenu)
|
|
|
|
- . **template\_menu** ($kategori='main')
|
|
|
|
- . **buat\_paging** ($link1, $link2, $batas, $jmldata, $halaktif)
|
|
|
|
- . **template\_artikel** ($template, $limit=10, $panjang=300)
|
|
|
|
- . **template\_widget** ($tpl\_judul, $awal\_konten, $akhir\_konten, $posisi=1)
|
|
|
|
- . **template\_halaman** ($template, $id)
|
|
|
|
- . **template\_artikel\_detail** ($template)
|
|
|
|
- . **template\_kategori** ($template, $limit=10, $panjang=300)
|
|
|
|
- . **template\_pencarian** ($template, $limit=20, $panjang=300)
|
|
|
|
|
|
|
|
### Function Documentation
|
|
|
|
|
|
|
|
#### buat\_paging ( _$link1_, _$link2_, _$batas_, _$jmldata_, _$halaktif_)
|
|
|
|
|
|
|
|
#### cari\_link ( _$rmenu_)
|
|
|
|
|
|
|
|
#### folder\_template ()
|
|
|
|
|
|
|
|
#### form\_pencarian ( _$tombol_ = "Search", _$placeholder_ = "Search here...")
|
|
|
|
|
|
|
|
#### meta\_header ()
|
|
|
|
|
|
|
|
#### template\_artikel ( _$template_, _$limit_ = 10, _$panjang_ = 300)
|
|
|
|
|
|
|
|
#### template\_artikel\_detail ( _$template_)
|
|
|
|
|
|
|
|
#### template\_footer ()
|
|
|
|
|
|
|
|
#### template\_halaman ( _$template_, _$id_)
|
|
|
|
|
|
|
|
#### template\_header ()
|
|
|
|
|
|
|
|
#### template\_kategori ( _$template_, _$limit_ = 10, _$panjang_ = 300)
|
|
|
|
|
|
|
|
#### template\_menu ( _$kategori_ = 'main')
|
|
|
|
|
|
|
|
#### template\_pencarian ( _$template_, _$limit_ = 20, _$panjang_ = 300)
|
|
|
|
|
|
|
|
#### template\_widget ( _$tpl\_judul_, _$awal\_konten_, _$akhir\_konten_, _$posisi_ = 1)
|
|
|
|
|
|
|
|
#### web\_info ( _$parameter_)
|
|
|
|
|
|
|
|
## library/function\_unzip.php File Reference
|
|
|
|
|
|
|
|
### Functions
|
|
|
|
|
|
|
|
- . **unzip\_file** ($filename, $source, $target)
|
|
|
|
|
|
|
|
### Function Documentation
|
|
|
|
|
|
|
|
#### unzip\_file ( _$filename_, _$source_, _$target_)
|
|
|
|
|
|
|
|
## library/konek.php File Reference
|
|
|
|
|
|
|
|
### Variables
|
|
|
|
|
|
|
|
- . **$host** = "localhost"
|
|
|
|
- . **$user** = "root"
|
|
|
|
- . **$pass** = ""
|
|
|
|
- . **$db** = "cms\_stis"
|
|
|
|
- . **$conn** = mysqli\_connect($host, $user, $pass) or die ("cannot connect")
|
|
|
|
|
|
|
|
### Variable Documentation
|
|
|
|
|
|
|
|
#### $conn = mysqli\_connect($host, $user, $pass) or die ("cannot connect")
|
|
|
|
|
|
|
|
#### $db = "cms\_stis"
|
|
|
|
|
|
|
|
#### $host = "localhost"
|
|
|
|
|
|
|
|
#### $pass = ""
|
|
|
|
|
|
|
|
#### $user = "root" |
|
|
|
\ No newline at end of file |