示例#1
0
        //////////////////////////////////////////////////////////////-EVENTOS-////////////////////////////////////////////////////////
        protected void Page_Load(object sender, EventArgs e)
        {
            M = mast.M;
            L = mast.L;
            S = mast.S;
            F = mast.F;
            U = mast.U;

            BDM = new BDMiembro();
            APD = new BDAPAD();
            dic = new Diccionario(L, S);

            //carpeta = locacion;
            mst = (mast)Master;
            if (!IsPostBack)
            {
                try
                {
                    if (string.IsNullOrEmpty(M))
                    {
                        tbfiltro.Visible = false;
                        ingreso.Visible  = false;
                    }
                    else
                    {
                        Site   = S;
                        Member = M;
                        valoresiniciales(Site, Member);
                    }
                }
                catch (Exception ex)
                {
                }
            }
        }
示例#2
0
        private int ComprobarNombre(string nueva)
        {
            BDUsuario objBD   = new BDUsuario();
            BDAPAD    APD     = new BDAPAD();
            string    sql     = "SELECT CompleteName FROM dbo.FwEmployee WHERE EmployeeId= '" + Session["nombre"] + "'";
            string    nombre2 = APD.obtienePalabra(sql, "CompleteName");

            string[] nombre3 = nombre2.Split(' ');
            int      conteo3 = 0;

            foreach (string numero in nombre3)
            {
                string sql3    = "SELECT COUNT(*) conteo WHERE '" + nueva + "' like('%" + numero + "%')";
                string numero5 = APD.obtienePalabra(sql3, "conteo");
                int    conteo6 = Convert.ToInt32(numero5);
                conteo3 = conteo3 + conteo6;

                string remplazo = numero.Replace("á", "a");
                remplazo = remplazo.Replace("é", "e");
                remplazo = remplazo.Replace("í", "i");
                remplazo = remplazo.Replace("ó", "o");
                remplazo = remplazo.Replace("ú", "u");
                remplazo = remplazo.Replace("Á", "A");
                remplazo = remplazo.Replace("É", "E");
                remplazo = remplazo.Replace("Í", "I");
                remplazo = remplazo.Replace("Ó", "O");
                remplazo = remplazo.Replace("Ú", "U");
                string sql2    = "SELECT COUNT(*) conteo WHERE '" + nueva + "' like('%" + remplazo + "%')";
                string numero4 = APD.obtienePalabra(sql2, "conteo");
                int    conteo2 = Convert.ToInt32(numero4);
                conteo3 = conteo3 + conteo2;
            }
            return(conteo3);
        }
