www.gusucode.com > Destoon B2B仿淘宝电子商务网站 UTF8 v6.0源码程序 > destoon/admin/template/fields.tpl.php
<?php defined('DT_ADMIN') or exit('Access Denied'); include tpl('header'); show_menu($menus); ?> <form method="post"> <div class="tt">管理字段 [<?php echo $tb;?>]</div> <table cellpadding="2" cellspacing="1" class="tb"> <tr> <th width="25"><input type="checkbox" onclick="checkall(this.form);"/></th> <th>排序</th> <th>字段</th> <th>字段名称</th> <th>字段属性</th> <th>表单类型</th> <th>表单name</th> <th>表单调用</th> <th>标签调用</th> <th>内容调用</th> <th>显示</th> <th>前台</th> <th width="50">操作</th> </tr> <?php foreach($lists as $k=>$v) {?> <tr onmouseover="this.className='on';" onmouseout="this.className='';" align="center"> <td><input type="checkbox" name="itemid[]" value="<?php echo $v['itemid'];?>"/></td> <td><input name="listorder[<?php echo $v['itemid'];?>]" type="text" size="2" value="<?php echo $v['listorder'];?>"/></td> <td><?php echo $v['name'];?></td> <td><?php echo $v['title'];?></td> <td><?php echo $v['type'];?><?php echo $v['length'] ? '('.$v['length'].')' : '';?></td> <td><?php echo $v['html'];?></td> <td>post_fields[<?php echo $v['name'];?>]</td> <td>{fields_show(<?php echo $v['itemid'];?>)}</td> <td>{$t[<?php echo $v['name'];?>]}</td> <td>{$<?php echo $v['name'];?>}</td> <td><?php echo $v['display'] ? '是' : '否';?></td> <td><?php echo $v['front'] ? '是' : '否';?></td> <td> <a href="?moduleid=<?php echo $moduleid;?>&file=<?php echo $file;?>&tb=<?php echo $tb;?>&action=edit&itemid=<?php echo $v['itemid'];?>"><img src="admin/image/edit.png" width="16" height="16" title="修改" alt=""/></a> <a href="?moduleid=<?php echo $moduleid;?>&file=<?php echo $file;?>&tb=<?php echo $tb;?>&action=delete&itemid=<?php echo $v['itemid'];?>" onclick="return _delete();"><img src="admin/image/delete.png" width="16" height="16" title="删除" alt=""/></a> </td> </tr> <?php }?> </table> <div class="btns"> <input type="submit" value="更新排序" class="btn" onclick="this.form.action='?moduleid=<?php echo $moduleid;?>&file=<?php echo $file;?>&tb=<?php echo $tb;?>&action=order';"/> </div> </form> <div class="pages"><?php echo $pages;?></div> <br/> <script type="text/javascript">Menuon(1);</script> <?php include tpl('footer');?>