资源简介
用sql2012和ISS7.0备份还原1.bak到数据库然后就可以了
代码片段和文件信息
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Text;
using System.Data;
namespace WapGames
{
public partial class Action : System.Web.UI.Page
{
protected void Page_Load(object sender EventArgs e)
{
if (!IsPostBack)
{
if (Session[“UID“] != null && Session[“Phone“] != null || Request[“uid“] != null || Request[“id“] != null)
{
BusinessLogic.WP_Users.UserUpgrade(Session[“UID“].ToString() ““); // 判断用户是否升级&写入用户所在区域 [8/21/2010 Administrator]
TryInfo();
}
else
{
Response.Redirect(“/“);
return;
}
}
}
private void TryInfo()
{
int AC = 0;
#region 判断类型 1好友,2仇人,3结拜,4师傅,5求婚,6离婚
switch (Request[“action“] != null ? Request[“action“].ToString() : ““)
{
case “add“:
AC = 1;
break;
case “brother“:
AC = 3;
break;
case “teacher“:
AC = 4;
break;
default:
AC = 5;
break;
}
#endregion
if (Request[“action“] != null && Request[“uid“] != null && Request[“order“] == null)
{
Model.WP_World MWW = new WapGames.Model.WP_World();
#region 加好友
if (Request[“Message“] != null)
{
if (Request[“Message“].ToString().IndexOf(“www“) != -1 || Request[“Message“].ToString().IndexOf(“ {
WritePage(“请勿发送违规内容!3秒钟后返回游戏
\r“);
return;
}
else
{
MWW.MyID = int.Parse(Session[“UID“].ToString());
MWW.SideID = int.Parse(Common.CheckInfo.DesDecrypt(Request[“uid“].ToString()));
MWW.Message = Request[“Message“].ToString();
MWW.style = AC;
MWW.State = 0;
MWW.Times = DateTime.Now;
if (BusinessLogic.WP_World.AddWorld(MWW) == true)
{
WritePage(“消息已经发送出去,请等待对方确认!3秒钟后返回游戏
\r“);
return;
}
else
{
Write
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 2186752 2012-10-03 15:50 DB\1.bak
....... 130 2012-03-20 10:11 WapGames\Action.aspx
....... 17610 2012-03-20 10:11 WapGames\Action.aspx.cs
....... 505 2012-03-20 10:11 WapGames\Action.aspx.designer.cs
....... 106 2012-03-20 10:11 WapGames\App\Bank.aspx
....... 14274 2012-03-20 10:11 WapGames\App\Bank.aspx.cs
....... 507 2012-03-20 10:11 WapGames\App\Bank.aspx.designer.cs
....... 130 2012-03-20 10:11 WapGames\App\Chat.aspx
....... 18507 2012-03-20 10:11 WapGames\App\Chat.aspx.cs
....... 507 2012-03-20 10:11 WapGames\App\Chat.aspx.designer.cs
....... 108 2012-03-20 10:11 WapGames\App\Equip.aspx
....... 15150 2012-03-20 10:11 WapGames\App\Equip.aspx.cs
....... 508 2012-03-20 10:11 WapGames\App\Equip.aspx.designer.cs
....... 106 2012-03-20 10:11 WapGames\App\Mail.aspx
....... 10156 2012-03-20 10:11 WapGames\App\Mail.aspx.cs
....... 507 2012-03-20 10:11 WapGames\App\Mail.aspx.designer.cs
....... 110 2012-03-20 10:11 WapGames\App\Market.aspx
....... 1640 2012-03-20 10:11 WapGames\App\Market.aspx.cs
....... 509 2012-03-20 10:11 WapGames\App\Market.aspx.designer.cs
....... 112 2012-03-20 10:11 WapGames\App\Package.aspx
....... 12880 2012-03-20 10:11 WapGames\App\Package.aspx.cs
....... 510 2012-03-20 10:11 WapGames\App\Package.aspx.designer.cs
....... 132 2012-03-20 10:11 WapGames\App\Party.aspx
....... 37680 2012-03-20 10:11 WapGames\App\Party.aspx.cs
....... 508 2012-03-20 10:11 WapGames\App\Party.aspx.designer.cs
....... 104 2012-03-20 10:11 WapGames\App\Pay.aspx
....... 19247 2012-03-20 10:11 WapGames\App\Pay.aspx.cs
....... 506 2012-03-20 10:11 WapGames\App\Pay.aspx.designer.cs
....... 104 2012-03-20 10:11 WapGames\App\Top.aspx
....... 13208 2012-03-20 10:11 WapGames\App\Top.aspx.cs
............此处省略789个文件信息
- 上一篇:因酷inxedu开源网络课堂系统
- 下一篇:深入解析SQL SERVER 2008
评论
共有 条评论