summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSashi202021-12-13 12:11:30 +0530
committerGitHub2021-12-13 12:11:30 +0530
commiteb02dc48a06526487fa2a755c09225d05b0b0d0c (patch)
treeda58b28d6deabb207f578411510475b172e7495f
parent0946bd53aacec44081debd0e39bed8c813263131 (diff)
parent35bac1b5a4f1cc9fd667f9d49e9599d8f64f7a5b (diff)
downloadcfd_case_study-eb02dc48a06526487fa2a755c09225d05b0b0d0c.tar.gz
cfd_case_study-eb02dc48a06526487fa2a755c09225d05b0b0d0c.tar.bz2
cfd_case_study-eb02dc48a06526487fa2a755c09225d05b0b0d0c.zip
Merge pull request #21 from Saketh1499/development
Arranging serial number in descending order
-rwxr-xr-xcfd_case_study_details.inc5
-rwxr-xr-x[-rw-r--r--]pdf/images/ftr_line.pngbin17983 -> 17983 bytes
2 files changed, 3 insertions, 2 deletions
diff --git a/cfd_case_study_details.inc b/cfd_case_study_details.inc
index e5b7142..4e6dbfb 100755
--- a/cfd_case_study_details.inc
+++ b/cfd_case_study_details.inc
@@ -20,7 +20,8 @@ function cfd_case_study_completed_proposals_all()
{
$output .= "Work has been completed for the following case study. We welcome your contributions." . "<hr>";
$preference_rows = array();
- $i = 1;
+ $i = $result->rowCount();
+ //var_dump($i);die;
while ($row = $result->fetchObject())
{
$proposal_id = $row->id;
@@ -41,7 +42,7 @@ function cfd_case_study_completed_proposals_all()
$row->university,
$year
);
- $i++;
+ $i--;
} //$row = $result->fetchObject()
$preference_header = array(
'No',
diff --git a/pdf/images/ftr_line.png b/pdf/images/ftr_line.png
index 478dc8e..478dc8e 100644..100755
--- a/pdf/images/ftr_line.png
+++ b/pdf/images/ftr_line.png
Binary files differ