<%
'@@0manage/1s_udep/2list.HTML
'@@0manage/1s_udep/2edit|add|del/3*id.HTML

if e_xa<1 and (aibj(g_u0,s_udep) or aibj(g_u1,s_udep)) then
e_xa=e_xa+1
Call esq()
Call doq(1,e_uer,6,g_u0,s_udep,s_udeps&s_umlbs)

if e_gdj>2 and aibj(g_u0,s_umgl) and aibj(g_u1,s_udep) and aibj(g_u2,s_umtj) then
Call epadd()
elseif e_gdj>2 and aibj(g_u0,s_umgl) and aibj(g_u1,s_udep) and aibj(g_u2,s_umxg) and aiint(g_u3)>0 then
Call epedit()
elseif e_gdj>2 and aibj(g_u0,s_umgl) and aibj(g_u1,s_udep) and ((aibj(g_u2,s_umsc) and aiint(g_u3)>0) or aibj(g_u2,s_umsc&"-x")) then
Call epdel()
elseif e_gdj>2 and aibj(g_u0,s_umgl) and aibj(g_u1,s_udep) and dkdir(2,g_u2) then
Call eplist()
end if
'------get skin 0
if ainull(e_skc) then
e_skc=dosk("a","admin","")
end if
'------get skin 1
Response.Write esr(0,e_skc):Response.End()
end if
'-----------------------------------
'Data Table
'=eplie()
'-----------------------------------
Function eplie(epfty)
if epfty="form" then
eplie="ew,el,sn,mc,dm,sk,sx,bs,ls,xy,px,qx,lm,sp,pl,pj,nr,ef,ot,fl,xt"
elseif epfty=s_umlb then
REM ep_id,1ep_sn,2ep_mc,3ep_dm,4ep_sk,5ep_sx,6ep_bs,7ep_xy,8ep_px,9ep_el,10ep_qx,11ep_ls,12ep_ef
eplie="ep_id,ep_sn,ep_mc,ep_dm,ep_sk,ep_sx,ep_bs,ep_xy,ep_px,ep_el,ep_qx,ep_ls,ep_ef"
elseif epfty=s_umlb&"s" then
eplie="id,sn,mc,dm,sk,sx,bs,xy,px"
elseif epfty="all" then
eplie="ep_id,ep_ew,ep_el,ep_sn,ep_mc,ep_dm,ep_sk,ep_sx,ep_bs,ep_ls,ep_xy,ep_px,ep_qx,ep_lm,ep_sp,ep_pl,ep_pj,ep_nr,ep_ef,ep_ot,ep_fl,ep_xt"
end if
End Function
'-----------------------------------
'ep read
'=epread(sn)
'-----------------------------------
Function epread(epfsn)
dim epdsn:epdsn=epfsn
ep_id=0:ep_ew=ew_sn:ep_el=0:ep_sn=s_umqb:ep_mc="-":ep_dm=s_udeas:ep_sk="":ep_sx=0:ep_bs=0:ep_bs=i_xkfl:ep_ls=0:ep_xy=1:ep_px=0:ep_qx=0:ep_ot="":ep_fl="":ep_xt=""
if aibj(s_udus,epdsn) then
ep_id=0:ep_ew=0:ep_el=0:ep_sn=s_udus:ep_mc=s_uduss&"频道":ep_dm=s_uduss:ep_sk="":ep_sx=0:ep_bs=0:ep_bs=i_xkfl:ep_ls=0:ep_xy=1:ep_px=0:ep_qx=0:ep_ot="":ep_fl="":ep_xt=""
elseif aibj(s_uduk,epdsn) then
ep_id=0:ep_ew=ew_sn:ep_el=0:ep_sn=s_uduk:ep_mc=s_uduks&"频道":ep_dm=s_uduks:ep_sk="":ep_sx=0:ep_bs=0:ep_bs=i_xkfl:ep_ls=0:ep_xy=1:ep_px=0:ep_qx=0:ep_ot="":ep_fl="":ep_xt=""
elseif not aibj(epdsn,"0") and not ainull(epdsn) and not aibj(epdsn,s_umqb) then
g_app=esapm(0,s_udep&g_apj&"F_"&epdsn)
if gysread(eplie("all"),epbiao,"ep_sn='"&aistr(lcase(epdsn))&"'",g_app) then
epread=ep_mc
else
epread=""
end if
end if
End Function
'-----------------------------------
'ep class
'=epfl()
'-----------------------------------
Function epfl(epfty,epfnm,epffl,epfva,epfur)
if epfty>0 then
'-tj=体积~1=10M以上|2=5-9MB|3=1-4MB|4=小于1MB#ty=类型~1=ASP+ACCESS|2=ASP+MSSQL|3=PHP+MYSQL#yc=原创~1=原创作品|2=修改作品|3=破解版作品
if len(epffl&"0")>4 then
if epfnm<>"" then
epfl=epfl&"<div class=""l-rt""><script>function efcsf(effid,effva){document.getElementById(effid+""s"").value=effva;}</script>请认真勾选以下参数　<input type=""button""  onclick=""document.getElementById('l-ruepef').style.height=window.document.getElementById('l-ruepef').offsetHeight+100 + 'px';"" class=""f-se"" value=""扩大""><input type=""button""  onclick=""document.getElementById('l-ruepef').style.height='auto';"" class=""f-se"" value=""自适应""><input type=""button""  onclick=""document.getElementById('l-ruepef').style.height=window.document.getElementById('l-ruepef').offsetHeight-100 + 'px';"" class=""f-se"" value=""缩小""></div><div id=""l-ruepef"" class=""l-ru"">"
else
epfl=epfl&"<div class=""l-rv"">"
end if
dim epflrra,epflrrb,epflccc,epflrrc,epflri,epflzz,epflzj,epflzjj,epfval
gysax=split(epffl,"#")
for gysi=0 to ubound(gysax)
gysay=split(gysax(gysi)&"~","~")
if not ainull(gysay(0)) and not ainull(gysay(1)) then
if epfnm="" or left(gysay(0),1)<>"0" then
epflrra=split(gysay(0)&"=","=")
epflrrb=split(gysay(1),"|")
epfl=epfl&"<p><b>"&epflrra(1)&"</b>"
for epflri=0 to ubound(epflrrb)
epflccc=epflrrb(epflri)
if len(epflccc&"0")>3 then
epflrrc=split(epflccc&"=","=")
epflzz=epflrra(0)&epflrrc(0)
if epfnm<>"" then
if left(gysay(0),1)="1" then
if epflri=0 then epfl=epfl&"<input type=""hidden"" name=""ef"" id="""&epfnm&epflrra(0)&"s"" value=""0"">"
epfl=epfl&"<input onClick=""efcsf(this.id,this.value)"" type=""radio"" name="""&epfnm&epflrra(0)&""" id="""&epfnm&epflrra(0)&""""
else
epfl=epfl&"<input type=""checkbox"" name="""&epfnm&""" id="""&epfnm&""""
end if
if instr(epfva&",",epflzz&",")>0 then
epfl=epfl&"  checked=""checked"""
if left(gysay(0),1)="1" then epfl=replace(epfl,"id="""&epfnm&epflrra(0)&"s"" value=""0"">","id="""&epfnm&epflrra(0)&"s"" value="""&epflzz&""">")
end if
epfl=epfl&" value="""&epflzz&""">"
if aibj(g_u0,s_umgl) then
epfl=epfl&"<span title="""&epflzz&""">"&epflrrc(1)&"</span>"
else
epfl=epfl&epflrrc(1)
end if
else

'epfva="ty2;th1;ty4;yy7;-tj7-8;"
if right(epfva,len(g_ura))<>g_ura then epfva=epfva&g_ura

if instr(epfva,g_ura&epflzz&g_ura)>0 then
epfl=epfl&"<a class=""l-ry"" href="""&replace(epfur,g_gx,replace(epfva,g_ura&epflzz&g_ura,g_ura))&""">×"&epflrrc(1)&"</a>"
elseif instr(epfva,g_ura&epflzz&g_urb&g_ura)>0 then
epfl=epfl&"<a class=""l-ry"" href="""&replace(epfur,g_gx,replace(epfva,g_ura&epflzz&g_urb&g_ura,g_ura))&""">×"&epflrrc(1)&"</a>"
elseif instr(epfva,g_urb&epflzz&g_ura)>0 then
epfl=epfl&"<a class=""l-ry"" href="""&replace(epfur,g_gx,replace(epfva,g_urb&epflzz&g_ura,g_ura))&""">×"&epflrrc(1)&"</a>"
elseif instr(epfva,epflzz&g_urb)>0 then
epfl=epfl&"<a class=""l-ry"" href="""&replace(epfur,g_gx,replace(epfva,epflzz&g_urb,""))&""">×"&epflrrc(1)&"</a>"
elseif instr(epfva&g_urb,epflzz&g_urb)>0 then
epfl=epfl&"<a class=""l-ry"" href="""&replace(epfur,g_gx,replace(epfva&g_urb,epflzz&g_urb,""))&""">×"&epflrrc(1)&"</a>"
elseif instr(epfva,epflzz&g_ura)>0 then
epfl=epfl&"<a class=""l-ry"" href="""&replace(epfur,g_gx,replace(epfva,epflzz&g_ura,""))&""">×"&epflrrc(1)&"</a>"
elseif instr(epfva&g_ura,epflzz&g_ura)>0 then
epfl=epfl&"<a class=""l-ry"" href="""&replace(epfur,g_gx,replace(epfva&g_ura,epflzz&g_ura,""))&""">×"&epflrrc(1)&"</a>"

else
'0
epfval=""
if left(epflzz,1)="0" or left(epflzz,1)="1" then'单选

if instr(epfva,left(epflzz,3))>0 then
epflzj=split(epfva,left(epflzz,3))
epflzjj=split(epflzj(1),g_ura)(0)
epfval=replace(epfva,left(epflzz,3)&epflzjj,epflzz)
else
epfval=epfva&epflzz&g_ura
end if

else'多选

if left(epflzz,1)="2" and instr(epfva,left(epflzz,3))>0 then
epfval=replace(epfva,g_ura&left(epflzz,3),g_ura&epflzz&g_urb&left(epflzz,3))
if left(epfval,len(g_ura))=g_ura then epfval=epfval=right(epfval,len(epfval)-len(g_ura))
elseif left(epflzz,1)<>"2" and instr(epfva,left(epflzz,2))>0 then
epfval=replace(epfva,g_ura&left(epflzz,2),g_ura&epflzz&g_urb&left(epflzz,2))
else
epfval=epfva&epflzz&g_ura
end if

end if

epfl=epfl&"<a class=""l-rx"" href="""&replace(epfur,g_gx,epfval)&""">"&epflrrc(1)&"</a>"
'1
end if

end if
end if
next
epfl=epfl&"</p>"
end if
end if
next
epfl=epfl&"</div>"
end if
end if
End Function
'-----------------------------------
'ep allx show
'=epallx()
'-----------------------------------
Function epallx()
if gystop(0,epbid,eplie(s_umlb),epbiao,"","","") then
epallx=gysar
end if
End Function
'-----------------------------------
'ep all show
'=epall()
'-----------------------------------
Function epall()
if e_gdj>1 then
epwhere=replace(epwheremo,"ep_xy>0","ep_xy<9999")
g_app="_"&s_umgl
else
g_app=""
epwhere=epwheremo
end if
g_app=esapm(0,s_udep&g_apj&aiint(ew_sn)&g_app)
if aiint(ew_sn)>0 then
if not ainull(epwhere) then epwhere=epwhere&" and "
epwhere=epwhere&" "&esrew("ep",ew_sn)
end if
if ankck(g_app) then
REM ep_id,1ep_sn,2ep_mc,3ep_dm,4ep_sk,5ep_sx,6ep_bs,7ep_xy,8ep_px,9ep_el,10ep_qx,11ep_ls,12ep_ef
if gystop(i_nmtp,epbid,eplie(s_umlb),epbiao,epwhere,epordermo,"") then
epall=gysar
end if
Call ankop(2,0,ansav(epall),g_app)
else
epall=anreq(ankop(1,0,0,g_app))
end if
End Function
'-----------------------------------
'ep select
'=epselect(0=id/1=mc)
'-----------------------------------
Function epselect(epfid)
dim epselectid,epselectmc
if epall<>"" then
gysax=split(epall,g_gx)
for gysi=0 to ubound(gysax)
gysay=split(gysax(gysi),g_gy)
if gysi=0 then
epselectid=gysay(1)
epselectmc=gysay(2)
else
epselectid=epselectid&"|"&gysay(1)
epselectmc=epselectmc&"|"&gysay(2)
end if
next
end if
if ew_kj<>"" then
if len(ew_kj)=2 and aibj(left(ep_sn,2),ew_kj) then ew_kj=left(ep_sn,3)
epselectid=ew_kj&"|"&epselectid
epselectmc="共用分类|"&epselectmc
end if
epselectid=epselectid&"|"&s_udbb&"|"&s_udus&"|"&s_uduk&"|"&s_udun&"|"&s_uded
epselectmc=epselectmc&"|"&s_udbbs&"系统"&"|"&s_uduss&"系统"&"|"&s_uduks&"系统"&"|"&s_uduns&"系统|"&s_udeds&"系统"
epselect=aiselect("ep","","","f-s1",epfid,epselectid,epselectmc)
End Function
'-----------------------------------
'add/edit form
'=epform()
'-----------------------------------
Function epform(epfty)
if epfty=0 then
ep_ew=ew_sn
ep_el=1
ep_sx=0
ep_bs=1
ep_ef=i_xkfl
ep_ls=2
ep_xy=1
ep_px=0
ep_qx=2
ep_sp=ew_sp
ep_lm=ew_lm
ep_pl=ew_pl
ep_pj=ew_pj
else
if ep_xt<>"" then
ep_xt=ep_xt&espxx("修改"&i_gg&e_gmc)
else
ep_xt=espxx("修改"&i_gg&e_gmc)
end if
end if
epform="<div class=""l-f""><form id=""EESaiForm"" name=""EESaiForm"" action="""" method=""post""><ul>"
epform=epform&"<li class=""l-1"">名称："&aiinput("","mc","",0,50,"*","f-a1|f-b1|f-c1",ep_mc)&"短名："&aiinput("","dm","",0,50,"*","f-a1|f-b1|f-c1",ep_dm)&"编码："&aiinput("","sn","",3,50,"*请使用小写字母","f-a1|f-b1|f-c1",ep_sn)&aiinput("hidden","y_sn","",0,0,"","",ep_sn)&"状态："&aiselect("xy","","*","f-s1",ep_xy,0,i_bxy)&"</li>"
epform=epform&"<li>模版："&aiinput("","sk","",0,50,"如果使用无类板式（没有分类的固定内容频道）建议选用8/ab模板","f-a1|f-b1|f-c1",ep_sk)&"色系："&aiselect("sx","","*","f-s1",ep_sx,0,i_bsx)&"板式："&aiselect("bs","","*","f-s1",ep_bs,0,i_bepbs)&"列样："&aiselect("ls","","*请选择列表页面样式","f-s1",ep_ls,0,i_bls)&"</li>"
epform=epform&"<li class=""l-1"">排序："&aiinput("","px","",6,50,"*","f-a1|f-b1|f-c1",ep_px)&"网站："&ewselect(0,ep_ew)&aiinput("hidden","y_ew","",0,0,"","",ep_ew)&"类型："&elselect(ep_el)&"权限："&aiselect("qx","","*","f-s1",ep_qx,0,i_bepqx)&"</li>"
epform=epform&"<li>频搜："&aiselect("sp","","*是否启用频道搜索.","f-s1",ep_sp,0,"关闭搜索|精简搜索|简单搜索|完整搜索")&"列表："&aiselect("lm","","*网站内容列表是否可以切换不同显示模式.","f-s1",ep_lm,0,"关闭切换|开启切换")&"评论："&aiselect("pl","","*是否启用网站评论模块的功能.","f-s1",ep_pl,0,i_baipl)&"评价："&aiselect("pj","","*是否启用网站评价功能.","f-s1",ep_pj,0,"关闭评价|隐藏评价|打开评价")&"</li>"
epform=epform&"<li class=""l-1"">内容："&esedit(ep_nr,"nr",2)&"</li>"
epform=epform&"<li>分类："&aiselect("ef","","*","f-s1",ep_ef,0,i_bepef)&"参数："&aiinput("","ot","",0,200,"频道内特殊定义的其他参数，特别注意设定后不可修改，可以在后面添加其他参数，否则参数对应容易出错。每个参数使用|隔开，如：品牌|型号|规格|联系方式","f-a3|f-b3|f-c3",ep_ot)&"</li>"
epform=epform&"<li class=""l-1"">分类："&aitext("fl","","",0,2000,"部分频道可自定义分类标签，注释：0(0内容表中的int参数比对)ai=参数~1-10=10以内|11-20=11-20|20-(没有上限可以为空)=20以上#(#表示隔断)1(1单选参数)dx=单选~1=好评|2=差评#2(2或者空:多选)dx=多选~1=好显示器|2=好内存|3=好价格","f-x4|f-y4|f-z4",ep_fl)&"</li>"
epform=epform&"<li>系统："&eseditxt(ep_xt,"xt",1)&"</li>"
epform=epform&eskyx(1,2,2)
if epfty=1 then
epform=epform&"<li class=""l-sb"">"&aibutton(2,"","","f-sb",s_umxgs)&aiinput("hidden","id","",0,0,"","",ep_id)&aibutton(1,"","","f-sb",s_ztcz)&"<input type=""checkbox"" name=""lian"" value=""1""> 联动处理(修改编码的时候建议启用)</li>"
elseif epfty=0 then
epform=epform&"<li class=""l-sb"">"&aibutton(2,"","","f-sb",s_umtjs)&aibutton(1,"","","f-sb",s_ztcz)&"</li>"
end if
epform=epform&"</ul></form></div>"
End Function
'-----------------------------------
'add action
'=epadd()
'-----------------------------------
Function epadd()
ew_bt=s_umtjs&s_udeps&","&ew_bt:ew_zt=s_umtjs&s_udeps&","&ew_zt:ew_nr=s_umtjs&s_udeps&","&ew_nr
e_wl=e_wl&" &gt;&gt; <a href="""&e_ur1&""">"&s_umtjs&s_udeps&"</a>"
e_mt=esbts(s_udxep,s_udlep,s_umtjs&s_udeps&g_gy&e_ur1,s_udeps&s_umlbs&g_gy&e_ur0)
if esky(1,e_gdj) then
if aireqx("ew,mc,sn,dm,xy") then
if gysfm(eplie("form"),epbiao,"ep_sn='"&aistr(aireq("sn"))&"'","ep_",1) then
e_ma=e_ma&aitiao(s_umtjs&s_udeps&s_ztcg,e_ur0,i_nmtz)
e_ma=e_ma&eskod(17,77,esapm(0,s_udep&g_apj))
else
e_ma=e_ma&aigo(s_umtjs&s_udeps&s_ztsb,1)
end if
else
e_ma=e_ma&aigo(s_umtjs&s_udeps&s_ztsb,1)
end if
else
e_ma=epform(0)&e_ma
end if
End Function
'-----------------------------------
'edit action
'=epedit()
'-----------------------------------
Function epedit()
ew_bt=s_umxgs&s_udeps&","&ew_bt:ew_zt=s_umxgs&s_udeps&","&ew_zt:ew_nr=s_umxgs&s_udeps&","&ew_nr
e_wl=e_wl&" &gt;&gt; <a href="""&eshref(s_umgl&g_urg&s_udep&g_urg&s_umxg&g_urg&g_u3&g_urz,77)&""">"&s_umxgs&s_udeps&"</a>"
e_mt=esbts(s_udxep,s_udlep,s_umxgs&s_udeps&g_gy&eshref(s_umgl&g_urg&s_udep&g_urg&s_umxg&g_urg&g_u3&g_urz,77),s_umtjs&s_udeps&g_gy&e_ur1&g_gx&s_udeps&s_umlbs&g_gy&e_ur0)
if esky(1,e_gdj) then
if aireqx("ew,mc,sn,dm,xy") then
if gysfm(eplie("form"),epbiao,"ep_id="&aiint(aireq("id"))&" or (ep_id<>"&aiint(aireq("id"))&" and ep_sn='"&aistr(aireq("sn"))&"')","ep_",2) then
if aireq("sn")<>aireq("y_sn") and aireq("ew")<>aireq("y_ew") and aireq("lian")="1" and esrfd(0,ep_sn,ew_kj)<>"1" then'处理内容分类网站id更换,内容太多速度会比较慢。
Call gysgx(saidbqz&"ai","ai_ep='"&aireq("sn")&"',ai_ew="&aireq("ew")&"","ai_ep='"&aireq("y_sn")&"'")
Call gysgx(saidbqz&"ef","ef_ep='"&aireq("sn")&"',ef_ew="&aireq("ew")&"","ef_ep='"&aireq("y_sn")&"'")
elseif aireq("ew")<>aireq("y_ew") and aireq("lian")="1" and esrfd(0,ep_sn,ew_kj)<>"1" then'处理内容分类网站id更换,内容太多速度会比较慢。
Call gysgx(saidbqz&"ai","ai_ew="&aireq("ew")&"","ai_ep='"&aireq("y_sn")&"'")
Call gysgx(saidbqz&"ef","ef_ew="&aireq("ew")&"","ef_ep='"&aireq("y_sn")&"'")
elseif aireq("sn")<>aireq("y_sn") and aireq("lian")="1" and esrfd(0,ep_sn,ew_kj)<>"1" then'处理内容分类编码更换,内容太多速度会比较慢。
Call gysgx(saidbqz&"ai","ai_ep='"&aireq("sn")&"'","ai_ep='"&aireq("y_sn")&"'")
Call gysgx(saidbqz&"ef","ef_ep='"&aireq("sn")&"'","ef_ep='"&aireq("y_sn")&"'")
end if
e_ma=e_ma&aitiao(s_umxgs&s_udeps&s_ztcg,e_ur0,i_nmtz)
e_ma=e_ma&eskod(17,77,esapm(0,s_udep&g_apj))
else
e_ma=e_ma&aigo(s_umxgs&s_udeps&s_ztsb,1)
end if
else
e_ma=e_ma&aigo(s_umxgs&s_udeps&s_ztsb,1)
end if
else
if gysread(eplie("all"),epbiao,"ep_id="&aiint(g_u3)&"","") then
ew_bt=ep_mc&","&ew_bt:ew_zt=ep_mc&","&ew_zt:ew_nr=ep_mc&","&ew_nr
e_ma=epform(1)&e_ma
else
e_ma=e_ma&aigo(s_udeps&s_ztno,1)
end if
end if
End Function
'-----------------------------------
'del
'=epdel()
'-----------------------------------
Function epdel()
ew_bt=s_udeps&s_umscs&","&ew_bt:ew_zt=s_udeps&s_umscs&","&ew_zt:ew_nr=s_udeps&s_umscs&","&ew_nr
e_wl=e_wl&" &gt;&gt; "&s_udeps&s_umscs&""
e_mt=esbts(s_udxep,s_udlep,s_umscs&s_udeps,s_umtjs&s_udeps&g_gy&e_ur1&g_gx&s_udeps&s_umlbs&g_gy&e_ur0)
if e_gdj>2 then
if aiint(g_u3)>0 then
if gysdel(epbid,epbiao,"ep_id="&aiint(g_u3)) then
e_ma=e_ma&aitiao(s_udeps&s_umscs&s_ztcg,e_ur0,i_nmtz)
e_ma=e_ma&eskod(17,77,esapm(0,s_udep&g_apj))
else
e_ma=e_ma&aigo(s_udeps&s_umscs&s_ztsb,1)
end if
elseif aibj(g_u2,s_umsc&"-x") then
if gysdel(epbid,epbiao,esrew("ep",ew_sn)) then
e_ma=e_ma&aitiao(s_udeps&s_umscs&s_ztcg,e_ur0,i_nmtz)
e_ma=e_ma&eskod(17,77,esapm(0,s_udep&g_apj))
else
e_ma=e_ma&aigo(s_udeps&s_umscs&s_ztsb,1)
end if
end if
end if
End Function
'-----------------------------------
'list
'=eplist()
'-----------------------------------
Function eplist()
e_mt=esbts(s_udxep,s_udlep,s_udeps&s_umlbs&g_gy&e_ur0,"<i>"&s_umtjs&s_udeps&"</i>"&g_gy&e_ur1)
if esky(1,e_gdj) then
if gysfm(eplie(s_umlb&"s"),epbiao,1,"ep_",22) then
e_ma=e_ma&aitiao(s_umxgs&s_udeps&s_ztcg,e_ur0,i_nmtz)
e_ma=e_ma&eskod(17,77,esapm(0,s_udep&g_apj))
else
e_ma=e_ma&aigo(s_umxgs&s_udeps&s_ztsb,1)
end if
else
if aiint(ew_sn)>0 then
epwhere=epwhere&esrew("ep",ew_sn)
end if
'@@ep_id,1ep_sn,2ep_mc,3ep_dm,4ep_sk,5ep_sx,6ep_bs,7ep_xy,8ep_px,9ep_el,10ep_qx,11ep_ls,12ep_ef
if gystop(i_nmtp,epbid,eplie(s_umlb),epbiao,epwhere,epordermo,"") then
e_ma=e_ma&"<div class=""l-f""><form id=""EESaiForm"" name=""EESaiForm"" action="""" method=""post""><ul>"
gysax=split(gysar,g_gx)
for gysi=0 to ubound(gysax)
gysay=split(gysax(gysi),g_gy)
if gysi mod 2=0 then
e_lcss="l1"
else
e_lcss="l2"
end if
if aiint(gysay(7))>1 then
e_lcss=e_lcss&" ftt"
elseif aiint(gysay(7))<1 then
e_lcss=e_lcss&" ftq"
end if
e_ma=e_ma&"<li class="""&e_lcss&""">名称："&aiinput("","mc","",0,50,"*","f-a1|f-b1|f-c1",gysay(2))&"短名："&aiinput("","dm","",0,50,"*","f-a1|f-b1|f-c1",gysay(3))&"编码："&aiinput("","sn","",0,50,"*","f-a1|f-b1|f-c1",gysay(1))&"状态："&aiselect("xy","","*","f-s1",gysay(7),0,i_bxy)&"</li>"
e_ma=e_ma&"<li class="""&e_lcss&""">风格："&aiinput("","sk","",0,50,"*","f-a1|f-b1|f-c1",gysay(4))&"排序："&aiinput("","px","",6,50,"*","f-a1|f-b1|f-c1",gysay(8))&"色系："&aiselect("sx","","*","f-s1",gysay(5),0,i_bsx)&"板式："&aiselect("bs","","*","f-s1",gysay(6),0,i_bepbs)&aiinput("hidden","id","",0,0,"","",gysay(0))&aibutton(2,"","","f-se","快速"&s_umxgs)&aibuttonk(eshref(s_umgl&g_urg&s_udep&g_urg&s_umxg&g_urg&gysay(0)&g_urz,77),"","","","f-se","详细"&s_umxgs)&aibuttonk(eshref(s_umgl&g_urg&s_udep&g_urg&s_umsc&g_urg&gysay(0)&g_urg&gysay(1)&g_urz,77),s_umscs&s_udeps&s_ztqr,"","","f-se",s_umscs)&"</li>"
next
e_ma=e_ma&eskyx(0,2,2)
e_ma=e_ma&"<li class=""l-sb"">"&aibutton(2,"","","f-sb",s_umxgs)&aibutton(1,"","","f-sb",s_ztcz)&aibuttonk(eshref(s_umgl&g_urg&s_udep&g_urg&s_umsc&"-x"&g_urz,77),s_umscs&s_udeps&s_ztqr,"","","f-sb","清空")&"</li>"
e_ma=e_ma&"</ul></form></div>"
else
e_ma=e_ma&aigo(s_udeps&s_ztno,e_ur1)
end if
end if
End Function
%>