コード例 #1
0
 protected void BtnReprintTmAck_Click(object sender, EventArgs e)
 {
     if ((this.Session["xvid"] != null) && (this.Session["xvid"].ToString() != ""))
     {
         this.transID = this.Session["xvid"].ToString();
     }
     if ((this.Session["agent_code"] != null) && (this.Session["agent_code"].ToString() != ""))
     {
         this.agent_code = this.Session["agent_code"].ToString();
     }
     this.pwalletID = this.t.getCheckStatusDetails2(this.transID, this.agent_code);
     if (this.pwalletID != "")
     {
         this.c_mark = this.t.getMarkInfoClassByUserID(this.pwalletID);
         this.c_rep = this.t.getRepClassByUserID(this.pwalletID);
         this.c_stage = this.t.getStageClassByUserID(this.pwalletID);
         this.c_app = this.t.getApplicantClassByID(this.pwalletID);
         this.c_app_addy = this.t.getAddressClassByID(this.c_app.addressID);
         this.showtm = 2;
         this.show_search = false;
     }
     else
     {
         this.showtm = 0;
         this.show_search = true;
     }
 }
コード例 #2
0
        protected void btnSearch_Click(object sender, EventArgs e)
        {
            if (DropDownList1.SelectedItem.Value == "TransactionId")
            {

                if (txt_status.Text != "")
                {
                    if (txt_status.Text.Contains("OAI/TM/"))
                    {
                        txt_status.Text = txt_status.Text.Replace("OAI/TM/", "");
                    }
                    transID = txt_status.Text.Trim();
                    lt_pw = t.getStageByClientIDAcc(txt_status.Text);
                    if (lt_pw.Count > 0)
                    {
                        Session["xvid"] = txt_status.Text.Trim();
                        lt_mi = t.getMarkInfoByUserID(lt_pw[0].ID);
                        lt_rep = t.getRepByUserID(lt_pw[0].ID);
                        Session["agent_code"] = lt_rep.agent_code;
                        SortedList<string, string> x = c_as.showTmStatus(lt_pw[0].status, lt_pw[0].data_status);

                        //  if (Convert.ToInt32(lt_pw[0].status) >= 5 && lt_pw[0].data_status == "Accepted")
                        if (lt_pw[0].data_status != "Fresh" && lt_pw[0].data_status != "Valid" && lt_pw[0].data_status != "Re-conduct search" && lt_pw[0].data_status != "Search Conducted" && lt_pw[0].data_status != "Search 2 Conducted" && lt_pw[0].data_status != "Re-examine" && lt_pw[0].data_status != "Registrable" && lt_pw[0].data_status != "Refused" && lt_pw[0].data_status != "Non-registrable" && lt_pw[0].data_status.ToUpper() != "KIV")
                        {
                            Session["d_status"] = lt_pw[0].status;
                            string ssd = System.Configuration.ConfigurationManager.AppSettings["cld_root"];

                            //  acceptance_letter = "http://tm.cldng.com/admin/tm/acceptance_slip_details.aspx?x=" + lt_mi[0].xID + " &x2=tt"; ;

                            acceptance_letter = ssd + "admin/tm/acceptance_slip_details.aspx?x=" + lt_mi[0].xID + " &x2=tt"; ;

                            Session["acceptance_letter"] = acceptance_letter;
                            Button2.Visible = true;
                        }
                        else
                        {

                            Button2.Visible = false;
                            string sss = "";
                        }

                        if (Convert.ToInt32(lt_pw[0].status) == 4 && lt_pw[0].data_status == "Refused")
                        {
                            Button3.Visible = true;

                            string ssd = System.Configuration.ConfigurationManager.AppSettings["cld_root"];

                            refusal_letter = ssd + "admin/tm/rejection_slip_details.aspx?x=" + lt_mi[0].xID + " &x2=tt";

                            Session["refusal_letter"] = refusal_letter;

                        }

                        else
                        {
                            Button3.Visible = false;

                        }

                        if (Convert.ToInt32(lt_pw[0].status) >= 5)
                        {
                            try
                            {

                                //Button5.Visible = true;

                                //string ssd = System.Configuration.ConfigurationManager.AppSettings["cld_root"];

                                //indexcard = ssd + "admin/tm/acceptance_unit/index_cards2.aspx?param=" + lt_mi[0].log_staff;

                                //Session["indexcard"] = indexcard;

                            }

                            catch(Exception ee )
                            {

                            }

                        }

                        else
                        {
                            Button5.Visible = false;

                        }

                        if (lt_pw[0].data_status == "Registered")
                        {
                            try
                            {
                                //Button4.Visible = true;

                                //string ssd = System.Configuration.ConfigurationManager.AppSettings["cld_root"];

                                //Certificate = ssd + "admin/tm/registrar_c_data_detailsx2.aspx?x=" + lt_mi[0].xID;

                                //Session["Certificate"] = Certificate;

                            }

                            catch(Exception ee )
                            {

                            }

                        }

                        else
                        {
                            Button4.Visible = false;

                        }
                        Session["d_status"] = lt_pw[0].status;
                        status = x["status"];
                        data_status = x["data_status"];
                        showtm = 1;
                        show_search = false;
                    }
                    else
                    {
                        status = "N/A";
                        showtm = 1;
                    }
                }
                else
                {
                    base.Response.Write("<script language=JavaScript>alert('PLEASE ENTER A VALID REFERENCE NUMBER')</script>");
                }

            }

               else  if (DropDownList1.SelectedItem.Value == "TpNumber")
            {

                if (txt_status.Text != "")
                {

                    transID = txt_status.Text.Trim();
                 //  t.getStageClassByUserID( t.getMarkInfoByRegno(transID)[0].log_staff);
                    lt_pw = t.getStageByClientIDAcc(t.getStageClassByUserID(t.getMarkInfoByRegno(transID)[0].log_staff).validationID);
                    if (lt_pw.Count > 0)
                    {
                        Session["xvid"] = txt_status.Text.Trim();
                        lt_mi = t.getMarkInfoByUserID(lt_pw[0].ID);
                        lt_rep = t.getRepByUserID(lt_pw[0].ID);
                        Session["agent_code"] = lt_rep.agent_code;
                        SortedList<string, string> x = c_as.showTmStatus(lt_pw[0].status, lt_pw[0].data_status);

                        //  if (Convert.ToInt32(lt_pw[0].status) >= 5 && lt_pw[0].data_status == "Accepted")
                        if (lt_pw[0].data_status != "Fresh" && lt_pw[0].data_status != "Valid" && lt_pw[0].data_status != "Re-conduct search" && lt_pw[0].data_status != "Search Conducted" && lt_pw[0].data_status != "Search 2 Conducted" && lt_pw[0].data_status != "Re-examine" && lt_pw[0].data_status != "Registrable" && lt_pw[0].data_status != "Refused" && lt_pw[0].data_status != "Non-registrable" && lt_pw[0].data_status != "Kiv")
                        {
                            Session["d_status"] = lt_pw[0].status;
                            string ssd = System.Configuration.ConfigurationManager.AppSettings["cld_root"];

                            //  acceptance_letter = "http://tm.cldng.com/admin/tm/acceptance_slip_details.aspx?x=" + lt_mi[0].xID + " &x2=tt"; ;

                            acceptance_letter = ssd + "admin/tm/acceptance_slip_details.aspx?x=" + lt_mi[0].xID + " &x2=tt"; ;

                            Session["acceptance_letter"] = acceptance_letter;
                            Button2.Visible = true;
                        }
                        else
                        {

                            Button2.Visible = false;
                            string sss = "";
                        }

                        if (Convert.ToInt32(lt_pw[0].status) == 4 && lt_pw[0].data_status == "Refused")
                        {
                            Button3.Visible = true;

                            string ssd = System.Configuration.ConfigurationManager.AppSettings["cld_root"];

                            refusal_letter = ssd + "admin/tm/rejection_slip_details.aspx?x=" + lt_mi[0].xID + " &x2=tt";

                            Session["refusal_letter"] = refusal_letter;

                        }

                        else
                        {
                            Button3.Visible = false;

                        }

                        if (Convert.ToInt32(lt_pw[0].status) >= 5 )
                        {

                            //Button5.Visible = true;

                            //string ssd = System.Configuration.ConfigurationManager.AppSettings["cld_root"];

                            //indexcard = ssd + "admin/tm/acceptance_unit/index_cards2.aspx?param=" + lt_mi[0].log_staff ;

                            //Session["indexcard"] = indexcard;

                        }

                        else
                        {
                            Button5.Visible = false;

                        }

                        if (lt_pw[0].data_status == "Registered")
                        {
                            //Button4.Visible = true;

                            //string ssd = System.Configuration.ConfigurationManager.AppSettings["cld_root"];

                            //Certificate = ssd + "admin/tm/registrar_c_data_detailsx2.aspx?x=" + lt_mi[0].xID;

                            //Session["Certificate"] = Certificate;

                        }

                        else
                        {
                            Button4.Visible = false;

                        }
                        Session["d_status"] = lt_pw[0].status;
                        status = x["status"];
                        data_status = x["data_status"];
                        showtm = 1;
                        show_search = false;
                    }
                    else
                    {
                        status = "N/A";
                        showtm = 1;
                    }
                }
                else
                {
                    base.Response.Write("<script language=JavaScript>alert('PLEASE ENTER A VALID REFERENCE NUMBER')</script>");
                }

            }

            else if (DropDownList1.SelectedItem.Value == "TrademarkName")
            {

                if (txt_status.Text != "")
                {
                    if (txt_status.Text.Contains("OAI/TM/"))
                    {
                        txt_status.Text = txt_status.Text.Replace("OAI/TM/", "");
                    }
                    transID = txt_status.Text.Trim();
                    //  lt_pw = t.getStageByClientIDAcc(txt_status.Text);
                    lt_pw = t.getStageByClientIDAcc(t.getStageClassByUserID(t.getMarkInfoByProductTitle(transID)[0].log_staff).validationID);
                    if (lt_pw.Count > 0)
                    {
                        Session["xvid"] = txt_status.Text.Trim();
                        lt_mi = t.getMarkInfoByUserID(lt_pw[0].ID);
                        lt_rep = t.getRepByUserID(lt_pw[0].ID);
                        Session["agent_code"] = lt_rep.agent_code;
                        SortedList<string, string> x = c_as.showTmStatus(lt_pw[0].status, lt_pw[0].data_status);

                        //  if (Convert.ToInt32(lt_pw[0].status) >= 5 && lt_pw[0].data_status == "Accepted")
                        if (lt_pw[0].data_status != "Fresh" && lt_pw[0].data_status != "Valid" && lt_pw[0].data_status != "Re-conduct search" && lt_pw[0].data_status != "Search Conducted" && lt_pw[0].data_status != "Search 2 Conducted" && lt_pw[0].data_status != "Re-examine" && lt_pw[0].data_status != "Registrable" && lt_pw[0].data_status != "Refused" && lt_pw[0].data_status != "Non-registrable" && lt_pw[0].data_status != "Kiv")
                        {
                            Session["d_status"] = lt_pw[0].status;
                            string ssd = System.Configuration.ConfigurationManager.AppSettings["cld_root"];

                            //  acceptance_letter = "http://tm.cldng.com/admin/tm/acceptance_slip_details.aspx?x=" + lt_mi[0].xID + " &x2=tt"; ;

                            acceptance_letter = ssd + "admin/tm/acceptance_slip_details.aspx?x=" + lt_mi[0].xID + " &x2=tt"; ;

                            Session["acceptance_letter"] = acceptance_letter;
                            Button2.Visible = true;
                        }
                        else
                        {

                            Button2.Visible = false;
                            string sss = "";
                        }

                        if (Convert.ToInt32(lt_pw[0].status) == 4 && lt_pw[0].data_status == "Refused")
                        {
                            Button3.Visible = true;

                            string ssd = System.Configuration.ConfigurationManager.AppSettings["cld_root"];

                            refusal_letter = ssd + "admin/tm/rejection_slip_details.aspx?x=" + lt_mi[0].xID + " &x2=tt";

                            Session["refusal_letter"] = refusal_letter;

                        }

                        else
                        {
                            Button3.Visible = false;

                        }

                        if (Convert.ToInt32(lt_pw[0].status) >= 5)
                        {
                            //Button5.Visible = true;

                            //string ssd = System.Configuration.ConfigurationManager.AppSettings["cld_root"];

                            //indexcard = ssd + "admin/tm/acceptance_unit/index_cards2.aspx?param=" + lt_mi[0].log_staff;

                            //Session["indexcard"] = indexcard;

                        }

                        else
                        {
                            Button5.Visible = false;

                        }

                        if (lt_pw[0].data_status == "Registered")
                        {
                            //Button4.Visible = true;

                            //string ssd = System.Configuration.ConfigurationManager.AppSettings["cld_root"];

                            //Certificate = ssd + "admin/tm/registrar_c_data_detailsx2.aspx?x=" + lt_mi[0].xID;

                            //Session["Certificate"] = Certificate;

                        }

                        else
                        {
                            Button4.Visible = false;

                        }
                        Session["d_status"] = lt_pw[0].status;
                        status = x["status"];
                        data_status = x["data_status"];
                        showtm = 1;
                        show_search = false;
                    }
                    else
                    {
                        status = "N/A";
                        showtm = 1;
                    }
                }
                else
                {
                    base.Response.Write("<script language=JavaScript>alert('PLEASE ENTER A VALID REFERENCE NUMBER')</script>");
                }

            }
        }
