SetStyle.jsp
上传用户:mingda
上传日期:2017-06-20
资源大小:27691k
文件大小:2k
- <%@ page contentType="text/html; charset=gb2312"%>
- <%@ page import="com.gforce.currency.*,com.gforce.gfoa.*,java.util.*" %>
- <%
- Session m_session = new Session(session);
- int intUserID = m_session.GetInt("UserID");
- /**
- Vector vt = StyleManager.getRecordByID(UserManager.getUserStyleID(intUserID));
- if(vt.size()==1)
- {
- m_session.SetValue("StyleID",((Vector)vt.get(0)).get(0).toString());
- m_session.SetValue("StyleName",((Vector)vt.get(0)).get(1).toString());
- m_session.SetValue("LogoPicURL",((Vector)vt.get(0)).get(3).toString());
- m_session.SetValue("BannerPicURL",((Vector)vt.get(0)).get(4).toString());
- m_session.SetValue("TopBackGroundURL",((Vector)vt.get(0)).get(5).toString());
- m_session.SetValue("TopBackColor",((Vector)vt.get(0)).get(6).toString());
- m_session.SetValue("BackColor",((Vector)vt.get(0)).get(7).toString());
- m_session.SetValue("TitleColor",((Vector)vt.get(0)).get(8).toString());
- m_session.SetValue("SingleColor",((Vector)vt.get(0)).get(9).toString());
- m_session.SetValue("DoubleColor",((Vector)vt.get(0)).get(10).toString());
- }
- else
- {
- m_session.SetValue("StyleID","0");
- m_session.SetValue("StyleName","");
- m_session.SetValue("LogoPicURL","/images/logo.gif");
- m_session.SetValue("BannerPicURL","/images/banner.gif");
- m_session.SetValue("TopBackGroundURL","/images/topback.gif");
- m_session.SetValue("TopBackColor","#EFEFEF");
- m_session.SetValue("BackColor","#EFEFEF");
- m_session.SetValue("TitleColor","#73BDEA");
- m_session.SetValue("SingleColor","#99D4F4");
- m_session.SetValue("DoubleColor","#66CCFF");
- }
- */
- m_session.SetValue("StyleID","0");
- m_session.SetValue("StyleName","");
- m_session.SetValue("LogoPicURL","");
- m_session.SetValue("BannerPicURL","");
- m_session.SetValue("TopBackGroundURL","");
- m_session.SetValue("TopBackColor","#EFEFEF");
- m_session.SetValue("BackColor","#FFFFFF");
- m_session.SetValue("TitleColor","#E0E0E0");
- m_session.SetValue("SingleColor","#FFFFFF");
- m_session.SetValue("DoubleColor","#F8F8F8");
- %>