roycms_tp.aspx
来自「ROYcms 是国内CMS市场的新秀、也是国内少有的采用微软的ASP.NET 2」· ASPX 代码 · 共 682 行 · 第 1/3 页
ASPX
682 行
<%@ Page Language="C#" AutoEventWireup="True" Inherits="ROYcms.Tools.Tp.ROYcms_TP" Codebehind="ROYcms_TP.aspx.cs" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title></title>
<style type="text/css">
<!--
.input {
border:1px solid #B5B8C9;
font:normal 12px/18px 'Tahoma';
margin-top: 4px;
margin-right: 0;
margin-bottom: 4px;
margin-left: 0;
padding-top: 2px;
padding-right: 1px;
padding-bottom: 0;
padding-left: 1px;
}
.text {
font-size: 14px;
color: #555;
}
body {
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
font-size: 12px;
}
.link {
font-size: 12px;
color: #3C5899;
}
.huise {
color: #999999
}
.xm_list {
font-size: 13px;
line-height: 20px;
color: #6295DB;
margin: 6px;
border-bottom-width: 1px;
border-bottom-style: dashed;
border-bottom-color: #DFDFDF;
margin-left: 30px;
}
.barbg {
BACKGROUND-COLOR: #efefef;
WIDTH: 600px;
HEIGHT: 20px;
MARGIN-RIGHT: 10px;
margin: 10px;
}
.l {
PADDING-BOTTOM: 0px;
MARGIN: 0px;
PADDING-LEFT: 0px;
PADDING-RIGHT: 0px;
FLOAT: left;
PADDING-TOP: 0px
}
.record {
LINE-HEIGHT: 20px;
WIDTH: 75px;
FLOAT: left
}
a:link {
text-decoration: none;
}
a:visited {
text-decoration: none;
}
a:hover {
text-decoration: none;
}
a:active {
text-decoration: none;
}
#logo {
height: 18px;
text-align: left;
padding: 6px;
display: table;
background-color: #EFEFEF;
border: 1px solid #E4E4E4;
font-weight: bold;
margin-top: 10px;
width: 100%;
}
#content {
text-align: left;
padding: 10px;
display: table;
background-color: #FAFAFA;
font-size: 13px;
color: #465A8E;
line-height: 23px;
width: 100%;
}
-->
</style>
<link href="../../images/style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<form id="form1" runat="server">
<asp:Panel ID="Panel_index" runat="server">
<script src="SpryAssets/SpryTabbedPanels.js" type="text/javascript"></script>
<link href="SpryAssets/SpryTabbedPanels.css" rel="stylesheet" type="text/css" />
<table width="100%" border="0" cellspacing="0" cellpadding="0" height="8px">
<tr>
<td bgcolor="#9ABBE8"></td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="69%" height="33" bgcolor="#DFE8F7"></td>
<td width="10%" bgcolor="#9ABBE8" class="text"><b> 投票TOOLS</b></td>
<td width="21%" bgcolor="#DFE8F7"></td>
</tr>
</table>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td> </td>
</tr>
</table>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td valign="top"><div id="TabbedPanels1" class="TabbedPanels">
<ul class="TabbedPanelsTabGroup">
<li class="TabbedPanelsTab" tabindex="0">
<%Response.Write(Session["group_name"] == null ? "请初始化..." : Session["group_name"]); %>
</li>
<li class="TabbedPanelsTab" tabindex="0">添加项目</li>
<li class="TabbedPanelsTab" tabindex="0">管理项目</li>
<li class="TabbedPanelsTab" tabindex="0">全局设置</li>
<li class="TabbedPanelsTab" tabindex="0">添加项目组</li>
<li class="TabbedPanelsTab" tabindex="0">管理项目组</li>
<li class="TabbedPanelsTab" tabindex="0">投票结果示意图</li>
<li class="TabbedPanelsTab" tabindex="0">评论/报名 管理</li>
</ul>
<div class="TabbedPanelsContentGroup">
<!--选项卡1开始-->
<div class="TabbedPanelsContent">
<table width="67%" height="223" border="0" align="center" cellpadding="10" cellspacing="0">
<tr>
<td width="23%" align="right" valign="bottom" nowrap="nowrap" class="text">当前选择的组:</td>
<td width="77%" valign="bottom" nowrap="nowrap" class="text"><%Response.Write(Session["group_name"] == null ? "<font color=red>未选择分组</font>" : Session["group_name"]); %></td>
</tr>
<tr>
<td align="right" valign="top" nowrap="nowrap" class="text">管理分组切换:</td>
<td valign="top" nowrap="nowrap" class="text"><asp:DropDownList
ID="DropDownList_group"
runat="server"
CssClass="input"
AutoPostBack="True"
OnSelectedIndexChanged="DropDownList_group_SelectedIndexChanged" >
</asp:DropDownList>
(
<% Response.Write(Session["group_name"] != null ? "<a href='?t=logout' class='link'>退出分组管理</a>||" : "");%>
<a href="?t=out" class="link" onClick="return window.confirm('确定退出管理吗?');" >退出管理</a>
)</td>
</tr>
</table>
</div>
<div class="TabbedPanelsContent">
<table width="100%" border="0" cellspacing="5" cellpadding="5">
<tr>
<td height="47"><span class="huise">项目添加帮助:项目的添加分
形象图片,项目名称,项目描述,项目的链接地址,可以在发布时根据自己的需要来理解项目的定义。</span></td>
</tr>
</table>
<table width="100%" border="0" align="center" cellpadding="3" cellspacing="0">
<asp:Panel ID="Panel_small" runat="server" Visible="false">
<tr>
<td width="16%" height="41" align="right" nowrap="nowrap" class="text">项目图片:</td>
<td width="52%" align="left">
<asp:TextBox ID="small_names" runat="server" CssClass="input" Height="18px"
Width="278px"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator14" runat="server"
Display="Dynamic" ErrorMessage="请填写项目名称" ControlToValidate="small_names" ValidationGroup="06"></asp:RequiredFieldValidator>
<asp:Button ID="Button4" runat="server" Text="添加该项目" CssClass="bt"
Height="29px" Width="121px" OnClick="Button4_Click" ValidationGroup="06" />
</td>
<td width="32%"> </td>
</tr>
</asp:Panel>
<asp:Panel ID="Panel_big" runat="server">
<tr>
<td width="16%" height="41" align="right" nowrap="nowrap" class="text">项目图片:</td>
<td width="52%" align="left"><asp:FileUpload ID="files" runat="server" CssClass="input" Width="278px" />
<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server"
Display="Dynamic" ErrorMessage="请选择项目形象图片" ControlToValidate="Files"
ValidationGroup="01"></asp:RequiredFieldValidator>
</td>
<td width="32%"> </td>
</tr>
<tr>
<td height="41" align="right" nowrap="nowrap" class="text">项目名称:</td>
<td align="left"><asp:TextBox ID="names" runat="server" CssClass="input" Height="18px"
Width="278px"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server"
Display="Dynamic" ErrorMessage="请填写项目名称" ControlToValidate="names" ValidationGroup="01"></asp:RequiredFieldValidator>
</td>
<td> </td>
</tr>
<tr>
<td height="41" align="right" nowrap="nowrap" class="text">项目描述:</td>
<td align="left"><asp:TextBox ID="characterization" runat="server" Height="105px" TextMode="MultiLine"
Width="421px" CssClass="input"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server"
Display="Dynamic" ErrorMessage="请填写项目描述"
ControlToValidate="characterization" ValidationGroup="01"></asp:RequiredFieldValidator>
</td>
<td> </td>
</tr>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?