} } $fieldname = $rowhelper['fieldname']; if ($rowhelper['size']) { $size = $rowhelper['size']; } else { if ($pkga['size']) { $size = $pkga['size']; } else { $size = "8"; } } if ($rowhelper['width']) { $width = $rowhelper['width']; } display_row($rowcounter, $value, $fieldname, $type, $rowhelper, $numrows == $rowcounter ? $fielddescr : null, $width); $text = ""; $trc++; } // Delete row button $group->add(new Form_Button('deleterow' . $rowcounter, 'Delete', null, 'fa-trash'))->removeClass('btn-primary')->addClass('btn-warning btn-sm'); $rowcounter++; $section->add($group); } // Add row button $section->addInput(new Form_Button('addrow', 'Add'))->removeClass('btn-primary')->addClass('btn-success'); break; } if ($pkga['combinefields'] == "end") { $group->add(new Form_StaticText(null, null)); if ($advanced) {
$alt_row++; $dir_count++; } else { if (!isHidden($dir_list[$c][8])) { echo $row; $alt_row++; $dir_count++; } } } // if we aren't just displaying the directories for the move operation if (!isset($sess_Data["move_path"]) && !isset($sess_Data["copy_path"])) { // display the files next for ($d = 0; $d < count($file_list); $d++) { $built_data = build_row($show_col, $file_list[$d], "F"); $row = display_row($built_data, $alt_class[$alt_row % 2], ""); // if the user wants to show hiddens, display all files if ($personal["show_hidden"]) { echo $row; $alt_row++; $file_count++; } else { if (!isHidden($file_list[$d][8])) { echo $row; $alt_row++; $file_count++; } } } } }
// if user is editing a record, load in the data. if (isset($id) && $a_pkg[$id]) { $value = $row[$fieldname]; } $type = $rowhelper['type']; $fieldname = $rowhelper['fieldname']; if ($rowhelper['size']) { $size = $rowhelper['size']; } else { if ($pkga['size']) { $size = $pkga['size']; } else { $size = "8"; } } display_row($rowcounter, $value, $fieldname, $type, $rowhelper, $size); $text = ""; $trc++; } $rowcounter++; echo "<td>"; #echo "<a onclick=\"removeRow(this); return false;\" href=\"#\"><img border=\"0\" src=\"./themes/".$g['theme']."/images/icons/icon_x.gif\" alt=\"remove\" /></a>"; echo "<a class='delete' href=\"#\"><img border='0' src='./themes/{$g['theme']}/images/icons/icon_x.gif' alt='delete' /></a>"; echo "</td>\n"; } ?> </tr> <tbody></tbody> </table> <!-- <br /><a onclick="javascript:addRowTo('maintable'); return false;" href="#"><img border="0" src="./themes/<?#= $g['theme']; ?>/images/icons/icon_plus.gif" alt="add" /></a>-->
} if ($paper_count > 0) { $total_paper_no++; $total_student_no += $paper_count; $month_paper_no++; $month_student_no += $paper_count; if ($paper_count < $month_min) { $month_min = $paper_count; } if ($paper_count > $month_max) { $month_max = $paper_count; } } $old_month = $month; } display_row($old_month, $string, $month_paper_no, $month_papers_unused, $month_student_no, $month_min, $month_max, $current_year); echo "<tr><td> </td><td class=\"n subtotal\">" . number_format($total_paper_no) . "</td><td class=\"n subtotal\">" . number_format($total_paper_unused) . "</td><td class=\"subtotal\" colspan=\"3\"> </td><td class=\"n subtotal\">" . number_format($total_student_no) . "</td></tr>\n"; $result->close(); ?> </table> <br /> <?php printf($string['uniquestudents'], number_format(count($distinct_users))); ?> <br /> <br /> <?php display_lab_stats($lab_count, $string, $mysqli); ?> </blockquote> </div>