示例#3
0
 protected void Page_Load(object sender, EventArgs e)
 {
     M   = mast.M;
     L   = mast.L;
     S   = mast.S;
     F   = mast.F;
     U   = mast.U;
     mst = (mast)Master;
     dic = new Diccionario(L, S);
     mst.contentCallEvent += new EventHandler(accionar);
     if (!IsPostBack)
     {
         BDM = new BDMiembro();
         APD = new BDAPAD();
         dic = new Diccionario(L, S);
         try
         {
             valoresiniciales();
         }
         catch (Exception ex)
         {
         }
     }
     else
     {
     }
 }
        protected void Page_Load(object sender, EventArgs e)
        {
            M = mast.M;
            L = mast.L;
            S = mast.S;
            F = mast.F;
            U = mast.U;

            mst = (mast)Master;
            APD = new BDAPAD();
            dic = new Diccionario(L, S);
            BDM = new BDMiembro();
            // mst.contentCallEvent += new EventHandler(accionar);
            if (!IsPostBack)
            {
                dtAsistenciasAux = new DataTable();
                dtAsistencias    = new DataTable();
                mst = (mast)Master;
                BDM = new BDMiembro();
                APD = new BDAPAD();
                try
                {
                    ValoresIniciales();
                }
                catch (Exception ex)
                {
                    mst.mostrarMsjAdvNtf(ex.Message);
                }
            }
        }
        protected void Page_Load(object sender, EventArgs e)
        {
            M = mast.M;
            L = mast.L;
            S = mast.S;
            F = mast.F;
            U = mast.U;

            mst = (mast)Master;
            APD = new BDAPAD();
            dic = new Diccionario(L, S);
            BDM = new BDMiembro();
            // mst.contentCallEvent += new EventHandler(accionar);
            if (!IsPostBack)
            {
                mst = (mast)Master;
                BDM = new BDMiembro();
                APD = new BDAPAD();
                try
                {
                    if (string.IsNullOrEmpty(M))
                    {
                        pnltodo.Visible = false;
                    }
                    else
                    {
                        ValoresIniciales();
                    }
                }
                catch (Exception ex)
                {
                    mst.mostrarMsjAdvNtf(ex.Message);
                }
            }
        }
 protected void Page_Load(object sender, EventArgs e)
 {
     M   = mast.M;
     L   = mast.L;
     S   = mast.S;
     F   = mast.F;
     U   = mast.U;
     BDM = new BDMiembro();
     APD = new BDAPAD();
     dic = new Diccionario(L, S);
     mst = (mast)Master;
     if (!IsPostBack)
     {
         try
         {
             Traducir();
             llenarhistorial();
             llenarcombos();
             llenarmese();
         }
         catch (Exception ex)
         {
             mst.mostrarMsjAdvNtf(ex.Message);
         }
     }
 }
 protected void Page_Load(object sender, EventArgs e)
 {
     M   = mast.M;
     L   = mast.L;
     S   = mast.S;
     F   = mast.F;
     U   = mast.U;
     BDM = new BDMiembro();
     APD = new BDAPAD();
     dic = new Diccionario(L, S);
     mst = (mast)Master;
     mst.contentCallEvent += new EventHandler(accionar);
     if (!IsPostBack)
     {
         if (!mst.verificarFuncion("BAP"))
         {
             Ingreso.Visible = false;
         }
         if (!mst.verificarFuncion("CIAP") == false)
         {
             gvhistorial.Visible = false;
         }
         try
         {
             traducir();
             llenarcombos();
         }
         catch (Exception ex)
         {
         }
     }
 }
        //////////////////////////////////////////////////////////////-EVENTOS-////////////////////////////////////////////////////////

        protected void Page_Load(object sender, EventArgs e)
        {
            M   = mast.M;
            L   = mast.L;
            S   = mast.S;
            F   = mast.F;
            U   = mast.U;
            BDM = new BDMiembro();
            APD = new BDAPAD();
            dic = new Diccionario(L, S);
            mst = (mast)Master;
            mst.contentCallEvent += new EventHandler(accionar);

            if (!IsPostBack)
            {
                try
                {
                    traducir();
                    LlenarCombos();
                    LlenarHistorial(S);
                }
                catch (Exception ex)
                {
                }
            }
        }