コード例 #3
0
        protected void BtnReprintTmAck_Click(object sender, EventArgs e)
        {
            if ((Session["xvid"] != null) && (Session["xvid"].ToString() != ""))
            {
                transID = Session["xvid"].ToString();
            }
            if ((Session["agent_code"] != null) && (Session["agent_code"].ToString() != ""))
            {
                agent_code = Session["agent_code"].ToString();
            }
            pwalletID = t.getCheckStatusDetails(transID, agent_code);
            if ((Convert.ToInt32(pwalletID) > 0) && (pwalletID != ""))
            {
                c_mark = t.getMarkInfoClassByUserID(pwalletID);
                c_rep = t.getRepClassByUserID(pwalletID);
                c_stage = t.getStageClassByUserID(pwalletID);
                c_app = t.getApplicantClassByID(pwalletID);
                c_app_addy = t.getAddressClassByID(c_app.addressID);

                if ((c_mark.xID != null) && (c_mark.logo_pic != ""))
                {
                    tm_img.ImageUrl = "http://88.150.164.30/CLD/admin/tm/" + c_mark.logo_pic;

                    Stream str = null;
                    string imageUrl = "http://88.150.164.30/CLD/admin/tm/" + c_mark.logo_pic;
                    HttpWebRequest wReq = (HttpWebRequest)WebRequest.Create(imageUrl);
                    HttpWebResponse wRes = (HttpWebResponse)(wReq).GetResponse();
                    str = wRes.GetResponseStream();

                    try
                    {
                        var imageOrig = System.Drawing.Image.FromStream(str);
                        int height = imageOrig.Height;
                        int width = imageOrig.Width;

                        if ((height > 0) && (width > 0))
                        {
                            if ((height > 240) && (width > 240))
                            {
                                if (height > width) { tm_img.Height = new Unit(320, UnitType.Pixel); tm_img.Width = new Unit(240, UnitType.Pixel); }
                                else if (height < width) { tm_img.Height = new Unit(240, UnitType.Pixel); tm_img.Width = new Unit(320, UnitType.Pixel); }
                                else { tm_img.Height = new Unit(320, UnitType.Pixel); tm_img.Width = new Unit(320, UnitType.Pixel); }
                            }
                            else
                            {
                                tm_img.Height = new Unit(height, UnitType.Pixel); tm_img.Width = new Unit(width, UnitType.Pixel);
                            }
                        }
                        else
                        {
                            tm_img.ImageUrl = "http://88.150.164.30/IpoCldng/images/na.png";
                            tm_img.Height = new Unit(240, UnitType.Pixel); tm_img.Width = new Unit(240, UnitType.Pixel);
                        }

                    }
                    catch (Exception ex)
                    {
                        tm_img.ImageUrl = "http://88.150.164.30/IpoCldng/images/na.png";
                        tm_img.Height = new Unit(240, UnitType.Pixel); tm_img.Width = new Unit(240, UnitType.Pixel);
                    }
                }
                else
                {
                    // tm_img.ImageUrl = "http://88.150.164.30/IpoCldng/images/na.png";
                    //  tm_img.Height = new Unit(240, UnitType.Pixel); tm_img.Width = new Unit(240, UnitType.Pixel);
                }
                showtm = 2;
                show_search = false;
            }
            else
            {
                showtm = 0;
                show_search = true;
            }
        }
