|
|
@ -20,9 +20,11 @@ namespace FLocal.IISHandler.handlers.response { |
|
|
|
|
|
|
|
|
|
|
|
switch(scriptParts[0].ToLower()) { |
|
|
|
switch(scriptParts[0].ToLower()) { |
|
|
|
case "showflat": |
|
|
|
case "showflat": |
|
|
|
|
|
|
|
case "ashowflat": |
|
|
|
Post post = Post.LoadById(int.Parse(context.httprequest.QueryString["Number"])); |
|
|
|
Post post = Post.LoadById(int.Parse(context.httprequest.QueryString["Number"])); |
|
|
|
return "/Thread/" + post.thread.id.ToString() + "/p" + post.id.ToString(); |
|
|
|
return "/Thread/" + post.thread.id.ToString() + "/p" + post.id.ToString(); |
|
|
|
case "showthreaded": |
|
|
|
case "showthreaded": |
|
|
|
|
|
|
|
case "ashowthreaded": |
|
|
|
return "/Post/" + int.Parse(context.httprequest.QueryString["Number"]).ToString() + "/"; |
|
|
|
return "/Post/" + int.Parse(context.httprequest.QueryString["Number"]).ToString() + "/"; |
|
|
|
case "postlist": |
|
|
|
case "postlist": |
|
|
|
return "/Board/" + Board.LoadByLegacyName(context.httprequest.QueryString["Board"]).id.ToString() + "/"; |
|
|
|
return "/Board/" + Board.LoadByLegacyName(context.httprequest.QueryString["Board"]).id.ToString() + "/"; |
|
|
|