<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
		<link rel='stylesheet' type='text/css' href='admin/style/style.css' />
		<title>聚合首页后台管理</title>
		<script>
		// 根据鼠标或焦点事件，设置文本框和按钮样式,此函数会与样式相关
function IEvent(sType,oInput)
{
	var onStyle,offStyle,eleType;
	eleType = oInput.type;
	// 设置关联样式
	if("button" == eleType || "submit" == eleType || "reset" == eleType || "textarea" == oInput.tagName)
	{
		onStyle = "button_on";
		offStyle = "button_off";
	}
	else
	{
		onStyle = "input_on";
		offStyle = "input_off";
	}
	// 根据事件选择样式
	switch (sType)
	{
		case "focus" :
			oInput.isfocus = true;
		case "mouseover" :
			oInput.className = onStyle;
			break;
		case "blur" :
			oInput.isfocus = false;
		case "mouseout" :
			if(!oInput.isfocus)
			{
				oInput.className = offStyle;
			}
			break;
	}
}
		</script>
	</head>
	<body>
		<table class="maintable" cellpadding="0" cellspacing="1" border="0">
			<tr>
				<th colspan="2">
					聚合首页后台管理</th>
			</tr>
			<tr>
				<td valign="top" width="30%">1、圈子相关<a href="quan.aspx" target="_blank">quan.aspx</a>
					<blockquote>
						<p><br />
							<a href="admin/admin_group_post.aspx" target="_self"><strong>圈子推荐后台</strong></a><br />
							<a href="?modle=9"><strong>圈子聚合首页热门推荐</strong></a><br />
							<a href="quan_admin_type.aspx"><strong>圈子分类管理</strong></a><br />
						</p>
					</blockquote>
				</td>
				<td valign="top">
					<h4>welcome...</h4>
					<!--{if(Fetch.Get("modle")=="9")}-->
					<form method="post" action="" style="margin:0px;padding:0px" enctype="multipart/form-data">
						<div style="padding:0px 10px 0px 10px">
							<table width="100%" border="0" cellspacing="4" cellpadding="4">
								<tr>
									<td width="20%" valign="top">顶部链接模块</td>
									<td><textarea name="desc_top1" onFocus="IEvent('focus',this);" onBlur="IEvent('blur',this)" onMouseOver="IEvent('mouseover',this)"
											onMouseOut="IEvent('mouseout',this)" cols="50" rows="10" id="desc_top1"><%=quan_items_obj.desc_top1%></textarea></td>
								</tr>
								<tr>
									<td valign="top">添加附加链接1</td>
									<td><textarea name="links_2" onFocus="IEvent('focus',this);" onBlur="IEvent('blur',this)" onMouseOver="IEvent('mouseover',this)"
											onMouseOut="IEvent('mouseout',this)" cols="50" rows="10" id="links_2"><%=quan_items_obj.links_2%></textarea>
										<a href="javascript:document.getElementById('autopage').value='';void(window.open('hd_getquanbestpost.aspx?action=links_2'));"
											target="frmright">
											<br />
											选择模块链接</a></td>
								</tr>
								<tr>
									<td valign="top">添加附加链接2</td>
									<td><textarea name="links_3" onFocus="IEvent('focus',this);" onBlur="IEvent('blur',this)" onMouseOver="IEvent('mouseover',this)"
											onMouseOut="IEvent('mouseout',this)" cols="50" rows="10" id="links_3"><%=quan_items_obj.links_3%></textarea>
										<a href="javascript:document.getElementById('autopage').value='';void(window.open('hd_getquanbestpost.aspx?action=links_3'));"
											target="frmright">
											<br />
											选择模块链接</a></td>
								</tr>
								<tr>
									<td>模块图标</td>
									<td>
										<input name="uppic_1" type="file" onFocus="IEvent('focus',this);" onBlur="IEvent('blur',this)"
											onMouseOver="IEvent('mouseover',this)" onMouseOut="IEvent('mouseout',this)" id="uppic_1" />
										<a href="<%=Dvbbs.Utils.Config.uploadfiles%><%=quan_items_obj.uppic_1%>" target=_blank>
											<img border=0 src="<%=quan_items_obj.uppic_1==""?"templates/"+Fetch.CurrentTemplateName+"/images/none.gif":Dvbbs.Utils.Config.uploadfiles+quan_items_obj.uppic_1%>" width=25 height=25 /></a></td>
								</tr>
								<tr>
									<td>链接</td>
									<td><input name="uppic_1_link" onFocus="IEvent('focus',this);" onBlur="IEvent('blur',this)"	onMouseOver="IEvent('mouseover',this)" onMouseOut="IEvent('mouseout',this)"  type="text" id="uppic_1_link" value="<%=quan_items_obj.uppic_1_link%>" /></td>
								</tr>
								<tr>
									<td>&nbsp;</td>
									<td><input type="submit" class="button_off" onmouseover="this.className='button_on'" onmouseout="this.className='button_off'"
											name="sub_module9" value=" 保 存 " />&nbsp; <input type="reset" class="button_off" onmouseover="this.className='button_on'" onmouseout="this.className='button_off'"
											name="Submit2" value=" 重 置 " /></td>
								</tr>
							</table>
						</div>
					</form>
					<!--{else}-->
					<!--{endif}--></td>
			</tr>
		</table>
		<input type="hidden" id="autopage" name="autopage" value="" />
	</body>
</html>