コード例 #4
0
ファイル: xreport_apps.aspx.cs プロジェクト: ozotony/ipocldng
        protected void gvTm_RowCommand(object sender, GridViewCommandEventArgs e)
        {
            if ((Session["tm_cnt"] != null) && (Session["tm_cnt"].ToString() != ""))
            {
                tm_cnt = Convert.ToInt32(Session["tm_cnt"]);
            }
            if ((Session["lt_ri"] != null) && (Session["lt_ri"].ToString() != ""))
            {
                lt_ri = (List<XObjs.ReportItem>)Session["lt_ri"];
            }
            gvTm.DataSource = lt_ri;
            gvTm.DataBind();
            if (e.CommandName == "TmDetailsClick")
            {

                GridViewRow namingContainer = (GridViewRow)((ImageButton)e.CommandSource).NamingContainer;
                int rowIndex = namingContainer.RowIndex;
                string new_transID = gvTm.Rows[rowIndex].Cells[1].Text;
                string item_code = gvTm.Rows[rowIndex].Cells[2].Text;
                int vcount = 0;

                if (item_code.Contains("T"))
                {
                    c_stage = t.getStageByTransID(new_transID);
                    if (Convert.ToInt32(c_stage.ID) > 0)
                    {
                        c_app = t.getApplicantByUserID(c_stage.ID);
                        c_mark = t.getMarkInfoClassByUserID(c_stage.ID);
                        c_aos = t.getAddressServiceByID(c_stage.ID);
                        c_rep = t.getRepClassByUserID(c_stage.ID);
                        if (c_rep.addressID!=null) { c_rep_addy = t.getAddressClassByID(c_rep.addressID); }
                        if (c_app.addressID!=null ){ c_app_addy = t.getAddressClassByID(c_app.addressID); }
                    }
                    else
                    {
                        Registration reg = new Registration();
                        string[] trans_arr = new_transID.Split('-');
                        int hcount = reg.updateHwalletStatus(trans_arr[2].Trim());
                        if (hcount > 0)  { vcount ++; }
                    }
                    show_inv = 2;
                }
                else if (item_code.Contains("P"))
                {
                    lt_stage = xpt.getPwalletDetailsByValidationID(new_transID);

                    if (Convert.ToInt32(lt_stage[0].ID) > 0)
                    {
                        lt_mi = xpt.getPtInfoByPwalletID(lt_stage[0].ID);
                        lt_rep = xpt.getRepListByUserID(lt_stage[0].ID);
                        lt_stage = xpt.getStageByUserID(lt_stage[0].ID);
                        lt_app = xpt.getApplicantByvalidationID(lt_stage[0].ID);
                        lt_inv = xpt.getInventorByvalidationID(lt_stage[0].ID);
                        lt_assinfo = xpt.getAssignment_infoByvalidationID(lt_stage[0].ID);
                        lt_xpri = xpt.getPriority_infoByvalidationID(lt_stage[0].ID);
                    }
                    else
                    {
                        Registration reg = new Registration();
                        string[] trans_arr = new_transID.Split('-');
                        int hcount = reg.updateHwalletStatus(trans_arr[2].Trim());
                        if (hcount > 0) { vcount++; }
                    }
                    show_inv = 3;
                }
                else if (item_code.Contains("D"))
                {
                    //c_stage = t.getStageByTransID(new_transID);
                    //if (Convert.ToInt32(c_stage.ID) > 0)
                    //{
                    //    c_app = t.getApplicantByUserID(c_stage.ID);
                    //    c_mark = t.getMarkInfoClassByUserID(c_stage.ID);
                    //    c_aos = t.getAddressServiceByID(c_stage.ID);
                    //    c_rep = t.getRepClassByUserID(c_stage.ID);
                    //    if (Convert.ToInt32(c_rep.addressID) > 0) { c_rep_addy = t.getAddressClassByID(c_rep.addressID); }
                    //    if (Convert.ToInt32(c_app.addressID) > 0) { c_app_addy = t.getAddressClassByID(c_app.addressID); }
                    //}
                    //else
                    //{
                    //    Registration reg = new Registration();
                    //    string[] trans_arr = new_transID.Split('-');
                    //    int hcount = reg.updateHwalletStatus(trans_arr[2].Trim());
                    //    if (hcount > 0)  { vcount ++; }
                    //}
                    //show_inv = 2;
                }

            }
        }
