='".date("Y-m-d")."' ORDER BY selesai DESC, aktif DESC"; $prepared_query_news = $db->PrepareQuery( $query_news ); $acaras = ""; if( $prepared_query_news ) { $result_news = $db->ExecuteQuery( $prepared_query_news ); if( $result_news != 0 ) { $jumlah_content = $db->NumberOfRows( $result_news ); for( $ii = 0; $ii < $jumlah_content; $ii++ ) { $terdaftar = 0; $query_daftar = "SELECT count(*) FROM eve_acara_daftar WHERE idacara=".$db->FetchResult($result_news, $ii, "id").""; $prepared_query_daftar = $db->PrepareQuery( $query_daftar ); if ( $prepared_query_daftar ) { $result_daftar = $db->ExecuteQuery( $prepared_query_daftar ); if( $result_daftar != 0 ) { $terdaftar = $db->FetchResult($result_daftar, 0, 0); } } $acaras .= "

"; if ( $db->FetchResult($result_news, $ii, "foto") != "" ) { $acaras .= ""; } $acaras .= "
"; $acaras .= "".$db->FetchResult($result_news, $ii, "kodeacara")." : ".$db->FetchResult($result_news, $ii, "namaacara")."
"; $acaras .= "Tgl Pendaftaran dari ".$db->FetchResult($result_news, $ii, "daftarmulai")." s/d ".$db->FetchResult($result_news, $ii, "daftarakhir")."
"; $acaras .= "Deskripsi : ".$db->FetchResult($result_news, $ii, "deskripsi")."
"; //$acaras .= "Min = ".$db->FetchResult($result_news, $ii, "minpeserta").", Maks = ".$db->FetchResult($result_news, $ii, "makspeserta").", Terdaftar = ".$terdaftar."

"; $acaras .= "Terdaftar = ".$terdaftar."



"; } } } ?> Sejawat
   REGISTRASI ACARA DAN KEANGGOTAAN SEJAWAT

Copyright © 2011 Sejawat by Digital Mitra Solutions