You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

35 lines
1.6 KiB
PHP

<?php
use NN\files;
use NN\dd;
use NN\Post;
use NN\Session;
use NN\Module\DB;
use NN\Module\Help;
use NN\Link;
use NN\Enc;
use NN\module\View;
class Kekayaan{
public static function anggota(){
$anggota = DB::query_result_object("SELECT * FROM anggota ORDER BY kode ASC");
$table = "<table>";
foreach($anggota as $k => $ang){
$table .= "<tr>";
$table .= "<td style=\"cell-spacing: 0; border:1px solid #ddd;white-space:nowrap;\">".$ang->kode."</td>";
$table .= "<td style=\"cell-spacing: 0; border:1px solid #ddd;white-space:nowrap;\">".$ang->nama."</td>";
$table .= "<td style=\"cell-spacing: 0; border:1px solid #ddd;white-space:nowrap;\">".$ang->kota."</td>";
$table .= "<td style=\"cell-spacing: 0; border:1px solid #ddd;white-space:nowrap;\">".$ang->tgllahir."</td>";
$table .= "<td style=\"cell-spacing: 0; border:1px solid #ddd;white-space:nowrap;\">".$ang->jk."</td>";
$table .= "<td style=\"cell-spacing: 0; border:1px solid #ddd;white-space:nowrap;\">".$ang->telp."</td>";
$table .= "<td style=\"cell-spacing: 0; border:1px solid #ddd;white-space:nowrap;\">".$ang->alamat."</td>";
$table .= "<td style=\"cell-spacing: 0; border:1px solid #ddd;white-space:nowrap;\">".$ang->unitkerja."</td>";
$table .= "<td style=\"cell-spacing: 0; border:1px solid #ddd;white-space:nowrap;\">".$ang->masuk."</td>";
$table .= "</tr>";
};
$table .= "</table>";
echo $table;
}
}