コード例 #5
0
 protected void btnSearch_Click(object sender, EventArgs e)
 {
     if (this.txt_status.Text != "")
     {
         if (this.txt_status.Text.Contains("OAI/TM/"))
         {
             this.txt_status.Text = this.txt_status.Text.Replace("OAI/TM/", "");
         }
         this.transID = this.txt_status.Text.Trim();
         this.lt_pw = this.t.getStageByClientIDAcc2(this.txt_status.Text);
         if (this.lt_pw.Count > 0)
         {
             this.Session["xvid"] = this.txt_status.Text.Trim();
             this.lt_mi = this.t.getMarkInfoByUserID(this.lt_pw[0].ID);
             this.lt_rep = this.t.getRepByUserID(this.lt_pw[0].ID);
             this.Session["agent_code"] = this.lt_rep.agent_code;
             SortedList<string, string> x = c_as.showDsStatus(lt_pw[0].status, lt_pw[0].data_status);
             status = x["status"];
             data_status = x["data_status"];
             this.showtm = 1;
             this.show_search = false;
         }
         else
         {
             this.status = "N/A";
             this.showtm = 1;
         }
     }
     else
     {
         base.Response.Write("<script language=JavaScript>alert('PLEASE ENTER A VALID REFERENCE NUMBER')</script>");
     }
 }
