?? packshow.aspx
字號:
<% @ Import Namespace="Packaging" %>
<% @ Import Namespace="System.Data" %>
<% @ Register TagPrefix="pb" TagName="Header" Src="header.ascx" %>
<% @ Register TagPrefix="pb" TagName="Footer" Src="footer.ascx" %>
<% @ Register TagPrefix="pb" TagName="Login" Src="login.ascx" %>
<% @ Register TagPrefix="pb" TagName="Major" Src="major.ascx" %>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta http-equiv="Content-Language" content="zh-cn">
<title>Dot.Net論壇歡迎您!</title>
<script language="JavaScript">
<!--
function openwin(url,w,h) {
window.open(url,"","top=50,left=150,height="+h+",width="+w+",toolbar=0,location=0,directories=0,menubar=0,scrollbars=0,resizable=yes,status=0");
}
function MM_reloadPage(init) { //reloads the window if Nav4 resized
if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
// -->
</script>
<link rel="stylesheet" type="text/css" href="pack.css">
</head>
<body topmargin="6" leftmargin="0" bgcolor="#eaeaea">
<form runat="server">
<pb:Header id="Header" runat="server" />
<div align="center">
<table border="0" cellpadding="0" cellspacing="1" bgColor="#006699" width="750" height="125">
<tr><td width="25%" valign="top" background="images/bd.gif" rowspan="2" height="125">
<pb:Login id="login" runat="server" />
<pb:Major id="major" runat="server" /></td>
<td width="75%" valign="top" bgcolor="#FFFFFF" height="228" background="images/ldb.gif">
<br><font color="#FF0000">Dot.Net風采展示</font><br>
<br>
<table border="0" cellpadding="0" cellspacing="0" width="95%" height="41">
<tr><td width="100%" background="images/bar3.gif" height="23"> <b><font color="#FFFFFF">Dot.Net員錄</font></b></td></tr>
<tr><td width="100%" height="18" align="center"><br>
<asp:DataList id="MyList" runat="server"
RepeatDirection="Vertical" RepeatColumns="8" width="95%"
ItemStyle-Height="25">
<ItemTemplate>
<a href="s_info.aspx?id=<%# DataBinder.Eval(Container.DataItem, "Id") %>"><font color=green><%# DataBinder.Eval(Container.DataItem, "Name") %></font></a>
</ItemTemplate>
</asp:DataList>
</td></tr>
</table>
<br>
<table border="0" cellpadding="0" cellspacing="0" width="95%" height="41">
<tr><td width="100%" background="images/bar3.gif" height="23"> <b><font color="#FFFFFF">我們的同事</font></b></td></tr>
<tr><td width="100%" height="18" align="center"><br>
<asp:DataList id="TeacherList" runat="server"
RepeatDirection="Horizontal" RepeatColumns="8" width="95%"
ItemStyle-Height="25">
<ItemTemplate>
<a href="t_info.aspx?id=<%# DataBinder.Eval(Container.DataItem, "Id") %>"><font color=green><%# DataBinder.Eval(Container.DataItem, "Name") %></font></a>
</ItemTemplate>
</asp:DataList>
</td></tr>
</table>
<br>
<table border="0" cellpadding="0" cellspacing="0" width="95%" height="41">
<tr><td width="100%" background="images/bar3.gif" height="23"> <b><font color="#FFFFFF">其它朋友</font></b></td></tr>
<tr><td width="100%" height="18" align="center"><br>
<asp:DataList id="OtherList" runat="server"
RepeatDirection="Horizontal" RepeatColumns="8" width="95%"
ItemStyle-Height="25">
<ItemTemplate>
<a href="s_info.aspx?id=<%# DataBinder.Eval(Container.DataItem, "Id") %>"><font color=green><%# DataBinder.Eval(Container.DataItem, "Name") %></font></a>
</ItemTemplate>
</asp:DataList>
</td></tr>
</table>
</td>
<tr><td width="75%" valign="bottom" bgcolor="#FFFFFF" height="80" align="right" background="images/ldb.gif">
<img border="0" src="images/pen.gif" width="400" height="80"><br> </td></tr>
</table>
</div>
<pb:Footer id="footer" runat="server" />
</form>
</body>
</html>
<script language="VB" runat="server">
Sub Page_Load(Sender As Object, e As EventArgs)
Dim MyInfo As InfoDB=New InfoDB()
Dim DV As DataView=MyInfo.GetList(1)
MyList.DataSource=DV
Mylist.Databind()
Dim DV2 As DataView=MyInfo.GetList(2)
TeacherList.DataSource=DV2
TeacherList.DataBind()
Dim DV3 As DataView=MyInfo.GetList(3)
OtherList.DataSource=DV3
OtherList.DataBind()
End Sub
</script>
<style>
td {
font-family : Verdana, Geneva, Arial, Helvetica, sans-serif;
font-size : 10pt;
}
.whiteB {
color: white;
font-weight : bold;
}
input {
font-family : Verdana, Geneva, Arial, Helvetica, sans-serif;
font-size : 10pt;
}
td.bar {
color: green; font-weight: bold;
}
a.whiteLink:link {
font-family : Verdana, Geneva, Arial, Helvetica, sans-serif;
font-weight : bold;
color : white;
text-decoration : none;
}
a.whiteLink:visited {
font-family : Verdana, Geneva, Arial, Helvetica, sans-serif;
font-weight : bold;
color : white;
text-decoration : none;
}
a.whiteLink:hover {
font-family : Verdana, Geneva, Arial, Helvetica, sans-serif;
font-weight : bold;
color : white;
text-decoration : none;
}
a.barLink:link {
font-family : Verdana, Geneva, Arial, Helvetica, sans-serif;
color : #CCFF99;
text-decoration : none;
}
a.barLink:visited {
font-family : Verdana, Geneva, Arial, Helvetica, sans-serif;
color : #CCFF99;
text-decoration : none;
}
a.barLink:hover {
font-family : Verdana, Geneva, Arial, Helvetica, sans-serif;
color : #CCFF99;
text-decoration : underline;
}
a.author:link {
font-family : Verdana, Geneva, Arial, Helvetica, sans-serif;
color : black;
text-decoration : none;
}
a.author:visited {
font-family : Verdana, Geneva, Arial, Helvetica, sans-serif;
color : black;
text-decoration : none;
}
a.author:hover {
font-family : Verdana, Geneva, Arial, Helvetica, sans-serif;
color : black;
text-decoration : underline;
}
</style>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -