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.Text.RegularExpressions;

public partial class tool_images : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        string str = base.Request.QueryString["u"];
        string str2 = base.Request.QueryString["y"];
        string input = WebClass.Get2("http://tool.alimama.com/images.php?u=" + str + "&y=" + str2 + "");
        string pattern = @"</title>[\s\S]*?(?=</html>)";
        input = Regex.Match(input, pattern, RegexOptions.IgnoreCase).Value.Replace("images.php", "images.aspx");
        base.Response.Write(input);

    }
}
