<form id="validateForm" name="validateForm" method="post" action="<?php echo site_url("admin/product/edit/type/" . $type); ?> "> <tr> <th align="right" width="80">产品名称</th> <td colspan="3"><input name="subject" type="text" id="subject" value="<?php echo $product->getSubject(); ?> " size="60" class="required"/> <em>*</em></td> </tr> <tr> <th align="right" width="80">所属分类</th> <td><?php echo getSelectForCategory($type, 'category_id', $product->getCategoryId(), 'class="required"'); ?> <em>*</em></td> <th>产品价格</th> <td><input name="price" type="text" id="price" value="<?php echo $product->getPrice(); ?> " size="10" class="required"/></td> </tr> <tr> <th align="right" width="80">产品描述</th> <td colspan="3"><textarea name="brief" cols="60" rows="5" id="brief" class="required"><?php echo $product->getBrief(); ?> </textarea> <em>*</em></td>
<form id="validateForm" name="validateForm" method="post" action="<?php echo site_url("admin/article/edit/type/" . $type); ?> "> <tr> <th align="right" width="80">文章标题</th> <td><input name="subject" type="text" id="subject" value="<?php echo $article->getSubject(); ?> " size="60" class="required"/> <em>*</em></td> </tr> <tr> <th align="right" width="80">所属分类</th> <td><?php echo getSelectForCategory($type, 'category_id', $article->getCategoryId(), 'class="required"'); ?> <em>*</em></td> </tr> <tr> <th align="right" width="80">文章描述</th> <td><textarea name="brief" cols="60" rows="5" id="brief" class="required"><?php echo $article->getBrief(); ?> </textarea> <em>*</em></td> </tr> <tr> <th align="right">页面属性</th> <td><label> <input name="is_top" type="checkbox" id="is_top" value="1" <?php