summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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