📄 index.jsp
字号:
<%@ page contentType="text/html; charset=gb2312" language="java" errorPage="" %>
<%@ page import="com.sunny.currency.*,com.sunny.s3fornetoffice.*,java.util.*" %>
<% Session m_session = new Session(session); %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<script language="JavaScript" type="text/javascript">
function checkVote()
{
for(var i=0;i<document.vote.voteoptionid.length;i++)
{
if(document.vote.voteoptionid[i].checked==true)
{
return true;
}
}
alert("请您选择后再进行提交!");
if(document.vote.voteoptionid.length>0)
{
document.vote.voteoptionid[0].focus();
}
return false;
}
function survey_Opener(loadpos)
{
if (loadpos != '')
{
newWindow = window.open(loadpos,"surveywin","dependent,width=400,height=280");
newWindow.focus();
}
else
{
if(checkVote()){
newWindow = window.open(loadpos,"surveywin","dependent,width=400,height=280");
document.vote.submit();
newWindow.focus();
}
}
return false;
}
</script>
<title>西安国际信托投资有限公司</title>
<style type="text/css">
<!--
body {
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
}
-->
</style>
<link href="css.css" rel="stylesheet" type="text/css">
<link href="xgt_web.css" rel="stylesheet" type="text/css">
</head>
<body onLoad="javascript: startclock();">
<center>
<%
request.setCharacterEncoding("gb2312");
%>
<jsp:include flush="false" page="cnwebtop.jsp?IsHome=True&IsPop=False" />
<!---->
<table width="778" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
<tr>
<td width="186" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="178" height="19" align="center" bgcolor="#005792" class="white">用户登录</td>
<td bgcolor="#F7941C"></td>
</tr>
<tr>
<td height="4" colspan="2" bgcolor="#CECECE"></td>
</tr>
<tr>
<td height="2" colspan="2"></td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="96" style="filter:progid:DXImageTransform.Microsoft.Gradient(startColorStr='#E9E9E9', endColorStr='#FFFFFF', gradientType='0')">
<table width="100%">
<tr>
<td colspan="2" nowrap align="center" height="7">
</td>
</tr>
<form name="f1" method="post" action="http://www.xitic.cn:8080/default.asp">
<tr>
<td colspan="2" nowrap align="center" height="20"> 用户名:
<input name="username" type="text" class="login" size="12" maxlength="50">
</td>
</tr>
<tr>
<td colspan="2" nowrap align="center" height="20">密 码:
<input name="password" type="password" class="login" size="12" maxlength="32">
</td>
</tr>
<tr>
<td width="53%" height="20" align="center" nowrap onClick="document.f1.submit();">
<!--input name="reg" type="button" class="Bsbttn" value="注册" -->
<a href="#" onClick="" >注册</a></td>
<td width="47%" height="20" align="center" nowrap >
<!--input name="submit" type=submit class="Bsbttn" value="登陆"-->
<a href="#" onClick="document.f1.submit();">登录</a> </td>
</tr>
<tr>
<td colspan="2" nowrap align="center" height="7">
</td>
</tr>
</form>
</table>
<!--user login ok-->
</td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="178" height="19" align="center" bgcolor="#005792"class="white">最新消息</td>
<td bgcolor="#F7941C"></td>
</tr>
<tr>
<td height="4" colspan="2" bgcolor="#CECECE"></td>
</tr>
<tr>
<td height="2" colspan="2"></td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr >
<td height="251" valign="top" style="filter:progid:DXImageTransform.Microsoft.Gradient(startColorStr='#E9E9E9', endColorStr='#FFFFFF', gradientType='0')">
<br>
<table width="92%" border="0" align="center" cellpadding="0" cellspacing="0">
<%
//整个新闻中心个子栏目所有文章中最新发表的5篇
Vector v_GetByName = WebSiteDirManager.getRecordBySearch("","新闻中心","","1","","","","","","","","","Xitic","cnweb","","");
String strXWZXID="0";
strXWZXID = ((Vector)v_GetByName.get(0)).get(0).toString();
int iXWZXID=Integer.parseInt(strXWZXID);
String strSonIDs=WebSiteDirManager.getSonSystemDirectoryIDs(iXWZXID);
//Vector v_GetSonDir = WebSiteDirManager.getRecordByID(strSonIDs);
if(v_GetByName.size()>0)
{
//there are two method named getRecordBySearch ,this is different from that used before .(Parameter)
Vector v_Atticle = WebSiteArticleManager.getRecordBySearch("","","","","","","","","","","","",strSonIDs,"","PublishDate","true");
if(v_Atticle.size()>0)
{
int iPageSize = 5;
%>
<tr><td align="left" class="size12h">
<marquee behavior=scroll direction=up width="100%" height="100%" scrollamount=1 scrolldelay=50 onmouseover='this.stop()' onmouseout='this.start()'>
<%
for(int k=0;k<v_Atticle.size()&& k<iPageSize;k++)
{
%>
<img src="images/icon_01.gif"><a href="pop.jsp?ID=<%=((Vector)v_Atticle.get(k)).get(0).toString()%>&siteDirID=4&siteDirName=新闻中心" target="_blank"><%=((Vector)v_Atticle.get(k)).get(1).toString()%></a>(<%=StringNew.GetDateString(((Vector)v_Atticle.get(k)).get(5).toString(),"MM月dd日")%>)<br>
<%
}
%>
</marquee>
</td>
</tr>
<%
}
}
%>
</table> </td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="178" height="19" align="center" bgcolor="#005792" class="white">财经资讯</td>
<td bgcolor="#F7941C"></td>
</tr>
<tr>
<td height="4" colspan="2" bgcolor="#CECECE"></td>
</tr>
<tr>
<td height="2" colspan="2"></td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="240" valign="top" style="filter:progid:DXImageTransform.Microsoft.Gradient(startColorStr='#E9E9E9', endColorStr='#FFFFFF', gradientType='0')">
<br>
<table width="92%" border="0" align="center" cellpadding="0" cellspacing="0">
<%
v_GetByName = WebSiteDirManager.getRecordBySearch("","财经资讯","","2","","","","","","","","","Xitic","cnweb","","");
strXWZXID="0";
if(v_GetByName.size()>0)
{
strXWZXID = ((Vector)v_GetByName.get(0)).get(0).toString();
Vector v_Atticle = WebSiteArticleManager.getRecordBySearch("","","","","","","","","","",strXWZXID,"","","Xitic","cnweb","PublishDate","true");
if(v_Atticle.size()>0)
{
int iPageSize = 5;
for(int k=0;k<v_Atticle.size()&& k<iPageSize;k++)
{
%>
<tr>
<td align="left" class="size12h"><img src="images/icon_01.gif"><a href="pop.jsp?ID=<%=((Vector)v_Atticle.get(k)).get(0).toString()%>&siteDirID=4&siteDirName=新闻中心" target="_blank"><%=((Vector)v_Atticle.get(k)).get(1).toString()%></a>(<%=StringNew.GetDateString(((Vector)v_Atticle.get(k)).get(5).toString(),"MM月dd日")%>)</td>
</tr>
<%
}
}
}
%>
</table>
</td>
</tr>
<tr>
<td height="30" colspan="2" align="right" valign="top"><a href="sub.jsp?ID=29&siteDirID=4&siteDirName=新闻中心"><img src="images/more.gif" width="42" height="14" border="0"></a> </td>
</tr>
</table>
<table width="164" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="82" background="images/number_bg.gif"><script src="http://www.xcinfo.ha.cn/jsq/default.asp?User=xiticcn&Length=6&x=15&y=20&Mode=002"></script></td>
</tr>
</table>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="11"></td>
</tr>
</table>
</td>
</tr>
</table></td>
<td width="2"></td>
<td width="2" bgcolor="#DEDEDE"></td>
<td valign="top">
<table width="588" height="145" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="588" height="145">
<param name="movie" value="images/web3_swf.swf">
<param name="quality" value="high">
<param name="menu" value="false">
<embed src="images/web3_swf.swf" width="588" height="145" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" menu="false"></embed>
</object></td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="398" valign="top">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="35" colspan="2" background="images/news.gif"></td>
</tr>
<tr valign="top">
<td height="120" colspan="2">
<br>
<table width="94%" border="0" align="center" cellpadding="0" cellspacing="0">
<%
v_GetByName = WebSiteDirManager.getRecordBySearch("","公司新闻","","2","","","","","","","","","Xitic","cnweb","","");
strXWZXID="0";
if(v_GetByName.size()>0)
{
strXWZXID = ((Vector)v_GetByName.get(0)).get(0).toString();
Vector v_Atticle = WebSiteArticleManager.getRecordBySearch("","","","","","","","","","",strXWZXID,"","","Xitic","cnweb","PublishDate","true");
if(v_Atticle.size()>0)
{
int iPageSize = 5;
for(int k=0;k<v_Atticle.size()&& k<iPageSize;k++)
{
%> <tr><td align="left" class="size12h"><img src="images/icon_01.gif"><a href="pop.jsp?ID=<%=((Vector)v_Atticle.get(k)).get(0).toString()%>&siteDirID=4&siteDirName=新闻中心" target="_blank"><%=((Vector)v_Atticle.get(k)).get(1).toString()%></a>(<%=StringNew.GetDateString(((Vector)v_Atticle.get(k)).get(5).toString(),"MM月dd日")%>)</td>
</tr><%
}
}
}
%>
</table> </td>
</tr>
<tr>
<td width="387" align="right"><a href="sub.jsp?ID=30&siteDirID=4&siteDirName=新闻中心"><img src="images/more.gif" width="42" height="14" border="0"></a></td>
<td width="11" align="right"></td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="35" colspan="2" background="images/trade.gif"></td>
</tr>
<tr align="center" valign="top">
<td height="120" colspan="2">
<br>
<table width="94%" border="0" align="center" cellpadding="0" cellspacing="0">
<%
v_GetByName = WebSiteDirManager.getRecordBySearch("","行业动态","","2","","","","","","","","","Xitic","cnweb","","");
strXWZXID="0";
if(v_GetByName.size()>0)
{
strXWZXID = ((Vector)v_GetByName.get(0)).get(0).toString();
Vector v_Atticle = WebSiteArticleManager.getRecordBySearch("","","","","","","","","","",strXWZXID,"","","Xitic","cnweb","PublishDate","true");
if(v_Atticle.size()>0)
{
int iPageSize = 5;
for(int k=0;k<v_Atticle.size()&& k<iPageSize;k++)
{
%> <tr><td align="left" valign="top" class="size12h"><img src="images/icon_01.gif"><a href="pop.jsp?ID=<%=((Vector)v_Atticle.get(k)).get(0).toString()%>&siteDirID=4&siteDirName=新闻中心" target="_blank"><%=((Vector)v_Atticle.get(k)).get(1).toString()%></a>(<%=StringNew.GetDateString(((Vector)v_Atticle.get(k)).get(5).toString(),"MM月dd日")%>)</td>
</tr><%
}
}
}
%>
</table>
</td>
</tr>
<tr>
<td width="387" align="right"><a href="sub.jsp?siteDirID=28&siteDirName=行业动态"><img src="images/more.gif" width="42" height="14" border="0"></a></td>
<td width="11" align="right"></td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="389" height="35" colspan="2" background="images/business.gif"></td>
</tr>
<tr align="center">
<td height="120" colspan="2"><table width="97%" height="120" border="0" cellpadding="0" cellspacing="0">
<tr>
<td style="filter:progid:DXImageTransform.Microsoft.Gradient(startColorStr='#E9E9E9', endColorStr='#FFFFFF', gradientType='0')"><table width="100%" height="120" border="0" cellpadding="0" cellspacing="0">
<tr>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -