<input type=hidden name="action"> <table border="0" cellpadding="2" cellspacing="1" width="99%" bgcolor="#ffffff"> <tr> <?php echo "<th width=\"20%\"><a href=\"" . $toolInst->encodeUrl("index.php?content=customers.php&order=customer_number&desc=" . $desc) . "\" title=\"" . $lang['common_orderBy'] . " " . $lang['customer_number'] . "\">" . $lang['customer_number'] . "</a></th>\n"; echo "<th width=\"30%\"><a href=\"" . $toolInst->encodeUrl("index.php?content=customers.php&order=firstname&desc=" . $desc) . "\" title=\"" . $lang['common_orderBy'] . " " . $lang['common_name'] . "\">" . $lang['common_name'] . "</a></th>\n"; echo "<th width=\"30%\"><a href=\"" . $toolInst->encodeUrl("index.php?content=customers.php&&order=company&desc=" . $desc) . "\" title=\"" . $lang['common_orderBy'] . " " . $lang['common_company'] . "\">" . $lang['common_company'] . "</a></th>\n"; echo "<th width=\"20%\"><a href=\"" . $toolInst->encodeUrl("index.php?content=customers.php&&order=email&desc=" . $desc) . "\" title=\"" . $lang['common_orderBy'] . " " . $lang['common_email'] . "\">" . $lang['common_email'] . "</a></th>\n"; ?> <th colspan=2><?php echo $lang['common_action']; ?> </th> </tr> <?php $list = $customerInst->getList($order, $desc); $style = "light"; while ($element = current($list)) { $customerInst->activate($element); ?> <tr class="<?php echo $style; ?> " onmouseover="this.style.backgroundColor='#fafafa'" onmouseout="this.style.backgroundColor=''"><?php echo "<td>" . $customerInst->customerNumber . "</td>\n"; echo "<td>" . $customerInst->firstname . " " . $customerInst->lastname . "</td>\n"; echo "<td><a href=\"javascript:openwindow('" . $toolInst->encodeUrl("index.php?content=customerdetails.php&view=details&customerid=" . $element) . "',width='500',height='500')\" title=\"" . $lang['customer_showDetails'] . "\">" . $customerInst->company . "</a></td>\n"; echo "<td><a href=\"mailto:" . $customerInst->email . "\">" . $customerInst->email . "</a></td>\n"; echo "<td align=center><input type=submit value=" . $lang['common_delete'] . " onclick=\"document.form1.id.value='" . $element . "';document.form1.action.value='delete';return Check()\"></td>\n"; echo "<td align=center><input type=submit value=" . $lang['common_edit'] . " onclick=\"document.form1.id.value='" . $element . "';document.form1.action.value='edit'\"></td>\n"; echo "</tr>\n";
(<?php echo $config['currency']; ?> ): </td><td><input value="<?php echo $projectInst->budget; ?> " maxlength="10" type="text" name="budget" size="10"></td></tr> <tr> <td><?php echo $lang['common_customer']; ?> : </td> <td><select name="customerid"> <?php $customerInst = new customer(); $list = $customerInst->getList(); while ($element = current($list)) { $customerInst->activate($element); $selected = ""; if ($customerInst->id == $projectInst->customerId) { $selected = "selected"; } echo "<option " . $selected . " value=\"" . $customerInst->id . "\">" . $customerInst->company . "\n"; next($list); } ?> </select></td> </tr> <tr> <td><?php echo $lang['common_manager'];