Courses.php: better variable name ( -> )
							parent
							
								
									5683013655
								
							
						
					
					
						commit
						849009e624
					
				|  | @ -578,19 +578,19 @@ include 'Header.php'; | |||
| 			$academic_year = $row['Academic_Year']; | ||||
| 			$url = $row['URL']; | ||||
| 			$id = $row['Course_ID']; | ||||
| 			$Status = $row['Status']; | ||||
| 			$status = $row['Status']; | ||||
| 
 | ||||
| 			if($Status=="Joined") | ||||
| 			if($status=="Joined") | ||||
| 			{ | ||||
| 			    echo "<a href='~\..\Course.php?url=$url'>   <div class='btn btn-default' style='word-wrap:break-word'>
 | ||||
|   ($code) - $name <br>($url)           <i class='fa fa-check-circle'></i> $Status        | ||||
|   ($code) - $name <br>($url)           <i class='fa fa-check-circle'></i> $status        | ||||
|    <br> <span style='font-size:8pt'>Faculty: $faculty   Year: $academic_year    Lecturer: $lecturer </span></div></a> | ||||
|                             ";
 | ||||
| 			} | ||||
| 			else | ||||
| 			{ | ||||
| 			    echo "<div class='btn btn-default'>
 | ||||
|   ($code) - $name  <i class='btn btn-sm btn-danger'> $Status</i> | ||||
|   ($code) - $name  <i class='btn btn-sm btn-danger'> $status</i> | ||||
|    <br> <span style='font-size:8pt'>Faculty: $faculty   Year: $academic_year   Lecturer: $lecturer </span></div> | ||||
|                             ";
 | ||||
| 			} | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue