<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />  <title>SIMPLE CRUD APPLICATION</title>  <link href="<?php echo base_url(); ?>style/style.css" rel="stylesheet" type="text/css" /> </head> <body> 	<div class="content"> 		<h1><?php echo $title; ?></h1> 		<?php echo $message; ?> 		<?php echo validation_errors(); ?> 		<?php echo form_open($action); ?> 		<div class="data"> 		<table> 			<tr> 				<td wnrpth="30%">nrp</td> 				<td><input type="text" name="nama" disabled="disable" class="text" value="<?php echo (isset($student['nrp']))?$student['nrp']:''; ?>"/></td> 				<input type="hidden" name="nrp" value="<?php echo (isset($student['nrp']))?$student['nrp']:''; ?>"/> 			</tr> 			<tr> 				<td valign="top">name<span style="color:red;">*</span></td> 				<td><input type="text" name="nama" class="text" value="<?php echo (set_value('nama'))?set_value('nama'):$student['nama']; ?>"/> 				<?php echo form_error('nama'); ?></td> 			</tr> 			<tr> 				<td valign="top">alamat</td> 				<td><input type="text" name="alamat" class="text" value="<?php echo set_value('alamat')?set_value('alamat'):$student['alamat']; ?>"/> 				<?php echo form_error('alamat'); ?></td> 			</tr> 			<tr> 				<td valign="top">jk<span style="color:red;">*</span></td> 				<td><input type="radio" name="jk" value="M" <?php echo set_radio('jk', 'M', TRUE); ?>/> Male 					<input type="radio" name="jk" value="F" <?php echo set_radio('jk', 'F'); ?>/> Female 					<?php echo form_error('jk'); ?></td> 			</tr> 			 			<tr> 				<td>&nbsp;</td> 				<td><input type="submit" value="Save"/></td> 			</tr> 		</table> 		</div>  	</form>   		<br /> 		<?php echo $link_back; ?> 	</div> </body> </html>