	<header id="fh5co-header" class="fh5co-cover fh5co-cover-sm" role="banner" style="background-image:url(images/bg-registration.jpg);" data-stellar-background-ratio="0.5"><meta http-equiv="Content-Type" content="text/html; charset=utf-8">
		<div class="overlay"></div>
		<div class="container">
			<div class="row">
				<div class="col-md-8 col-md-offset-2 text-center">
					<div class="display-t">
						<div class="display-tc animate-box" data-animate-effect="fadeIn">
							<h1>Registrasi Mahasiswa Baru</h1>
							<h2>Isilah form dibawah untuk mendaftarkan diri sebagai peserta penerimaan mahasiswa baru.</h2>
						</div>
					</div>
				</div>
			</div>
		</div>
	</header>

	<div id="fh5co-contact">
		<div class="container">
			<div class="row">
			    <div class="col-md-6 animate-box">
			        <?Php
			        error_reporting(0);
                    $AND = "AND kd_jurusan = '$_GET[id]'";
				  	$p = mysqli_query($conn,"SELECT id,kd_jurusan,judul,keterangan,gambar FROM  t_pengumuman WHERE kd_info_pmb= 'Y' $AND");
				  	$pd = mysqli_fetch_array($p);
				  	$isi_berita = strip_tags($pd['keterangan']);
                    if(empty($pd[gambar])){
                    }else{
                    ?>
                    <img class="img-responsive" src="admin/foto_pengumuman/<?Php echo"$pd[gambar]";?>" >
                    <?Php
                    }
                    ?>
    			    
					<div class="fh5co-contact-info">
						<h3><?Php echo"$pd[judul]";?></h3>
						<p><?Php echo"$pd[keterangan]";?></p>
					</div>

				</div>
				<div class="col-md-6 animate-box">
					<h3>Form Registrasi</h3>
					<form action="aksi_reg_mahasiswa_baru-<?Php echo"$ia";?>.html" method="post" class="checkout" enctype="multipart/form-data">
						 <div class="row form-group">
							<div class="col-md-12">
							<?Php
								$kg = mysqli_fetch_array(mysqli_query($conn,"SELECT kd_gelombang,nama_gelombang FROM m_gelombang WHERE (DATE_FORMAT(NOW(),'%Y-%m-%d') BETWEEN tgl_mulai AND tgl_selesai)"));
							?>
								<label for="fname">Pendaftaran Gelombang</label>
								<input type="hidden" id="fname" class="form-control" name="kd_gelombang" value="<?Php echo$kg[kd_gelombang];?>" required>
								<input type="text" id="fname" class="form-control" name="nama_lengkap" value="<?Php echo$kg[nama_gelombang];?>" readonly required>
							</div>
						</div>
						
						<div class="row form-group">
							<div class="col-md-12">
								<label for="fname">Pilih Prodi</label>
								<select name="kd_jurusan" class="form-control">
                	                <option value="#" selected >Pilih Prodi</option>
                	            <?Php
                	                $sql_pp = mysqli_query($conn,"SELECT * FROM m_jurusan WHERE aktif = 'Y'");
				  	                WHILE($pp = mysqli_fetch_array($sql_pp)){
				  	                    echo"<option value='$pp[kd_jurusan]' >$pp[jurusan]</option>";
				  	                }
				  	            ?>
                	            </select>
							</div>
						</div>

						<div class="row form-group">
							<div class="col-md-12">
								<label for="fname">Nama Lengkap</label>
								<input type="text" class="form-control" id="nama_lengkap" name="nama_lengkap" placeholder="Nama Lengkap" required>
							</div>
							<div class="col-md-12">
								<label for="subject">Email</label>
								<input type="email" class="form-control" id="email" name="email" placeholder="Email" required onchange="cekNamaReg();"/>
							</div>
						</div>
						
						<div id="tampilForm">
						    
						</div>
					</form>		
				</div>
			</div>
			
		</div>
	</div>
	