示例#9
0
        protected void Page_Load(object sender, EventArgs e)
        {
            M = mast.M;
            L = mast.L;
            S = mast.S;
            F = mast.F;
            U = mast.U;

            mst = (mast)Master;
            //       APD = new BDAPAD();
            dic = new Diccionario(L, S);
            if (!IsPostBack)
            {
                mst = (mast)Master;
                APD = new BDAPAD();
                try
                {
                    ValoresIniciales();
                }
                catch (Exception ex)
                {
                    mst.mostrarMsjAdvNtf(ex.Message);
                }
            }
        }
        private void GuardarRegitro()
        {
            string miembro, notas, notasv;

            APD = new BDAPAD();
            foreach (GridViewRow gvrow in gvapadrinado.Rows)
            {
                miembro = gvrow.Cells[2].Text;
                CheckBox chk = (CheckBox)gvrow.FindControl("cbagregar");
                if (chk.Checked)
                {
                    CheckBox chv  = (CheckBox)gvrow.FindControl("cbagregarv");
                    TextBox  txt2 = (TextBox)gvrow.FindControl("txtnviveres");
                    string   sitio;
                    sitio = gvrow.Cells[3].Text;
                    string sitio2 = APD.obtienePalabra("SELECT Code FROM dbo.FwCdOrganization WHERE DescSpanish='" + miembro + "' OR DescEnglish='" + miembro + "'", "Code");
                    if (chv.Checked)
                    {
                        string familia   = "SELECT LastFamilyId FROM dbo.Member WHERE RecordStatus=' ' AND MemberId='" + sitio + "' AND Project='" + sitio2 + "'";
                        int    idfamilia = APD.ObtenerEntero(familia, "LastFamilyId");
                        string sql2      = "INSERT dbo.FamilyHelp VALUES('" + sitio2 + "', '" + idfamilia + "', 'VIPA', GETDATE(), GETDATE(), ' ', '" + U + "', NULL,NULL, '" + txt2.Text + "',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL)";
                        APD.ejecutarSQL(sql2);
                    }
                    TextBox txt = (TextBox)gvrow.FindControl("txtnvisita");
                    notas = txt.Text;


                    try
                    {
                        string sql = "INSERT dbo.SponsorMemberVisit VALUES('" + sitio2 + "','" + P + "','" + sitio + "','" + txtfechav.Text + "',GETDATE(),' ','" + U + "',NULL,'" + txt.Text + "')";

                        SqlCommand cmd = null;
                        cmd = new SqlCommand(sql, con);
                        con.Open();
                        cmd.ExecuteNonQuery();
                        llenarhistorial();
                    }
                    catch (Exception e)
                    {
                        mst.mostrarMsjAdvNtf(e.Message);
                    }
                    finally
                    {
                        con.Close();
                    }
                }
            }
        }
 //////////////////////////////////////////////////////////////-EVENTOS-////////////////////////////////////////////////////////
 protected void Page_Load(object sender, EventArgs e)
 {
     M   = mast.M;
     L   = mast.L;
     S   = mast.S;
     F   = mast.F;
     U   = mast.U;
     P   = mast.P;
     dic = new Diccionario(L, S);
     P   = (String)Session["P"];
     mst = (mast)Master;
     APD = new BDAPAD();
     mst.contentCallEvent += new EventHandler(accionar);
     if (String.IsNullOrEmpty(P))
     {
         string notiene;
         if (L == "es")
         {
             notiene = "No has seleccionado ningún padrino";
         }
         else
         {
             notiene = "You have not selected any sponsors";
         }
         numAccion = 1;
         mst.mostrarMsjOpcionMdl(notiene);
     }
     else
     {
         if (!IsPostBack)
         {
             try
             {
                 BDM = new BDMiembro();
                 APD = new BDAPAD();
                 traducir();
                 llenarhistorial();
                 apadrinado();
             }
             catch (Exception ex)
             {
                 mst.mostrarMsjAdvNtf("Error: " + ex.Message);
             }
         }
     }
 }
        //////////////////////////////////////////////////////////////-EVENTOS-////////////////////////////////////////////////////////

        protected void Page_Load(object sender, EventArgs e)
        {
            M = mast.M;
            L = mast.L;
            S = mast.S;
            F = mast.F;
            U = mast.U;

            mst = (mast)Master;
            APD = new BDAPAD();
            dic = new Diccionario(L, S);
            BDM = new BDMiembro();
            mst.contentCallEvent += new EventHandler(accionar);
            if (!IsPostBack)
            {
                mst = (mast)Master;
                BDM = new BDMiembro();
                APD = new BDAPAD();
                try
                {
                    if (string.IsNullOrEmpty(M))
                    {
                        gvhistorial.Visible = false;
                        tbregistro.Visible  = false;
                        tbfiltros.Visible   = false;
                    }
                    else
                    {
                        Site   = S;
                        Member = M;
                        valoresiniciales(Site, Member);
                    }
                }
                catch (Exception ex)
                {
                    mst.mostrarMsjAdvNtf(ex.Message);
                }
            }
        }
示例#13
0
 protected void Page_Load(object sender, EventArgs e)
 {
     M   = mast.M;
     L   = mast.L;
     S   = mast.S;
     F   = mast.F;
     U   = mast.U;
     P   = mast.P;
     mst = (mast)Master;
     BDM = new BDMiembro();
     APD = new BDAPAD();
     dic = new Diccionario(L, S);
     P   = (String)Session["P"];
     mst.contentCallEvent += new EventHandler(accionar);
     if (String.IsNullOrEmpty(P))
     {
         string mensaje;
         if (L == "es")
         {
             mensaje = "No has seleccionado ningún padrino";
         }
         else
         {
             mensaje = "You have not selected any sponsors";
         }
         mst.mostrarMsjOpcionMdl(mensaje);
     }
     if (!IsPostBack)
     {
         try
         {
             LlenarInformacion();
             Apadrinados();
         }
         catch (Exception ex)
         {
         }
     }
 }
