echo "N/A"; } ?> </small></td> <td><small> <?php if ($row["areaManager"] != NULL) { echo gettelecallername($row["areaManager"]); } else { echo "N/A"; } ?> </small></td> <td><small> <?php if ($row["serviceExecutive"] != NULL) { echo gettelecallername($row["serviceExecutive"]); } else { echo "N/A"; } ?> </small></td> </tr> <?php } echo $pagerstring; } } else { echo "<tr><td colspan=6 align=center><h3><font color=red>No records found !</h3></font></td><tr/></table>"; }
<select name="telecaller" id="telecaller" class="form-control text_box" > <?php $Country = mysql_query("SELECT * FROM tblcallingdata as A, tblassign as B \nWHERE A.id = B.callingdata_id and B.callingdata_id ='{$id}'"); while ($resultCountry = mysql_fetch_assoc($Country)) { ?> <option value="<?php echo $resultCountry['telecaller_id']; ?> " <?php if (isset($datasource) && $resultCountry['telecaller_id'] == $datasource) { ?> selected<?php } ?> ><?php echo gettelecallername(stripslashes(ucfirst($resultCountry['telecaller_id']))); ?> </option> <?php } ?> </select> </td> <td>Data Source <span class="red">*</span></td> <td><input type="text" name="datasource" id="datasource" class="form-control text_box" value="<?php if (isset($result['id'])) { echo $result['data_source']; } ?> " /> </td> </tr> <tr>
<td height="34"> </td> <td> </td> <td> </td> </tr> <tr> <td height="34">Activation Date</td> <td><input type="text" name="createdate" id="createdate" value="<?php if (isset($result['cust_id'])) { echo $result['created']; } ?> " class="form-control text_box" readonly></td> <td>Lead Gen. Exe.</td> <td><input type="text" name="customer_name2" id="customer_name2" value="<?php if (isset($result['cust_id'])) { echo gettelecallername($result['telecaller_id']); } ?> " class="form-control text_box" readonly></td> </tr> <tr> <td height="34">Lead Gen. Branch</td> <td><input type="text" name="branch_id" id="branch_id" value="<?php if (isset($result['cust_id'])) { echo getBranch($result['branch_id']); } ?> " class="form-control text_box" readonly></td> <td> </td> <td> </td> </tr>
} ?> </td> <td><small><?php if ($row["B_name"] == "") { echo "<span style ='color:orange; font-weight:bold;'>Not Allocated</span>"; } else { echo getBranch(stripcslashes($row["B_name"])); } ?> </small></td> <td><small><?php if ($row["T_name"] == "") { echo "<span style ='color:orange; font-weight:bold;'>Not Allocated</span>"; } else { echo gettelecallername(stripcslashes($row["T_name"])); } ?> </small></td> <td><small><?php echo stripslashes($row["ap_date"]); ?> </small></td> <td><small><?php echo stripslashes($row["C_date"]); ?> </small></td> </tr> <?php } echo $pagerstring;
?> </small></td> <td><small><?php echo getproducts(stripslashes($row["Pid"])); ?> </small></td> <td><small><?php echo getRequesttype(stripslashes($row["VisitType"])); ?> </small></td> <td><small><?php echo getOraganization(stripslashes($row["Company"])); ?> </small></td> <td><small><?php echo gettelecallername(stripslashes($row["Tid"])); ?> </small></td> <td><textarea name="description" style="width:100px;"></textarea></td> <td><input type="text" name="kmTravel" id="kmTravel<?php print $kolor - 1; ?> " class="kmTravel" style="width:50px;" /></td> <td><input type="text" name="fare" id="fare<?php print $kolor - 1; ?> " onchange="calTotal(<?php print $kolor - 1; ?> )" class="fare" style="width:50px;"></td>