%@ Page Language="C#" AutoEventWireup="true" CodeBehind="MobileUA.aspx.cs" Inherits="KeLin.WebSite.WapStyle.MobileUA" %><%@ Import namespace="KeLin.ClassManager.Tool" %><% bool flag1 = false; bool flag2 = false; Response.Write(WapTool.showTop(this.GetLang("手机型号选择|手机型号选择|Select phone model"), wmlVo));//显示头 StringBuilder strhtml = new StringBuilder(); if (ver == "1") { strhtml.Append("
");
strhtml.Append("我的当前设置:" + WapTool.ToWML(myMobile,wmlVo) + "
自动检测:");
if (autoMobile != "")
{
strhtml.Append(autoMobile + "
");
}
else
{
strhtml.Append("抱歉,无法自动识别。
");
}
strhtml.Append("不设置机型
----------
");
strhtml.Append("设置手机型号可让您快速的找到适合您自己手机型号的丰富资源!
");
strhtml.Append("输入您手机型号(如:诺基亚 N73,输入N73):
");
strhtml.Append("");
strhtml.Append("
");
strhtml.Append("按");
if (this.totype == "4")
{
strhtml.Append("快速");
}
else
{
strhtml.Append("快速");
}
strhtml.Append("|");
if (this.totype == "3")
{
strhtml.Append("平台");
}
else
{
strhtml.Append("平台");
}
strhtml.Append("|");
if (this.totype == "1")
{
strhtml.Append("品牌");
}
else
{
strhtml.Append("品牌");
}
strhtml.Append("|");
if (this.totype == "2")
{
strhtml.Append("屏幕");
}
else
{
strhtml.Append("屏幕");
}
strhtml.Append("|");
if (this.totype == "0")
{
strhtml.Append("列表");
}
else
{
strhtml.Append("列表");
}
strhtml.Append("
");
strhtml.Append("---------
");
if (totype == "0") strhtml.Append(linkTOP);
//显示列表
if (this.totype == "4") //按快速
{
strhtml.Append(GetMobileFast());
}
for (int i = 0; (listVo != null && i < listVo.Count&&totype!="4"); i++)
{
if (this.totype == "1")//按品牌
{
strhtml.Append("");
strhtml.Append(listVo[i].nameCN + "." + listVo[i].nameEN + "("+listVo[i].id+")");
strhtml.Append(" ");
if (i % 2 == 0) strhtml.Append("
");
}
else if (this.totype == "2")//按屏幕
{
if (flag1 == false && int.Parse(listVo[i].nameCN) < long.Parse(listVo[i].nameEN))
{
strhtml.Append("【竖屏分辨率选择】
");
flag1 = true;
}
if (flag2 == false && int.Parse(listVo[i].nameCN) > long.Parse(listVo[i].nameEN))
{
strhtml.Append("【横屏分辨率选择】
");
flag2 = true;
}
strhtml.Append("");
strhtml.Append(listVo[i].nameCN + "x" + listVo[i].nameEN + "(" + listVo[i].id + ")");
strhtml.Append(" ");
if (i % 2 == 0) strhtml.Append("
");
}
else if (this.totype == "3")//按平台
{
strhtml.Append("");
strhtml.Append(listVo[i].nameCN + "(" + listVo[i].id + ")");
strhtml.Append(" ");
if (i % 2 == 0) strhtml.Append("
");
}
else
{
index = index + kk;
strhtml.Append(index + ".");
if (this.lang == "2")
{
strhtml.Append(listVo[i].nameEN + " ");
}
else
{
strhtml.Append(listVo[i].nameCN + " ");
}
strhtml.Append(listVo[i].Mode + "(" + listVo[i].widthpx + "×" + listVo[i].heightpx + ")
");
}
}
if (listVo == null && totype != "4")
{
strhtml.Append("查无记录!
");
}
//显示导航分页
if (totype == "0") strhtml.Append(linkURL);
strhtml.Append("
没有搜索到我的机型?
");
strhtml.Append("我来添加吧
");
strhtml.Append("返回源来页
");
strhtml.Append("返回首页");
strhtml.Append(WapTool.GetVS(wmlVo));
strhtml.Append("