示例#14
0
 protected void Page_Load(object sender, EventArgs e)
 {
     M   = mast.M;
     L   = mast.L;
     S   = mast.S;
     F   = mast.F;
     U   = mast.U;
     P   = mast.P;
     P   = (String)Session["P"];
     mst = (mast)Master;
     BDM = new BDMiembro();
     APD = new BDAPAD();
     dic = new Diccionario(L, S);
     mst.contentCallEvent += new EventHandler(accionar);
     if (string.IsNullOrEmpty(P))
     {
         string notiene;
         if (L == "es")
         {
             notiene = "No has seleccionado ningún padrino";
         }
         else
         {
             notiene = "You have not selected any sponsors";
         }
         numAccion = 1;
         mst.mostrarMsjOpcionMdl(notiene);
     }
     if (!Page.IsPostBack)
     {
         try
         {
             valoresiniciales();
         }
         catch (Exception ex)
         {
         }
     }
 }
示例#15
0
 protected void Page_Load(object sender, EventArgs e)
 {
     M   = mast.M;
     L   = mast.L;
     S   = mast.S;
     F   = mast.F;
     U   = mast.U;
     BDM = new BDMiembro();
     APD = new BDAPAD();
     dic = new Diccionario(L, S);
     mst = (mast)Master;
     if (!IsPostBack)
     {
         try
         {
             traducir();
             llenarcombos();
         }
         catch (Exception ex)
         {
         }
     }
 }
示例#16
0
 protected void Page_Load(object sender, EventArgs e)
 {
     dic = new Diccionario(L, S);
     M   = mast.M;
     L   = mast.L;
     S   = mast.S;
     F   = mast.F;
     U   = mast.U;
     mst = (mast)Master;
     APD = new BDAPAD();
     dic = new Diccionario(L, S);
     if (!IsPostBack)
     {
         try
         {
             dic = new Diccionario(L, S);
             valoresiniciales();
         }
         catch (Exception ex)
         {
         }
     }
 }
示例#17
0
        protected void Page_Load(object sender, EventArgs e)
        {
            M = mast.M;
            L = mast.L;
            S = mast.S;
            F = mast.F;
            U = mast.U;

            mst = (mast)Master;
            APD = new BDAPAD();
            dic = new Diccionario(L, S);
            BDM = new BDMiembro();

            if (!IsPostBack)
            {
                mst = (mast)Master;
                BDM = new BDMiembro();
                APD = new BDAPAD();
                try
                {
                    // ValoresIniciales();
                    lnkb1.Text = "<span class='fa fa-trash'> <p>" + dic.eliminar + "</p></span>";
                    lnkb2.Text = "<span class='fa fa-check'> <p>" + dic.aceptar + "</p></span>";
                    lnkb3.Text = "<span class='fa fa-save'> <p>" + dic.guardar + "</p></span>";
                    lnkb4.Text = "<span class='fa fa-edit'> <p>" + dic.ModificarAPAD + "</p></span>";
                    lnkb5.Text = "<span class='fa fa-trash'> <p>" + dic.eliminar + "</p></span>";
                    lnkb6.Text = "<span class='fa fa-check'> <p>" + dic.aceptar + "</p></span>";
                    lnkb7.Text = "<span class='fa fa-save'> <p>" + dic.guardar + "</p></span>";
                    lnkb8.Text = "<span class='fa fa-edit'> <p>" + dic.ModificarAPAD + "</p></span>";
                }
                catch (Exception ex)
                {
                    mst.mostrarMsjAdvNtf(ex.Message);
                }
            }
        }
示例#18
0
        protected void Page_Load(object sender, EventArgs e)
        {
            M   = mast.M;
            L   = mast.L;
            S   = mast.S;
            F   = mast.F;
            U   = mast.U;
            mst = (mast)Master;
            BDM = new BDMiembro();
            APD = new BDAPAD();
            dic = new Diccionario(L, S);
            determinarcategoria();

            if (!Page.IsPostBack)
            {
                try
                {
                    valoresiniciales();
                }
                catch (Exception ex)
                {
                }
            }
        }
