| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233 | <?phpdefine('EmpireCMSAdmin','1');require("../../class/connect.php");require("../../class/db_sql.php");require("../../class/functions.php");$link=db_connect();$empire=new mysqlquery();$editor=1;//验证用户$lur=is_login();$logininid=$lur['userid'];$loginin=$lur['username'];$loginrnd=$lur['rnd'];$loginlevel=$lur['groupid'];$loginadminstyleid=$lur['adminstyleid'];//ehash$ecms_hashur=hReturnEcmsHashStrAll();$doobject=(int)$_GET['doobject'];$selfdoobject=(int)$_GET['selfdoobject'];$addselfinfo=(int)$_GET['addselfinfo'];$selfinfooption='';$parentclass=(int)$_GET['parentclass'];$addparentclass='';if($parentclass){	$addparentclass='父';}//操作对象if($doobject==2)//按栏目{	//操作类型	$dotype='<table width="100%" border="0" cellspacing="0" cellpadding="0">          <tr>            <td width="24%">操作类型:</td>            <td width="76%"><select name="dotype" id="select">			  <option value="0">栏目最新信息</option>			  <option value="1">栏目点击排行</option>			  <option value="2">栏目推荐信息</option>			  <option value="9">栏目评论排行</option>			  <option value="12">栏目头条信息</option>			  <option value="15">栏目下载排行</option>              </select></td>          </tr>        </table>';	//选择栏目	$fcfile='../../data/fc/ListEnews.php';	$class="<script src=../../data/fc/cmsclass.js></script>";	if(!file_exists($fcfile))	{$class=ShowClass_AddClass("",0,0,"|-",0,0);}	if($addselfinfo==1)	{	}	elseif($addselfinfo==2)//一级栏目+当前栏目	{		$selfinfooption='<option value="\'selfinfo\'">当前栏目</option><option value="\'0\'">一级栏目</option>';	}	elseif($addselfinfo==3)//一级栏目	{		$selfinfooption='<option value="\'0\'">一级栏目</option>';	}	elseif($addselfinfo==4)//不限栏目	{		$selfinfooption='<option value="0">不限栏目</option>';	}	else	{		$selfinfooption='<option value="\'selfinfo\'">当前栏目</option>';	}	$changeobject='<table width="100%" border="0" cellspacing="0" cellpadding="0">          <tr>            <td width="24%">选择'.$addparentclass.'栏目:</td>            <td width="76%"><select name="classid" id="select2">			  '.$selfinfooption.'			  '.$class.'              </select></td>          </tr>        </table>';}elseif($doobject==3)//按专题{	//操作类型	$dotype='<table width="100%" border="0" cellspacing="0" cellpadding="0">          <tr>            <td width="24%">操作类型:</td>            <td width="76%"><select name="dotype" id="select">			  <option value="6">专题最新信息</option>			  <option value="7">专题点击排行</option>			  <option value="8">专题推荐信息</option>			  <option value="11">专题评论排行</option>			  <option value="14">专题头条信息</option>			  <option value="17">专题下载排行</option>              </select></td>          </tr>        </table>';	//选择专题	$ztclass='';	$ztsql=$empire->query("select ztid,ztname from {$dbtbpre}enewszt order by ztid desc");	while($ztr=$empire->fetch($ztsql))	{		$ztclass.="<option value='".$ztr['ztid']."'>".$ztr['ztname']."</option>";	}	if($addselfinfo==1)	{	}	else	{		$selfinfooption='<option value="\'selfinfo\'">当前专题</option>';	}	$changeobject='<table width="100%" border="0" cellspacing="0" cellpadding="0">          <tr>            <td width="24%">选择专题:</td>            <td width="76%"><select name="classid" id="select2">			  '.$selfinfooption.'			  '.$ztclass.'              </select></td>          </tr>        </table>';}elseif($doobject==4)//按数据表{	//操作类型	$dotype='<table width="100%" border="0" cellspacing="0" cellpadding="0">          <tr>            <td width="24%">操作类型:</td>            <td width="76%"><select name="dotype" id="select">			  <option value="18">表最新信息</option>			  <option value="19">表点击排行</option>			  <option value="20">表推荐信息</option>			  <option value="21">表评论排行</option>			  <option value="22">表头条信息</option>			  <option value="23">表下载排行</option>              </select></td>          </tr>        </table>';	//选择数据表	$tb='';	$tbsql=$empire->query("select tbname,tname from {$dbtbpre}enewstable order by tid");	while($tbr=$empire->fetch($tbsql))	{		$tb.="<option value=\"'".$tbr[tbname]."'\">".$tbr[tname]."</option>";	}	$changeobject='<table width="100%" border="0" cellspacing="0" cellpadding="0">          <tr>            <td width="24%">选择数据表:</td>            <td width="76%"><select name="classid" id="select2">			  '.$tb.'              </select></td>          </tr>        </table>';}elseif($doobject==5)//按标题分类{	//操作类型	$dotype='<table width="100%" border="0" cellspacing="0" cellpadding="0">          <tr>            <td width="24%">操作类型:</td>            <td width="76%"><select name="dotype" id="select">			  <option value="25">标题分类最新信息</option>			  <option value="26">标题分类点击排行</option>			  <option value="27">标题分类推荐信息</option>			  <option value="28">标题分类评论排行</option>			  <option value="29">标题分类头条信息</option>			  <option value="30">标题分类下载排行</option>              </select></td>          </tr>        </table>';	//选择标题分类	$tts='';	$ttsql=$empire->query("select typeid,tname from {$dbtbpre}enewsinfotype order by typeid");	while($ttr=$empire->fetch($ttsql))	{		$tts.="<option value='$ttr[typeid]'>$ttr[tname]</option>";	}	$changeobject='<table width="100%" border="0" cellspacing="0" cellpadding="0">          <tr>            <td width="24%">选择标题分类:</td>            <td width="76%"><select name="classid" id="select2">			  '.$tts.'              </select></td>          </tr>        </table>';}elseif($doobject==6)//按SQL{	//操作类型	$dotype='<table width="100%" border="0" cellspacing="0" cellpadding="0">          <tr>            <td width="24%">操作类型:</td>            <td width="76%"><select name="dotype" id="select">			  <option value="24">SQL查询</option>              </select></td>          </tr>        </table>';	//选择SQL	$changeobject='<table width="100%" border="0" cellspacing="0" cellpadding="0">          <tr>            <td width="24%">选择:</td>            <td width="76%"><select name="classid" id="select2">			  <option value="\'sql语句\'">SQL查询</option>              </select></td>          </tr>        </table>';}else//按默认表{	//操作类型	$dotype='<table width="100%" border="0" cellspacing="0" cellpadding="0">          <tr>            <td width="24%">操作类型:</td>            <td width="76%"><select name="dotype" id="select">			  <option value="3">默认表最新信息</option>			  <option value="4">默认表点击排行</option>			  <option value="5">默认表推荐信息</option>			  <option value="10">默认表评论排行</option>			  <option value="13">默认表头条信息</option>			  <option value="16">默认表下载排行</option>              </select></td>          </tr>        </table>';	//选择SQL	$changeobject='<table width="100%" border="0" cellspacing="0" cellpadding="0">          <tr>            <td width="24%">选择:</td>            <td width="76%"><select name="classid" id="select2">			  <option value="0">默认表('.$public_r[tbname].')</option>              </select></td>          </tr>        </table>';}//标签模板$bqname=RepPostStr($_GET['bqname'],1);if(empty($bqname)){	$bqname='ecmsinfo';}$mydotype=RepPostStr($_GET['mydotype'],1);$defchangeobject=RepPostStr($_GET['defchangeobject'],1);if($defchangeobject==1){	$changeobject='<table width="100%" border="0" cellspacing="0" cellpadding="0">          <tr>            <td width="24%">选择:</td>            <td width="76%"><select name="classid" id="select2">			  <option value="\'\'">默认</option>              </select></td>          </tr>        </table>';}if($bqname=='ecmsinfo'||$bqname=='listsonclass'||$bqname=='otherlink'||$bqname=='eshowphoto'||$bqname=='tagsinfo'||$bqname=='showclasstemp'||$bqname=='eshowzt'||$bqname=='listshowclass'||$bqname=='gbookinfo'||$bqname=='showplinfo'){	$bqtemp='';	$bqtempsql=$empire->query("select tempid,tempname from ".GetTemptb("enewsbqtemp")." order by tempid");	while($bqtempr=$empire->fetch($bqtempsql))	{		$bqtemp.="<option value='".$bqtempr[tempid]."'>".$bqtempr[tempname]."</option>";	}}//当前使用的模板组$thegid=GetDoTempGid();?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><title>帝国网站管理系统--标签生成</title><link href="../adminstyle/<?=$loginadminstyleid?>/adminstyle.css" rel="stylesheet" type="text/css"><script language="javascript">window.resizeTo(800,600);window.focus();</script><script>//返回附加SQLfunction ReturnAddSql(addsql,orderby){	var addstr='';	var r;	var yh="'";	if(addsql!=''||orderby!='')	{		r=addsql.split("'");		if(r.length!=1)		{			yh='"';		}		if(addsql!='')		{			addstr+=','+yh+addsql+yh;		}		else		{			addstr+=",''";		}		if(orderby!='')		{			addstr+=",'"+orderby+"'";		}	}	return addstr;}//返回是否加单引号function ReturnAddYh(tids){	var r;	if(tids=='')	{		return "''";	}	r=tids.split(",");	if(r.length!=1)	{		tids="'"+tids+"'";	}	return tids;}</script></head><body><table width="100%" border="0" cellspacing="1" cellpadding="3">  <tr>     <td height="25">选择标签:       <select name="bq" id="bq" style= "font-size:16px;" onchange="if(this.options[this.selectedIndex].value!=''){self.location.href='MakeBq.php?<?=$ecms_hashur['ehref']?>&bqname='+this.options[this.selectedIndex].value}">        <option value="" style="background-color:#AFCFF3">信息调用标签</option>        <option value="ecmsinfo"<?=$bqname=='ecmsinfo'?' selected':''?>>  > 万能标签调用 (ecmsinfo)</option>		<option value="eloop"<?=$bqname=='eloop'?' selected':''?>>  > 灵动标签 (e:loop)</option>		<option value="eindexloop"<?=$bqname=='eindexloop'?' selected':''?>>  > 索引灵动标签 (e:indexloop)</option>        <option value="phomenews"<?=$bqname=='phomenews'?' selected':''?>>  > 文字调用标签 (phomenews)</option>        <option value="phomenewspic"<?=$bqname=='phomenewspic'?' selected':''?>>  > 图文信息调用[标题图片的信息] (phomenewspic)</option>        <option value="phomeflashpic"<?=$bqname=='phomeflashpic'?' selected':''?>>  > FLASH幻灯信息调用 (phomeflashpic)</option>		<option value="listsonclass&doobject=2&addselfinfo=2"<?=$bqname=='listsonclass'?' selected':''?>>  > 循环子栏目数据标签 (listsonclass)</option>		<option value="otherlink&defchangeobject=1"<?=$bqname=='otherlink'?' selected':''?>>  > 相关链接标签 (otherlink)</option>		<option value="tagsinfo"<?=$bqname=='tagsinfo'?' selected':''?>>  > 调用TAGS的信息标签 (tagsinfo)</option>		<option value="spinfo"<?=$bqname=='spinfo'?' selected':''?>>  > 调用碎片的信息标签 (spinfo)</option>		<option value="showtags"<?=$bqname=='showtags'?' selected':''?>>  > 调用TAGS标签 (showtags)</option>        <option value="totaldata&doobject=2&addselfinfo=1"<?=$bqname=='totaldata'?' selected':''?>>  > 网站信息统计 (totaldata)</option>        <option value="eshowphoto"<?=$bqname=='eshowphoto'?' selected':''?>>  > 图库模型分页标签 (eshowphoto)</option>        <option value="showsearch&doobject=2&addselfinfo=4"<?=$bqname=='showsearch'?' selected':''?>>  > 搜索关键字调用标签 (showsearch)</option>        <option value="" style="background-color:#AFCFF3">栏目调用标签</option>        <option value="showclasstemp&doobject=2&addselfinfo=2&parentclass=1"<?=$bqname=='showclasstemp'?' selected':''?>>  > 带模板的栏目导航标签 (showclasstemp)</option>        <option value="eshowzt"<?=$bqname=='eshowzt'?' selected':''?>>  > 专题调用标签 (eshowzt)</option>        <option value='listshowclass&doobject=2&addselfinfo=2&parentclass=1'<?=$bqname=='listshowclass'?' selected':''?>>  > 循环栏目导航标签 (listshowclass)</option>        <option value="" style="background-color:#AFCFF3">非信息调用标签</option>        <option value="phomead"<?=$bqname=='phomead'?' selected':''?>>  > 广告调用标签 (phomead)</option>        <option value="phomevote"<?=$bqname=='phomevote'?' selected':''?>>  > 投票调用标签 (phomevote)</option>        <option value="phomelink"<?=$bqname=='phomelink'?' selected':''?>>  > 友情链接调用标签 (phomelink)</option>        <option value="gbookinfo"<?=$bqname=='gbookinfo'?' selected':''?>>  > 留言板调用标签 (gbookinfo)</option>        <option value="showplinfo"<?=$bqname=='showplinfo'?' selected':''?>>  > 评论调用标签 (showplinfo)</option>        <option value="echocheckbox"<?=$bqname=='echocheckbox'?' selected':''?>>  > 复选字段输出内容标签 (echocheckbox)</option>		<option value="" style="background-color:#AFCFF3">会员相关调用</option>		<option value="ShowMemberInfo"<?=$bqname=='ShowMemberInfo'?' selected':''?>>会员信息调用函数 (ShowMemberInfo)</option>		<option value="ListMemberInfo"<?=$bqname=='ListMemberInfo'?' selected':''?>>会员列表调用函数 (ListMemberInfo)</option>		<option value="spaceeloop"<?=$bqname=='spaceeloop'?' selected':''?>>会员空间信息标签调用 (spaceeloop)</option>        <option value="" style="background-color:#AFCFF3">其它标签</option>        <option value="includefile"<?=$bqname=='includefile'?' selected':''?>>  > 引用文件标签 (includefile)</option>        <option value="readhttp"<?=$bqname=='readhttp'?' selected':''?>>  > 读取远程页面 (readhttp)</option>      </select></td>  </tr></table><br><?phpif($bqname=='ecmsinfo'){?><script>//返回标签function ShowBqFun(){	var obj=document.bqform;	var bqstr;	var addstr='';	var fclassid=obj.classid.value;	var fline=obj.line.value;	var ftitlelen=obj.titlelen.value;	var fshowclass=obj.showclass.value;	var fdotype=obj.dotype.value;	var ftempid=obj.tempid.value;	var fispic=obj.ispic.value;	var faddsql=obj.addsql.value;	var forderby=obj.orderby.value;	addstr=ReturnAddSql(faddsql,forderby);	bqstr="[ecmsinfo]"+fclassid+","+fline+","+ftitlelen+","+fshowclass+","+fdotype+","+ftempid+","+fispic+addstr+"[/ecmsinfo]";	obj.bqshow.value=bqstr;}</script><form action="MakeBq.php" method="GET" name="bqform" id="bqform">  <table width="100%" border="0" align="center" cellpadding="3" cellspacing="1" class="tableborder" id="ecmsinfo">	<?=$ecms_hashur['eform']?>    <tr>       <td height="25" colspan="2" class="header">ecmsinfo标签生成         <input name="bqname" type="hidden" id="bqname" value="<?=$bqname?>"></td>    </tr>    <tr>       <td height="25" colspan="2">选择调用对象:         <select name="doobject" id="doobject" onchange="self.location.href='MakeBq.php?<?=$ecms_hashur['ehref']?>&bqname=<?=$bqname?>&doobject='+this.options[this.selectedIndex].value">          <option value="1"<?=$doobject==1?' selected':''?>>按默认表(          <?=$public_r['tbname']?>          )</option>          <option value="2"<?=$doobject==2?' selected':''?>>栏目</option>          <option value="4"<?=$doobject==4?' selected':''?>>数据表</option>          <option value="5"<?=$doobject==5?' selected':''?>>标题分类</option>          <option value="6"<?=$doobject==6?' selected':''?>>按SQL调用</option>        </select> </td>    </tr>    <tr>       <td width="50%" height="25" bgcolor="#FFFFFF">         <?=$dotype?>      </td>      <td width="50%" bgcolor="#FFFFFF">         <?=$changeobject?>      </td>    </tr>    <tr>       <td height="25" bgcolor="#FFFFFF"> <table width="100%" border="0" cellspacing="0" cellpadding="0">          <tr>             <td width="24%">调用数量:</td>            <td width="76%"><input name="line" type="text" id="line3" value="10"></td>          </tr>        </table></td>      <td bgcolor="#FFFFFF"> <table width="100%" border="0" cellspacing="0" cellpadding="0">          <tr>             <td width="24%">标签模板:</td>            <td width="76%"><select name="tempid" id="select3">                <?=$bqtemp?>              </select>              <input type="button" name="Submit6222323" value="管理标签模板" onclick="window.open('ListBqtemp.php?gid=<?=$thegid?><?=$ecms_hashur['ehref']?>');"></td>          </tr>        </table></td>    </tr>    <tr>       <td height="25" bgcolor="#FFFFFF"> <table width="100%" border="0" cellspacing="0" cellpadding="0">          <tr>             <td width="24%">标题截取字数:</td>            <td width="76%"><input name="titlelen" type="text" id="titlelen2" value="32">             </td>          </tr>        </table></td>      <td bgcolor="#FFFFFF"> <table width="100%" border="0" cellspacing="0" cellpadding="0">          <tr>             <td width="24%">显示栏目名:</td>            <td width="76%"><select name="showclass" id="showclass">                <option value="0">否</option>                <option value="1">是</option>              </select> <font color="#666666">(标签模板要加[!--class.name--])</font>             </td>          </tr>        </table></td>    </tr>    <tr>       <td height="25" bgcolor="#FFFFFF">只调用有标题图片的信息:         <select name="ispic" id="ispic">          <option value="0">不限</option>          <option value="1">是</option>        </select></td>      <td bgcolor="#FFFFFF"> </td>    </tr>    <tr>       <td height="25" colspan="2">选项设置</td>    </tr>    <tr>       <td height="25" bgcolor="#FFFFFF"> <table width="100%" border="0" cellspacing="0" cellpadding="0">          <tr>             <td width="24%">附加SQL条件:</td>            <td width="76%"><input name="addsql" type="text" id="addsql2"> <select name="addsqlselect" onchange="document.bqform.addsql.value=this.value"><option value=""> -- 预选项 -- </option><option value="isgood=1">1级推荐</option><option value="firsttitle=1">1级头条</option><option value="field='值'">字段等于某值</option></select></td>          </tr>        </table></td>      <td bgcolor="#FFFFFF"> <table width="100%" border="0" cellspacing="0" cellpadding="0">          <tr>             <td width="24%">显示排序:</td>            <td width="76%"><input name="orderby" type="text" id="orderby2"> <select name="orderbyselect" onchange="document.bqform.orderby.value=this.value"><option value=""> -- 预选项 -- </option><option value="newstime DESC">按发布时间降序排序</option><option value="newstime ASC">按发布时间升序排序</option><option value="id DESC">按ID降序排序</option><option value="onclick DESC">按点击率降序排序</option><option value="totaldown DESC">按下载数降序排序</option><option value="plnum DESC">按评论数降序排序</option><option value="diggtop DESC">按顶数(digg)降序排序</option></select></td>          </tr>        </table></td>    </tr>    <tr>       <td height="25" colspan="2" bgcolor="#FFFFFF"><input type="button" name="Submit" value="输出标签" onclick="ShowBqFun();">      </td>    </tr>    <tr>      <td height="25" colspan="2" bgcolor="#FFFFFF"><font color="#333333"><a href="EnewsBq.php<?=$ecms_hashur['whehref']?>#ecmsinfo" target="_blank" title="查看详细标签语法">[ecmsinfo]栏目ID/标题分类ID,显示条数,标题截取数,是否显示栏目名,操作类型,模板ID,只显示有标题图片,附加SQL条件,显示排序[/ecmsinfo]</a></font></td>    </tr>    <tr>       <td height="25" colspan="2" bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="0" cellpadding="0">          <tr>             <td><textarea name="bqshow" cols="65" rows="5" id="bqshow" style="width:100%"></textarea></td>          </tr>          <tr>             <td height="25"><input type="button" name="Submit2" value="复制上面标签内容" onclick="window.clipboardData.setData('Text',document.bqform.bqshow.value);document.bqform.bqshow.select()"></td>          </tr>        </table></td>    </tr>  </table></form><?php}elseif($bqname=='eloop'){?><script>//返回标签function ShowBqFun(){	var obj=document.bqform;	var bqstr;	var addstr='';	var fclassid=obj.classid.value;	var fline=obj.line.value;	var fdotype=obj.dotype.value;	var fispic=obj.ispic.value;	var faddsql=obj.addsql.value;	var forderby=obj.orderby.value;	addstr=ReturnAddSql(faddsql,forderby);	bqstr="[e:loop={"+fclassid+","+fline+","+fdotype+","+fispic+addstr+"}]\r\n<a href=\"<?="<?=\$bqsr['titleurl']?>"?>\" target=\"_blank\"><?="<?=\$bqr['title']?>"?></a> <br>\r\n[/e:loop]";	obj.bqshow.value=bqstr;}</script><form action="MakeBq.php" method="GET" name="bqform" id="bqform">  <table width="100%" border="0" align="center" cellpadding="3" cellspacing="1" class="tableborder" id="eloop">	<?=$ecms_hashur['eform']?>    <tr>       <td height="25" colspan="2" class="header">灵动标签(e:loop)生成         <input name="bqname" type="hidden" id="bqname" value="<?=$bqname?>"></td>    </tr>    <tr>       <td height="25" colspan="2">选择调用对象:         <select name="doobject" id="doobject" onchange="self.location.href='MakeBq.php?<?=$ecms_hashur['ehref']?>&bqname=<?=$bqname?>&doobject='+this.options[this.selectedIndex].value">          <option value="1"<?=$doobject==1?' selected':''?>>按默认表(           <?=$public_r['tbname']?>          )</option>          <option value="2"<?=$doobject==2?' selected':''?>>栏目</option>          <option value="4"<?=$doobject==4?' selected':''?>>数据表</option>          <option value="5"<?=$doobject==5?' selected':''?>>标题分类</option>          <option value="6"<?=$doobject==6?' selected':''?>>按SQL调用</option>        </select> </td>    </tr>    <tr>       <td width="50%" height="25" bgcolor="#FFFFFF">         <?=$dotype?>      </td>      <td width="50%" bgcolor="#FFFFFF">         <?=$changeobject?>      </td>    </tr>    <tr>       <td height="25" bgcolor="#FFFFFF"> <table width="100%" border="0" cellspacing="0" cellpadding="0">          <tr>             <td width="24%">调用数量:</td>            <td width="76%"><input name="line" type="text" id="line" value="10"></td>          </tr>        </table></td>      <td bgcolor="#FFFFFF">只调用有标题图片的信息:         <select name="ispic" id="select6">          <option value="0">不限</option>          <option value="1">是</option>        </select> </td>    </tr>    <tr>       <td height="25" colspan="2">选项设置</td>    </tr>    <tr>       <td height="25" bgcolor="#FFFFFF"> <table width="100%" border="0" cellspacing="0" cellpadding="0">          <tr>             <td width="24%">附加SQL条件:</td>            <td width="76%"><input name="addsql" type="text" id="addsql"> <select name="addsqlselect" onchange="document.bqform.addsql.value=this.value"><option value=""> -- 预选项 -- </option><option value="isgood=1">1级推荐</option><option value="firsttitle=1">1级头条</option><option value="field='值'">字段等于某值</option></select></td>          </tr>        </table></td>      <td bgcolor="#FFFFFF"> <table width="100%" border="0" cellspacing="0" cellpadding="0">          <tr>             <td width="24%">显示排序:</td>            <td width="76%"><input name="orderby" type="text" id="orderby"> <select name="orderbyselect" onchange="document.bqform.orderby.value=this.value"><option value=""> -- 预选项 -- </option><option value="newstime DESC">按发布时间降序排序</option><option value="newstime ASC">按发布时间升序排序</option><option value="id DESC">按ID降序排序</option><option value="onclick DESC">按点击率降序排序</option><option value="totaldown DESC">按下载数降序排序</option><option value="plnum DESC">按评论数降序排序</option><option value="diggtop DESC">按顶数(digg)降序排序</option></select></td>          </tr>        </table></td>    </tr>    <tr>       <td height="25" colspan="2" bgcolor="#FFFFFF"><input type="button" name="Submit3" value="输出标签" onclick="ShowBqFun();">       </td>    </tr>    <tr>      <td height="25" colspan="2" bgcolor="#FFFFFF"><a href="EnewsBq.php<?=$ecms_hashur['whehref']?>#eloop" target="_blank" title="查看详细标签语法">[e:loop={栏目ID/标题分类ID,显示条数,操作类型,只显示有标题图片,附加SQL条件,显示排序}]<br>        模板代码内容<br>      [/e:loop]</a></td>    </tr>    <tr>       <td height="25" colspan="2" bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="0" cellpadding="0">          <tr>             <td><textarea name="bqshow" cols="65" rows="12" id="bqshow" style="width:100%"></textarea></td>          </tr>          <tr>             <td height="25"><input type="button" name="Submit22" value="复制上面标签内容" onclick="window.clipboardData.setData('Text',document.bqform.bqshow.value);document.bqform.bqshow.select()"></td>          </tr>        </table></td>    </tr>  </table></form><?php}elseif($bqname=='eindexloop'){	if($selfdoobject==9)//专题子类	{		$dotype='<table width="100%" border="0" cellspacing="0" cellpadding="0">          <tr>            <td width="24%">操作类型:</td>            <td width="76%"><select name="dotype" id="select">			  <option value="4">专题子类最新信息</option>			  <option value="5">专题子类最早信息</option>			  <option value="6">专题子类推荐信息</option>              </select></td>          </tr>        </table>';		$changeobject='<input name="classid" type="text" id="classid" value="0"><input type="button" name="Submit42" value="查看专题ID" onclick="window.open(\'../special/ListZt.php'.$ecms_hashur['whehref'].'\');"><font color="#666666">(当前专题ID用:\'selfinfo\',多个ID用“,”号隔开)</font>';	}	elseif($selfdoobject==7)//TAGS	{		$dotype='<table width="100%" border="0" cellspacing="0" cellpadding="0">          <tr>            <td width="24%">操作类型:</td>            <td width="76%"><select name="dotype" id="select">			  <option value="9">TAGS最新信息</option>			  <option value="10">TAGS最早信息</option>              </select></td>          </tr>        </table>';		$changeobject='<input name="classid" type="text" id="classid" value="0"><input type="button" name="Submit42" value="查看TAGS的ID" onclick="window.open(\'../tags/ListTags.php'.$ecms_hashur['whehref'].'\');"><font color="#666666">(多个ID用“,”号隔开)</font>';	}	elseif($selfdoobject==8)//碎片	{		$dotype='<table width="100%" border="0" cellspacing="0" cellpadding="0">          <tr>            <td width="24%">操作类型:</td>            <td width="76%"><select name="dotype" id="select">			  <option value="7">碎片最新信息</option>			  <option value="8">碎片最早信息</option>              </select></td>          </tr>        </table>';		$changeobject='<input name="classid" type="text" id="classid" value="0"><input type="button" name="Submit42" value="查看碎片ID" onclick="window.open(\'../sp/ListSp.php'.$ecms_hashur['whehref'].'\');"><font color="#666666">(多个ID用“,”号隔开)</font>';	}	elseif($selfdoobject==6)//按SQL	{		//操作类型		$dotype='<table width="100%" border="0" cellspacing="0" cellpadding="0">          <tr>            <td width="24%">操作类型:</td>            <td width="76%"><select name="dotype" id="select">			  <option value="11">SQL查询</option>              </select></td>          </tr>        </table>';		//选择SQL		$changeobject='<table width="100%" border="0" cellspacing="0" cellpadding="0">          <tr>            <td width="24%">选择:</td>            <td width="76%"><select name="classid" id="select2">			  <option value="\'sql语句\'">SQL查询</option>              </select></td>          </tr>        </table>';	}	else//专题	{		$dotype='<table width="100%" border="0" cellspacing="0" cellpadding="0">          <tr>            <td width="24%">操作类型:</td>            <td width="76%"><select name="dotype" id="select">			  <option value="1">专题最新信息</option>			  <option value="2">专题最早信息</option>			  <option value="3">专题推荐信息</option>              </select></td>          </tr>        </table>';		$changeobject='<input name="classid" type="text" id="classid" value="0"><input type="button" name="Submit42" value="查看专题ID" onclick="window.open(\'../special/ListZt.php'.$ecms_hashur['whehref'].'\');"><font color="#666666">(当前专题ID用:\'selfinfo\',多个ID用“,”号隔开)</font>';	}	?><script>//返回标签function ShowBqFun(){	var obj=document.bqform;	var bqstr;	var addstr='';	var fclassid=obj.classid.value;	var fline=obj.line.value;	var fdotype=obj.dotype.value;	var fuseclassid=obj.useclassid.value;	var fmodid=obj.modid.value;	var faddsql=obj.addsql.value;	var forderby='';	addstr=ReturnAddSql(faddsql,forderby);	bqstr="[e:indexloop={"+fclassid+","+fline+","+fdotype+",'"+fuseclassid+"','"+fmodid+"'"+addstr+"}]\r\n<a href=\"<?="<?=\$bqsr['titleurl']?>"?>\" target=\"_blank\"><?="<?=\$bqr['title']?>"?></a> <br>\r\n[/e:indexloop]";	obj.bqshow.value=bqstr;}</script><form action="MakeBq.php" method="GET" name="bqform" id="bqform">  <table width="100%" border="0" align="center" cellpadding="3" cellspacing="1" class="tableborder" id="eindexloop">	<?=$ecms_hashur['eform']?>    <tr>       <td height="25" colspan="2" class="header">索引灵动标签(e:indexloop)生成         <input name="bqname" type="hidden" id="bqname" value="<?=$bqname?>"></td>    </tr>    <tr>       <td height="25" colspan="2">选择调用对象:         <select name="selfdoobject" id="selfdoobject" onchange="self.location.href='MakeBq.php?<?=$ecms_hashur['ehref']?>&bqname=<?=$bqname?>&selfdoobject='+this.options[this.selectedIndex].value">          <option value="3"<?=$selfdoobject==3?' selected':''?>>专题</option>		  <option value="9"<?=$selfdoobject==9?' selected':''?>>专题子类</option>          <option value="7"<?=$selfdoobject==7?' selected':''?>>TAGS</option>          <option value="8"<?=$selfdoobject==8?' selected':''?>>碎片</option>		  <option value="6"<?=$selfdoobject==6?' selected':''?>>按SQL调用</option>        </select> </td>    </tr>    <tr>       <td width="50%" height="25" bgcolor="#FFFFFF">	<?=$dotype?>              </td>      <td width="50%" bgcolor="#FFFFFF">         <?=$changeobject?>      </td>    </tr>    <tr>       <td height="25" bgcolor="#FFFFFF"> <table width="100%" border="0" cellspacing="0" cellpadding="0">          <tr>             <td width="24%">调用数量:</td>            <td width="76%"><input name="line" type="text" id="line" value="10"></td>          </tr>        </table></td>      <td bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="0" cellpadding="0">        <tr>          <td width="24%">所属栏目ID:</td>          <td width="76%"><input name="useclassid" type="text" id="useclassid"> <font color="#666666">(多个ID用,号隔开)</font></td>        </tr>      </table></td>    </tr>    <tr>      <td height="25" bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="0" cellpadding="0">        <tr>          <td width="24%">所属系统模型ID:</td>          <td width="76%"><input name="modid" type="text" id="line6"> <font color="#666666">(多个ID用,号隔开)</font></td>        </tr>      </table></td>      <td bgcolor="#FFFFFF"> </td>    </tr>    <tr>       <td height="25" colspan="2">选项设置</td>    </tr>    <tr>       <td height="25" bgcolor="#FFFFFF"> <table width="100%" border="0" cellspacing="0" cellpadding="0">          <tr>             <td width="24%">附加SQL条件:</td>            <td width="76%"><input name="addsql" type="text" id="addsql"></td>          </tr>        </table></td>      <td bgcolor="#FFFFFF"> </td>    </tr>    <tr>       <td height="25" colspan="2" bgcolor="#FFFFFF"><input type="button" name="Submit3" value="输出标签" onclick="ShowBqFun();">      </td>    </tr>    <tr>      <td height="25" colspan="2" bgcolor="#FFFFFF"><a href="EnewsBq.php<?=$ecms_hashur['whehref']?>#eindexloop" target="_blank" title="查看详细标签语法">[e:indexloop={索引分类ID,显示条数,操作类型,栏目ID,系统模型ID,附加SQL条件}]<br>        模板代码内容<br>      [/e:indexloop]</a></td>    </tr>    <tr>       <td height="25" colspan="2" bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="0" cellpadding="0">          <tr>             <td><textarea name="bqshow" cols="65" rows="12" id="bqshow" style="width:100%"></textarea></td>          </tr>          <tr>             <td height="25"><input type="button" name="Submit22" value="复制上面标签内容" onclick="window.clipboardData.setData('Text',document.bqform.bqshow.value);document.bqform.bqshow.select()"></td>          </tr>        </table></td>    </tr>  </table></form><?php}elseif($bqname=='phomenews'){?><script>//返回标签function ShowBqFun(){	var obj=document.bqform;	var bqstr;	var addstr='';	var fclassid=obj.classid.value;	var fline=obj.line.value;	var ftitlelen=obj.titlelen.value;	var fshowclass=obj.showclass.value;	var fdotype=obj.dotype.value;	var fshowtime=obj.showtime.value;	var fformattime=obj.formattime.value;	var faddsql=obj.addsql.value;	var forderby=obj.orderby.value;	addstr=ReturnAddSql(faddsql,forderby);	bqstr="[phomenews]"+fclassid+","+fline+","+ftitlelen+","+fshowtime+","+fdotype+","+fshowclass+",'"+fformattime+"'"+addstr+"[/phomenews]";	obj.bqshow.value=bqstr;}</script><form action="MakeBq.php" method="GET" name="bqform" id="bqform">  <table width="100%" border="0" align="center" cellpadding="3" cellspacing="1" class="tableborder" id="ecmsinfo">	<?=$ecms_hashur['eform']?>    <tr>       <td height="25" colspan="2" class="header">phomenews标签生成         <input name="bqname" type="hidden" id="bqname" value="<?=$bqname?>"></td>    </tr>    <tr>       <td height="25" colspan="2">选择调用对象:         <select name="doobject" id="doobject" onchange="self.location.href='MakeBq.php?<?=$ecms_hashur['ehref']?>&bqname=<?=$bqname?>&doobject='+this.options[this.selectedIndex].value">          <option value="1"<?=$doobject==1?' selected':''?>>按默认表(           <?=$public_r['tbname']?>          )</option>          <option value="2"<?=$doobject==2?' selected':''?>>栏目</option>          <option value="4"<?=$doobject==4?' selected':''?>>数据表</option>          <option value="5"<?=$doobject==5?' selected':''?>>标题分类</option>          <option value="6"<?=$doobject==6?' selected':''?>>按SQL调用</option>        </select> </td>    </tr>    <tr>       <td width="50%" height="25" bgcolor="#FFFFFF">         <?=$dotype?>      </td>      <td width="50%" bgcolor="#FFFFFF">         <?=$changeobject?>      </td>    </tr>    <tr>       <td height="25" bgcolor="#FFFFFF"> <table width="100%" border="0" cellspacing="0" cellpadding="0">          <tr>             <td width="24%">调用数量:</td>            <td width="76%"><input name="line" type="text" id="line3" value="10"></td>          </tr>        </table></td>      <td bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="0" cellpadding="0">          <tr>             <td width="24%">显示栏目名:</td>            <td width="76%"><select name="showclass" id="select2">                <option value="0">否</option>                <option value="1">是</option>              </select> </td>          </tr>        </table></td>    </tr>    <tr>       <td height="25" bgcolor="#FFFFFF"> <table width="100%" border="0" cellspacing="0" cellpadding="0">          <tr>             <td width="24%">标题截取字数:</td>            <td width="76%"><input name="titlelen" type="text" id="titlelen2" value="32">             </td>          </tr>        </table></td>      <td bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="0" cellpadding="0">          <tr>             <td width="24%">是否显示时间:</td>            <td width="76%"><select name="showtime" id="select4">                <option value="0">否</option>                <option value="1">是</option>              </select></td>          </tr>        </table></td>    </tr>    <tr>       <td height="25" bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="0" cellpadding="0">          <tr>             <td width="24%">时间格式:</td>            <td width="76%"><input name="formattime" type="text" id="formattime" value="(m-d)">             </td>          </tr>        </table></td>      <td bgcolor="#FFFFFF"> </td>    </tr>    <tr>       <td height="25" colspan="2">选项设置</td>    </tr>    <tr>       <td height="25" bgcolor="#FFFFFF"> <table width="100%" border="0" cellspacing="0" cellpadding="0">          <tr>             <td width="24%">附加SQL条件:</td>            <td width="76%"><input name="addsql" type="text" id="addsql2"> <select name="addsqlselect" onchange="document.bqform.addsql.value=this.value"><option value=""> -- 预选项 -- </option><option value="isgood=1">1级推荐</option><option value="firsttitle=1">1级头条</option><option value="field='值'">字段等于某值</option></select></td>          </tr>        </table></td>      <td bgcolor="#FFFFFF"> <table width="100%" border="0" cellspacing="0" cellpadding="0">          <tr>             <td width="24%">显示排序:</td>            <td width="76%"><input name="orderby" type="text" id="orderby2"> <select name="orderbyselect" onchange="document.bqform.orderby.value=this.value"><option value=""> -- 预选项 -- </option><option value="newstime DESC">按发布时间降序排序</option><option value="newstime ASC">按发布时间升序排序</option><option value="id DESC">按ID降序排序</option><option value="onclick DESC">按点击率降序排序</option><option value="totaldown DESC">按下载数降序排序</option><option value="plnum DESC">按评论数降序排序</option><option value="diggtop DESC">按顶数(digg)降序排序</option></select></td>          </tr>        </table></td>    </tr>    <tr>       <td height="25" colspan="2" bgcolor="#FFFFFF"><input type="button" name="Submit" value="输出标签" onclick="ShowBqFun();">       </td>    </tr>    <tr>      <td height="25" colspan="2" bgcolor="#FFFFFF"><font color="#333333"><a href="EnewsBq.php<?=$ecms_hashur['whehref']?>#phomenews" target="_blank" title="查看详细标签语法">[phomenews]栏目ID/标题分类ID,显示条数,标题截取数,是否显示时间,操作类型,是否显示栏目名,'时间格式化',附加SQL条件,显示排序[/phomenews]</a></font></td>    </tr>    <tr>       <td height="25" colspan="2" bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="0" cellpadding="0">          <tr>             <td><textarea name="bqshow" cols="65" rows="5" id="bqshow" style="width:100%"></textarea></td>          </tr>          <tr>             <td height="25"><input type="button" name="Submit2" value="复制上面标签内容" onclick="window.clipboardData.setData('Text',document.bqform.bqshow.value);document.bqform.bqshow.select()"></td>          </tr>        </table></td>    </tr>  </table></form><?php}elseif($bqname=='phomenewspic'){?><script>//返回标签function ShowBqFun(){	var obj=document.bqform;	var bqstr;	var addstr='';	var fclassid=obj.classid.value;	var fline=obj.line.value;	var flnum=obj.lnum.value;	var ftitlelen=obj.titlelen.value;	var fshowtitle=obj.showtitle.value;	var fdotype=obj.dotype.value;	var fpicwidth=obj.picwidth.value;	var fpicheight=obj.picheight.value;	var faddsql=obj.addsql.value;	var forderby=obj.orderby.value;	addstr=ReturnAddSql(faddsql,forderby);	bqstr="[phomenewspic]"+fclassid+","+fline+","+flnum+","+fpicwidth+","+fpicheight+","+fshowtitle+","+ftitlelen+","+fdotype+addstr+"[/phomenewspic]";	obj.bqshow.value=bqstr;}</script><form action="MakeBq.php" method="GET" name="bqform" id="bqform">  <table width="100%" border="0" align="center" cellpadding="3" cellspacing="1" class="tableborder" id="ecmsinfo">	<?=$ecms_hashur['eform']?>    <tr>       <td height="25" colspan="2" class="header">phomenewspic标签生成         <input name="bqname" type="hidden" id="bqname" value="<?=$bqname?>"></td>    </tr>    <tr>       <td height="25" colspan="2">选择调用对象:         <select name="doobject" id="doobject" onchange="self.location.href='MakeBq.php?<?=$ecms_hashur['ehref']?>&bqname=<?=$bqname?>&doobject='+this.options[this.selectedIndex].value">          <option value="1"<?=$doobject==1?' selected':''?>>按默认表(           <?=$public_r['tbname']?>          )</option>          <option value="2"<?=$doobject==2?' selected':''?>>栏目</option>          <option value="4"<?=$doobject==4?' selected':''?>>数据表</option>          <option value="5"<?=$doobject==5?' selected':''?>>标题分类</option>          <option value="6"<?=$doobject==6?' selected':''?>>按SQL调用</option>        </select> </td>    </tr>    <tr>       <td width="50%" height="25" bgcolor="#FFFFFF">         <?=$dotype?>      </td>      <td width="50%" bgcolor="#FFFFFF">         <?=$changeobject?>      </td>    </tr>    <tr>       <td height="25" bgcolor="#FFFFFF"> <table width="100%" border="0" cellspacing="0" cellpadding="0">          <tr>             <td width="24%">调用总数量:</td>            <td width="76%"><input name="lnum" type="text" id="line3" value="8"></td>          </tr>        </table></td>      <td bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="0" cellpadding="0">          <tr>             <td width="24%">每行显示数量:</td>            <td width="76%"><input name="line" type="text" id="num" value="4">             </td>          </tr>        </table></td>    </tr>    <tr>       <td height="25" bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="0" cellpadding="0">          <tr>             <td width="24%">图片大小:</td>            <td width="76%">宽<input name="picwidth" type="text" id="picwidth" value="170" size="6">              ×高               <input name="picheight" type="text" id="picheight" value="120" size="6"> </td>          </tr>        </table> </td>      <td bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="0" cellpadding="0">          <tr>             <td width="24%">是否显示标题:</td>            <td width="76%"><select name="showtitle" id="select5">                <option value="0">否</option>                <option value="1">是</option>              </select></td>          </tr>        </table></td>    </tr>    <tr>       <td height="25" bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="0" cellpadding="0">          <tr>             <td width="24%">标题截取字数:</td>            <td width="76%"><input name="titlelen" type="text" id="titlelen" value="26">             </td>          </tr>        </table></td>      <td bgcolor="#FFFFFF"> </td>    </tr>    <tr>       <td height="25" colspan="2">选项设置</td>    </tr>    <tr>       <td height="25" bgcolor="#FFFFFF"> <table width="100%" border="0" cellspacing="0" cellpadding="0">          <tr>             <td width="24%">附加SQL条件:</td>            <td width="76%"><input name="addsql" type="text" id="addsql2"> <select name="addsqlselect" onchange="document.bqform.addsql.value=this.value"><option value=""> -- 预选项 -- </option><option value="isgood=1">1级推荐</option><option value="firsttitle=1">1级头条</option><option value="field='值'">字段等于某值</option></select></td>          </tr>        </table></td>      <td bgcolor="#FFFFFF"> <table width="100%" border="0" cellspacing="0" cellpadding="0">          <tr>             <td width="24%">显示排序:</td>            <td width="76%"><input name="orderby" type="text" id="orderby2"> <select name="orderbyselect" onchange="document.bqform.orderby.value=this.value"><option value=""> -- 预选项 -- </option><option value="newstime DESC">按发布时间降序排序</option><option value="newstime ASC">按发布时间升序排序</option><option value="id DESC">按ID降序排序</option><option value="onclick DESC">按点击率降序排序</option><option value="totaldown DESC">按下载数降序排序</option><option value="plnum DESC">按评论数降序排序</option><option value="diggtop DESC">按顶数(digg)降序排序</option></select></td>          </tr>        </table></td>    </tr>    <tr>       <td height="25" colspan="2" bgcolor="#FFFFFF"><input type="button" name="Submit" value="输出标签" onclick="ShowBqFun();">       </td>    </tr>    <tr>      <td height="25" colspan="2" bgcolor="#FFFFFF"><font color="#333333"><a href="EnewsBq.php<?=$ecms_hashur['whehref']?>#phomenewspic" target="_blank" title="查看详细标签语法">[phomenewspic]栏目ID/标题分类ID,每行显示条数,显示总信息数,图片宽度,图片高度,是否显示标题,标题截取数,操作类型,附加SQL条件,显示排序[/phomenewspic]</a></font></td>    </tr>    <tr>       <td height="25" colspan="2" bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="0" cellpadding="0">          <tr>             <td><textarea name="bqshow" cols="65" rows="5" id="bqshow" style="width:100%"></textarea></td>          </tr>          <tr>             <td height="25"><input type="button" name="Submit2" value="复制上面标签内容" onclick="window.clipboardData.setData('Text',document.bqform.bqshow.value);document.bqform.bqshow.select()"></td>          </tr>        </table></td>    </tr>  </table></form><?php}elseif($bqname=='phomeflashpic'){?><script>//返回标签function ShowBqFun(){	var obj=document.bqform;	var bqstr;	var addstr='';	var fclassid=obj.classid.value;	var fline=obj.line.value;	var fkeeptime=obj.keeptime.value;	var ftitlelen=obj.titlelen.value;	var fshowtitle=obj.showtitle.value;	var fdotype=obj.dotype.value;	var fpicwidth=obj.picwidth.value;	var fpicheight=obj.picheight.value;	var faddsql=obj.addsql.value;	var forderby=obj.orderby.value;	addstr=ReturnAddSql(faddsql,forderby);	bqstr="[phomeflashpic]"+fclassid+","+fline+","+fpicwidth+","+fpicheight+","+fshowtitle+","+ftitlelen+","+fdotype+","+fkeeptime+addstr+"[/phomeflashpic]";	obj.bqshow.value=bqstr;}</script><form action="MakeBq.php" method="GET" name="bqform" id="bqform">  <table width="100%" border="0" align="center" cellpadding="3" cellspacing="1" class="tableborder" id="ecmsinfo">	<?=$ecms_hashur['eform']?>    <tr>       <td height="25" colspan="2" class="header">phomeflashpic标签生成         <input name="bqname" type="hidden" id="bqname" value="<?=$bqname?>"></td>    </tr>    <tr>       <td height="25" colspan="2">选择调用对象:         <select name="doobject" id="doobject" onchange="self.location.href='MakeBq.php?<?=$ecms_hashur['ehref']?>&bqname=<?=$bqname?>&doobject='+this.options[this.selectedIndex].value">          <option value="1"<?=$doobject==1?' selected':''?>>按默认表(           <?=$public_r['tbname']?>          )</option>          <option value="2"<?=$doobject==2?' selected':''?>>栏目</option>          <option value="4"<?=$doobject==4?' selected':''?>>数据表</option>          <option value="5"<?=$doobject==5?' selected':''?>>标题分类</option>          <option value="6"<?=$doobject==6?' selected':''?>>按SQL调用</option>        </select> </td>    </tr>    <tr>       <td width="50%" height="25" bgcolor="#FFFFFF">         <?=$dotype?>      </td>      <td width="50%" bgcolor="#FFFFFF">         <?=$changeobject?>      </td>    </tr>    <tr>       <td height="25" bgcolor="#FFFFFF"> <table width="100%" border="0" cellspacing="0" cellpadding="0">          <tr>             <td width="24%">调用数量:</td>            <td width="76%"><input name="line" type="text" id="line3" value="5"></td>          </tr>        </table></td>      <td bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="0" cellpadding="0">          <tr>             <td width="24%">停顿秒数:</td>            <td width="76%"><input name="keeptime" type="text" id="num" value="0">              <font color="#666666">(0为默认)</font></td>          </tr>        </table></td>    </tr>    <tr>       <td height="25" bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="0" cellpadding="0">          <tr>             <td width="24%">图片大小:</td>            <td width="76%">宽<input name="picwidth" type="text" id="picwidth" value="170" size="6">              ×高               <input name="picheight" type="text" id="picheight" value="120" size="6"> </td>          </tr>        </table> </td>      <td bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="0" cellpadding="0">          <tr>             <td width="24%">是否显示标题:</td>            <td width="76%"><select name="showtitle" id="select5">                <option value="0">否</option>                <option value="1">是</option>              </select></td>          </tr>        </table></td>    </tr>    <tr>       <td height="25" bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="0" cellpadding="0">          <tr>             <td width="24%">标题截取字数:</td>            <td width="76%"><input name="titlelen" type="text" id="titlelen" value="26">             </td>          </tr>        </table></td>      <td bgcolor="#FFFFFF"> </td>    </tr>    <tr>       <td height="25" colspan="2">选项设置</td>    </tr>    <tr>       <td height="25" bgcolor="#FFFFFF"> <table width="100%" border="0" cellspacing="0" cellpadding="0">          <tr>             <td width="24%">附加SQL条件:</td>            <td width="76%"><input name="addsql" type="text" id="addsql2"> <select name="addsqlselect" onchange="document.bqform.addsql.value=this.value"><option value=""> -- 预选项 -- </option><option value="isgood=1">1级推荐</option><option value="firsttitle=1">1级头条</option><option value="field='值'">字段等于某值</option></select></td>          </tr>        </table></td>      <td bgcolor="#FFFFFF"> <table width="100%" border="0" cellspacing="0" cellpadding="0">          <tr>             <td width="24%">显示排序:</td>            <td width="76%"><input name="orderby" type="text" id="orderby2"> <select name="orderbyselect" onchange="document.bqform.orderby.value=this.value"><option value=""> -- 预选项 -- </option><option value="newstime DESC">按发布时间降序排序</option><option value="newstime ASC">按发布时间升序排序</option><option value="id DESC">按ID降序排序</option><option value="onclick DESC">按点击率降序排序</option><option value="totaldown DESC">按下载数降序排序</option><option value="plnum DESC">按评论数降序排序</option><option value="diggtop DESC">按顶数(digg)降序排序</option></select></td>          </tr>        </table></td>    </tr>    <tr>       <td height="25" colspan="2" bgcolor="#FFFFFF"><input type="button" name="Submit" value="输出标签" onclick="ShowBqFun();">       </td>    </tr>    <tr>      <td height="25" colspan="2" bgcolor="#FFFFFF"><font color="#333333"><a href="EnewsBq.php<?=$ecms_hashur['whehref']?>#phomeflashpic" target="_blank" title="查看详细标签语法">[phomeflashpic]栏目ID/标题分类ID,显示总数,图片宽度,图片高度,是否显示标题,标题截取数,操作类型,停顿秒数,附加SQL条件,显示排序[/phomeflashpic]</a></font></td>    </tr>    <tr>       <td height="25" colspan="2" bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="0" cellpadding="0">          <tr>             <td><textarea name="bqshow" cols="65" rows="5" id="bqshow" style="width:100%"></textarea></td>          </tr>          <tr>             <td height="25"><input type="button" name="Submit2" value="复制上面标签内容" onclick="window.clipboardData.setData('Text',document.bqform.bqshow.value);document.bqform.bqshow.select()"></td>          </tr>        </table></td>    </tr>  </table></form><?php}elseif($bqname=='listsonclass'){?><script>//返回标签function ShowBqFun(){	var obj=document.bqform;	var bqstr;	var addstr='';	var fclassid=obj.classid.value;	var fline=obj.line.value;	var ftitlelen=obj.titlelen.value;	var fshowclass=obj.showclass.value;	var fdotype=obj.dotype.value;	var ftempid=obj.tempid.value;	var fispic=obj.ispic.value;	var fclassnum=obj.classnum.value;	var ffirstdotype=obj.firstdotype.value;	var ffirsttitlelen=obj.firsttitlelen.value;	var ffirstsmalltextlen=obj.firstsmalltextlen.value;	var ffirstispic=obj.firstispic.value;	var faddsql=obj.addsql.value;	var forderby=obj.orderby.value;	addstr=ReturnAddSql(faddsql,forderby);	bqstr="[listsonclass]"+fclassid+","+fline+","+ftitlelen+","+fshowclass+","+fdotype+","+ftempid+","+fispic+","+fclassnum+","+ffirstdotype+","+ffirsttitlelen+","+ffirstsmalltextlen+","+ffirstispic+addstr+"[/listsonclass]";	obj.bqshow.value=bqstr;}</script><form action="MakeBq.php" method="GET" name="bqform" id="bqform">  <table width="100%" border="0" align="center" cellpadding="3" cellspacing="1" class="tableborder" id="ecmsinfo">	<?=$ecms_hashur['eform']?>    <tr>       <td height="25" colspan="2" class="header">listsonclass标签生成         <input name="bqname" type="hidden" id="bqname" value="<?=$bqname?>"></td>    </tr>    <tr>       <td height="25" colspan="2">标签基本参数</td>    </tr>    <tr>       <td width="50%" height="25" bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="0" cellpadding="0">          <tr>             <td width="24%">操作类型:</td>            <td width="76%"><select name="dotype" id="dotype">                <option value="0">栏目最新</option>                <option value="1">栏目热门</option>                <option value="2">栏目推荐</option>                <option value="3">栏目评论排行</option>                <option value="4">栏目头条</option>                <option value="5">栏目下载排行</option>              </select></td>          </tr>        </table></td>      <td width="50%" bgcolor="#FFFFFF">         <?=$changeobject?>      </td>    </tr>    <tr>       <td height="25" bgcolor="#FFFFFF"> <table width="100%" border="0" cellspacing="0" cellpadding="0">          <tr>             <td width="24%">调用信息数:</td>            <td width="76%"><input name="line" type="text" id="line3" value="10"></td>          </tr>        </table></td>      <td bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="0" cellpadding="0">          <tr>             <td width="24%">标签模板:</td>            <td width="76%"><select name="tempid" id="select7">                <?=$bqtemp?>              </select> <input type="button" name="Submit62223232" value="管理标签模板" onclick="window.open('ListBqtemp.php?gid=<?=$thegid?><?=$ecms_hashur['ehref']?>');"></td>          </tr>        </table></td>    </tr>    <tr>       <td height="25" bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="0" cellpadding="0">          <tr>             <td width="24%">标题截取字数:</td>            <td width="76%"><input name="titlelen" type="text" id="titlelen3" value="32">             </td>          </tr>        </table></td>      <td bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="0" cellpadding="0">          <tr>             <td width="24%">显示栏目名:</td>            <td width="76%"><select name="showclass" id="select8">                <option value="0">否</option>                <option value="1">是</option>              </select> <font color="#666666">(标签模板要加[!--class.name--])</font>             </td>          </tr>        </table></td>    </tr>    <tr>       <td height="25" bgcolor="#FFFFFF">只调用有标题图片的信息:         <select name="ispic" id="select9">          <option value="0">不限</option>          <option value="1">是</option>        </select></td>      <td bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="0" cellpadding="0">          <tr>             <td width="24%">限制栏目数量:</td>            <td width="76%"><input name="classnum" type="text" id="titlelen4" value="0">               <font color="#666666">(0为不限制)</font></td>          </tr>        </table></td>    </tr>    <tr>      <td height="25" bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="0" cellpadding="0">          <tr>             <td width="24%">头条操作类型:</td>            <td width="76%"><select name="firstdotype" id="select10">                <option value="0">不显示栏目头条</option>                <option value="1">栏目内容简介</option>                <option value="2">栏目推荐信息</option>                <option value="3">栏目头条信息</option>                <option value="4">栏目最新信息</option>              </select></td>          </tr>        </table></td>      <td bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="0" cellpadding="0">          <tr>             <td width="24%">头条标题截取字数:</td>            <td width="76%"><input name="firsttitlelen" type="text" id="firsttitlelen" value="32">             </td>          </tr>        </table></td>    </tr>    <tr>      <td height="25" bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="0" cellpadding="0">          <tr>             <td width="24%">头条简介截取字数:</td>            <td width="76%"><input name="firstsmalltextlen" type="text" id="firstsmalltextlen" value="0">             </td>          </tr>        </table></td>      <td bgcolor="#FFFFFF">头条只调用有标题图片的信息:         <select name="firstispic" id="select11">          <option value="0">不限</option>          <option value="1">是</option>        </select></td>    </tr>    <tr>       <td height="25" colspan="2">选项设置</td>    </tr>    <tr>       <td height="25" bgcolor="#FFFFFF"> <table width="100%" border="0" cellspacing="0" cellpadding="0">          <tr>             <td width="24%">附加SQL条件:</td>            <td width="76%"><input name="addsql" type="text" id="addsql2"> <select name="addsqlselect" onchange="document.bqform.addsql.value=this.value"><option value=""> -- 预选项 -- </option><option value="isgood=1">1级推荐</option><option value="firsttitle=1">1级头条</option><option value="field='值'">字段等于某值</option></select></td>          </tr>        </table></td>      <td bgcolor="#FFFFFF"> <table width="100%" border="0" cellspacing="0" cellpadding="0">          <tr>             <td width="24%">显示排序:</td>            <td width="76%"><input name="orderby" type="text" id="orderby2"> <select name="orderbyselect" onchange="document.bqform.orderby.value=this.value"><option value=""> -- 预选项 -- </option><option value="newstime DESC">按发布时间降序排序</option><option value="newstime ASC">按发布时间升序排序</option><option value="id DESC">按ID降序排序</option><option value="onclick DESC">按点击率降序排序</option><option value="totaldown DESC">按下载数降序排序</option><option value="plnum DESC">按评论数降序排序</option><option value="diggtop DESC">按顶数(digg)降序排序</option></select></td>          </tr>        </table></td>    </tr>    <tr>       <td height="25" colspan="2" bgcolor="#FFFFFF"><input type="button" name="Submit" value="输出标签" onclick="ShowBqFun();">       </td>    </tr>    <tr>       <td height="25" colspan="2" bgcolor="#FFFFFF"><font color="#333333"><a href="EnewsBq.php<?=$ecms_hashur['whehref']?>#listsonclass" target="_blank" title="查看详细标签语法">[listsonclass]栏目ID,显示条数,标题截取数,是否显示栏目名,操作类型,模板ID,只显示有标题图片,显示栏目数,显示头条操作类型,头条标题截取数,头条简介截取数,头条只显示有标题图片,附加SQL条件,显示排序[/listsonclass]</a></font></td>    </tr>    <tr>       <td height="25" colspan="2" bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="0" cellpadding="0">          <tr>             <td><textarea name="bqshow" cols="65" rows="5" id="bqshow" style="width:100%"></textarea></td>          </tr>          <tr>             <td height="25"><input type="button" name="Submit2" value="复制上面标签内容" onclick="window.clipboardData.setData('Text',document.bqform.bqshow.value);document.bqform.bqshow.select()"></td>          </tr>        </table></td>    </tr>  </table></form><?php}elseif($bqname=='totaldata'){?><script>//返回标签function ShowBqFun(){	var obj=document.bqform;	var bqstr;	var fclassid=obj.classid.value;	var flimittime=obj.limittime.value;	var fdotype=obj.dotype.value;	var ftotaltype=obj.totaltype.value;	bqstr="[totaldata]"+fclassid+","+fdotype+","+flimittime+","+ftotaltype+"[/totaldata]";	obj.bqshow.value=bqstr;}</script><form action="MakeBq.php" method="GET" name="bqform" id="bqform">  <table width="100%" border="0" align="center" cellpadding="3" cellspacing="1" class="tableborder" id="eloop">	<?=$ecms_hashur['eform']?>    <tr>       <td height="25" colspan="2" class="header">totaldata标签生成         <input name="bqname" type="hidden" id="bqname" value="<?=$bqname?>"></td>    </tr>    <tr>       <td height="25" colspan="2">标签基本参数</td>    </tr>    <tr>       <td width="50%" height="25" bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="0" cellpadding="0">          <tr>             <td width="24%">操作类型:</td>            <td width="76%"><select name="dotype" id="select12" onchange="var addurl='';if(this.options[this.selectedIndex].value==0){addurl='&doobject=2';}else if(this.options[this.selectedIndex].value==1){addurl='&doobject=5';}else if(this.options[this.selectedIndex].value==2){addurl='&doobject=4';}self.location.href='MakeBq.php?<?=$ecms_hashur['ehref']?>&bqname=<?=$bqname?>&addselfinfo=1&mydotype='+this.options[this.selectedIndex].value+addurl;">                <option value="0"<?=$mydotype==0?' selected':''?>>统计栏目数据</option>                <option value="1"<?=$mydotype==1?' selected':''?>>统计标题分类</option>                <option value="2"<?=$mydotype==2?' selected':''?>>统计数据表</option>              </select></td>          </tr>        </table></td>      <td width="50%" bgcolor="#FFFFFF">         <?=$changeobject?>      </td>    </tr>    <tr>       <td height="25" bgcolor="#FFFFFF"> <table width="100%" border="0" cellspacing="0" cellpadding="0">          <tr>             <td width="24%">时间范围:</td>            <td width="76%"><select name="limittime" id="select13">                <option value="0">不限</option>                <option value="1">今日</option>                <option value="2">本月</option>                <option value="3">本年</option>              </select></td>          </tr>        </table></td>      <td bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="0" cellpadding="0">        <tr>          <td width="24%">统计类型:</td>          <td width="76%"><select name="totaltype" id="select29">            <option value="0">统计信息数</option>            <option value="1">统计评论数</option>            <option value="2">统计点击数</option>            <option value="3">统计下载数</option>                    </select></td>        </tr>      </table></td>    </tr>    <tr>       <td height="25" colspan="2" bgcolor="#FFFFFF"><input type="button" name="Submit3" value="输出标签" onclick="ShowBqFun();">       </td>    </tr>    <tr>       <td height="25" colspan="2" bgcolor="#FFFFFF"><a href="EnewsBq.php<?=$ecms_hashur['whehref']?>#totaldata" target="_blank" title="查看详细标签语法">[totaldata]栏目ID,操作类型,时间范围,统计类型[/totaldata]</a></td>    </tr>    <tr>       <td height="25" colspan="2" bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="0" cellpadding="0">          <tr>             <td><textarea name="bqshow" cols="65" rows="5" id="bqshow" style="width:100%"></textarea></td>          </tr>          <tr>             <td height="25"><input type="button" name="Submit22" value="复制上面标签内容" onclick="window.clipboardData.setData('Text',document.bqform.bqshow.value);document.bqform.bqshow.select()"></td>          </tr>        </table></td>    </tr>  </table></form><?php}elseif($bqname=='otherlink'){?><script>//返回标签function ShowBqFun(){	var obj=document.bqform;	var bqstr;	var addstr='';	var fclassid=obj.classid.value;	var fline=obj.line.value;	var ftitlelen=obj.titlelen.value;	var fshowclass=obj.showclass.value;	var fdotype=obj.dotype.value;	var ftempid=obj.tempid.value;	var fispic=obj.ispic.value;	bqstr="[otherlink]"+ftempid+","+fclassid+","+fline+","+ftitlelen+","+fshowclass+","+fdotype+","+fispic+"[/otherlink]";	obj.bqshow.value=bqstr;}</script><form action="MakeBq.php" method="GET" name="bqform" id="bqform">  <table width="100%" border="0" align="center" cellpadding="3" cellspacing="1" class="tableborder" id="ecmsinfo">	<?=$ecms_hashur['eform']?>    <tr>       <td height="25" colspan="2" class="header">otherlink标签生成         <input name="bqname" type="hidden" id="bqname" value="<?=$bqname?>"></td>    </tr>    <tr>       <td height="25" colspan="2">标签基本参数 </td>    </tr>    <tr>       <td width="50%" height="25" bgcolor="#FFFFFF"> <table width="100%" border="0" cellspacing="0" cellpadding="0">          <tr>             <td width="24%">操作类型:</td>            <td width="76%"><select name="dotype" id="dotype" onchange="var addurl='';if(this.options[this.selectedIndex].value==0){addurl='&defchangeobject=1';}else if(this.options[this.selectedIndex].value==1){addurl='&doobject=4';}else if(this.options[this.selectedIndex].value==2){addurl='&doobject=2';}else if(this.options[this.selectedIndex].value==3){addurl='&doobject=5';}self.location.href='MakeBq.php?<?=$ecms_hashur['ehref']?>&bqname=<?=$bqname?>&addselfinfo=1&mydotype='+this.options[this.selectedIndex].value+addurl;">                <option value="0"<?=$mydotype==0?' selected':''?>>默认</option>                <option value="1"<?=$mydotype==1?' selected':''?>>按数据表</option>                <option value="2"<?=$mydotype==2?' selected':''?>>按栏目</option>                <option value="3"<?=$mydotype==3?' selected':''?>>按标题分类</option>              </select></td>          </tr>        </table></td>      <td width="50%" bgcolor="#FFFFFF">         <?=$changeobject?>      </td>    </tr>    <tr>       <td height="25" bgcolor="#FFFFFF"> <table width="100%" border="0" cellspacing="0" cellpadding="0">          <tr>             <td width="24%">调用数量:</td>            <td width="76%"><input name="line" type="text" id="line3" value="10"></td>          </tr>        </table></td>      <td bgcolor="#FFFFFF"> <table width="100%" border="0" cellspacing="0" cellpadding="0">          <tr>             <td width="24%">标签模板:</td>            <td width="76%"><select name="tempid" id="select3">                <?=$bqtemp?>              </select> <input type="button" name="Submit6222323" value="管理标签模板" onclick="window.open('ListBqtemp.php?gid=<?=$thegid?><?=$ecms_hashur['ehref']?>');"></td>          </tr>        </table></td>    </tr>    <tr>       <td height="25" bgcolor="#FFFFFF"> <table width="100%" border="0" cellspacing="0" cellpadding="0">          <tr>             <td width="24%">标题截取字数:</td>            <td width="76%"><input name="titlelen" type="text" id="titlelen2" value="32">             </td>          </tr>        </table></td>      <td bgcolor="#FFFFFF"> <table width="100%" border="0" cellspacing="0" cellpadding="0">          <tr>             <td width="24%">显示栏目名:</td>            <td width="76%"><select name="showclass" id="showclass">                <option value="0">否</option>                <option value="1">是</option>              </select> <font color="#666666">(标签模板要加[!--class.name--])</font>             </td>          </tr>        </table></td>    </tr>    <tr>       <td height="25" bgcolor="#FFFFFF">只调用有标题图片的信息:         <select name="ispic" id="ispic">          <option value="0">不限</option>          <option value="1">是</option>        </select></td>      <td bgcolor="#FFFFFF"> </td>    </tr>    <tr>       <td height="25" colspan="2" bgcolor="#FFFFFF"><input type="button" name="Submit" value="输出标签" onclick="ShowBqFun();">       </td>    </tr>    <tr>       <td height="25" colspan="2" bgcolor="#FFFFFF"><font color="#333333"><a href="EnewsBq.php<?=$ecms_hashur['whehref']?>#otherlink" target="_blank" title="查看详细标签语法">[otherlink]标签模板ID,操作对象,调用条数,标题截取字数,是否显示栏目名,操作类型,只显示标题图片的信息[/otherlink]</a></font></td>    </tr>    <tr>       <td height="25" colspan="2" bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="0" cellpadding="0">          <tr>             <td><textarea name="bqshow" cols="65" rows="5" id="bqshow" style="width:100%"></textarea></td>          </tr>          <tr>             <td height="25"><input type="button" name="Submit2" value="复制上面标签内容" onclick="window.clipboardData.setData('Text',document.bqform.bqshow.value);document.bqform.bqshow.select()"></td>          </tr>        </table></td>    </tr>  </table></form><?php}elseif($bqname=='eshowphoto'){?><script>//返回标签function ShowBqFun(){	var obj=document.bqform;	var bqstr;	var addstr='';	var ftempid=obj.tempid.value;	var fpicwidth=obj.picwidth.value;	var fpicheight=obj.picheight.value;	bqstr="[eshowphoto]"+ftempid+","+fpicwidth+","+fpicheight+"[/eshowphoto]";	obj.bqshow.value=bqstr;}</script><form action="MakeBq.php" method="GET" name="bqform" id="bqform">  <table width="100%" border="0" align="center" cellpadding="3" cellspacing="1" class="tableborder" id="eshowphoto">	<?=$ecms_hashur['eform']?>    <tr>       <td height="25" colspan="2" class="header">eshowphoto标签生成         <input name="bqname" type="hidden" id="bqname" value="<?=$bqname?>"></td>    </tr>    <tr>       <td height="25" colspan="2">标签基本参数</td>    </tr>    <tr>       <td width="50%" height="25" bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="0" cellpadding="0">          <tr>             <td width="24%">标签模板:</td>            <td width="76%"><select name="tempid" id="tempid">                <?=$bqtemp?>              </select> <input type="button" name="Submit62223233" value="管理标签模板" onclick="window.open('ListBqtemp.php?gid=<?=$thegid?><?=$ecms_hashur['ehref']?>');"></td>          </tr>        </table></td>      <td width="50%" bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="0" cellpadding="0">          <tr>             <td width="24%">导航图片大小:</td>            <td width="76%">宽<input name="picwidth" type="text" id="picwidth" value="170" size="6">              ×高               <input name="picheight" type="text" id="picheight" value="120" size="6">             </td>          </tr>        </table></td>    </tr>    <tr>       <td height="25" colspan="2" bgcolor="#FFFFFF"><input type="button" name="Submit" value="输出标签" onclick="ShowBqFun();">       </td>    </tr>    <tr>       <td height="25" colspan="2" bgcolor="#FFFFFF"><font color="#333333"><a href="EnewsBq.php<?=$ecms_hashur['whehref']?>#eshowphoto" target="_blank" title="查看详细标签语法">[eshowphoto]标签模板ID,导航图片宽度,导航图片高度[/eshowphoto]</a></font></td>    </tr>    <tr>       <td height="25" colspan="2" bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="0" cellpadding="0">          <tr>             <td><textarea name="bqshow" cols="65" rows="5" id="bqshow" style="width:100%"></textarea></td>          </tr>          <tr>             <td height="25"><input type="button" name="Submit2" value="复制上面标签内容" onclick="window.clipboardData.setData('Text',document.bqform.bqshow.value);document.bqform.bqshow.select()"></td>          </tr>        </table></td>    </tr>  </table></form><?php}elseif($bqname=='showsearch'){?><script>//返回标签function ShowBqFun(){	var obj=document.bqform;	var bqstr;	var fclassid=obj.classid.value;	var fdotype=obj.dotype.value;	var flnum=obj.lnum.value;	var fline=obj.line.value;	bqstr="[showsearch]"+fline+","+flnum+","+fclassid+","+fdotype+"[/showsearch]";	obj.bqshow.value=bqstr;}</script><form action="MakeBq.php" method="GET" name="bqform" id="bqform">  <table width="100%" border="0" align="center" cellpadding="3" cellspacing="1" class="tableborder" id="showsearch">	<?=$ecms_hashur['eform']?>    <tr>       <td height="25" colspan="2" class="header">showsearch标签生成         <input name="bqname" type="hidden" id="bqname" value="<?=$bqname?>"></td>    </tr>    <tr>       <td height="25" colspan="2">标签基本参数</td>    </tr>    <tr>       <td width="50%" height="25" bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="0" cellpadding="0">          <tr>             <td width="24%">操作类型:</td>            <td width="76%"><select name="dotype" id="dotype">                <option value="0">搜索热门排行</option>                <option value="1">最新搜索排行</option>              </select></td>          </tr>        </table></td>      <td width="50%" bgcolor="#FFFFFF">         <?=$changeobject?>      </td>    </tr>    <tr>       <td height="25" bgcolor="#FFFFFF"> <table width="100%" border="0" cellspacing="0" cellpadding="0">          <tr>             <td width="24%">调用总数量:</td>            <td width="76%"><input name="lnum" type="text" id="lnum" value="8"></td>          </tr>        </table></td>      <td bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="0" cellpadding="0">          <tr>             <td width="24%">每行显示数量:</td>            <td width="76%"><input name="line" type="text" id="line" value="4">             </td>          </tr>        </table></td>    </tr>    <tr>       <td height="25" colspan="2" bgcolor="#FFFFFF"><input type="button" name="Submit3" value="输出标签" onclick="ShowBqFun();">       </td>    </tr>    <tr>       <td height="25" colspan="2" bgcolor="#FFFFFF"><a href="EnewsBq.php<?=$ecms_hashur['whehref']?>#showsearch" target="_blank" title="查看详细标签语法">[showsearch]每行显示条数,总条数,栏目id,操作类型[/showsearch]</a></td>    </tr>    <tr>       <td height="25" colspan="2" bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="0" cellpadding="0">          <tr>             <td><textarea name="bqshow" cols="65" rows="5" id="bqshow" style="width:100%"></textarea></td>          </tr>          <tr>             <td height="25"><input type="button" name="Submit22" value="复制上面标签内容" onclick="window.clipboardData.setData('Text',document.bqform.bqshow.value);document.bqform.bqshow.select()"></td>          </tr>        </table></td>    </tr>  </table></form><?php}elseif($bqname=='tagsinfo'){?><script>//返回标签function ShowBqFun(){	var obj=document.bqform;	var bqstr;	var addstr='';	var fclassid=ReturnAddYh(obj.classid.value);	var fline=obj.line.value;	var ftitlelen=obj.titlelen.value;	var ftids=ReturnAddYh(obj.tids.value);	var ftempid=obj.tempid.value;	var fmids=ReturnAddYh(obj.mids.value);	bqstr="[tagsinfo]"+ftids+","+fline+","+ftitlelen+","+ftempid+","+fclassid+","+fmids+"[/tagsinfo]";	obj.bqshow.value=bqstr;}</script><form action="MakeBq.php" method="GET" name="bqform" id="bqform">  <table width="100%" border="0" align="center" cellpadding="3" cellspacing="1" class="tableborder" id="tagsinfo">	<?=$ecms_hashur['eform']?>    <tr>       <td height="25" colspan="2" class="header">tagsinfo标签生成         <input name="bqname" type="hidden" id="bqname" value="<?=$bqname?>"></td>    </tr>    <tr>       <td height="25" colspan="2">标签基本参数 </td>    </tr>    <tr>       <td width="50%" height="25" bgcolor="#FFFFFF"> <table width="100%" border="0" cellspacing="0" cellpadding="0">          <tr>             <td width="24%">TAGS的ID:</td>            <td width="76%"><input name="tids" type="text" id="tids"> <input type="button" name="Submit4" value="查看TAGS" onclick="window.open('../tags/ListTags.php<?=$ecms_hashur['whehref']?>');">              <font color="#666666">(多个ID用,号隔开)</font></td>          </tr>        </table></td>      <td width="50%" bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="0" cellpadding="0">          <tr>             <td width="24%">标签模板:</td>            <td width="76%"><select name="tempid" id="tempid">                <?=$bqtemp?>              </select> <input type="button" name="Submit62223234" value="管理标签模板" onclick="window.open('ListBqtemp.php?gid=<?=$thegid?><?=$ecms_hashur['ehref']?>');"></td>          </tr>        </table> </td>    </tr>    <tr>       <td height="25" bgcolor="#FFFFFF"> <table width="100%" border="0" cellspacing="0" cellpadding="0">          <tr>             <td width="24%">调用数量:</td>            <td width="76%"><input name="line" type="text" id="line3" value="10"></td>          </tr>        </table></td>      <td bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="0" cellpadding="0">          <tr>             <td width="24%">限制栏目ID:</td>            <td width="76%"><input name="classid" type="text" id="classid" value="0">              <font color="#666666">              <input type="button" name="Submit42" value="查看栏目ID" onclick="window.open('../ListClass.php<?=$ecms_hashur['whehref']?>');">              (0为不限,多个ID用,号隔开)</font> </td>          </tr>        </table> </td>    </tr>    <tr>       <td height="25" bgcolor="#FFFFFF"> <table width="100%" border="0" cellspacing="0" cellpadding="0">          <tr>             <td width="24%">标题截取字数:</td>            <td width="76%"><input name="titlelen" type="text" id="titlelen2" value="32">             </td>          </tr>        </table></td>      <td bgcolor="#FFFFFF"> <table width="100%" border="0" cellspacing="0" cellpadding="0">          <tr>             <td width="24%">限制系统模型ID:</td>            <td width="76%"><input name="mids" type="text" id="mids" value="0">              <font color="#666666"> (0为不限,多个ID用,号隔开)</font> </td>          </tr>        </table></td>    </tr>    <tr>       <td height="25" colspan="2" bgcolor="#FFFFFF"><input type="button" name="Submit" value="输出标签" onclick="ShowBqFun();">       </td>    </tr>    <tr>       <td height="25" colspan="2" bgcolor="#FFFFFF"><font color="#333333"><a href="EnewsBq.php<?=$ecms_hashur['whehref']?>#tagsinfo" target="_blank" title="查看详细标签语法">[tagsinfo]TAGS的ID,显示条数,标题截取数,标签模板ID,栏目ID,系统模型ID[/tagsinfo]</a></font></td>    </tr>    <tr>       <td height="25" colspan="2" bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="0" cellpadding="0">          <tr>             <td><textarea name="bqshow" cols="65" rows="5" id="bqshow" style="width:100%"></textarea></td>          </tr>          <tr>             <td height="25"><input type="button" name="Submit2" value="复制上面标签内容" onclick="window.clipboardData.setData('Text',document.bqform.bqshow.value);document.bqform.bqshow.select()"></td>          </tr>        </table></td>    </tr>  </table></form><?php}elseif($bqname=='spinfo'){?><script>//返回标签function ShowBqFun(){	var obj=document.bqform;	var bqstr;	var addstr='';	var fline=obj.line.value;	var ftitlelen=obj.titlelen.value;	var fvname=obj.vname.value;	bqstr="[spinfo]'"+fvname+"',"+fline+","+ftitlelen+"[/spinfo]";	obj.bqshow.value=bqstr;}</script><form action="MakeBq.php" method="GET" name="bqform" id="bqform">  <table width="100%" border="0" align="center" cellpadding="3" cellspacing="1" class="tableborder" id="spinfo">	<?=$ecms_hashur['eform']?>    <tr>       <td height="25" colspan="2" class="header">spinfo标签生成         <input name="bqname" type="hidden" id="bqname" value="<?=$bqname?>"></td>    </tr>    <tr>       <td height="25" colspan="2">标签基本参数 </td>    </tr>    <tr>       <td width="50%" height="25" bgcolor="#FFFFFF"> <table width="100%" border="0" cellspacing="0" cellpadding="0">          <tr>             <td width="24%">碎片变量名:</td>            <td width="76%"><input name="vname" type="text" id="vname">              <input type="button" name="Submit43" value="查看碎片" onclick="window.open('../sp/ListSp.php<?=$ecms_hashur['whehref']?>');"></td>          </tr>        </table></td>      <td width="50%" bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="0" cellpadding="0">          <tr>             <td width="24%">调用数量:</td>            <td width="76%"><input name="line" type="text" id="line" value="10"></td>          </tr>        </table></td>    </tr>    <tr>       <td height="25" bgcolor="#FFFFFF"> <table width="100%" border="0" cellspacing="0" cellpadding="0">          <tr>             <td width="24%">标题截取字数:</td>            <td width="76%"><input name="titlelen" type="text" id="titlelen2" value="32">             </td>          </tr>        </table></td>      <td bgcolor="#FFFFFF">  </td>    </tr>    <tr>       <td height="25" colspan="2" bgcolor="#FFFFFF"><input type="button" name="Submit" value="输出标签" onclick="ShowBqFun();">       </td>    </tr>    <tr>       <td height="25" colspan="2" bgcolor="#FFFFFF"><font color="#333333"><a href="EnewsBq.php<?=$ecms_hashur['whehref']?>#spinfo" target="_blank" title="查看详细标签语法">[spinfo]碎片变量名,显示条数,标题截取数[/spinfo]</a></font></td>    </tr>    <tr>       <td height="25" colspan="2" bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="0" cellpadding="0">          <tr>             <td><textarea name="bqshow" cols="65" rows="5" id="bqshow" style="width:100%"></textarea></td>          </tr>          <tr>             <td height="25"><input type="button" name="Submit2" value="复制上面标签内容" onclick="window.clipboardData.setData('Text',document.bqform.bqshow.value);document.bqform.bqshow.select()"></td>          </tr>        </table></td>    </tr>  </table></form><?php}elseif($bqname=='showtags'){	$tagsclass='';	$tcsql=$empire->query("select classid,classname from {$dbtbpre}enewstagsclass order by classid");	while($tcr=$empire->fetch($tcsql))	{		$tagsclass.='<option value="'.$tcr[classid].'">'.$tcr[classname].'</option>';	}?><script>//返回标签function ShowBqFun(){	var obj=document.bqform;	var bqstr;	var addstr='';	var tfont='';	var dh='';	var fclassid=obj.tagsclassid.value;	var flnum=obj.lnum.value;	var fline=obj.line.value;	var forderby=obj.orderby.value;	var fisgood=obj.isgood.value;	var fjg=obj.jg.value;	var fshownum=obj.shownum.value;	var faddcs=obj.addcs.value;	var fvartype=obj.vartype.value;	//属性	if(obj.tfontb.checked==true)	{		tfont+='s';		dh=',';	}	if(obj.tfontr.checked==true)	{		tfont+=dh+'r';	}	bqstr="[showtags]"+fclassid+","+flnum+","+fline+",'"+forderby+"',"+fisgood+",'"+tfont+"','"+fjg+"',"+fshownum+",'"+faddcs+"','"+fvartype+"'[/showtags]";	obj.bqshow.value=bqstr;}</script><form action="MakeBq.php" method="GET" name="bqform" id="bqform">  <table width="100%" border="0" align="center" cellpadding="3" cellspacing="1" class="tableborder" id="showtags">	<?=$ecms_hashur['eform']?>    <tr>       <td height="25" colspan="2" class="header">showtags标签生成         <input name="bqname" type="hidden" id="bqname" value="<?=$bqname?>"></td>    </tr>    <tr>       <td height="25" colspan="2">标签基本参数 </td>    </tr>    <tr>       <td width="50%" height="25" bgcolor="#FFFFFF"> <table width="100%" border="0" cellspacing="0" cellpadding="0">          <tr>             <td width="24%">选择TAGS分类:</td>            <td width="76%"><select name="tagsclassid" id="tagsclassid">                <option value="''">不限</option>                <option value="'selfinfo'">调用当前信息TAGS</option>                <?=$tagsclass?>              </select> </td>          </tr>        </table></td>      <td width="50%" bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="0" cellpadding="0">          <tr>             <td width="24%">调用总数量:</td>            <td width="76%"><input name="lnum" type="text" id="lnum" value="10"></td>          </tr>        </table></td>    </tr>    <tr>       <td height="25" bgcolor="#FFFFFF"> <table width="100%" border="0" cellspacing="0" cellpadding="0">          <tr>             <td width="24%">每行显示数量:</td>            <td width="76%"><input name="line" type="text" id="titlelen2" value="0">              <font color="#666666">(0为不换行) </font></td>          </tr>        </table></td>      <td bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="0" cellpadding="0">          <tr>             <td width="24%">显示排序:</td>            <td width="76%"><input name="orderby" type="text" id="orderby"> <select name="selectorderby" id="select" onchange="document.bqform.orderby.value=document.bqform.selectorderby.value">                <option value="">默认排序</option>                <option value="tagid desc">按TAGSID降序</option>                <option value="num desc">按信息数降序</option>              </select>              <font color="#666666">(调用当前TAGS本设置无效)</font></td>          </tr>        </table></td>    </tr>    <tr>       <td height="25" bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="0" cellpadding="0">          <tr>             <td width="24%">只显示推荐的:</td>            <td width="76%"><select name="isgood" id="select14">                <option value="0">不限</option>                <option value="1">是</option>              </select>              <font color="#666666">(调用当前TAGS本设置无效)</font> </td>          </tr>        </table></td>      <td bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="0" cellpadding="0">          <tr>             <td width="24%">推荐TAGS属性:</td>            <td width="76%"><input name="tfontb" type="checkbox" id="tfontb" value="1">              加粗 <input name="tfontr" type="checkbox" id="tfontr" value="1">              加红<font color="#666666">(调用当前TAGS本设置无效)</font></td>          </tr>        </table></td>    </tr>    <tr>       <td height="25" bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="0" cellpadding="0">          <tr>             <td width="24%">显示间隔符:</td>            <td width="76%"><input name="jg" type="text" id="line2" value="&nbsp;">             </td>          </tr>        </table></td>      <td bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="0" cellpadding="0">          <tr>             <td width="24%">显示信息数量:</td>            <td width="76%"><select name="shownum" id="select16">                <option value="0">不显示</option>                <option value="1">显示</option>              </select>              <font color="#666666">(调用当前TAGS本设置无效)</font></td>          </tr>        </table></td>    </tr>    <tr>      <td height="25" bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="0" cellpadding="0">          <tr>             <td width="24%">链接附加参数:</td>            <td width="76%"><input name="addcs" type="text" id="line4">              <font color="#666666">(比如:&tempid=模板ID) </font></td>          </tr>        </table></td>      <td bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="0" cellpadding="0">          <tr>             <td width="24%">链接使用变量:</td>            <td width="76%"><select name="vartype">				<option value="tagname">tagname</option>                <option value="tagid">tagid</option>              </select>              <font color="#666666">(比如:tagname=帝国或tagid=1)</font></td>          </tr>        </table></td>    </tr>    <tr>       <td height="25" colspan="2" bgcolor="#FFFFFF"><input type="button" name="Submit" value="输出标签" onclick="ShowBqFun();">       </td>    </tr>    <tr>       <td height="25" colspan="2" bgcolor="#FFFFFF"><font color="#333333"><a href="EnewsBq.php<?=$ecms_hashur['whehref']?>#showtags" target="_blank" title="查看详细标签语法">[showtags]分类ID,显示数量,每行显示数量,显示排序,只显示推荐,推荐TAGS属性,显示间隔符,是否显示信息数,链接附加参数,链接使用变量[/showtags]</a></font></td>    </tr>    <tr>       <td height="25" colspan="2" bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="0" cellpadding="0">          <tr>             <td><textarea name="bqshow" cols="65" rows="5" id="bqshow" style="width:100%"></textarea></td>          </tr>          <tr>             <td height="25"><input type="button" name="Submit2" value="复制上面标签内容" onclick="window.clipboardData.setData('Text',document.bqform.bqshow.value);document.bqform.bqshow.select()"></td>          </tr>        </table></td>    </tr>  </table></form><?php}elseif($bqname=='showclasstemp'){?><script>//返回标签function ShowBqFun(){	var obj=document.bqform;	var bqstr;	var addstr='';	var fclassid=obj.classid.value;	var fshownum=obj.shownum.value;	var ftempid=obj.tempid.value;	var fclassnum=obj.classnum.value;	bqstr="[showclasstemp]"+fclassid+","+ftempid+","+fshownum+","+fclassnum+"[/showclasstemp]";	obj.bqshow.value=bqstr;}</script><form action="MakeBq.php" method="GET" name="bqform" id="bqform">  <table width="100%" border="0" align="center" cellpadding="3" cellspacing="1" class="tableborder" id="ecmsinfo">	<?=$ecms_hashur['eform']?>    <tr>       <td height="25" colspan="2" class="header">showclasstemp标签生成         <input name="bqname" type="hidden" id="bqname" value="<?=$bqname?>"></td>    </tr>    <tr>       <td height="25" colspan="2">标签基本参数 </td>    </tr>    <tr>       <td width="50%" height="25" bgcolor="#FFFFFF">         <?=$changeobject?>      </td>      <td width="50%" bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="0" cellpadding="0">          <tr>             <td width="24%">标签模板:</td>            <td width="76%"><select name="tempid" id="select15">                <?=$bqtemp?>              </select> <input type="button" name="Submit62223235" value="管理标签模板" onclick="window.open('ListBqtemp.php?gid=<?=$thegid?><?=$ecms_hashur['ehref']?>');"></td>          </tr>        </table></td>    </tr>    <tr>       <td height="25" bgcolor="#FFFFFF"> <table width="100%" border="0" cellspacing="0" cellpadding="0">          <tr>             <td width="24%">显示栏目信息数:</td>            <td width="76%"><select name="shownum" id="select17">                <option value="0">不显示</option>                <option value="1">显示</option>              </select>              <font color="#666666">(标签模板加[!--num--])</font></td>          </tr>        </table></td>      <td bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="0" cellpadding="0">          <tr>             <td width="24%">限制显示栏目数:</td>            <td width="76%"><input name="classnum" type="text" id="titlelen5" value="0">              <font color="#666666">(0为不限制)</font> </td>          </tr>        </table></td>    </tr>    <tr>       <td height="25" colspan="2" bgcolor="#FFFFFF"><input type="button" name="Submit" value="输出标签" onclick="ShowBqFun();">       </td>    </tr>    <tr>       <td height="25" colspan="2" bgcolor="#FFFFFF"><font color="#333333"><a href="EnewsBq.php<?=$ecms_hashur['whehref']?>#showclasstemp" target="_blank" title="查看详细标签语法">[showclasstemp]父栏目ID,标签模板ID,是否显示栏目信息数,显示栏目数[/showclasstemp]</a></font></td>    </tr>    <tr>       <td height="25" colspan="2" bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="0" cellpadding="0">          <tr>             <td><textarea name="bqshow" cols="65" rows="5" id="bqshow" style="width:100%"></textarea></td>          </tr>          <tr>             <td height="25"><input type="button" name="Submit2" value="复制上面标签内容" onclick="window.clipboardData.setData('Text',document.bqform.bqshow.value);document.bqform.bqshow.select()"></td>          </tr>        </table></td>    </tr>  </table></form><?php}elseif($bqname=='eshowzt'){	//分类	$zcstr='';	$zcsql=$empire->query("select classid,classname from {$dbtbpre}enewsztclass order by classid");	while($zcr=$empire->fetch($zcsql))	{		$zcstr.="<option value='".$zcr[classid]."'>".$zcr[classname]."</option>";	}?><script>//返回标签function ShowBqFun(){	var obj=document.bqform;	var bqstr;	var addstr='';	var fclassid=ReturnAddYh(obj.classid.value);	var fzcid=obj.zcid.value;	var ftempid=obj.tempid.value;	var fclassnum=obj.classnum.value;	bqstr="[eshowzt]"+ftempid+","+fzcid+","+fclassnum+","+fclassid+"[/eshowzt]";	obj.bqshow.value=bqstr;}</script><form action="MakeBq.php" method="GET" name="bqform" id="bqform">  <table width="100%" border="0" align="center" cellpadding="3" cellspacing="1" class="tableborder" id="ecmsinfo">	<?=$ecms_hashur['eform']?>    <tr>       <td height="25" colspan="2" class="header">eshowzt标签生成         <input name="bqname" type="hidden" id="bqname" value="<?=$bqname?>"></td>    </tr>    <tr>       <td height="25" colspan="2">标签基本参数</td>    </tr>    <tr>       <td width="50%" height="25" bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="0" cellpadding="0">          <tr>             <td width="24%">标签模板:</td>            <td width="76%"><select name="tempid" id="select20">                <?=$bqtemp?>              </select> <input type="button" name="Submit622232353" value="管理标签模板" onclick="window.open('ListBqtemp.php?gid=<?=$thegid?><?=$ecms_hashur['ehref']?>');"></td>          </tr>        </table></td>      <td width="50%" bgcolor="#FFFFFF">         <table width="100%" border="0" cellspacing="0" cellpadding="0">          <tr>             <td width="24%">限制专题分类:</td>            <td width="76%"><select name="zcid" id="select19">                <option value="0">不限</option>				<?=$zcstr?>              </select> <input type="button" name="Submit622232352" value="管理专题分类" onclick="window.open('../special/ListZtClass.php<?=$ecms_hashur['whehref']?>');"></td>          </tr>        </table></td>    </tr>    <tr>       <td height="25" bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="0" cellpadding="0">          <tr>             <td width="24%">限制显示专题数:</td>            <td width="76%"><input name="classnum" type="text" id="classnum" value="0">               <font color="#666666">(0为不限制)</font> </td>          </tr>        </table> </td>      <td bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="0" cellpadding="0">          <tr>             <td width="24%">限制所属栏目ID:</td>            <td width="76%"><input name="classid" type="text" id="classid" value="0">               <font color="#666666">               <input type="button" name="Submit422" value="查看栏目ID" onclick="window.open('../ListClass.php<?=$ecms_hashur['whehref']?>');">              (0为不限,多个ID用,号隔开)</font> </td>          </tr>        </table></td>    </tr>    <tr>       <td height="25" colspan="2" bgcolor="#FFFFFF"><input type="button" name="Submit" value="输出标签" onclick="ShowBqFun();">       </td>    </tr>    <tr>       <td height="25" colspan="2" bgcolor="#FFFFFF"><font color="#333333"><a href="EnewsBq.php<?=$ecms_hashur['whehref']?>#eshowzt" target="_blank" title="查看详细标签语法">[eshowzt]标签模板ID,专题类别ID,显示专题数,所属栏目ID[/eshowzt]</a></font></td>    </tr>    <tr>       <td height="25" colspan="2" bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="0" cellpadding="0">          <tr>             <td><textarea name="bqshow" cols="65" rows="5" id="bqshow" style="width:100%"></textarea></td>          </tr>          <tr>             <td height="25"><input type="button" name="Submit2" value="复制上面标签内容" onclick="window.clipboardData.setData('Text',document.bqform.bqshow.value);document.bqform.bqshow.select()"></td>          </tr>        </table></td>    </tr>  </table></form><?php}elseif($bqname=='listshowclass'){?><script>//返回标签function ShowBqFun(){	var obj=document.bqform;	var bqstr;	var addstr='';	var fclassid=obj.classid.value;	var fshownum=obj.shownum.value;	var ftempid=obj.tempid.value;	var fclassnum=obj.classnum.value;	bqstr="[listshowclass]"+fclassid+","+ftempid+","+fshownum+","+fclassnum+"[/listshowclass]";	obj.bqshow.value=bqstr;}</script><form action="MakeBq.php" method="GET" name="bqform" id="bqform">  <table width="100%" border="0" align="center" cellpadding="3" cellspacing="1" class="tableborder" id="ecmsinfo">	<?=$ecms_hashur['eform']?>    <tr>       <td height="25" colspan="2" class="header">listshowclass标签生成         <input name="bqname" type="hidden" id="bqname" value="<?=$bqname?>"></td>    </tr>    <tr>       <td height="25" colspan="2">标签基本参数 </td>    </tr>    <tr>       <td width="50%" height="25" bgcolor="#FFFFFF">         <?=$changeobject?>      </td>      <td width="50%" bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="0" cellpadding="0">          <tr>             <td width="24%">标签模板:</td>            <td width="76%"><select name="tempid" id="select15">                <?=$bqtemp?>              </select> <input type="button" name="Submit62223235" value="管理标签模板" onclick="window.open('ListBqtemp.php?gid=<?=$thegid?><?=$ecms_hashur['ehref']?>');"></td>          </tr>        </table></td>    </tr>    <tr>       <td height="25" bgcolor="#FFFFFF"> <table width="100%" border="0" cellspacing="0" cellpadding="0">          <tr>             <td width="24%">显示栏目信息数:</td>            <td width="76%"><select name="shownum" id="select17">                <option value="0">不显示</option>                <option value="1">显示</option>              </select>              <font color="#666666">(标签模板加[!--num--])</font></td>          </tr>        </table></td>      <td bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="0" cellpadding="0">          <tr>             <td width="24%">限制显示栏目数:</td>            <td width="76%"><input name="classnum" type="text" id="titlelen5" value="0">              <font color="#666666">(0为不限制)</font> </td>          </tr>        </table></td>    </tr>    <tr>       <td height="25" colspan="2" bgcolor="#FFFFFF"><input type="button" name="Submit" value="输出标签" onclick="ShowBqFun();">       </td>    </tr>    <tr>       <td height="25" colspan="2" bgcolor="#FFFFFF"><font color="#333333"><a href="EnewsBq.php<?=$ecms_hashur['whehref']?>#listshowclass" target="_blank" title="查看详细标签语法">[listshowclass]父栏目ID,标签模板ID,是否显示栏目信息数,显示栏目数[/listshowclass]</a></font></td>    </tr>    <tr>       <td height="25" colspan="2" bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="0" cellpadding="0">          <tr>             <td><textarea name="bqshow" cols="65" rows="5" id="bqshow" style="width:100%"></textarea></td>          </tr>          <tr>             <td height="25"><input type="button" name="Submit2" value="复制上面标签内容" onclick="window.clipboardData.setData('Text',document.bqform.bqshow.value);document.bqform.bqshow.select()"></td>          </tr>        </table></td>    </tr>  </table></form><?php}elseif($bqname=='phomead'){?><script>//返回标签function ShowBqFun(){	var obj=document.bqform;	var bqstr;	var addstr='';	var fclassid=obj.classid.value;	bqstr="[phomead]"+fclassid+"[/phomead]";	obj.bqshow.value=bqstr;}</script><form action="MakeBq.php" method="GET" name="bqform" id="bqform">  <table width="100%" border="0" align="center" cellpadding="3" cellspacing="1" class="tableborder" id="ecmsinfo">	<?=$ecms_hashur['eform']?>    <tr>       <td height="25" colspan="2" class="header">phomead标签生成         <input name="bqname" type="hidden" id="bqname" value="<?=$bqname?>"></td>    </tr>    <tr>       <td height="25" colspan="2">标签基本参数 </td>    </tr>    <tr>       <td width="50%" height="25" bgcolor="#FFFFFF"> <table width="100%" border="0" cellspacing="0" cellpadding="0">          <tr>             <td width="24%">广告ID:</td>            <td width="76%"><input name="classid" type="text" id="classid" value="0">              <input type="button" name="Submit622232354" value="查看广告ID" onclick="window.open('../tool/ListAd.php<?=$ecms_hashur['whehref']?>');"></td>          </tr>        </table></td>      <td width="50%" bgcolor="#FFFFFF"> </td>    </tr>    <tr>       <td height="25" colspan="2" bgcolor="#FFFFFF"><input type="button" name="Submit" value="输出标签" onclick="ShowBqFun();">       </td>    </tr>    <tr>       <td height="25" colspan="2" bgcolor="#FFFFFF"><font color="#333333"><a href="EnewsBq.php<?=$ecms_hashur['whehref']?>#phomead" target="_blank" title="查看详细标签语法">[phomead]广告ID[/phomead]</a></font></td>    </tr>    <tr>       <td height="25" colspan="2" bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="0" cellpadding="0">          <tr>             <td><textarea name="bqshow" cols="65" rows="5" id="bqshow" style="width:100%"></textarea></td>          </tr>          <tr>             <td height="25"><input type="button" name="Submit2" value="复制上面标签内容" onclick="window.clipboardData.setData('Text',document.bqform.bqshow.value);document.bqform.bqshow.select()"></td>          </tr>        </table></td>    </tr>  </table></form><?php}elseif($bqname=='phomevote'){?><script>//返回标签function ShowBqFun(){	var obj=document.bqform;	var bqstr;	var addstr='';	var fclassid=obj.classid.value;	bqstr="[phomevote]"+fclassid+"[/phomevote]";	obj.bqshow.value=bqstr;}</script><form action="MakeBq.php" method="GET" name="bqform" id="bqform">  <table width="100%" border="0" align="center" cellpadding="3" cellspacing="1" class="tableborder" id="ecmsinfo">	<?=$ecms_hashur['eform']?>    <tr>       <td height="25" colspan="2" class="header">phomevote标签生成         <input name="bqname" type="hidden" id="bqname" value="<?=$bqname?>"></td>    </tr>    <tr>       <td height="25" colspan="2">标签基本参数 </td>    </tr>    <tr>       <td width="50%" height="25" bgcolor="#FFFFFF"> <table width="100%" border="0" cellspacing="0" cellpadding="0">          <tr>             <td width="24%">投票ID:</td>            <td width="76%"><input name="classid" type="text" id="classid" value="0">              <input type="button" name="Submit622232354" value="查看投票ID" onclick="window.open('../tool/ListVote.php<?=$ecms_hashur['whehref']?>');"></td>          </tr>        </table></td>      <td width="50%" bgcolor="#FFFFFF"> </td>    </tr>    <tr>       <td height="25" colspan="2" bgcolor="#FFFFFF"><input type="button" name="Submit" value="输出标签" onclick="ShowBqFun();">       </td>    </tr>    <tr>       <td height="25" colspan="2" bgcolor="#FFFFFF"><font color="#333333"><a href="EnewsBq.php<?=$ecms_hashur['whehref']?>#phomevote" target="_blank" title="查看详细标签语法">[phomevote]投票ID[/phomevote]</a></font></td>    </tr>    <tr>       <td height="25" colspan="2" bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="0" cellpadding="0">          <tr>             <td><textarea name="bqshow" cols="65" rows="5" id="bqshow" style="width:100%"></textarea></td>          </tr>          <tr>             <td height="25"><input type="button" name="Submit2" value="复制上面标签内容" onclick="window.clipboardData.setData('Text',document.bqform.bqshow.value);document.bqform.bqshow.select()"></td>          </tr>        </table></td>    </tr>  </table></form><?php}elseif($bqname=='phomelink'){	//类别	$cstr='';	$csql=$empire->query("select classid,classname from {$dbtbpre}enewslinkclass order by classid");	while($cr=$empire->fetch($csql))	{		$cstr.="<option value='".$cr[classid]."'>".$cr[classname]."</option>";	}?><script>//返回标签function ShowBqFun(){	var obj=document.bqform;	var bqstr;	var addstr='';	var fline=obj.line.value;	var flnum=obj.lnum.value;	var fcid=obj.cid.value;	var fdotype=obj.dotype.value;	var fshowlink=obj.showlink.value;	bqstr="[phomelink]"+fline+","+flnum+","+fdotype+","+fcid+","+fshowlink+"[/phomelink]";	obj.bqshow.value=bqstr;}</script><form action="MakeBq.php" method="GET" name="bqform" id="bqform">  <table width="100%" border="0" align="center" cellpadding="3" cellspacing="1" class="tableborder" id="ecmsinfo">	<?=$ecms_hashur['eform']?>    <tr>       <td height="25" colspan="2" class="header">phomelink标签生成         <input name="bqname" type="hidden" id="bqname" value="<?=$bqname?>"></td>    </tr>    <tr>       <td height="25" colspan="2">标签基本参数</td>    </tr>    <tr>       <td width="50%" height="25" bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="0" cellpadding="0">          <tr>             <td width="24%">操作类型:</td>            <td width="76%"><select name="dotype" id="select20">                <option value="0">所有链接</option>                <option value="1">只调用图片链接</option>                <option value="2">只调用文字链接</option>              </select> </td>          </tr>        </table></td>      <td width="50%" bgcolor="#FFFFFF"> <table width="100%" border="0" cellspacing="0" cellpadding="0">          <tr>             <td width="24%">限制分类:</td>            <td width="76%"><select name="cid" id="select19">                <option value="0">不限</option>                <?=$cstr?>              </select> <input type="button" name="Submit622232352" value="管理友情链接分类" onclick="window.open('../tool/LinkClass.php<?=$ecms_hashur['whehref']?>');"></td>          </tr>        </table></td>    </tr>    <tr>       <td height="25" bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="0" cellpadding="0">          <tr>             <td width="24%">调用总数量:</td>            <td width="76%"><input name="lnum" type="text" id="lnum" value="12"></td>          </tr>        </table></td>      <td bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="0" cellpadding="0">          <tr>             <td width="24%">每行显示数量:</td>            <td width="76%"><input name="line" type="text" id="line5" value="6">            </td>          </tr>        </table></td>    </tr>    <tr>      <td height="25" bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="0" cellpadding="0">          <tr>             <td width="24%">显示原链接:</td>            <td width="76%"><select name="showlink" id="select18">                <option value="0">统计点击链接</option>                <option value="1">显示原链接</option>              </select> </td>          </tr>        </table></td>      <td bgcolor="#FFFFFF"> </td>    </tr>    <tr>       <td height="25" colspan="2" bgcolor="#FFFFFF"><input type="button" name="Submit" value="输出标签" onclick="ShowBqFun();">       </td>    </tr>    <tr>       <td height="25" colspan="2" bgcolor="#FFFFFF"><font color="#333333"><a href="EnewsBq.php<?=$ecms_hashur['whehref']?>#phomelink" target="_blank" title="查看详细标签语法">[phomelink]每行显示数,显示总数,操作类型,分类id,是否显示原链接[/phomelink]</a></font></td>    </tr>    <tr>       <td height="25" colspan="2" bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="0" cellpadding="0">          <tr>             <td><textarea name="bqshow" cols="65" rows="5" id="bqshow" style="width:100%"></textarea></td>          </tr>          <tr>             <td height="25"><input type="button" name="Submit2" value="复制上面标签内容" onclick="window.clipboardData.setData('Text',document.bqform.bqshow.value);document.bqform.bqshow.select()"></td>          </tr>        </table></td>    </tr>  </table></form><?php}elseif($bqname=='gbookinfo'){	//分类	$cstr='';	$csql=$empire->query("select bid,bname from {$dbtbpre}enewsgbookclass order by bid");	while($cr=$empire->fetch($csql))	{		$cstr.="<option value='".$cr[bid]."'>".$cr[bname]."</option>";	}?><script>//返回标签function ShowBqFun(){	var obj=document.bqform;	var bqstr;	var addstr='';	var fline=obj.line.value;	var fcid=obj.cid.value;	var ftempid=obj.tempid.value;	bqstr="[gbookinfo]"+fline+","+ftempid+","+fcid+"[/gbookinfo]";	obj.bqshow.value=bqstr;}</script><form action="MakeBq.php" method="GET" name="bqform" id="bqform">  <table width="100%" border="0" align="center" cellpadding="3" cellspacing="1" class="tableborder" id="ecmsinfo">	<?=$ecms_hashur['eform']?>    <tr>       <td height="25" colspan="2" class="header">gbookinfo标签生成         <input name="bqname" type="hidden" id="bqname" value="<?=$bqname?>"></td>    </tr>    <tr>       <td height="25" colspan="2">标签基本参数</td>    </tr>    <tr>       <td width="50%" height="25" bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="0" cellpadding="0">          <tr>             <td width="24%">标签模板:</td>            <td width="76%"><select name="tempid" id="select20">                <?=$bqtemp?>              </select> <input type="button" name="Submit622232353" value="管理标签模板" onclick="window.open('ListBqtemp.php?gid=<?=$thegid?><?=$ecms_hashur['ehref']?>');"></td>          </tr>        </table></td>      <td width="50%" bgcolor="#FFFFFF">         <table width="100%" border="0" cellspacing="0" cellpadding="0">          <tr>             <td width="24%">限制留言分类:</td>            <td width="76%"><select name="cid" id="select19">                <option value="0">不限</option>				<?=$cstr?>              </select> <input type="button" name="Submit622232352" value="管理留言分类" onclick="window.open('../tool/GbookClass.php<?=$ecms_hashur['whehref']?>');"></td>          </tr>        </table></td>    </tr>    <tr>       <td height="25" bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="0" cellpadding="0">          <tr>             <td width="24%">调用数量:</td>            <td width="76%"><input name="line" type="text" id="line" value="5">            </td>          </tr>        </table> </td>      <td bgcolor="#FFFFFF"> </td>    </tr>    <tr>       <td height="25" colspan="2" bgcolor="#FFFFFF"><input type="button" name="Submit" value="输出标签" onclick="ShowBqFun();">       </td>    </tr>    <tr>       <td height="25" colspan="2" bgcolor="#FFFFFF"><font color="#333333"><a href="EnewsBq.php<?=$ecms_hashur['whehref']?>#gbookinfo" target="_blank" title="查看详细标签语法">[gbookinfo]显示信息数,标签模板ID,留言分类ID[/gbookinfo]</a></font></td>    </tr>    <tr>       <td height="25" colspan="2" bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="0" cellpadding="0">          <tr>             <td><textarea name="bqshow" cols="65" rows="5" id="bqshow" style="width:100%"></textarea></td>          </tr>          <tr>             <td height="25"><input type="button" name="Submit2" value="复制上面标签内容" onclick="window.clipboardData.setData('Text',document.bqform.bqshow.value);document.bqform.bqshow.select()"></td>          </tr>        </table></td>    </tr>  </table></form><?php}elseif($bqname=='showplinfo'){?><script>//返回标签function ShowBqFun(){	var obj=document.bqform;	var bqstr;	var addstr='';	var fline=obj.line.value;	var fclassid=obj.classid.value;	var fid=obj.id.value;	var ftempid=obj.tempid.value;	var fisgood=obj.isgood.value;	var fdotype=obj.dotype.value;	bqstr="[showplinfo]"+fline+","+ftempid+","+fclassid+","+fid+","+fisgood+","+fdotype+"[/showplinfo]";	obj.bqshow.value=bqstr;}</script><form action="MakeBq.php" method="GET" name="bqform" id="bqform">  <table width="100%" border="0" align="center" cellpadding="3" cellspacing="1" class="tableborder" id="ecmsinfo">	<?=$ecms_hashur['eform']?>    <tr>       <td height="25" colspan="2" class="header">showplinfo标签生成         <input name="bqname" type="hidden" id="bqname" value="<?=$bqname?>"></td>    </tr>    <tr>       <td height="25" colspan="2">标签基本参数</td>    </tr>    <tr>       <td width="50%" height="25" bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="0" cellpadding="0">          <tr>             <td width="24%">操作类型:</td>            <td width="76%"><select name="dotype" id="select22">                <option value="0">按发布时间排列</option>                <option value="1">按支持数排列</option>                <option value="2">按反对数排列</option>              </select> </td>          </tr>        </table></td>      <td width="50%" bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="0" cellpadding="0">          <tr>             <td width="24%">标签模板:</td>            <td width="76%"><select name="tempid" id="select21">                <?=$bqtemp?>              </select> <input type="button" name="Submit6222323532" value="管理标签模板" onclick="window.open('ListBqtemp.php?gid=<?=$thegid?><?=$ecms_hashur['ehref']?>');"></td>          </tr>        </table> </td>    </tr>    <tr>       <td height="25" bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="0" cellpadding="0">          <tr>             <td width="24%">调用数量:</td>            <td width="76%"><input name="line" type="text" id="line" value="10">             </td>          </tr>        </table></td>      <td bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="0" cellpadding="0">          <tr>             <td width="24%">限制栏目ID:</td>            <td width="76%"><input name="classid" type="text" id="classid" value="0">              [<a href="#empirecms" onclick="document.bqform.classid.value='$GLOBALS[navclassid]';">当前栏目ID</a>]               <font color="#666666">               <input type="button" name="Submit4222" value="查看栏目ID" onclick="window.open('../ListClass.php<?=$ecms_hashur['whehref']?>');">              (0为不限)</font> </td>          </tr>        </table></td>    </tr>    <tr>      <td height="25" bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="0" cellpadding="0">          <tr>             <td width="24%">限制信息ID:</td>            <td width="76%"><input name="id" type="text" id="id" value="0">              [<a href="#empirecms" onclick="document.bqform.id.value='$navinfor[id]';">当前信息ID</a>] <font color="#666666"> (0为不限)</font></td>          </tr>        </table></td>      <td bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="0" cellpadding="0">          <tr>             <td width="24%">只调用推荐评论:</td>            <td width="76%"><select name="isgood" id="select23">                <option value="0">不限</option>                <option value="1">只调用推荐评论</option>              </select> </td>          </tr>        </table></td>    </tr>    <tr>       <td height="25" colspan="2" bgcolor="#FFFFFF"><input type="button" name="Submit" value="输出标签" onclick="ShowBqFun();">       </td>    </tr>    <tr>       <td height="25" colspan="2" bgcolor="#FFFFFF"><font color="#333333"><a href="EnewsBq.php<?=$ecms_hashur['whehref']?>#showplinfo" target="_blank" title="查看详细标签语法">[showplinfo]调用条数,标签模板ID,栏目ID,信息ID,显示推荐评论,操作类型[/showplinfo]</a></font></td>    </tr>    <tr>       <td height="25" colspan="2" bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="0" cellpadding="0">          <tr>             <td><textarea name="bqshow" cols="65" rows="5" id="bqshow" style="width:100%"></textarea></td>          </tr>          <tr>             <td height="25"><input type="button" name="Submit2" value="复制上面标签内容" onclick="window.clipboardData.setData('Text',document.bqform.bqshow.value);document.bqform.bqshow.select()"></td>          </tr>        </table></td>    </tr>  </table></form><?php}elseif($bqname=='echocheckbox'){?><script>//返回标签function ShowBqFun(){	var obj=document.bqform;	var bqstr;	var addstr='';	var flfield=obj.lfield.value;	var fexpstr=obj.expstr.value;	bqstr="[echocheckbox]'"+flfield+"','"+fexpstr+"'[/echocheckbox]";	obj.bqshow.value=bqstr;}</script><form action="MakeBq.php" method="GET" name="bqform" id="bqform">  <table width="100%" border="0" align="center" cellpadding="3" cellspacing="1" class="tableborder" id="ecmsinfo">	<?=$ecms_hashur['eform']?>    <tr>       <td height="25" colspan="2" class="header">echocheckbox标签生成         <input name="bqname" type="hidden" id="bqname" value="<?=$bqname?>"></td>    </tr>    <tr>       <td height="25" colspan="2">标签基本参数 </td>    </tr>    <tr>       <td width="50%" height="25" bgcolor="#FFFFFF"> <table width="100%" border="0" cellspacing="0" cellpadding="0">          <tr>             <td width="24%">复选字段名:</td>            <td width="76%"><input name="lfield" type="text" id="lfield" value="title">            </td>          </tr>        </table></td>      <td width="50%" bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="0" cellpadding="0">          <tr>             <td width="24%">分隔符:</td>            <td width="76%"><input name="expstr" type="text" id="expstr" value="<br>">             </td>          </tr>        </table></td>    </tr>    <tr>       <td height="25" colspan="2" bgcolor="#FFFFFF"><input type="button" name="Submit" value="输出标签" onclick="ShowBqFun();">       </td>    </tr>    <tr>       <td height="25" colspan="2" bgcolor="#FFFFFF"><font color="#333333"><a href="EnewsBq.php<?=$ecms_hashur['whehref']?>#echocheckbox" target="_blank" title="查看详细标签语法">[echocheckbox]'字段','分隔符'[/echocheckbox]</a></font></td>    </tr>    <tr>       <td height="25" colspan="2" bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="0" cellpadding="0">          <tr>             <td><textarea name="bqshow" cols="65" rows="5" id="bqshow" style="width:100%"></textarea></td>          </tr>          <tr>             <td height="25"><input type="button" name="Submit2" value="复制上面标签内容" onclick="window.clipboardData.setData('Text',document.bqform.bqshow.value);document.bqform.bqshow.select()"></td>          </tr>        </table></td>    </tr>  </table></form><?php}elseif($bqname=='includefile'){?><script>//返回标签function ShowBqFun(){	var obj=document.bqform;	var bqstr;	var addstr='';	var flfile=obj.lfile.value;	bqstr="[includefile]'"+flfile+"'[/includefile]";	obj.bqshow.value=bqstr;}</script><form action="MakeBq.php" method="GET" name="bqform" id="bqform">  <table width="100%" border="0" align="center" cellpadding="3" cellspacing="1" class="tableborder" id="ecmsinfo">	<?=$ecms_hashur['eform']?>    <tr>       <td height="25" colspan="2" class="header">includefile标签生成         <input name="bqname" type="hidden" id="bqname" value="<?=$bqname?>"></td>    </tr>    <tr>       <td height="25" colspan="2">标签基本参数 </td>    </tr>    <tr>       <td width="50%" height="25" bgcolor="#FFFFFF"> <table width="100%" border="0" cellspacing="0" cellpadding="0">          <tr>             <td width="24%">引用文件地址:</td>            <td width="76%"><input name="lfile" type="text" id="lfile" value="../../header.html">              <font color="#666666">(相对于后台目录)</font> </td>          </tr>        </table></td>      <td width="50%" bgcolor="#FFFFFF"> </td>    </tr>    <tr>       <td height="25" colspan="2" bgcolor="#FFFFFF"><input type="button" name="Submit" value="输出标签" onclick="ShowBqFun();">       </td>    </tr>    <tr>       <td height="25" colspan="2" bgcolor="#FFFFFF"><font color="#333333"><a href="EnewsBq.php<?=$ecms_hashur['whehref']?>#includefile" target="_blank" title="查看详细标签语法">[includefile]'文件地址'[/includefile]</a></font></td>    </tr>    <tr>       <td height="25" colspan="2" bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="0" cellpadding="0">          <tr>             <td><textarea name="bqshow" cols="65" rows="5" id="bqshow" style="width:100%"></textarea></td>          </tr>          <tr>             <td height="25"><input type="button" name="Submit2" value="复制上面标签内容" onclick="window.clipboardData.setData('Text',document.bqform.bqshow.value);document.bqform.bqshow.select()"></td>          </tr>        </table></td>    </tr>  </table></form><?php}elseif($bqname=='readhttp'){?><script>//返回标签function ShowBqFun(){	var obj=document.bqform;	var bqstr;	var addstr='';	var flfile=obj.lfile.value;	bqstr="[readhttp]'"+flfile+"'[/readhttp]";	obj.bqshow.value=bqstr;}</script><form action="MakeBq.php" method="GET" name="bqform" id="bqform">  <table width="100%" border="0" align="center" cellpadding="3" cellspacing="1" class="tableborder" id="ecmsinfo">	<?=$ecms_hashur['eform']?>    <tr>       <td height="25" colspan="2" class="header">readhttp标签生成         <input name="bqname" type="hidden" id="bqname" value="<?=$bqname?>"></td>    </tr>    <tr>       <td height="25" colspan="2">标签基本参数 </td>    </tr>    <tr>       <td width="50%" height="25" bgcolor="#FFFFFF"> <table width="100%" border="0" cellspacing="0" cellpadding="0">          <tr>             <td width="24%">读取网页地址:</td>            <td width="76%"><input name="lfile" type="text" id="lfile" value="http://">            </td>          </tr>        </table></td>      <td width="50%" bgcolor="#FFFFFF"> </td>    </tr>    <tr>       <td height="25" colspan="2" bgcolor="#FFFFFF"><input type="button" name="Submit" value="输出标签" onclick="ShowBqFun();">       </td>    </tr>    <tr>       <td height="25" colspan="2" bgcolor="#FFFFFF"><font color="#333333"><a href="EnewsBq.php<?=$ecms_hashur['whehref']?>#readhttp" target="_blank" title="查看详细标签语法">[readhttp]'页面地址'[/readhttp]</a></font></td>    </tr>    <tr>       <td height="25" colspan="2" bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="0" cellpadding="0">          <tr>             <td><textarea name="bqshow" cols="65" rows="5" id="bqshow" style="width:100%"></textarea></td>          </tr>          <tr>             <td height="25"><input type="button" name="Submit2" value="复制上面标签内容" onclick="window.clipboardData.setData('Text',document.bqform.bqshow.value);document.bqform.bqshow.select()"></td>          </tr>        </table></td>    </tr>  </table></form><?php}elseif($bqname=='ShowMemberInfo'){?><script>//返回标签function ShowBqFun(){	var obj=document.bqform;	var bqstr;	var addstr='';	var flfield=obj.lfield.value;	var fmuserid=obj.muserid.value;	bqstr="<?="<?php\\r\\n\$userr=sys_ShowMemberInfo(\"+fmuserid+\",'\"+flfield+\"');\\r\\n?>"?>\r\n";	obj.bqshow.value=bqstr;}</script><form action="MakeBq.php" method="GET" name="bqform" id="bqform">  <table width="100%" border="0" align="center" cellpadding="3" cellspacing="1" class="tableborder" id="ShowMemberInfo">	<?=$ecms_hashur['eform']?>    <tr>       <td height="25" colspan="2" class="header">ShowMemberInfo函数调用生成         <input name="bqname" type="hidden" id="bqname" value="<?=$bqname?>"></td>    </tr>    <tr>       <td height="25" colspan="2">标签基本参数 </td>    </tr>    <tr>       <td width="50%" height="25" bgcolor="#FFFFFF"> <table width="100%" border="0" cellspacing="0" cellpadding="0">          <tr>             <td width="24%">会员帐号ID:</td>            <td width="76%"><input name="muserid" type="text" id="muserid" value="0">              <input type="button" name="Submit62223235222" value="查看会员ID" onclick="window.open('../member/ListMember.php<?=$ecms_hashur['whehref']?>');">              <font color="#666666">(0为发布者ID)</font></td>          </tr>        </table></td>      <td width="50%" bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="0" cellpadding="0">          <tr>             <td width="24%">查询字段:</td>            <td width="76%">               <input name="lfield" type="text" id="lfield">              <font color="#666666">(空为查询所有会员字段)</font> </td>          </tr>        </table></td>    </tr>    <tr>       <td height="25" colspan="2" bgcolor="#FFFFFF"><input type="button" name="Submit" value="输出标签" onclick="ShowBqFun();">       </td>    </tr>    <tr>       <td height="25" colspan="2" bgcolor="#FFFFFF"><font color="#333333"><a href="EnewsBq.php<?=$ecms_hashur['whehref']?>#ShowMemberInfo" target="_blank" title="查看详细标签语法">sys_ShowMemberInfo(用户ID,查询字段)</a></font></td>    </tr>    <tr>       <td height="25" colspan="2" bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="0" cellpadding="0">          <tr>             <td><textarea name="bqshow" cols="65" rows="5" id="bqshow" style="width:100%"></textarea></td>          </tr>          <tr>             <td height="25"><input type="button" name="Submit2" value="复制上面标签内容" onclick="window.clipboardData.setData('Text',document.bqform.bqshow.value);document.bqform.bqshow.select()"></td>          </tr>        </table></td>    </tr>  </table></form><?php}elseif($bqname=='ListMemberInfo'){?><script>//返回标签function ShowBqFun(){	var obj=document.bqform;	var bqstr;	var addstr='';	var tfont='';	var dh='';	var fdotype=obj.dotype.value;	var fline=obj.line.value;	var fmgroupid=obj.mgroupid.value;	var fmuserid=obj.muserid.value;	var flfield=obj.lfield.value;	bqstr="<?="<?php\\r\\n\$usersql=sys_ListMemberInfo(\"+fline+\",\"+fdotype+\",'\"+fmgroupid+\"','\"+fmuserid+\"','\"+flfield+\"');\\r\\nwhile(\$userr=\$empire->fetch(\$usersql))\\r\\n{\\r\\n?>\\r\\n<a href=\\\"/e/space/?userid=<?=\$userr[userid]?>\\\"><?=\$userr[username]?></a><br>\\r\\n<?php\\r\\n}\\r\\n?>"?>";	obj.bqshow.value=bqstr;}</script><form action="MakeBq.php" method="GET" name="bqform" id="bqform">  <table width="100%" border="0" align="center" cellpadding="3" cellspacing="1" class="tableborder" id="ListMemberInfo">	<?=$ecms_hashur['eform']?>    <tr>       <td height="25" colspan="2" class="header">ListMemberInfo调用函数生成         <input name="bqname" type="hidden" id="bqname" value="<?=$bqname?>"></td>    </tr>    <tr>       <td height="25" colspan="2">标签基本参数 </td>    </tr>    <tr>       <td width="50%" height="25" bgcolor="#FFFFFF"> <table width="100%" border="0" cellspacing="0" cellpadding="0">          <tr>             <td width="24%">操作类型:</td>            <td width="76%"><select name="dotype" id="dotype">                <option value="0">按注册时间排序</option>                <option value="1">按积分排序排序</option>                <option value="2">按资金排行排序</option>                <option value="3">按会员空间人气排行排序</option>              </select> </td>          </tr>        </table></td>      <td width="50%" bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="0" cellpadding="0">          <tr>             <td width="24%">调用数量:</td>            <td width="76%"><input name="line" type="text" id="line7" value="10">             </td>          </tr>        </table></td>    </tr>    <tr>       <td height="25" bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="0" cellpadding="0">          <tr>             <td width="24%">限制会员组ID:</td>            <td width="76%"><input name="mgroupid" type="text" id="mgroupid">              <input type="button" name="Submit622232352222" value="查看会员组ID" onclick="window.open('../member/ListMemberGroup.php<?=$ecms_hashur['whehref']?>');">               <font color="#666666">(不设置为不限,多个会员组用逗号隔开,如:'1,2') </font></td>          </tr>        </table></td>      <td bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="0" cellpadding="0">          <tr>             <td width="24%">会员帐号ID:</td>            <td width="76%"><input name="muserid" type="text" id="muserid">               <input type="button" name="Submit622232352223" value="查看会员ID" onclick="window.open('../member/ListMember.php<?=$ecms_hashur['whehref']?>');">              <font color="#666666">(不设置为不限,多个用户ID用逗号隔开,如:'25,27')</font></td>          </tr>        </table></td>    </tr>    <tr>       <td height="25" bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="0" cellpadding="0">          <tr>             <td width="24%">查询字段:</td>            <td width="76%"> <input name="lfield" type="text" id="lfield3"> <font color="#666666">(空为查询所有会员字段)</font>             </td>          </tr>        </table></td>      <td bgcolor="#FFFFFF"> </td>    </tr>    <tr>       <td height="25" colspan="2" bgcolor="#FFFFFF"><input type="button" name="Submit" value="输出标签" onclick="ShowBqFun();">       </td>    </tr>    <tr>       <td height="25" colspan="2" bgcolor="#FFFFFF"><font color="#333333"><a href="EnewsBq.php<?=$ecms_hashur['whehref']?>#ListMemberInfo" target="_blank" title="查看详细标签语法">sys_ListMemberInfo(调用条数,操作类型,会员组ID,用户ID,查询字段)</a></font></td>    </tr>    <tr>       <td height="25" colspan="2" bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="0" cellpadding="0">          <tr>             <td><textarea name="bqshow" cols="65" rows="12" id="bqshow" style="width:100%"></textarea></td>          </tr>          <tr>             <td height="25"><input type="button" name="Submit2" value="复制上面标签内容" onclick="window.clipboardData.setData('Text',document.bqform.bqshow.value);document.bqform.bqshow.select()"></td>          </tr>        </table></td>    </tr>  </table></form><?php}elseif($bqname=='spaceeloop'){?><script>//返回标签function ShowBqFun(){	var obj=document.bqform;	var bqstr;	var addstr='';	var fclassid=obj.classid.value;	var fline=obj.line.value;	var fdotype=obj.dotype.value;	var fispic=obj.ispic.value;	var faddsql=obj.addsql.value;	var forderby=obj.orderby.value;	addstr=ReturnAddSql(faddsql,forderby);	bqstr="<?="<?php\\r\\n\$spacesql=espace_eloop(\"+fclassid+\",\"+fline+\",\"+fdotype+\",\"+fispic+addstr+\");\\r\\nwhile(\$spacer=\$empire->fetch(\$spacesql))\\r\\n{\\r\\n        \$spacesr=espace_eloop_sp(\$spacer);\\r\\n?>\\r\\n<a href=\\\"<?=\$spacesr[titleurl]?>\\\" target=\\\"_blank\\\"><?=\$spacer[title]?></a> <br>\\r\\n<?php\\r\\n}\\r\\n?>"?>";	obj.bqshow.value=bqstr;}</script><form action="MakeBq.php" method="GET" name="bqform" id="bqform">  <table width="100%" border="0" align="center" cellpadding="3" cellspacing="1" class="tableborder" id="spaceeloop">	<?=$ecms_hashur['eform']?>    <tr>       <td height="25" colspan="2" class="header">spaceeloop会员空间灵动标签生成         <input name="bqname" type="hidden" id="bqname" value="<?=$bqname?>"></td>    </tr>    <tr>       <td height="25" colspan="2">选择调用对象:         <select name="doobject" id="doobject" onchange="self.location.href='MakeBq.php?<?=$ecms_hashur['ehref']?>&bqname=<?=$bqname?>&addselfinfo=1&doobject='+this.options[this.selectedIndex].value">          <option value="1"<?=$doobject==1?' selected':''?>>按默认表(           <?=$public_r['tbname']?>          )</option>          <option value="2"<?=$doobject==2?' selected':''?>>栏目</option>          <option value="5"<?=$doobject==5?' selected':''?>>标题分类</option>          <option value="4"<?=$doobject==4?' selected':''?>>数据表</option>          <option value="5"<?=$doobject==5?' selected':''?>>标题分类</option>          <option value="6"<?=$doobject==6?' selected':''?>>按SQL调用</option>        </select> </td>    </tr>    <tr>       <td width="50%" height="25" bgcolor="#FFFFFF">         <?=$dotype?>      </td>      <td width="50%" bgcolor="#FFFFFF">         <?=$changeobject?>      </td>    </tr>    <tr>       <td height="25" bgcolor="#FFFFFF"> <table width="100%" border="0" cellspacing="0" cellpadding="0">          <tr>             <td width="24%">调用数量:</td>            <td width="76%"><input name="line" type="text" id="line" value="10"></td>          </tr>        </table></td>      <td bgcolor="#FFFFFF">只调用有标题图片的信息:         <select name="ispic" id="select6">          <option value="0">不限</option>          <option value="1">是</option>        </select> </td>    </tr>    <tr>       <td height="25" colspan="2">选项设置</td>    </tr>    <tr>       <td height="25" bgcolor="#FFFFFF"> <table width="100%" border="0" cellspacing="0" cellpadding="0">          <tr>             <td width="24%">附加SQL条件:</td>            <td width="76%"><input name="addsql" type="text" id="addsql"> <select name="addsqlselect" onchange="document.bqform.addsql.value=this.value"><option value=""> -- 预选项 -- </option><option value="isgood=1">1级推荐</option><option value="firsttitle=1">1级头条</option><option value="field='值'">字段等于某值</option></select></td>          </tr>        </table></td>      <td bgcolor="#FFFFFF"> <table width="100%" border="0" cellspacing="0" cellpadding="0">          <tr>             <td width="24%">显示排序:</td>            <td width="76%"><input name="orderby" type="text" id="orderby"> <select name="orderbyselect" onchange="document.bqform.orderby.value=this.value"><option value=""> -- 预选项 -- </option><option value="newstime DESC">按发布时间降序排序</option><option value="newstime ASC">按发布时间升序排序</option><option value="id DESC">按ID降序排序</option><option value="onclick DESC">按点击率降序排序</option><option value="totaldown DESC">按下载数降序排序</option><option value="plnum DESC">按评论数降序排序</option><option value="diggtop DESC">按顶数(digg)降序排序</option></select></td>          </tr>        </table></td>    </tr>    <tr>       <td height="25" colspan="2" bgcolor="#FFFFFF"><input type="button" name="Submit3" value="输出标签" onclick="ShowBqFun();">       </td>    </tr>    <tr>      <td height="25" colspan="2" bgcolor="#FFFFFF"><a href="EnewsBq.php<?=$ecms_hashur['whehref']?>#spaceeloop" target="_blank" title="查看详细标签语法"><?php<br>        $spacesql=espace_eloop(栏目ID,显示条数,操作类型,只显示有标题图片,附加SQL条件,显示排序);<br>        while($spacer=$empire->fetch($spacesql))<br>        {<br>        $spacesr=espace_eloop_sp($spacer);<br>        ?><br>        模板代码内容<br>        <?php<br>        }<br>        ?></a></td>    </tr>    <tr>       <td height="25" colspan="2" bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="0" cellpadding="0">          <tr>             <td><textarea name="bqshow" cols="65" rows="12" id="bqshow" style="width:100%"></textarea></td>          </tr>          <tr>             <td height="25"><input type="button" name="Submit22" value="复制上面标签内容" onclick="window.clipboardData.setData('Text',document.bqform.bqshow.value);document.bqform.bqshow.select()"></td>          </tr>        </table></td>    </tr>  </table></form><?php}?></body></html><?phpdb_close();$empire=null;?>
 |