【php开源代码栏目提醒】:网学会员php开源代码为您提供c_87a45e032e660e42180ef7cfde6c7357.php参考,解决您在c_87a45e032e660e42180ef7cfde6c7357.php学习中工作中的难题,参考学习。
<link href="/Style/admin.css" rel="stylesheet" type="text/css">
<script language='javascript' src='/Js/Base.js'></script>
<p class="caption">显示参数设置</p>
<form action="" method="post" name="frm_set" id="frm_set" onSubmit="return check_data()">
<table width="70%" border="0" align="center">
<tr>
<th>类别:<?php echo $this->_vars['info']['F_CLASS_NAME']; ?>
</th>
</tr>
<tr>
<td bgcolor="#eeeeee"><table border="0" align="center">
<tr>
<td height="23" class="stress">类别图片</td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td height="23" align="right">预览图片</td>
<td><input name="img_default" type="checkbox" id="img_default" onchange="img_default_onchange()" value="1"
<?php if ($this->_vars['info']['F_CLASS_IMG_DEFAULT']): ?>
Checked
<?php endif; ?> />默认 </td>
<td>宽度
<input name="img_width" type="text" id="img_width" value="<?php echo $this->_vars['info']['F_CLASS_IMG_WIDTH']; ?>
" size="10"
<?php if ($this->_vars['info']['F_CLASS_IMG_DEFAULT']): ?>
disabled
<?php endif; ?> />
像素</td>
<td>高度
<input name="img_height" type="text" id="img_height" value="<?php echo $this->_vars['info']['F_CLASS_IMG_HEIGHT']; ?>
" size="10"
<?php if ($this->_vars['info']['F_CLASS_IMG_DEFAULT']): ?>
disabled
<?php endif; ?> />
像素</td>
</tr>
<tr>
<td height="23" class="stress">产品图片</td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td height="23" align="right">预览图片</td>
<td><input name="small_default" type="checkbox" id="small_default" onChange="small_default_onchange()" value="1"
<?php if ($this->_vars['info']['F_CLASS_SMALL_IMG_DEFAULT']): ?>
checked
<?php endif; ?> />
默认 </td>
<td>宽度
<input name="small_width" type="text" id="small_width" value="<?php echo $this->_vars['info']['F_CLASS_SMALL_IMG_WIDTH']; ?>
" size="10"
<?php if ($this->_vars['info']['F_CLASS_SMALL_IMG_DEFAULT']): ?>
disabled
<?php endif; ?> />像素 </td>
<td>高度
<input name="small_height" type="text" id="small_height" value="<?php echo $this->_vars['info']['F_CLASS_SMALL_IMG_HEIGHT']; ?>
" size="10"
<?php if ($this->_vars['info']['F_CLASS_SMALL_IMG_DEFAULT']): ?>
disabled
<?php endif; ?> /> 像素</td>
</tr>
<tr>
<td height="23" align="right">大图片</td>
<td><input name="big_default" type="checkbox" id="big_default" onChange="big_default_onchange()" value="1"
<?php if ($this->_vars['info']['F_CLASS_BIG_IMG_DEFAULT']): ?>
checked
<?php endif; ?> />默认 </td>
<td>宽度
<input name="big_width" type="text" id="big_width" value="<?php echo $this->_vars['info']['F_CLASS_BIG_IMG_WIDTH']; ?>
" size="10"
<?php if ($this->_vars['info']['F_CLASS_BIG_IMG_DEFAULT']): ?>
disabled
<?php endif; ?> />像素 </td>
<td>高度
<input name="big_height" type="text" id="big_height" value="<?php echo $this->_vars['info']['F_CLASS_BIG_IMG_HEIGHT']; ?>
" size="10"
<?php if ($this->_vars['info']['F_CLASS_BIG_IMG_DEFAULT']): ?>
disabled
<?php endif; ?>>像素</td>
</tr>
<tr>
<td height="23" class="stress">每页产品数</td>
<td height="23"> <input name="pagesize_default" type="checkbox" id="pagesize_default" onChange="pagesize_default_onchange()" value="1"
<?php if ($this->_vars['info']['F_CLASS_PAGESIZE_DEFAULT']): ?>
checked
<?php endif; ?> />默认 </td>
<td height="23"> 每页
<input name="pagesize" type="text" id="pagesize" value="<?php echo $this->_vars['info']['F_CLASS_PAGESIZE']; ?>
" size="10"
<?php if ($this->_vars['info']['F_CLASS_PAGESIZE_DEFAULT']): ?>
disabled
<?php endif; ?> />个 </td>
<td height="23"> </td>
</tr>
<tr>
<td height="23" class="stress">每行产品数</td>
<td height="23"> <input name="perline_default" type="checkbox" id="perline_default" onChange="perline_default_onchange()" value="1"
<?php if ($this->_vars['info']['F_CLASS_PERLINE_DEFAULT']): ?>
checked
<?php endif; ?> />默认 </td>
<td height="23"> 每行
<input name="perline" type="text" id="perline" value="<?php echo $this->_vars['info']['F_CLASS_PERLINE']; ?>
" size="10"
<?php if ($this->_vars['info']['F_CLASS_PERLINE_DEFAULT']): ?>
disabled
<?php endif; ?> />个 </td>
<td height="23"> </td>
</tr>
<tr>
<td height="1" colspan="4" bgcolor="#000000"></td>
</tr>
<tr>
<td height="23" colspan="4" class="stress">说明:1、选择默认时,相应设置无效; <br>
2、自定义设置时,输入应大于0;<br>
2、每页产品数应该是每行产品数的倍数。</td>
</tr>
</table></td>
</tr>
<tr>
<th><input type="submit" name="Submit" value="提交">
<input name="cmdBack" type="button" id="cmdBack" value="返回" onclick="javascript:history.back()">
</th>
</tr>
</table>
</form>
<script language="
JavaScript1.2">
/**
* 功能:判断输入值是否为数字
*/
function isNumberFloat(input