<!--#include file="../../inc/config.asp"-->
<!--#include file="../../inc/conn.asp"-->
<!-- #include file="../inc/Session.asp" -->
<HTML><HEAD><TITLE>图文扩展标签</TITLE>
<META content="text/html; charset=gb2312" http-equiv=Content-Type>
<SCRIPT event=onclick for=Ok language=JavaScript>
	var ret='e_GetMultiImgNews('+classid.value+',"'+containwidth.value+'",'+lineheight.value+','+imgBorderW.value+','+imgBorderH.value+',"'+tablename.value+'","'+orders.value+'",'+maxChars.value+','+imgW.value+','+imgH.value+',"'+linkStyle.value+'",'+rowsNum.value+','+colsNum.value+','+ifChilds.value+',"';
	ret+=k_top1.checked+'","';
	ret+=k_totop.checked+'","';
	ret+=k_tohot.checked+'","';
	ret+=k_recommend.checked+'","';
	ret+=k_imgnews.checked;
	ret+='")';
	window.returnValue=ret;
  window.close();
</SCRIPT>
<META content="MSHTML 5.00.2920.0" name=GENERATOR>
<link href="cs.css" rel="stylesheet" type="text/css">
</HEAD>
<BODY bgColor=menu>
<fieldset style="text-align:center; ">
<legend>图文扩展标签</legend>
<form name="form1">
<table width="400" border="0" align="center" cellpadding="1" cellspacing="5">
  <tr>
    <td>类别：</td>
    <td>
	<select name="classid" id="classid" size="1">
      <option>点击右边＋号选择栏目</option>
    </select>
	 &nbsp;&nbsp;<a href="#" onClick="addParentOption();">＋</a></td>
  </tr>
  <tr>
    <td width="112">容器宽度：</td>
    <td width="269"><INPUT name="containwidth" id="containwidth" value="100%" size=7>      </td>
  </tr>
  <tr>
    <td>行高：</td>
    <td><INPUT name="lineheight" id="lineheight" value="20" size=7></td>
  </tr>
  <tr>
    <td>图片边线宽度：</td>
    <td><INPUT name="imgBorderW" id="imgBorderW" value="160" size=7>
      默认:10</td>
  </tr>  
  <tr>
    <td>图片边线高度：</td>
    <td><INPUT name="imgBorderH" id="imgBorderH" value="160" size=7>
      默认:10</td>
  </tr>
  <tr>
    <td>表名：</td>
    <td><INPUT name="tablename" id="tablename" value="news" size=7>
      默认:存放文章的表</td>
  </tr>

  <tr>
    <td>排序：</td>
    <td>
	<select name="orders" id="orders" size="1">
	  <option value="id" selected>id</option>
        <option value="hits">点击</option>
		<option value="moditime">日期</option>		
      </select>	
      默认:根据ID排序</td>
  </tr>
  <tr>
    <td>文字个数：</td>
    <td><INPUT name="maxChars" id="maxChars" size=7 value="20">
      默认:(20个字符)</td>
  </tr>
  <tr>
    <td width="112">图片宽度：</td>
    <td width="269"><INPUT name="imgW" id="imgW" value="120" size=7>
    默认：0自动按照图片自有的大小</td>
  </tr>
  <tr>
    <td>图片高度：</td>
    <td><INPUT name="imgH" id="imgH" value="150" size=7>
    默认：0自动按照图片自有的大小</td>
  </tr>
  <tr>
    <td>链接样式：</td>
    <td><INPUT name="linkStyle" id="linkStyle" size=7 value=""></td>
  </tr>
  <tr>
    <td>新闻属性：</td>
    <td>
    	<input type="checkbox" value="1" name="k_top1">头条
		<input type="checkbox" value="1" name="k_totop">置顶
		<input type="checkbox" value="1" name="k_tohot">热点
		<input type="checkbox" value="1" name="k_recommend">推荐
		<input type="checkbox" value="1" name="k_imgnews">图文  
	</td>
  </tr>  
  <tr>
    <td>行数：</td>
    <td><INPUT name="rowsNum" id="rowsNum" value="2" size=7>
      默认:2</td>
  </tr>
  <tr>
    <td>列数：</td>
    <td><INPUT name="colsNum" id="colsNum" value="3" size=7>
      默认:3</td>
  </tr>
  <tr>
    <td>是否调用子类：</td>
    <td><select name="ifChilds" id="ifChilds" size="1">
	  <option value="0" selected>否</option>
	  <option value="1">是</option>
	  </select>
	  </td>
  </tr>
  <tr>
    <td colspan="2">
      <div align="center">
        <input  id="Ok" type="button" value="确定">
        &nbsp;
        <input type="button"  onclick="window.close();" value="取消">
    &nbsp;</div></td>
  </tr>
</table>
</form>
</fieldset>
  </CENTER></DIV>
  <div align="center"></div>
</BODY>
<script>
function addParentOption()
{
	var arr = showModalDialog("../tree_container.asp", "", "dialogWidth:410px; dialogHeight:420px; status:0");
  	if (arr != null){  
   		document.form1.classid.options[0]=new Option(arr[1],arr[0]);
  	}
	
}
</script>
</HTML>
<%
call connclose()
%>