示例#19
0
        protected void Page_Load(object sender, EventArgs e)
        {
            M   = mast.M;
            L   = mast.L;
            S   = mast.S;
            F   = mast.F;
            U   = mast.U;
            mst = (mast)Master;
            dic = new Diccionario(L, S);

            if (!IsPostBack)
            {
                BDM = new BDMiembro();
                APD = new BDAPAD();
                dic = new Diccionario(L, S);
                try
                {
                    LLenarIngreso();
                }
                catch (Exception ex)
                {
                }
            }
        }
示例#20
0
        protected void btncambio_Click(object sender, EventArgs e)
        {
            string    passnueva;
            string    confirpass;
            string    passactual;
            BDUsuario objBD = new BDUsuario();
            BDAPAD    APD   = new BDAPAD();

            passnueva  = txtnuevac.Text;
            confirpass = txtconfirmarc.Text;
            passactual = txtactualc.Text;
            string    nombre = Convert.ToString(Session["nombre"]);
            DataTable a      = objBD.verificarUltimas4Psw(nombre, passnueva);
            int       prueba = Convert.ToInt32(a.Rows[0][0]);
            string    msj    = "";
            int       error  = 0;

            string verificar = verificar_contra(passnueva);
            string mayus     = "M";
            string minus     = "m";
            string num       = "1";
            string carac     = "8";


            if (prueba == 0)
            {
                error = error + 1;
            }

            if (prueba == 0)
            {
                error = error + 1;
            }
            if (passnueva != confirpass)
            {
                error = error + 1;
            }
            if (passnueva == passactual)
            {
                error = error + 1;
            }
            if (mayus.Any(verificar.Contains))
            {
                error = error + 1;
            }

            if (minus.Any(verificar.Contains))
            {
                error = error + 1;
            }

            if (num.Any(verificar.Contains))
            {
                error = error + 1;
            }

            if (carac.Any(verificar.Contains))
            {
                error = error + 1;
            }
            msj = "";


            if (error > 0)
            {
                Cambio_Contraseña.Visible = false;
                Advertenciatb.Visible     = true;
                Formulario.Visible        = false;
                lblmens.Text          = "La contraseña no cumple con las reglas. / The password does not comply with the rules.";
                Aceptarbtn.Text       = "Aceptar / Accept";
                Instrucciones.Visible = false;
                estadoLogin           = 5;
            }
            else
            {
                if (error == 0)
                {
                    int esnombre;
                    esnombre = ComprobarNombre(passnueva);
                    if (esnombre == 0)
                    {
                        string sql = "UPDATE FwEmployeePassword SET Pass3=Pass2, Pass2=Pass1, Pass1=FwEmployeePassword.Password, FwEmployeePassword.Password='******', PasswordDate=GETDATE() WHERE EmployeeId='" + nombre + "' ";
                        Response.Write(sql);
                        APD.ejecutarSQL(sql);
                        Session["nombre"]         = null;
                        Session["pass"]           = null;
                        Cambio_Contraseña.Visible = false;
                        Advertenciatb.Visible     = true;
                        Formulario.Visible        = false;
                        Instrucciones.Visible     = false;
                        lblmens.Text    = "Cambio de contraseña exitoso. A continuación, inicie sesión con su nueva contraseña. / Successful password change. Then, log in using your new password.";
                        Aceptarbtn.Text = "Aceptar / Accept";
                        estadoLogin     = 6;
                    }
                    else
                    {
                        Cambio_Contraseña.Visible = false;
                        Advertenciatb.Visible     = true;
                        Formulario.Visible        = false;
                        lblmens.Text          = "La contraseña no cumple con las reglas. / The password does not comply with the rules.";
                        Aceptarbtn.Text       = "OK";
                        Instrucciones.Visible = false;
                        estadoLogin           = 5;
                    }
                }
            }
        }
