?>
</td>
          <td style="text-align:right; padding-right:20px"><?php 
    echo togetcurrentoffervalue($row['ac_id'], $row['id']);
    ?>
</td>  
          <td style="text-align:right; padding-right:20px"><?php 
    if ($row['balance'] > 0) {
        echo togetcurrentoffervalueoption($row['ac_id'], $row['id']);
    } else {
        echo '----';
    }
    ?>
</td> 
          <td  height="30"><?php 
    echo togetcasetype($row['case_type']);
    ?>
</td>
          <td  height="30"><?php 
    echo togetpaymentstatus($row['payin']);
    ?>
</td>
          <td  height="30"><?php 
    echo togetleadsource($row['source']);
    ?>
</td>
          <td  height="30"><?php 
    echo toshowformatdate($row['dateofbirth']);
    ?>
</td>
          <td  height="30"><?php 
 $date_closed = $row["date_closed"];
 $dob = $row["dob"];
 $pancard = $row["pan"];
 $last_payment_date = $row["date_last_payment"];
 $last_payment_done = $row["last_payment_done"];
 $unikdueid = $row["unikdueid"];
 $caption = addslashes($row["caption"]);
 if ($row['status'] == "1") {
     $status = "Verified";
 } elseif ($row['status'] == "2") {
     $status = "Rejected";
 } else {
     $status = "Pending";
 }
 $cibil_status = addslashes($array_cibil[$row["cibil_status"]]);
 $case_type = addslashes(togetcasetype($row["case_type"]));
 $account_creation_date = $row["account_creation_date"];
 $firstname = addslashes($row["firstname"]);
 $middlename = addslashes($row["middlename"]);
 $lastname = addslashes($row["lastname"]);
 $email = $row["email"];
 $mobile = $row["mobile"];
 $phone = $row["phone"];
 $source = addslashes($array_source[$row["source"]]);
 $type = addslashes($array_custype[$row["type"]]);
 $owner = addslashes($array_owner[$row["owner"]]);
 $account_source = addslashes($array_asource[$row["account_source"]]);
 $offer_amount = togetofferamount12($row["id"], $row["userid"]);
 $offer_status = togetofferstatus12($row["id"], $row["userid"]);
 $offer_date = togetofferdate12($row["id"], $row["userid"]);
 $payment_status = togetofferpaystatus12($row["payin"]);