2019-05-14 01:28:16 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								< div  class = " container notes " >  
						 
					
						
							
								
									
										
										
										
											2011-06-17 20:52:00 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2019-05-14 01:28:16 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
									< div  class = " card " > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
									  < div  class = " card-body " > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
									    < h2  class = " card-title " > Notes </ h2 > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
									    < p  class = " card-body " >< a  href = " <?php echo site_url('notes/add'); ?> "  class = " btn btn-primary " > Create  a  Note </ a >< p > 
							 
						 
					
						
							
								
									
										
										
										
											2011-06-17 20:52:00 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2019-05-14 01:28:16 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
									    		< ? php 
							 
						 
					
						
							
								
									
										
										
										
											2011-06-17 20:52:00 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2019-05-14 01:28:16 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
												if  ( $notes -> num_rows ()  >  0 ) 
							 
						 
					
						
							
								
									
										
										
										
											2011-11-07 07:09:51 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
												{ 
							 
						 
					
						
							
								
									
										
										
										
											2019-05-14 01:28:16 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
													echo  " <h3>Your Notes</h3> " ; 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
													echo  " <ul class= \" list-group \" > " ; 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
													foreach  ( $notes -> result ()  as  $row ) 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
													{ 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
														echo  " <li class= \" list-group-item \" > " ; 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
														echo  " <a href= \" " . site_url () . " /notes/view/ " . $row -> id . " \" > " . $row -> title . " </a> " ; 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
														echo  " </li> " ; 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
													} 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
													echo  " </ul> " ; 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
												}  else  { 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
													echo  " <p>You don't currently have any notes, these are a fantastic way of storing data like ATU settings, beacons and general station notes and its better than paper as you can't lose them!</p> " ; 
							 
						 
					
						
							
								
									
										
										
										
											2011-11-07 07:09:51 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
												} 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2019-05-14 01:28:16 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
											?> 
 
							 
						 
					
						
							
								
									
										
										
										
											2011-11-07 07:09:51 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
									  </ div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
									</ div > 
							 
						 
					
						
							
								
									
										
										
										
											2018-12-18 07:05:29 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								</ div >