</select></td> </tr> <tr> <td><?php echo $lang['common_priority']; ?> : </td> <td><select name="priorityid"> <?php $list = $projectInst->getPriorityList(); while ($element = current($list)) { $selected = ""; if ($element == $projectInst->priorityId) { $selected = "selected"; } echo "<option " . $selected . " value=\"" . $element . "\">" . $projectInst->getPriorityName($element) . "\n"; next($list); } ?> </select></td> </tr> <tr> <td><?php echo $lang['project_paid']; ?> : </td> <td><input type="checkbox" name="paid" value="1"<?php if ($projectInst->paid == 1) { echo " CHECKED"; } ?>
} else { ?> <th>no</th> <?php } ?> </tr><tr> <td class="list"><?php echo $lang['common_priority']; ?> </td> <td class="list"><span class="<?php echo $projectInst->getPriorityStyle(); ?> "><?php echo $projectInst->getPriorityName(); ?> </span></td> </tr><tr> <td class="list"><?php echo $lang['common_status']; ?> </td> <td class="list"><?php echo $projectInst->getStatusName(); ?> </td> </tr> </table> <?php