diff options
author | Saketh1499 | 2022-02-14 12:03:21 +0530 |
---|---|---|
committer | Saketh1499 | 2022-02-14 12:03:21 +0530 |
commit | 5240227615e862e716a189d7829bf395583f66e3 (patch) | |
tree | 726c20fe1007d1fa15d5b8ff218867f33f309336 | |
parent | e8dc12972b663ef53af464251e8f7d8293322de2 (diff) | |
download | dwsim_flowsheet-5240227615e862e716a189d7829bf395583f66e3.tar.gz dwsim_flowsheet-5240227615e862e716a189d7829bf395583f66e3.tar.bz2 dwsim_flowsheet-5240227615e862e716a189d7829bf395583f66e3.zip |
Arranging serial number in descending order
-rwxr-xr-x | flowsheet_details.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/flowsheet_details.inc b/flowsheet_details.inc index cba65d0..9144b65 100755 --- a/flowsheet_details.inc +++ b/flowsheet_details.inc @@ -19,7 +19,7 @@ function dwsim_flowsheet_completed_proposals_all() $output .= "Total number of completed flowsheets: " . $result->rowCount() . "<br>"; $output .= "Work has been completed for the following flow sheets. We welcome your contributions. For more details, please visit ".l("https://dwsim.fossee.in/flowsheeting-project","https://dwsim.fossee.in/flowsheeting-project", array('attributes' => array('target' => '_blank')))."<br>"."<h4>"."If you are looking for flowsheeting project ideas, ".l("click here","https://dwsim.fossee.in/flowsheeting-ideas",array('attributes' => array('class' => array('flash_content'), 'target' => '_blank')))."</h4>"."<hr>"; $preference_rows = array(); - $i = 1; + $i = $result->rowCount(); while ($row = $result->fetchObject()) { $completion_date = date("Y", $row->actual_completion_date); @@ -30,7 +30,7 @@ function dwsim_flowsheet_completed_proposals_all() $row->university, $completion_date ); - $i++; + $i--; } //$row = $result->fetchObject() $preference_header = array( 'No', |