[eluser]iaa ioo[/eluser]
$new_order = ($order_type == 'asc' ? 'desc' : 'asc');$this->table->set_heading(
form_checkbox(),
'No',
anchor('awal/kami/'.$offset.'/nama_panggilan/'.$new_order, 'Nama'),
anchor('awal/kami/'.$offset.'/jk/'.$new_order, 'JK'),
anchor('awal/kami/'.$offset.'/alamat/'.$new_order, 'Alamat'),
anchor('awal/kami/'.$offset.'/no_hape/'.$new_order, 'No HP'),
'Pilihan'
);
$i = 0 + $offset;
foreach ($saudara2 as $saudara){
$this->table->add_row(form_checkbox('check[]', $saudara->identitas_id),
++$i,
$saudara->nama_panggilan,
$saudara->jk,
$saudara->alamat,
$saudara->no_hape,
anchor('awal/view/'.$saudara->identitas_id,'Detil',array('class'=>'view')).' '.
anchor('awal/update/'.$saudara->identitas_id,'Ubah',array('class'=>'update')).' '.
anchor('awal/delete/'.$saudara->identitas_id,'Hapus',array('class'=>'delete','onclick'=>"return confirm('Apakah anda yakin ingin menghapus data?')"))
);
}
dear master,,please help to make "check all" in this script..