<%@ Page Language="C#" AutoEventWireup="true" validateRequest="false" CodeBehind="skin.aspx.cs" Inherits="KeLin.WebSite.WapStyle.skin" %><%@ Import namespace="KeLin.ClassManager.Tool" %><% //显示头 Response.Write(WapTool.showTop(this.GetLang("换皮肤|換皮膚|select skin"), wmlVo)); ///////////////////////////////////////////////////////// StringBuilder strhtml = new StringBuilder(); //显示中间 if (ver == "1") { strhtml.Append("

"); if (selCSS != "") { strhtml.Append("【" + this.GetLang("完 成|完 成|finish") + "】
"); } else { strhtml.Append("【" + this.GetLang("返 回|返 回|back") + "】
"); } strhtml.Append("【WAP 2.0】" + this.GetLang("请选择:|請選擇:|Please Select") +"
"); backurl = HttpUtility.UrlEncode(backurl); for (int i = 0; (volist != null && i < volist.Count); i++) { strhtml.Append(bg); strhtml.Append("\".\"/ " + volist[i].style_name.Replace("[HTML5]","") + ""); if (volist[i].ID.ToString() == selCSS) { strhtml.Append(" √"); } strhtml.Append("
"); } strhtml.Append("【HTML5】" + this.GetLang("请选择:|請選擇:|Please Select") + "
"); backurl = HttpUtility.UrlEncode(backurl); int yy = 0; for (int i = 0; (volist != null && i < volist.Count); i++) { if (volist[i].style_name.ToLower().IndexOf("html5") > -1) { yy++; strhtml.Append(bg); strhtml.Append("\".\"/ " + volist[i].style_name.Replace("[HTML5]", "") + ""); if (volist[i].ID.ToString() == selCSS) { strhtml.Append(" √"); } strhtml.Append("
"); } } if (yy == 0) { strhtml.Append("\".\"/ 默认
"); } strhtml.Append("" + this.GetLang("【电 脑】请选择:|【電 腦】請選擇:|【PC WEB】Please Select") + "
"); strhtml.Append("\".\"/ 默认
"); for (int i = 0; (volist3 != null && i < volist3.Count); i++) { //if (i % 2 == 0) { bg = "

"; } else { bg = "
"; } strhtml.Append(bg); strhtml.Append("\".\"/ " + volist3[i].style_name + ""); if (volist3[i].ID.ToString() == selCSS) { strhtml.Append(" √"); } strhtml.Append("
"); } strhtml.Append("" + this.GetLang("【平板】请选择:|【平板】請選擇:|【平板】Please Select") + "
"); strhtml.Append("\".\"/ 默认
"); strhtml.Append("

"); Response.Write(strhtml); } else { if (selCSS != "") { strhtml.Append(""); } else { strhtml.Append(""); } strhtml.Append("
【WAP 2.0】" + this.GetLang("请选择:|請選擇:|Please Select") + "
"); backurl = HttpUtility.UrlEncode(backurl); for (int i = 0; (volist != null && i < volist.Count); i++) { if (i % 2 == 0) { bg = "
"; } else { bg = "
"; } strhtml.Append(bg); strhtml.Append(" " + volist[i].style_name.Replace("[HTML5]", "") + ""); if (volist[i].ID.ToString() == selCSS) { strhtml.Append(" √"); } strhtml.Append("
"); } strhtml.Append("
【HTML5】" + this.GetLang("请选择:|請選擇:|Please Select") + "
"); backurl = HttpUtility.UrlEncode(backurl); int yy = 0; for (int i = 0; (volist != null && i < volist.Count); i++) { if (volist[i].style_name.ToLower().IndexOf("html5") > -1) { yy++; if (i % 2 == 0) { bg = "
"; } else { bg = "
"; } strhtml.Append(bg); strhtml.Append(" " + volist[i].style_name.Replace("[HTML5]", "") + ""); if (volist[i].ID.ToString() == selCSS) { strhtml.Append(" √"); } strhtml.Append("
"); } } if (yy == 0) { strhtml.Append(""); } strhtml.Append("
" + this.GetLang("【电 脑】请选择:|【電 腦】請選擇:|【PC WEB】Please Select") + "
"); strhtml.Append(""); for (int i = 0; (volist3 != null && i < volist3.Count); i++) { if (i % 2 == 0) { bg = "
"; } else { bg = "
"; } strhtml.Append(bg); strhtml.Append("\".\"/ " + volist3[i].style_name + ""); if (volist3[i].ID.ToString() == selCSS) { strhtml.Append(" √"); } strhtml.Append("
"); } strhtml.Append("
" + this.GetLang("【平板】请选择:|【平板】請選擇:|【平板】Please Select") + "
"); strhtml.Append(""); string isWebHtml = this.ShowWEB_view(this.classid); //看是存在html代码 if (isWebHtml != "") { //string strhtml_list = strhtml.ToString(); //int s = strhtml_list.IndexOf("
"); //strhtml_list = strhtml_list.Substring(s, strhtml_list.Length - s); Response.Clear(); Response.Write(WapTool.ToWML(isWebHtml, wmlVo).Replace("[view]", strhtml.ToString())); Response.End(); } Response.Write(strhtml); } ///////////////////////////////////////////////////////// //显示底部 Response.Write(WapTool.showDown(wmlVo)); %>