摘要: System.Drawing.Image img = System.Drawing.Image.FromFile(Commen.CommenFunction.Path + picPath);//找到物理地址 pic.Width = img.Width; pic.Height = img.Height; 阅读全文
posted @ 2012-10-16 11:14 南潇湘 阅读(112) 评论(0) 推荐(0)
摘要: public static string divClass = "<div class='viciao'>"; public static string spanClass = "<span class='disabled'>"; /// <summary> /// 分页 /// </summary> /// <param name="png">当前页码</param> /// <param name="sumNum 阅读全文
posted @ 2012-10-16 11:09 南潇湘 阅读(280) 评论(0) 推荐(0)
摘要: //权限的验证public class CheckRoleAttribute : ActionFilterAttribute, IActionFilter { public override void OnActionExecuting(ActionExecutingContext filterContext) { try { SougeUser su = filterContext.HttpContext.Session["SystemUser"] as SougeUser; if (su == null) { filterContext.Result = new Red 阅读全文
posted @ 2012-10-16 10:47 南潇湘 阅读(503) 评论(0) 推荐(0)
摘要: //jquery.cookie.jsjQuery.webpages = function(obj) { var text; var list = obj.attributes; try { if (list["type"] != undefined) { var type = list["type"].value; switch (type) { case "login": var msg; var url = w... 阅读全文
posted @ 2012-10-16 10:31 南潇湘 阅读(204) 评论(0) 推荐(0)