commit
acc4adcc62
@ -0,0 +1,15 @@
|
||||
using System;
|
||||
using System.Data;
|
||||
using System.Configuration;
|
||||
using System.Web;
|
||||
using System.Web.Security;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
using System.Web.UI.WebControls.WebParts;
|
||||
using System.Web.UI.HtmlControls;
|
||||
using System.Data.SqlClient;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// wishdb 的摘要说明
|
||||
/// </summary>
|
@ -0,0 +1,15 @@
|
||||
<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" Title="^_^☆圣诞许愿树☆^_^,欢迎您许愿" %>
|
||||
|
||||
<%@ Register Assembly="EeekSoft.Web.PopupWin" Namespace="EeekSoft.Web" TagPrefix="cc1" %>
|
||||
<%-- 在此处添加内容控件 --%>
|
||||
<asp:Content ID="Content1" runat="server" ContentPlaceHolderID="ContentPlaceHolder1">
|
||||
<table border="0" height="253" width="760">
|
||||
<tr>
|
||||
<td nowrap="nowrap" style="font-weight: bold; font-size: 15px; color: white; height: 6px; background-color: #877c59; width: 782px;">你现在的位置->浪漫雪弧许愿板->首页</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td nowrap="nowrap" style="height: 1px; width: 782px;">
|
||||
<div align="center">
|
||||
<strong><span style="font-size: 11pt; color: black">看看是否收到祝福</span></strong><asp:DropDownList
|
||||
ID="DropDownList1" runat="server" BackColor="#BBAC85" Font-Bold="False" Height="20px" Style="font-weight: bold; font-size: 10pt; color: snow; background-color: #877c59;">
|
||||
<asp:ListItem>您的昵称</asp:ListItem>
|
@ -0,0 +1,15 @@
|
||||
<%@ Application Language="C#" %>
|
||||
<%@ Import Namespace ="System.Data.OleDb"%>
|
||||
<script runat="server">
|
||||
string strcon;
|
||||
|
||||
void Application_Start(object sender, EventArgs e)
|
||||
{
|
||||
// 在应用程序启动时运行的代码
|
||||
OleDbConnection con;
|
||||
strcon = ("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" + Server.MapPath("DB_51Aspx/wish.mdb"));
|
||||
con = new OleDbConnection(strcon);
|
||||
con.Open();
|
||||
OleDbCommand cmd = new OleDbCommand("select num from admin", con);
|
||||
Application["tatol"] = Convert.ToInt32(cmd.ExecuteScalar());
|
||||
Application["online"] = 0;
|
@ -0,0 +1,15 @@
|
||||
<%@ Master Language="C#" AutoEventWireup="true" CodeFile="MasterPage.master.cs" Inherits="MasterPage" %>
|
||||
<%@ Register Assembly="Meta.Web" Namespace="Meta.Web.Controls" TagPrefix="mc" %>
|
||||
<%@ Register Assembly="Meta.Web" Namespace="Meta.Web.Controls.MasterPages" TagPrefix="mc" %>
|
||||
<%@ Register Src="count.ascx" TagName="count" TagPrefix="uc1" %>
|
||||
|
||||
<!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 runat="server">
|
||||
<bgsound src="midi010.mid" loop="-1">
|
||||
<title>^_^☆圣诞许愿树☆^_^,欢迎您许愿</title>
|
||||
</head>
|
||||
<body bgcolor="#bbac85"><base onmouseover="window.status='^_^☆圣诞许愿树☆^_^,欢迎您许愿';return true"></base>
|
||||
<form id="form1" runat="server">
|
||||
<div align="center" >
|
@ -0,0 +1,15 @@
|
||||
using System;
|
||||
using System.Data;
|
||||
using System.Configuration;
|
||||
using System.Collections;
|
||||
using System.Web;
|
||||
using System.Web.Security;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
using System.Web.UI.WebControls.WebParts;
|
||||
using System.Web.UI.HtmlControls;
|
||||
|
||||
public partial class MasterPage : System.Web.UI.MasterPage
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
@ -0,0 +1,15 @@
|
||||
<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="admin.aspx.cs" Inherits="admin" Title="^_^☆圣诞许愿树☆^_^,欢迎您许愿" %>
|
||||
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
|
||||
<asp:Panel ID="Panel1" runat="server" Height="50px" Width="100%">
|
||||
<table border="1" bordercolor="#cccc99" bordercolordark="#999933" bordercolorlight="#999933"
|
||||
style="border-left-color: white; border-bottom-color: white; width: 777px; border-top-style: dotted;
|
||||
border-top-color: white; border-right-style: dotted; border-left-style: dotted;
|
||||
background-color: lightgoldenrodyellow; border-right-color: white; border-bottom-style: dotted">
|
||||
<tr>
|
||||
<td align="center" colspan="2" style="font-weight: bold; font-size: 15px; color: white;
|
||||
height: 16px; background-color: #877c59">
|
||||
你现在的位置->浪漫雪弧许愿板->管理员登录页面</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="right" style="width: 170px; height: 21px">
|
||||
用户名:</td>
|
@ -0,0 +1,15 @@
|
||||
using System;
|
||||
using System.Data;
|
||||
using System.Configuration;
|
||||
using System.Collections;
|
||||
using System.Web;
|
||||
using System.Web.Security;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
using System.Web.UI.WebControls.WebParts;
|
||||
using System.Web.UI.HtmlControls;
|
||||
using System.Data.OleDb;
|
||||
|
||||
public partial class admin : System.Web.UI.Page
|
||||
{
|
||||
OleDbConnection cn;
|
@ -0,0 +1,14 @@
|
||||
<%@ Control Language="C#" AutoEventWireup="true" CodeFile="count.ascx.cs" Inherits="count" %>
|
||||
<%@ Register Assembly="FreeTextBox" Namespace="FreeTextBoxControls" TagPrefix="FTB" %>
|
||||
<%@ Register Assembly="Meta.Web" Namespace="Meta.Web.Controls" TagPrefix="mc" %>
|
||||
<table border="0" style="width: 239px; height: 18px">
|
||||
<tr>
|
||||
<td nowrap="nowrap" style="width: 205px; height: 37px;"><div align="center" style="font-weight: bold; font-size: 15px; color: white">
|
||||
许愿板访问的人数为:<asp:Label ID="Label1" runat="server" Style="font-weight: bold; font-size: 15px;
|
||||
color: red"></asp:Label></div></td>
|
||||
<td width="180" nowrap="nowrap" style="height: 37px"><div align="center" style="font-weight: bold; font-size: 15px; color: white">
|
||||
前在线的人数为:<asp:Label ID="Label2" runat="server" Style="font-weight: bold; font-size: 15px;
|
||||
color: red"></asp:Label></div></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
@ -0,0 +1,15 @@
|
||||
using System;
|
||||
using System.Data;
|
||||
using System.Configuration;
|
||||
using System.Collections;
|
||||
using System.Web;
|
||||
using System.Web.Security;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
using System.Web.UI.WebControls.WebParts;
|
||||
using System.Web.UI.HtmlControls;
|
||||
|
||||
public partial class count : System.Web.UI.UserControl
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
@ -0,0 +1,11 @@
|
||||
<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="error.aspx.cs" Inherits="error" Title="^_^☆圣诞许愿树☆^_^,欢迎您许愿" %>
|
||||
|
||||
<%@ Register Assembly="Meta.Web" Namespace="Meta.Web.Controls" TagPrefix="mc" %>
|
||||
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
|
||||
<asp:Label ID="Label1" runat="server" Style="font-weight: bold; font-size: 15px;
|
||||
color: white"></asp:Label><br />
|
||||
<asp:HyperLink ID="HyperLink1" runat="server" Font-Overline="False" NavigateUrl="~/Default.aspx"
|
||||
Style="font-weight: bold; font-size: 14px; color: white">返回首页</asp:HyperLink><br />
|
||||
|
||||
</asp:Content>
|
||||
|
@ -0,0 +1,15 @@
|
||||
using System;
|
||||
using System.Data;
|
||||
using System.Configuration;
|
||||
using System.Collections;
|
||||
using System.Web;
|
||||
using System.Web.Security;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
using System.Web.UI.WebControls.WebParts;
|
||||
using System.Web.UI.HtmlControls;
|
||||
|
||||
public partial class error : System.Web.UI.Page
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
@ -0,0 +1,15 @@
|
||||
<%@ Page Language="C#" ValidateRequest ="false" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="post.aspx.cs" Inherits="post" Title="^_^☆圣诞许愿树☆^_^,欢迎您许愿" %>
|
||||
|
||||
<%@ Register Assembly="FreeTextBox" Namespace="FreeTextBoxControls" TagPrefix="FTB" %>
|
||||
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
|
||||
|
||||
<div align="center">
|
||||
</div>
|
||||
<div align="center">
|
||||
<table border="1" bordercolor="#cccc99" bordercolordark="#999933" bordercolorlight="#999933"
|
||||
style="border-left-color: snow; border-bottom-color: snow; width: 772px; border-top-style: dotted;
|
||||
border-top-color: snow; border-right-style: dotted; border-left-style: dotted;
|
||||
background-color: lightgoldenrodyellow; border-right-color: snow; border-bottom-style: dotted">
|
||||
<tr>
|
||||
<td align="center" colspan="4" style="font-weight: bold; font-size: 15px; color: white;
|
||||
height: 12px; background-color: #877c59">
|
@ -0,0 +1,15 @@
|
||||
<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="sou.aspx.cs" Inherits="sou" Title="^_^☆圣诞许愿树☆^_^,欢迎您许愿" %>
|
||||
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
|
||||
<table id="Table2" border="1" bordercolor="#cccc99" bordercolordark="#999933" bordercolorlight="#999933"
|
||||
style="border-right: white dotted; border-top: white dotted; border-left: white dotted;
|
||||
width: 772px; border-bottom: white dotted; background-color: lightgoldenrodyellow">
|
||||
<tr>
|
||||
<td align="center" colspan="3" style="font-weight: bold; font-size: 15px; color: white;
|
||||
height: 21px; background-color: #877c59">
|
||||
你现在的位置->浪漫雪弧许愿板->搜索页面</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center" style="width: 207px; height: 21px">
|
||||
按呢称搜索:</td>
|
||||
<td align="center" style="width: 738px; height: 21px">
|
||||
<asp:DropDownList ID="DropDownList2" runat="server" BackColor="LightGoldenrodYellow">
|
Loading…
Reference in new issue