diff --git a/add_details.php b/add_details.php index 90f2e5b..f7f0166 100644 --- a/add_details.php +++ b/add_details.php @@ -301,6 +301,20 @@ +
  • Fee Payment + +
  • +
  • + Generate PDF + +
  • @@ -366,12 +380,7 @@
    - -
    -
    - -
    -
    + diff --git a/awards.php b/awards.php index a46ecaf..0b6b976 100644 --- a/awards.php +++ b/awards.php @@ -293,6 +293,20 @@ +
  • Fee Payment + +
  • +
  • + Generate PDF + +
  • diff --git a/bachelor.php b/bachelor.php index d4886f8..a43a810 100644 --- a/bachelor.php +++ b/bachelor.php @@ -321,6 +321,20 @@ +
  • Fee Payment + +
  • +
  • + Generate PDF + +
  • diff --git a/contact.php b/contact.php index 80f2522..5d70af3 100644 --- a/contact.php +++ b/contact.php @@ -299,6 +299,20 @@ +
  • Fee Payment + +
  • +
  • + Generate PDF + +
  • diff --git a/corr_add.php b/corr_add.php index 42e81a5..ba689d4 100644 --- a/corr_add.php +++ b/corr_add.php @@ -319,6 +319,20 @@ +
  • Fee Payment + +
  • +
  • + Generate PDF + +
  • diff --git a/detail.php b/detail.php index 12632a5..bd2a704 100644 --- a/detail.php +++ b/detail.php @@ -325,6 +325,21 @@ + +
  • Fee Payment + +
  • +
  • + Generate PDF + +
  • diff --git a/elearning.php b/elearning.php index dbeb338..29e349b 100644 --- a/elearning.php +++ b/elearning.php @@ -291,6 +291,20 @@ +
  • Fee Payment + +
  • +
  • + Generate PDF + +
  • diff --git a/expsummary.php b/expsummary.php index cac44a7..e4f9d9a 100644 --- a/expsummary.php +++ b/expsummary.php @@ -322,6 +322,20 @@ +
  • Fee Payment + +
  • +
  • + Generate PDF + +
  • diff --git a/generate_pdf_link.php b/generate_pdf_link.php new file mode 100644 index 0000000..b36a8d6 --- /dev/null +++ b/generate_pdf_link.php @@ -0,0 +1,415 @@ +query($sql); + $description = $_GET['description']; + $stmt = $conn->prepare("INSERT INTO add_details (id,description) VALUES (?,?)"); + $stmt->bind_param("ss", $_SESSION['id'], $description); + $stmt->execute(); +} +$sql1 = "SELECT description FROM `add_details` WHERE id='".$_SESSION['id']."';"; +$result = $conn->query($sql1); +if($result->num_rows>0){ + while($row = $result->fetch_assoc()){ + $description1 = $row["description"]; + } +}else{ + $description1 = ""; +} + +?> + + + + + + + + + Additional Details + + + + + + + + + + + + + + + + +
    +
    +
    +
    + + + +
    +
    + Profile Picture +
    +
    + Welcome, +

    +
    +
    + + + + + +
    +
    + + + +
    + +
    + + + + +
    +
    +
    +
    +

    Generate PDF

    +
    +
    + + +
    +
    +
    +
    +

    Click on Generate PDF to generate pdf form of your filled details.

    +
    +
    +
    +
    + +
    +
    + +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/higher_secondary.php b/higher_secondary.php index 0f6f293..0c88701 100644 --- a/higher_secondary.php +++ b/higher_secondary.php @@ -323,6 +323,20 @@ +
  • Fee Payment + +
  • +
  • + Generate PDF + +
  • diff --git a/master.php b/master.php index d6d8b2f..26b55d1 100644 --- a/master.php +++ b/master.php @@ -323,6 +323,20 @@ +
  • Fee Payment + +
  • +
  • + Generate PDF + +
  • diff --git a/members.php b/members.php index 89924e7..f9126ba 100644 --- a/members.php +++ b/members.php @@ -293,6 +293,20 @@ +
  • Fee Payment + +
  • +
  • + Generate PDF + +
  • diff --git a/other.php b/other.php index ca44a1d..e7dbfe3 100644 --- a/other.php +++ b/other.php @@ -320,6 +320,20 @@ +
  • Fee Payment + +
  • +
  • + Generate PDF + +
  • diff --git a/outreach.php b/outreach.php index 4f2510c..251f873 100644 --- a/outreach.php +++ b/outreach.php @@ -292,6 +292,20 @@ +
  • Fee Payment + +
  • +
  • + Generate PDF + +
  • diff --git a/patents.php b/patents.php index 4039d39..f576014 100644 --- a/patents.php +++ b/patents.php @@ -298,6 +298,20 @@ +
  • Fee Payment + +
  • +
  • + Generate PDF + +
  • diff --git a/payment.php b/payment.php new file mode 100644 index 0000000..beaf646 --- /dev/null +++ b/payment.php @@ -0,0 +1,405 @@ +query($sql); + $description = $_GET['description']; + $stmt = $conn->prepare("INSERT INTO add_details (id,description) VALUES (?,?)"); + $stmt->bind_param("ss", $_SESSION['id'], $description); + $stmt->execute(); +} +$sql1 = "SELECT description FROM `add_details` WHERE id='".$_SESSION['id']."';"; +$result = $conn->query($sql1); +if($result->num_rows>0){ + while($row = $result->fetch_assoc()){ + $description1 = $row["description"]; + } +}else{ + $description1 = ""; +} + +?> + + + + + + + + + Additional Details + + + + + + + + + + + + + + + + +
    +
    +
    +
    + + + +
    +
    + Profile Picture +
    +
    + Welcome, +

    +
    +
    + + + + + +
    +
    + + + +
    + +
    + + + + +
    +
    +
    +
    +

    Fee Payment

    +
    +
    + + +
    +
    +
    +
    +

    Payment link

    +
    + +
    + +
    +
    +
    + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/pdf_generator.php b/pdf_generator.php index 739c73f..418bd32 100644 --- a/pdf_generator.php +++ b/pdf_generator.php @@ -179,7 +179,7 @@ function Footer() } } -$display_heading1 = array('ID', 'Thesis Title','Research Area', 'Institution','University','Year Passed','Enrollment Date','Date of Defence','Score'); +$display_heading1 = array('ID', 'Thesis Title','Research Area', 'Institution','University','Enrollment Date','Date of Defence','Score'); $sql1 ="SELECT * FROM `phd` WHERE id='".$_SESSION['id']."';"; $result1 = $conn->query($sql1); $pdf->Ln(20); @@ -196,7 +196,7 @@ function Footer() } } -$display_heading1 = array('ID','Degree/Programme','Discipline/Major', 'Institution','University','Year Passed','Result Date','Score'); +$display_heading1 = array('I','ID','Degree/Programme','Discipline/Major', 'Institution','University','Year Passed','Result Date','Score'); $sql1 ="SELECT * FROM `other` WHERE id='".$_SESSION['id']."';"; $result1 = $conn->query($sql1); $pdf->Ln(20); @@ -225,8 +225,8 @@ function Footer() $pdf->Ln(20); foreach($result1 as $row) { foreach(array_combine($display_heading1,$row) as $display_head=>$column){ -$pdf->Cell(60,12,$display_head,1,0); -$pdf->MultiCell(120,12,$column,1,1); +$pdf->Cell(80,12,$display_head,1,0); +$pdf->MultiCell(100,12,$column,1,1); } } @@ -242,8 +242,8 @@ function Footer() $pdf->Ln(20); foreach($result1 as $row) { foreach(array_combine($display_heading1,$row) as $display_head=>$column){ -$pdf->Cell(60,12,$display_head,1,0); -$pdf->MultiCell(120,12,$column,1,1); +$pdf->Cell(80,12,$display_head,1,0); +$pdf->MultiCell(100,12,$column,1,1); } } @@ -320,7 +320,7 @@ function Footer() } $display_heading1 = array('I','ID','Recognition Title','Issuing Agency', 'Date'); -$sql1 ="SELECT * FROM `recognition` WHERE id='".$_SESSION['id']."';"; +$sql1 ="SELECT * FROM `Recognition` WHERE id='".$_SESSION['id']."';"; $result1 = $conn->query($sql1); $pdf->Ln(20); $pdf->SetFont('Arial','B',13); @@ -373,7 +373,7 @@ function Footer() } } -$display_heading1 = array('I','ID', 'Bachelor students Supervised','Masters students Supervised', 'PhD students Supervised-Total','PhD students Supervised-Sole','PhD students Supervised-Principal','PhD students Supervised-Continuing'); +$display_heading1 = array('ID', 'Bachelor students Supervised','Masters students Supervised', 'PhD students Supervised-Total','PhD students Supervised-Sole','PhD students Supervised-Principal','PhD students Supervised-Continuing'); $sql1 ="SELECT * FROM `supervised` WHERE id='".$_SESSION['id']."';"; $result1 = $conn->query($sql1); $pdf->Ln(20); @@ -386,8 +386,8 @@ function Footer() foreach($result1 as $row) { $pdf->Ln(0); foreach(array_combine($display_heading1,$row) as $display_head=>$column){ -$pdf->Cell(60,12,$display_head,1,0); -$pdf->MultiCell(120,12,$column,1,1); +$pdf->Cell(80,12,$display_head,1,0); +$pdf->MultiCell(100,12,$column,1,1); } } @@ -483,4 +483,4 @@ function Footer() } $pdf->Output(); -?> \ No newline at end of file +?> diff --git a/permanent_add.php b/permanent_add.php index 5728b4f..ef4105d 100644 --- a/permanent_add.php +++ b/permanent_add.php @@ -320,6 +320,20 @@ +
  • Fee Payment + +
  • +
  • + Generate PDF + +
  • diff --git a/phd.php b/phd.php index 87701c4..061c5ad 100644 --- a/phd.php +++ b/phd.php @@ -324,6 +324,20 @@ +
  • Fee Payment + +
  • +
  • + Generate PDF + +
  • diff --git a/psummary.php b/psummary.php index d339688..69de7a4 100644 --- a/psummary.php +++ b/psummary.php @@ -331,6 +331,20 @@ +
  • Fee Payment + +
  • +
  • + Generate PDF + +
  • diff --git a/recognition.php b/recognition.php index ef9a42d..c2c218a 100644 --- a/recognition.php +++ b/recognition.php @@ -292,6 +292,20 @@ +
  • Fee Payment + +
  • +
  • + Generate PDF + +
  • diff --git a/refrences.php b/refrences.php index d213905..12d5860 100644 --- a/refrences.php +++ b/refrences.php @@ -295,6 +295,20 @@ +
  • Fee Payment + +
  • +
  • + Generate PDF + +
  • diff --git a/scolarships.php b/scolarships.php index 05bd7ed..326ea72 100644 --- a/scolarships.php +++ b/scolarships.php @@ -292,6 +292,21 @@ +
  • Fee Payment + + +
  • +
  • + Generate PDF + +
  • diff --git a/secondary.php b/secondary.php index 0bf2ed1..80165b3 100644 --- a/secondary.php +++ b/secondary.php @@ -323,6 +323,20 @@ +
  • Fee Payment + +
  • +
  • + Generate PDF + +
  • diff --git a/spon_project.php b/spon_project.php index 7a3b94e..7b0ea7d 100644 --- a/spon_project.php +++ b/spon_project.php @@ -300,6 +300,20 @@ +
  • Fee Payment + +
  • +
  • + Generate PDF + +
  • diff --git a/stcourses.php b/stcourses.php index 95d6df6..8ed4e76 100644 --- a/stcourses.php +++ b/stcourses.php @@ -292,6 +292,20 @@ +
  • Fee Payment + +
  • +
  • + Generate PDF + +
  • diff --git a/supevised.php b/supevised.php index 9defe70..98dd82c 100644 --- a/supevised.php +++ b/supevised.php @@ -308,6 +308,30 @@ +
  • Fee Payment + +
  • +
  • Fee Payment + +
  • +
  • + Generate PDF + +
  • diff --git a/template.php b/template.php index 034af17..a8488cd 100644 --- a/template.php +++ b/template.php @@ -273,6 +273,16 @@ +
  • Fee Payment + +
  • diff --git a/wrok_experience.php b/wrok_experience.php index 101355a..801952d 100644 --- a/wrok_experience.php +++ b/wrok_experience.php @@ -289,6 +289,20 @@ +
  • Fee Payment + +
  • +
  • + Generate PDF + +