<td width="11%"><strong>Confirmation Letter</strong></td> <?php } ?> </tr> </tbody> <?php while ($row = mysql_fetch_assoc($result)) { $offer = togetoffervalue2($row['ac_id'], $row['id']); if (trim($offer) > 0) { if ($j % 2 == 0) { $classnext = "rwseven"; } else { $classnext = "rwsodd"; } if (togetoffervalue2($row['ac_id'], $row['id']) > 0 && togetvalueoffermanger($row['ac_id'], $row['id'], "status") == 0) { $dquery = "SELECT t1.*,t2.id as ac_id,t2.account,t2.balance,t2.bank,t2.status,t2.alert,t2.account_no,t2.date_opened,t2.date_closed,t2.dateofbirth,t2.pancard,t2.notes,t2.principal, t2.interest, t2.other_charges, t2.last_payment_date, t2.last_payment_done, t2.product_type, t2.cibil_status, t2.unikdueid FROM `tbl_userdetails` as t1 INNER JOIN `tbl_accounts` as t2 ON t1.id=t2.userid WHERE t2.id=" . $row['ac_id'] . " AND t2.bank=" . $_SESSION['banid']; $admin = mysql_fetch_object(mysql_query_with_throw($dquery)); $queryfp = "SELECT * FROM `tbl_offeremi` WHERE `offerid` = " . togetcurrentofferid($row["ac_id"], $row["id"]); $resultfp = mysql_query_with_throw($queryfp); $totalfp = mysql_num_rows($resultfp); ?> <tbody class="category" style="padding-left:3px;" > <tr align="center" class="normal <?php /* echo $classnext; */ ?> "> <td width="4%"><input name="chkid[<?php echo $j; ?> ]" type="checkbox" class="showBox" id="chkid[<?php
<tr class="normal rwsodd" height="30" > <td colspan="10" align="right"><!--<input name="active" type="button" id="active" value="Accept" onclick="javascript:activeRecord();" /> <input name="inactive" type="button" id="inactive" value="Reject" onclick="javascript:inactiveRecord();" /> --><input name="update_all" type="button" value="Update" class="sub_btn" style="float:right;" onclick="javascript:updateRecord();"/></td> </tr> <tr align="center" class="normal" height="30"> <td width="2%"><input name="chkSelectAll" type="checkbox" id="chkSelectAll" value="checkbox" onclick="javascript:selectAllChk();" /></td> <td width="15%"><strong>Account Name</strong></td> <td width="10%"><strong>Product</strong></td> <td width="12%"><strong>Account No.</strong></td> <td width="12%"><strong>Balance</strong></td> <td width="7%"><strong>Offered</strong></td> <td width="8%"><strong>Payment Status</strong></td> <td width="6%"><strong></strong></td> </tr> <?php while ($row = mysql_fetch_assoc($result)) { $offer = togetoffervalue2($row['ac_id'], $row['id']); if (trim($offer) > 0) { if ($j % 2 == 0) { $classnext = "rwseven"; } else { $classnext = "rwsodd"; } ?> <tr align="center" class="normal <?php echo $classnext; ?> "> <td><input name="chkid[<?php echo $j; ?> ]" type="checkbox" id="chkid[<?php
</td> </tr> <tr> <td align="left" class="blackbold" height="1" colspan="2"></td> </tr> <?php } ?> <tr> <td height="30" align="left" class="blackbold">Counter Offer Value</td> <td align="left" class="head2"><input name="fullpayment" type="hidden" value="<?php echo $fullpayment; ?> " /> <input name="offeraccept" type="hidden" value="<?php echo togetoffervalue2($admin->ac_id, $admin->id); ?> " /> <input name="counteroffer" id="counteroffer" type="text" class="head2" value="<?php echo $row["counteroffer"]; ?> " size="50"/> Rs</td> </tr> <tr> <td height="30" align="left" class="blackbold">Last Date for Payment</td> <td align="left" class="head2"><input name="last_date" id="last_date" type="text" class="head2" value="<?php echo $row["last_date"]; ?> " size="50"/></td> </tr> <?php