%@ include file = "/uni_lang.jsp" %> <%@ page errorPage = "/sebase/common_error.jsp" %> <%@ include file="/conf/common_conf.jsp" %> <% SeBase.SeBaseGlobal f_obj_sbg=SeBase.SeBaseGlobal.getInstance(trans); check_login=new SeBase.CommonLogin(trans); // if reseller id not present then deny access boolean f_b_deny_access = false; // Plhs changes /** variable Declarations */ String l_str_brand_name = ""; String l_str_frm = ""; // Start include /image_ref.jsp %> <%@ include file="/image_ref.jsp" %> <% l_str_design_id = request.getParameter("design_id"); if ((l_str_design_id == null) && (session.getAttribute("s_r_init_design") != null)) { l_str_design_id = (String)session.getAttribute("s_r_init_design"); } if(l_str_design_id != null && !l_str_design_id.equals("") && !l_str_design_id.equals("null")) { l_int_design_id = Integer.parseInt(l_str_design_id); } l_obj_cookie = new Cookie("c_design_id",l_str_design_id); response.addCookie(l_obj_cookie); l_str_frm += ""; } } // End include /image_ref.jsp // if access allowed if (!f_b_deny_access) { l_str_frm += ""; l_str_frm += ""; l_obj_cookie = new Cookie("c_reseller_id",l_str_reseller_id); response.addCookie(l_obj_cookie); l_obj_cookie = new Cookie("c_mode",l_str_mode); response.addCookie(l_obj_cookie); %> <%@ include file="/image_ref_ui.jsp" %> <% // ---111 if (!f_b_deny_access) { %> <%@ include file="/image_ref_ses.jsp" %> <% final String STR_MODE = "revisit"; // holds the mode final String STR_PAGE_NAME = "common_login.jsp"; // the same page name final String STR_TRUE = "true" ; // holds the boolean value final String STR_FALSE = "false" ; // holds the boolean value final String STR_LINKTO_FORGOTPASSWORD = "password_forgotpassword.jsp"; // holds page name final int INT_MIN_USERID_LENGTH = f_obj_sbg.A_INT_MIN_USERID_LENGTH; // holds max user id length final int INT_MAX_USERID_LENGTH = f_obj_sbg.A_INT_MAX_USERID_LENGTH; // holds min user id length final int INT_MIN_PASSWORD_LENGTH = f_obj_sbg.A_INT_MIN_PASSWORD_LENGTH; // holds max password length final int INT_MAX_PASSWORD_LENGTH = f_obj_sbg.A_INT_MAX_PASSWORD_LENGTH; // holds max password length String f_str_user_name = ""; // holds the user name String f_str_password = ""; // holds the passsword String f_str_mess = ""; // holds the message boolean f_bo_log_flag = false; String f_str_reg = f_obj_sbg.A_STR_REG; String f_str_val23 = ""; String f_str_user_type1 = ""; // checks for cookie resence if(session.getAttribute("s_user_type") != null) { // checks for reg user,when the user comes by back and types new user ,new suer type is created if(((String)session.getAttribute("s_user_type")).equals(f_str_reg)) { session.removeAttribute("s_user_type"); session.removeAttribute("s_user_id"); session.removeAttribute("s_user_context"); } } session = request.getSession(true); // creates new ssession if one not exists //getting session if(session.getAttribute("s_user_type") != null) { f_str_user_type1 = (String)session.getAttribute("s_user_type"); } // checks whether the user is from login action if(session.getAttribute("s_ischecked") != null) { f_str_val23 = (String) session.getAttribute("s_ischecked"); } // checks for null values if(f_str_user_type1 == null) { f_str_user_type1=""; } //for session checking // the value in the login action session is verified if(f_str_val23.length() > 0) { f_str_mess = f_str_val23; session.removeAttribute("s_ischecked"); } boolean l_bln_session_out = false; String l_str_ses_out = ""; if(request.getParameter("hid_session_out")!=null) { if(request.getParameter("hid_session_out").equals("y")) { l_bln_session_out = true; l_str_ses_out = trans.getPropValue("Var51220"); f_str_mess=l_str_ses_out; } } // checked for generation if (!f_bo_log_flag) { session.setAttribute("s_header_links","y"); session.setAttribute("s_sub_navig","n"); session.setAttribute("s_title","Common Login"); %> <%@ include file = "/sebase/cookie_include.jsp" %> <% String uRqSource = ""; try { Cookie cUsrLnd[] = request.getCookies(); if (cUsrLnd!=null) { for(int i=0; i <%=trans.getPropValue("Var11437")%> <% if(l_bln_signup) { %> <%=trans.getPropValue("Var54631")%> <%=trans.getPropValue("Var1127")%> <%}%> <%=f_str_mess%> <%=l_str_frm%> <%=trans.getPropValue("Var11440")%> <%=trans.getPropValue("Var11441")%> <%=trans.getPropValue("Var51614")%> <%=trans.getPropValue("Var51615")%> <% // This variable to show/hide the testdrive link if(l_bln_testdrive) { %> <%=trans.getPropValue("Var51616")%> <% } %> <% } //eof if bo flag } // ---111 } // if access allowed // if access allowed if (f_b_deny_access) { session.setAttribute("s_title","Common Login"); %> <% } // else access allowed %>
<%=trans.getPropValue("Var54631")%> <%=trans.getPropValue("Var1127")%>
<%=f_str_mess%>
<%=trans.getPropValue("Var51614")%>