'; foreach ($rows as $row) { $type = $row[0]; if ($type == 'hidden') { $name = $row[1]; $value = $row[2]; echo ' '; } } echo'
'.$title.'
'; while(!is_null($row = array_pop($rows))) { $type = $row[0]; $label = $row[1]; if ($type != 'hidden' && $type != 'mail') { echo ' '; } if($type == 'text') { $name = $row[2]; $value = $row[3]; echo ' '; } if($type == 'password') { $name = $row[2]; echo ' '; } if($type == 'checkbox') { $numcolumns = $row[3]; $width = 100/$numcolumns; $checkboxes = $row[2]; $checkboxes = array_reverse($checkboxes); echo ' '; } if($type == 'textarea') { $name = $row[2]; echo ' '; } if($type == 'select') { $name = $row[2]; $ddmenu = $row[3]; $ddmenu = array_reverse($ddmenu); echo ' '; } } echo '
'.$label.':
'; $i = 0; while(!is_null($checkbox = array_pop($checkboxes))) { $i++; $name = $checkbox[0]; $value = $checkbox[1]; $display = $checkbox[2]; if($i%$numcolumns == 1) { echo ''; } echo ''; if($i%$numcolumns == 0) { echo ''; } } $i++; if($i%$numcolumns != 1) { while($i%$numcolumns != 1) { echo ''; $i++; } echo ''; } echo '
  '.$display.'
 

'; while(!is_null($button = array_pop($buttons))) { $type = $button[0]; $label = $button[1]; $name = $button[2]; echo ' '; } echo ' '.$mail.'
'; } /*********************************************************************************************************** ** function formMembers(): ************************************************************************************************************/ function formMembers($id, $title, $page, $task, &$members, &$nonmembers, $label_nonmembers, $label_members) { echo '
'.$title.'
'.$label_nonmembers.'   '.$label_members.'
 
 
'; } /*********************************************************************************************************** ** function formSuccess(): ************************************************************************************************************/ function formSuccess($message) { echo '
Success!
'.$message.'
'; } /*********************************************************************************************************** ** function formError(): ************************************************************************************************************/ function formError($message) { echo '
Error!
'.$message.'
'; } /*********************************************************************************************************** ** function formDelete(): ************************************************************************************************************/ function formDelete($message, $page, $id) { echo '
Warning!
'.$message.'
'; } ?>