예제 #1
0
?>
</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 
# order
$order = "priority";
if (tool::secureGet('order')) {
    $order = tool::secureGet('order');
}
if (tool::secureGet('desc') == "DESC") {
    $desc = "";
} else {
    $desc = "DESC";
예제 #2
0
파일: projects.php 프로젝트: pmtool/pmtool
      </select></td>
    </tr>
    <tr>
      <td><?php 
    echo $lang['common_status'];
    ?>
:&nbsp;</td>
      <td><select name="statusid">
        <?php 
    $list = $projectInst->getStatusList();
    while ($element = current($list)) {
        $selected = "";
        if ($element == $projectInst->statusId) {
            $selected = "selected";
        }
        echo "<option " . $selected . " value=\"" . $element . "\">" . $projectInst->getStatusName($element) . "\n";
        next($list);
    }
    ?>
      </select></td>
    </tr>
    <tr>
      <td><?php 
    echo $lang['common_priority'];
    ?>
:&nbsp;</td>
      <td><select name="priorityid">
        <?php 
    $list = $projectInst->getPriorityList();
    while ($element = current($list)) {
        $selected = "";
예제 #3
0
        if ($projectInst->rate) {
            echo "<td class=list>" . $toolInst->formatCurrency($projectInst->rate) . "</td>\n";
        } else {
            echo "<td class=list>&nbsp;</td>\n";
        }
        if ($projectInst->managerId) {
            $userInst = new user($projectInst->managerId);
            if ($userInst->email) {
                echo "<td class=list><a href=\"mailto:" . $userInst->email . "\">" . $userInst->name . "</a></td>\n";
            } else {
                echo "<td class=list>" . $userInst->name . "</td>\n";
            }
        } else {
            echo "<td class=list>&nbsp;</td>\n";
        }
        echo "<td class=list>" . $projectInst->getStatusName() . "</td></tr>\n";
        next($list);
    }
    echo "</table>\n";
}
?>
</div>
&nbsp;

<?php 
/***************************************************************************
 * $Log: customerdetails.php,v $
 * Revision 1.3  2003/11/18 00:55:15  willuhn
 * *** empty log message ***
 *
 * Revision 1.2  2003/09/27 18:23:44  willuhn