<!--'#include file="include.asp"--> <% getVal() call dbConnect() call IncludHdrFrmwrk() 'call printHeader("","Tracking") Dim consignmentNo : consignmentNo = trim(request.QueryString("consignmentNo")) 'response.write(consignmentNo &"hello") %> <HTML><HEAD> <META http-equiv=Content-Type content="text/html; charset=unicode"> <!-- <META content="MSHTML 6.00.2800.1106" name=GENERATOR></HEAD>--> <BODY> <table width="550" border="0" cellspacing="0" cellpadding="0"> <tr><td colspan="4" height="20"></td></tr> <tr> <td width="17" height="25" background="images/br_l_t.gif"></td> <td width="131" bgcolor="#DDE2E8" class="headline1">OnLineTracking &nbsp;<img src="images/bl_arrow.gif" height="8"></td> <td width="389" height="25" background="images/br_t.gif">&nbsp;</td> <td width="13" height="25" background="images/br_t_r.gif">&nbsp;</td> </tr> <tr> <td width="17" background="images/br_l.gif"></td> <td colspan="2" bgcolor="#DDE2E8"> <table width="<%=tablewidth%>" border="0" cellpadding="2" cellspacing="2"> <tr> <td class="labeln"> You can track all your Domestic Consignments sent via <strong>DTDC</strong>.<br> Please enter the required information below and press the corresponding button to track your Consignment. </td> </tr> </table> <table width="<%=tablewidth%>" border="0"> <tr> <td class="labeln" colspan="2"><b>Domestic Tracking (All INDIA Shipment)</b></td> </tr> <form name="frmConNum" method=post action="http://extranet.dtdc.biz/tracking/main.asp" target="_blank"> <input type="hidden" name="action" value="track"> <input type="hidden" name="sec" value="tr"> <tr><td rowspan="3"><IMG src="images/clock.jpg"></td></tr> <tr> <td class="labeln" width="250"> <input type="radio" name="TrkType" value="cnno" checked>&nbsp;DTDC Consignment No. <input type="radio" name="TrkType" value="refno">&nbsp;Shipper's Ref. No. </td> </tr> <tr> <td align="right"> <input class="inputtext" size="25" value="<%=consignmentNo%>" name="strCnno" maxlength="25"> <input type="button" class="buttontext" onClick="checkConNumber(this)" value="Go"> </td> </tr> </form> </table> <table width="<%=tablewidth%>" border="0"> <tr> <td class="bluetext" colspan="2">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; * If the Consignment No does not start&nbsp; with an alphabet, &nbsp;&nbsp;&nbsp;please add X before the Consignment No.</td> </tr> <tr> <td class="bluetext" colspan="2">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; * Omit asterix (*) if any in your consignment number.</td> </tr> </table><!--<table width="<%=tablewidth%>" border="0"> <tr> <td class="labeln" valign="top" colspan="2"><br><b>International Tracking</b></td> </tr> <tr><td rowspan="3"><img src="../images/ccs.jpg"></td></tr> <form method="post" action="trackingIntl.asp"> <input type="hidden" name="hCheckStat" value="y"> <tr> <td class="labeln" valign="top" width="250" align="right"> Airway Bill No.&nbsp;<input type="text" class="inputtext" size="12" name="AirwayBill1" maxlength="15"> <input name="button" type="submit" class="buttontext" value="Go"> </td> </tr> </form> </table>--> <br> <table width="<%=tablewidth%>" border="0" cellpadding="2" cellspacing="2"> <tr class="labeln"> <td colspan="2"><b>SMS Tracking</b><br> </td> </tr> <tr> <td class="labeln"><IMG src="images/sms.jpg" align=left></td> <td valign="top" class="labeln" style="TEXT-ALIGN: justify"> To get the current status of your consignment, send a SMS in the format '<strong>DTDC</strong> Consignment No.' to the number: <strong>9845324040</strong>. For Ex: <strong>DTDC D03033703</strong> and SMS to 9845324040. This is valid for Reliance phone too. Please provide one space between 'DTDC' and 'Consignment No.' </td> </tr> </table><!-- <table cellpadding="4" width="<%=tablewidth%>" border="0"> <tr> <td class="labeln"><br><IMG height="5" src="images/bullet.gif" width="5">&nbsp; Calculate Your <A class=pagelink href="Javascript:GetTrnstm();"><b>Transit time</b></a> here </td> </tr> <tr> <td class="labeln"><IMG height="5" src="images/bullet.gif" width="5">&nbsp; DTDC <A class=pagelink href="locationsDomestic.asp"><b>Domestic Locations</b></a> </td> </tr> </table> --> <table width="<%=tablewidth%>" border="0"> <tr> <td class="labeln"><br><b>New Features :</b></td> </tr> <tr> <td class="labeln" style="TEXT-ALIGN: justify">For checking Pincode, please send SMS as '<strong>PIN</strong> pincode' to <strong>9845324040</strong>. For Ex: <strong>PIN 700019</strong> to 9845324040 </td> </tr> <tr> <td class="labeln" style="TEXT-ALIGN: justify">For checking serviceable City, please send SMS as '<strong>CITY</strong> City Name' to <strong>9845324040</strong>. For Ex: <strong>CITY Agra</strong> to 9845324040 </td> </tr> </table> <br> <table width="<%=tablewidth%>"> <tr><td class="labeln" align="middle"> <!-- Customer Service <A class=pagelink href="helpline.asp?pageid=70&amp;headid=12" ><b>Phone No.</b></a> --> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;We value your <A class=pagelink href="onlinefeedback.asp"><b>Feedback.</b></a> </td></tr> </table> <td width="15" background="images/br_r.gif">&nbsp;</td> </tr> <tr> <td width="17" height="28"><img src="images/br_l_b.gif"></td> <td colspan="2" height="28" background="images/br_b.gif">&nbsp;</td> <td width="13" height="28" background="images/br_b_r.gif">&nbsp;</td> </tr> </table> <% call dbDisconnect() call IncludFtrFrmwrk() 'call printFooter() %> <script> function GetTrnstm() { varwd;wd=window.open("transittm.asp","DTDC_Transit_time","toolbar=no,scrollbars=yes,location=no,directories=no,resizable=0,width=500,height=300"); wd.focus(); } function GetRelPhoneNo() {var cd; cd=window.open("http://extranet.dtdc.biz/tracking/phoneList.asp","Phone_List","toolbar=no,scrollbars=yes,location=no,directories=no,resizable=0,width=600,height=500"); cd.focus(); } function checkConNumber(){ var cnno = document.frmConNum.strCnno.value; // If reference No is clicked then do not validate the input if(document.frmConNum.TrkType[1].checked) { document.frmConNum.submit(); return true; } // check atleast one radio button should be clicked if (!document.frmConNum.TrkType[0].checked && !document.frmConNum.TrkType[1].checked) { alert("Please choose one of the option!!"); return false; } cnno = cnno.toUpperCase() if (cnno.length < 9) { alert("The Consignment Number is invalid!!"); return false; } //valid first digits alfValues="ABCDEFGHIJKLMNOPQRTSUVWXYZ" //get the first digit from input var alf = cnno.charAt(0); //alert(alf); //check if first digit is within valid digits if (alfValues.indexOf(alf) == -1) { alert("First digit should be alphanumeric!!"); //document.frmConNum.Submit.value="Get Details"; return false; } //Digits from 2nd to 9th should be numeric var i; for (i=1; i <= cnno.length; i++){ var c = cnno.charAt(i); if (isNaN(c)){ alert("The Consignment Number is invalid!!"); //document.frmConNum.Submit.value="Get Details"; return false; break; } } document.frmConNum.submit(); return true; } </script> </BODY></HTML>