<input name="type_name[]" type="hidden" value="<?php 
        echo $_smarty_tpl->getVariable('nB')->value['type_name'];
        ?>
" />
									<input name="content[]" type="text" value="<?php 
        echo $_smarty_tpl->getVariable('nB')->value['content'];
        ?>
" onkeyup="set_mobile(this)" />
									<span <?php 
        if ($_smarty_tpl->getVariable('nB')->value['type'] != 'mobile') {
            ?>
style="display:none"<?php 
        }
        ?>
><input name="is_default" <?php 
        echo smarty_function_checked(array('val' => $_smarty_tpl->getVariable('nB')->value['is_default'], 'str' => 'Y'), $_smarty_tpl->smarty, $_smarty_tpl);
        ?>
 type="radio" value="<?php 
        echo $_smarty_tpl->getVariable('nB')->value['content'];
        ?>
" style="width:auto" /> 接收 手机短信 号码</span>
									<a href="javascript:;" onclick="Del_NAB('NAB' , this)">删除</a>
								</li>
								<?php 
    }
}
?>
							</ul>
						</td>
					</tr>
					<tr><th colspan="2" align="center"><input type="submit" value=" 提 交 " /> <input type="reset" value=" 重 填 " /></th></tr>
						<td>
							<input name="sex" type="radio" value="privacy" <?php 
if ($_smarty_tpl->getVariable('get')->value['action'] == 'add') {
    ?>
checked="checked"<?php 
} else {
    echo smarty_function_checked(array('val' => $_smarty_tpl->getVariable('edit')->value['sex'], 'str' => 'privacy'), $_smarty_tpl->smarty, $_smarty_tpl);
}
?>
 /> 保密
							<input name="sex" type="radio" value="man" <?php 
echo smarty_function_checked(array('val' => $_smarty_tpl->getVariable('edit')->value['sex'], 'str' => 'man'), $_smarty_tpl->smarty, $_smarty_tpl);
?>
 /> 男
							<input name="sex" type="radio" value="woman" <?php 
echo smarty_function_checked(array('val' => $_smarty_tpl->getVariable('edit')->value['sex'], 'str' => 'woman'), $_smarty_tpl->smarty, $_smarty_tpl);
?>
 /> 女
						</td>
					</tr>
					<tr>
						<td align="right">备注</td>
						<td><textarea name="remark" style="width:80%; height:120px"><?php 
echo smarty_function_br_to_null(array('str' => $_smarty_tpl->getVariable('edit')->value['remark']), $_smarty_tpl->smarty, $_smarty_tpl);
?>
</textarea></td>
					</tr>
					<tr><th colspan="2" align="center"><input type="submit" value=" 提 交 " /> <input type="reset" value=" 重 填 " /></th></tr>
				</table>
			</form>
		</div>
echo smarty_modifier_default($_smarty_tpl->getVariable('edit')->value['rebate'], 0);
?>
" maxlength="5" onfocus="sprintf('%.2f' , this , true)" /> %</td>
					</tr>
					<tr>
						<td align="right">促销价</td>
						<td>
							<input name="is_offer" type="radio" value="Y" <?php 
if ($_smarty_tpl->getVariable('get')->value['action'] == 'add' || $_smarty_tpl->getVariable('edit')->value['is_offer'] == 'Y') {
    ?>
checked="checked"<?php 
}
?>
 /> 支持
							<input name="is_offer" type="radio" value="N" <?php 
echo smarty_function_checked(array('val' => $_smarty_tpl->getVariable('edit')->value['is_offer'], 'str' => 'N'), $_smarty_tpl->smarty, $_smarty_tpl);
?>
 /> 不支持
						</td>
					</tr>
					<tr>
						<td align="right" class="Need">短信 / 每条</td>
						<td><input type="text" name="sms_price" class="taxis" value="<?php 
