From 5240227615e862e716a189d7829bf395583f66e3 Mon Sep 17 00:00:00 2001 From: Saketh1499 Date: Mon, 14 Feb 2022 12:03:21 +0530 Subject: Arranging serial number in descending order --- flowsheet_details.inc | 4 ++-- 1 file 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() . "
"; $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')))."
"."

"."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')))."

"."
"; $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', -- cgit