コード例 #6
0
 protected void btnSearch_Click(object sender, EventArgs e)
 {
     if (this.txt_status.Text != "")
     {
         if (this.txt_status.Text.Contains("OAI/TM/"))
         {
             this.txt_status.Text = this.txt_status.Text.Replace("OAI/TM/", "");
         }
         this.transID = this.txt_status.Text.Trim();
         this.lt_pw = this.t.getStageByClientIDAcc(this.txt_status.Text);
         if (this.lt_pw.Count != 0)
         {
             Session["xvid"] = this.txt_status.Text.Trim();
             this.lt_mi = this.t.getMarkInfoByUserID(this.lt_pw[0].ID);
             this.lt_rep = this.t.getRepByUserID(this.lt_pw[0].ID);
             Session["agent_code"] = lt_rep.agent_code;
             if (this.lt_pw[0].status == "1")
             {
                 this.status = "Verification";
                 if (lt_pw[0].data_status == "Fresh") { data_status = "Untreated"; }
             }
             if (this.lt_pw[0].status == "2")
             {
                 this.status = "Search";
                 if (lt_pw[0].data_status == "Re-conduct search") { data_status = "being re-conducted"; }
             }
             if (this.lt_pw[0].status == "22")
             {
                 this.status = "Search 2";
                 if (lt_pw[0].data_status == "Re-conduct search 1") { data_status = "being re-conducted"; }
             }
             if (this.lt_pw[0].status == "3")
             {
                 this.status = "Search 2";
                 if (lt_pw[0].data_status == "Search Conducted") { data_status = "being processed"; }
             }
             if (this.lt_pw[0].status == "33")
             {
                 this.status = "Examiners";
                 if (lt_pw[0].data_status == "Search 2 Conducted") { data_status = "being processed"; }
             }
             if (this.lt_pw[0].status == "4")
             {
                 this.status = "Acceptance";
                 if (lt_pw[0].data_status == "Registrable") { data_status = "Accepted"; }
                 else if (lt_pw[0].data_status == "Refused") { data_status = "Refused"; }
                 else if (lt_pw[0].data_status == "Non-registrable") { data_status = "not-registrable"; }
             }
             if (this.lt_pw[0].status == "5")
             {
                 this.status = "Publication";
                 if (lt_pw[0].data_status == "Accepted") { data_status = "being published"; }
             }
             if (this.lt_pw[0].status == "6")
             {
                 this.status = "Opposition";
                 if (lt_pw[0].data_status == "Published") { data_status = "being published"; } else { data_status = "been opposed"; }
             }
             if (this.lt_pw[0].status == "7")
             {
                 this.status = "Certification";
                 if (lt_pw[0].data_status == "Not Opposed") { data_status = "being processed"; }
             }
             if (this.lt_pw[0].status == "8")
             {
                 this.status = "Registrars";
                 if (lt_pw[0].data_status == "Certified") { data_status = "being processed"; }
             }
             if (this.lt_pw[0].status == "9")
             {
                 this.status = "Registrars";
                 if (lt_pw[0].data_status == "Registered") { data_status = "being registered"; }
             }
             this.showtm = 1; show_search = false;
         }
         else   {  this.status = "N/A";  this.showtm = 1; }
     }
     else
     {
         base.Response.Write("<script language=JavaScript>alert('PLEASE ENTER A VALID REFERENCE NUMBER')</script>");
     }
 }