-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
25 changed files
with
659 additions
and
446 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
CREATE VIEW [Current Product List] AS | ||
SELECT ProductID, ProductName | ||
FROM Products | ||
WHERE Discontinued = No; | ||
|
||
------------- | ||
|
||
CREATE VIEW [List of Account] | ||
CREATE VIEW [List of Student] | ||
CREATE VIEW [List of Teacher] | ||
CREATE VIEW [List of Parent] | ||
CREATE VIEW [List of Attendance] | ||
CREATE VIEW [List of Subject Per Section] | ||
CREATE VIEW [Parent View Child Record] | ||
CREATE VIEW [List of Attendance Per Section] | ||
CREATE VIEW [Full Student Details] | ||
CREATE VIEW [List of Grade Per Student] |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,130 @@ | ||
<?php | ||
include('../dbconfig.php'); | ||
$admission_ID = $_REQUEST['admission_ID']; | ||
|
||
$sql = "SELECT * FROM `admission_files` af | ||
LEFT JOIN ref_requirements rr ON af.req_ID = rr.req_ID | ||
WHERE af.admission_ID = $admission_ID | ||
"; | ||
$result = mysqli_query($con, $sql); | ||
$file_Name = array(); | ||
$req_ID = ""; | ||
while($row = mysqli_fetch_array($result)) | ||
{ | ||
$req_ID = $row["req_ID"]; | ||
$file_Name[$req_ID] = $row["file_Name"]; | ||
} | ||
|
||
|
||
function check_file($file_Name){ | ||
if (!empty($file_Name)) { | ||
|
||
echo ' class="btn btn-success" href="../assets/uploads/'.$file_Name.'" download'; | ||
} | ||
else{ | ||
echo ' class="btn btn-danger" href="#" download disabled=""'; | ||
} | ||
} | ||
?> | ||
<div class="row"> | ||
<div class="col-lg-5 col-lg-offset-4 col-sm-6 col-sm-offset-3"> | ||
|
||
<div class="row"> | ||
<div class="col-sm-12"> | ||
<div class="form-group"> | ||
<a <?php | ||
|
||
if (isset($file_Name[1])) { | ||
check_file($file_Name[1]); | ||
} | ||
else{ | ||
check_file(''); | ||
} | ||
|
||
|
||
?>><i class="icon-download" ></i></a> | ||
<label for="rcard">Report Card</label> | ||
|
||
</div> | ||
<div class="form-group"> | ||
<a <?php | ||
|
||
if (isset($file_Name[2])) { | ||
check_file($file_Name[2]); | ||
} | ||
else{ | ||
check_file(''); | ||
} | ||
|
||
|
||
?>><i class="icon-download" ></i></a> | ||
<label for="bcert">Photocopy of Birth Certificate</label> | ||
|
||
</div> | ||
|
||
<div class="form-group"> | ||
<a <?php | ||
|
||
if (isset($file_Name[3])) { | ||
check_file($file_Name[3]); | ||
} | ||
else{ | ||
check_file(''); | ||
} | ||
|
||
|
||
?>><i class="icon-download" ></i></a> | ||
<label for="pic1x1">1x1 ID Picture</label> | ||
|
||
</div> | ||
|
||
<div class="form-group"> | ||
<a <?php | ||
|
||
if (isset($file_Name[4])) { | ||
check_file($file_Name[4]); | ||
} | ||
else{ | ||
check_file(''); | ||
} | ||
|
||
|
||
?>><i class="icon-download" ></i></a> | ||
<label for="gmoralcert">Good Moral Certificate</label> | ||
|
||
</div> | ||
|
||
<div class="form-group"> | ||
<a <?php | ||
|
||
if (isset($file_Name[5])) { | ||
check_file($file_Name[5]); | ||
} | ||
else{ | ||
check_file(''); | ||
} | ||
|
||
|
||
?>><i class="icon-download" ></i></a> | ||
<label for="brgyclrnc">Barangay Clearance</label> | ||
|
||
</div> | ||
<div class="form-group"> | ||
<a <?php | ||
|
||
if (isset($file_Name[6])) { | ||
check_file($file_Name[6]); | ||
} | ||
else{ | ||
check_file(''); | ||
} | ||
|
||
|
||
?>><i class="icon-download" ></i></a> | ||
<label for="financial">Financial Assessment (from private school)</label> | ||
|
||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.