</form> <form name="form1" action="makeminiature_action.php" method="get" target='stafrm'> <tr> <td height="20" colspan="2"> <table width="98%" border="0" cellpadding="0" cellspacing="0"> <tr> <td height="18"><strong>更新缩略图:</strong>(本插件由网友“<a href='mailto:smpluckly@gmail.com'><u>落梦天蝎[beluckly]</u></a>”编写)</td> </tr> </table></td> </tr> <tr> <td width="108" valign="top" bgcolor="#FFFFFF">选择栏目:</td> <td width="377" valign="top" bgcolor="#FFFFFF"> <?php $opall = 1; echo GetTypeidSel('form1','typeid','selbt1',0,0,'请选择...','../'); ?> </td> </tr> <tr> <td height="20" valign="top" bgcolor="#FFFFFF">起始ID:</td> <td height="20" valign="top" bgcolor="#FFFFFF"><input name="startid" type="text" id="startid" size="10"> (空或0表示从头开始)</td> </tr> <tr> <td height="20" valign="top" bgcolor="#FFFFFF">结束ID:</td> <td height="20" valign="top" bgcolor="#FFFFFF"><input name="endid" type="text" id="endid" size="10"> (空或0表示直到结束ID) </td> </tr> <tr> <td height="20" valign="top" bgcolor="#FFFFFF">生成类型:</td>
$positionname = str_replace($cfg_list_symbol,">",$tl->GetPositionName()).">"; $seltypeids = $tl->dsql->GetOne("Select ID,typename,channeltype From #@__arctype where ID='$cid' ",MYSQL_ASSOC); } else if($channelid>0){ $row = $tl->dsql->GetOne(" Select typename From #@__channeltype where ID='$channelid' "); $positionname = '所有'.$row[0].">"; }else{ $positionname = ''; } //--------------------------------------- $opall=1; if(is_array($seltypeids)){ $optionarr = GetTypeidSel('form3','cid','selbt1',0,$seltypeids['ID'],$seltypeids['typename']); }else{ $optionarr = GetTypeidSel('form3','cid','selbt1',0,0,'请选择栏目...'); } if($channelid==0) $whereSql = " where a.channelid > 0 "; else $whereSql = " where a.channelid = '$channelid' "; if($ismember==1) $whereSql .= " And a.mid > 0 "; if(!empty($memberid)) $whereSql .= " And a.mid = '$memberid' "; else $memberid = 0; if(!empty($cids)){ $whereSql .= " And a.typeid in ($cids) "; }
if(!isset($channelid)) $channelid = 0; if(!isset($arcrank)) $arcrank = ""; $typeid = $cid; $tl = new TypeLink($cid); $seltypeids = 0; if(!empty($cid)){ $seltypeids = $tl->dsql->GetOne("Select ID,typename,channeltype From #@__arctype where ID='$cid' "); } $opall=1; if(is_array($seltypeids)){ $optionarr = GetTypeidSel('form3','cid','selbt1',$channelid,$seltypeids['ID'],$seltypeids['typename']); }else{ $optionarr = GetTypeidSel('form3','cid','selbt1',$channelid,0,'请选择...'); } if(empty($channelid)) $whereSql = " where arc.channelid != -1 "; else $whereSql = " where arc.channelid = '$channelid' "; if($keyword!=""){ $whereSql .= " And (arc.title like '%$keyword%' Or arc.keywords like '%$keyword%' Or arc.addinfos like '%$keyword%') "; } if($typeid!=0){ $tids = $tl->GetSunID($typeid,'',$channelid,true); $whereSql .= " And arc.typeid in($tids) "; } $query = "