<?xml version="1.0" encoding="gb2312"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 
xmlns:rs="urn:schemas-microsoft-com:rowset"
xmlns:z="#RowsetSchema"> 
	<!--
	Copyright (C) 2004,2005 LaoMiao. All rights reserved.
	Web: http://www.shuijingjing.com/
	Email: laomiao@shuijingjing.com
	-->
	<xsl:output method="html" indent="yes" version="4.0"/>
	<xsl:variable name="AvatarTypeCount" select="count(/Plus_Avatar/AvatarTypeList/AvatarType) - 1"/>
	<xsl:template xmlns:xsl="http://www.w3.org/1999/XSL/Transform" match="/">
	<script type="text/javascript" language="javascript" src="Dv_Plus/Avatar/Plus_Avatar.js"></script>
	<script type="text/javascript" language="javascript">
		var SearchURL = '';
		var CurShopID = <xsl:value-of select="/Plus_Avatar/CurrentInfo/@CurShopID"/>;
		var CurSeqNo = 2;
	</script>
	<table cellpadding="2" cellspacing="1" align="center" class="tableborder1" style="table-layout:fixed;word-break:break-all">
		<tr id="MenuRow" height="25">
			<xsl:for-each select="/Plus_Avatar/AvatarTypeList/AvatarType">
				<xsl:if test="@TypeName != ''">
					<th id="tabletitlelink"><font onmouseover="ShowSubMenu('{@SubTypeIDList}','{@SubTypeNameList}','{/Plus_Avatar/CurrentInfo/@CurMySex}','{/Plus_Avatar/CurrentInfo/@CurSex}')" style="cursor:pointer" onclick="RefreshAvatarFrame('shopid={@FirstSubTypeID}&amp;mysex={/Plus_Avatar/CurrentInfo/@CurMySex}&amp;sex={/Plus_Avatar/CurrentInfo/@CurSex}')"><xsl:value-of select="@TypeName"/></font></th>
				</xsl:if>
			</xsl:for-each>
		</tr>
		<tr height="40">
			<td id="AvatarSubType" align="center" valign="middle" colspan="{$AvatarTypeCount}" class="tablebody1"></td>
		</tr>
	</table>
	<xsl:if test="/Plus_Avatar/CurrentInfo/@CurTypeID != '97' and /Plus_Avatar/CurrentInfo/@CurTypeID != '94'">
	<table cellpadding="2" cellspacing="1" align="center" class="tableborder1" id="SearchTable" style="display:none;table-layout:fixed;word-break:break-all">
		<tr height="25">
			<th valign="middle" id="tabletitlelink">搜索形象商品</th>
		</tr>
		<form id="AvatarSearch">
		<tr height="30">
			<td align="center" valign="middle" width="100%" class="tablebody1">商品名称：<input type="text" name="search_str" size="10" maxlength="20"/><xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text><select name="selgender"><option value="0" selected="true">性别不限</option><option value="1">男</option><option value="2">女</option><option value="3">男女适宜</option></select><xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text><input type="text" name="selPrice_L" size="5" maxlength="5"/>≤价格≤<input type="text" name="selPrice_H" size="5" maxlength="5"/><xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text><input type="text" name="selPeriod_L" size="5" maxlength="5"/>≤有效期≤<input type="text" name="selPeriod_H" size="5" maxlength="5"/><xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text><select name="selflag"><option value="0" selected="true">限购者不限</option><option value="1">所有会员</option><option value="2">版主以上</option><option value="3">超级版主</option><option value="4">管理员</option></select><xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text><input type="submit" name="submit" value="开始搜索" onclick="return SubmitAvatarSearch()"/></td>
		</tr>
		</form>
	</table>
	</xsl:if>
	<xsl:if test="/Plus_Avatar/CurrentInfo/@CurShopID != '597' or /Plus_Avatar/CurrentInfo/@CurShopID != '697'">
	<table cellpadding="2" cellspacing="1" align="center" class="tableborder1" id="SearchTable" style="display:none;table-layout:fixed;word-break:break-all">
		<tr height="25">
			<th valign="middle" id="tabletitlelink">搜索虚拟相簿</th>
		</tr>
		<form id="PhotoSearch">
		<tr height="30">
			<td align="center" valign="middle" width="100%" class="tablebody1">发起人：<input type="text" name="search_Sponsor" size="10" maxlength="20"/><xsl:text disable-output-escaping="yes">&amp;nbsp;&amp;nbsp;</xsl:text><input type="text" name="selUserCount_L" size="5" maxlength="5"/>≤参与人数≤<input type="text" name="selUserCount_H" size="5" maxlength="5"/><xsl:text disable-output-escaping="yes">&amp;nbsp;&amp;nbsp;</xsl:text>生成图片<select name="selURL"><option value="0" selected="true">不限</option><option value="1">已生成</option><option value="2">未生成</option></select><xsl:text disable-output-escaping="yes">&amp;nbsp;&amp;nbsp;</xsl:text>上传背景<select name="selUpload"><option value="0" selected="true">不限</option><option value="1">已上传</option><option value="2">未上传</option></select><xsl:text disable-output-escaping="yes">&amp;nbsp;&amp;nbsp;</xsl:text><input type="submit" name="submit" value="开始搜索" onclick="return SubmitPhotoSearch()"/></td>
		</tr>
		</form>
	</table>
	</xsl:if>
	<br/>
	</xsl:template>
</xsl:stylesheet>