echo smarty_modifier_default($_smarty_tpl->getVariable('edit')->value['sms_price'], 0.1);
?>
" maxlength="4" onfocus="sprintf('%.2f' , this)" /> 元</td>
					</tr>
					<tr>
						<td align="right">排序</td>
						<td>
							<input name="taxis" type="text" class="taxis" value="<?php 
            foreach ($_from as $_smarty_tpl->tpl_vars['aon']->key => $_smarty_tpl->tpl_vars['aon']->value) {
                ?>
									<label for="<?php 
                echo $_smarty_tpl->getVariable('aon')->value['id'];
                ?>
"><input name="purview[]" type="checkbox" value="<?php 
                echo $_smarty_tpl->getVariable('aon')->value['id'];
                ?>
" id="<?php 
                echo $_smarty_tpl->getVariable('aon')->value['id'];
                ?>
" title="<?php 
                echo $_smarty_tpl->getVariable('aon')->value['action'];
                ?>
" onclick="select_ck(this)" <?php 
                echo smarty_function_checked(array('val' => $_smarty_tpl->getVariable('aon')->value['id'], 'str' => $_smarty_tpl->getVariable('edit')->value['purview']), $_smarty_tpl->smarty, $_smarty_tpl);
                ?>
 /> <?php 
                echo $_smarty_tpl->getVariable('aon')->value['action_show'];
                ?>
</label>
									<?php 
            }
        }
        ?>
								</li>
								<?php 
    }
}
?>
							</ul>
				<?php 
    }
}
?>
				</select>
			</td>
		</tr>
		<tr>
			<td align="right" class="Need">快递类型</td>
			<td>
				<label for="ems"><input type="radio" name="express_type" value="EMS" id="ems" <?php 
echo smarty_function_checked(array('val' => $_smarty_tpl->getVariable('orders')->value['express_type'], 'str' => 'EMS'), $_smarty_tpl->smarty, $_smarty_tpl);
?>
 /> EMS</label>
				<label for="shunfeng"><input type="radio" name="express_type" value="顺丰" id="shunfeng" <?php 
echo smarty_function_checked(array('val' => $_smarty_tpl->getVariable('orders')->value['express_type'], 'str' => '顺丰'), $_smarty_tpl->smarty, $_smarty_tpl);
?>
 /> 顺丰</label>
			</td>
			<td align="right" class="Need">快递单号</td>
			<td><input name="express_ID" type="text" style="width:120px" value="<?php 
echo $_smarty_tpl->getVariable('orders')->value['express_ID'];
?>
" /></td>
		</tr>
		<tr><th colspan="4" align="center"><input type="submit" value=" 确 认 " /></th></tr>
		<tr>
			<td colspan="4">
				<table width="100%" border="0" cellspacing="1" cellpadding="0" id="tab_show" style="margin:0.5em 0 0 0">
					<tr>
						<th>产品编号</th>
    }
    if (count($_from) > 0) {
        foreach ($_from as $_smarty_tpl->tpl_vars['ts']->key => $_smarty_tpl->tpl_vars['ts']->value) {
            $_smarty_tpl->tpl_vars['sy']->value = $_smarty_tpl->tpl_vars['ts']->key;
            ?>
							<label for="proSource_<?php 
            echo $_smarty_tpl->getVariable('sy')->value;
            ?>
"><input name="proSource[]" type="checkbox" id="proSource_<?php 
            echo $_smarty_tpl->getVariable('sy')->value;
            ?>
" value="<?php 
            echo $_smarty_tpl->getVariable('sy')->value;
            ?>
" <?php 
            echo smarty_function_checked(array('val' => $_smarty_tpl->getVariable('sy')->value, 'str' => $_smarty_tpl->getVariable('get')->value['proSource']), $_smarty_tpl->smarty, $_smarty_tpl);
            ?>
 /> <?php 
            echo $_smarty_tpl->getVariable('ts')->value;
            ?>
</label>
							<?php 
        }
    }
    ?>
						</td>
					</tr>
					<tr>
						<td colspan="4" align="right">促销</td>
						<td colspan="6" class="promotion">
							<ul style="display:block">
            ?>
]" type="hidden" value="<?php 
            echo smarty_modifier_default($_smarty_tpl->getVariable('pso')->value['is_arrival'], 'N');
            ?>
" />
							<label for="de_<?php 
            echo $_smarty_tpl->getVariable('pso')->value['id'];
            ?>
"><input name="is_arrival[<?php 
            echo $_smarty_tpl->getVariable('pso')->value['id'];
            ?>
]" id="de_<?php 
            echo $_smarty_tpl->getVariable('pso')->value['id'];
            ?>
" <?php 
            echo smarty_function_checked(array('val' => $_smarty_tpl->getVariable('pso')->value['is_arrival'], 'str' => 'Y'), $_smarty_tpl->smarty, $_smarty_tpl);
            ?>
 type="checkbox" value="Y" /> 到货</label>
						</td>
						<?php 
        } else {
            ?>
						<td></td>
						<td></td>
						<td>取消</td>
						<td></td>
						<?php 
        }
        ?>
						<td class="action"><a href="javascript:;" onclick="show_detail(this , '<?php 
        echo $_smarty_tpl->getVariable('pso')->value['id'];