示例#21
0
        //////////////////////////////////////////////////////////////-EVENTOS-////////////////////////////////////////////////////////
        protected void Page_Load(object sender, EventArgs e)
        {
            try
            {
                M   = mast.M;
                L   = mast.L;
                S   = mast.S;
                P   = mast.P;
                U   = mast.U;
                F   = mast.F;
                dic = new Diccionario(L, S);
                mst = (mast)Master;
                APD = new BDAPAD();
                if (!IsPostBack)
                {
                    mst = (mast)Master;



                    BDM = new BDMiembro();
                    BDF = new BDFamilia();
                    APD = new BDAPAD();
                    dic = new Diccionario(L, S);
                    DataTable dt = APD.InfoGen(S, M, L);
                    try
                    {
                        string A = dt.Rows[0][1].ToString();
                        if (A == "Afiliado" || A == "Affiliated")
                        {
                            ruta     = @"\\SVRAPP\FamilyFotos\Apadrinados";
                            desicion = 0;

                            agregaAvisos();
                            Padrinos(S, M);

                            traducir();
                            llenarcombos(L, S);
                            registrocarta();
                            registroregalo();
                            InformacionPersonal();
                            avisoretormar();
                            Foto(S, M, desicion, ruta);
                            VerificarPadrinos();
                        }
                        else if (string.IsNullOrEmpty(A))
                        {
                        }
                        else
                        {
                            ruta     = @"\\SVRAPP\FamilyFotos\ExApadrinados";
                            desicion = 1;
                            GraduadoDesa();
                            agregaAvisos();
                            VerificarPadrinos();
                            traducir();
                            InformacionPersonal();
                            Foto(S, M, desicion, ruta);
                            btnRetomar.Visible = false;
                        }
                    }
                    catch (Exception ex)
                    {
                    }
                }
                if (IsPostBack)
                {
                    BDM = new BDMiembro();
                    APD = new BDAPAD();
                }
                mst = (mast)Master;
                // mst.contentCallEvent += EventHandler();
            }

            catch (Exception ez)
            {
                Session["M"] = null;
                Session["F"] = null;
            }
        }
示例#22
0
        protected void Ingresar_Click(object sender, EventArgs e)
        {
            BDUsuario objBD         = new BDUsuario();
            BDAPAD    APD           = new BDAPAD();
            string    nombreUsuario = txtuser.Text;
            string    contraseña    = txtpass.Text;
            int       resultado     = objBD.consultarCredenciales(nombreUsuario, contraseña);

            if (resultado == 1)
            {
                Session["nombre"] = nombreUsuario;
                Session["pass"]   = contraseña;

                DataTable resul = objBD.ObtenerEnterodbs(nombreUsuario);
                int       qd    = Convert.ToInt32(resul.Rows[0][0]);
                Response.Write(qd);
                if (qd == 0)
                {
                    mostrarMsj("Expiró el tiempo de su contraseña, por favor, cambiela. / Expire the time of your password, please, change it.", msjCambiar);
                    Regresarbtn.Visible = true;
                    estadoLogin         = 5;
                }
                else if (qd < 16 && qd > 0)
                {
                    mostrarMsj("Faltan " + qd + " días para el cambio de su contraseña. / " + qd + " days left to change your password.", msjCambiar);
                    hayAlertaPsw = true;
                    contenedor.Style.Add("width", "400px");
                    qd = 0;
                    Regresarbtn.Visible = true;
                    Cancelarbtn.Visible = true;
                    estadoLogin         = 4;
                }
                else
                {
                    iniciarSesion(nombreUsuario);

                    //FormsAuthentication.RedirectFromLoginPage(nombreUsuario, false);
                    //Session["nombre"] = null;
                    //Session["pass"] = null;
                    ////if (Session["Init"] == null)
                    //{
                    //    //Session["Init"] = "SI";
                    //    Response.Redirect("MISC/Buscar.aspx");
                    //}
                    ////else
                    ////if (((String)Session["Init"]).Equals("SI"))
                    ////{
                    ////    Session["Init"] = "SI";
                    ////    Response.Write("<script language=javascript> history.back(); </script>");
                    ////}
                }
            }
            else if (resultado == 2)
            {
                mostrarMsj("Contraseña incorrecta. / Incorrect password.", msjAceptar);
                estadoLogin = 2;
            }
            else if (resultado == 3)
            {
                mostrarMsj("Usuario incorrecto. / Incorrect user.", msjAceptar);
                estadoLogin = 3;
            }
            else if (resultado == 0)
            {
                mostrarMsj("Error de Conexion: Cierre e inicie otra vez la aplicación. / Connection Error: Close and start the application, again.", msjAceptar);
                estadoLogin = 0;
            }
            else
            {
                mostrarMsj("Ha ocurrido un error inesperado, por favor, envíe esta información a Sistemas. / An unexpected error has occurred, please, send this information to IT department.", msjAceptar);
                estadoLogin = -1;
            }
        }