|
参考后台框架开发文档:
http://faq.comsenz.com/library/plug/construct/construct_adm.htm
例如下面一个表单写法:
- showformheader('gongsi&operation=valueadmin','','valueadmin','POST');
- if ($_GET['do'] == 'update') {
- showsetting('字段id','value_id',$valuev['value_id'],'text',0,0,0,'readonly="readonly"');
- }
- showsetting('中文名称','value_name',$valuev['value_name'],'text');
- showsetting('所属字段',$column_select,$valuev['column_id'],'select',0,0,'请选择字段对应的类型');
- showsetting('价格增量','value_price',$valuev['value_price'],'text');
- showsetting('描述','value_description',$valuev['value_description'],'textarea');
- showsetting('是否活动','isactive',0,'radio',0,0,'是否活动');
- showsubmit('addvalue_button','确认修改','');
- showformfooter();
复制代码
实际上用到的函数可参考(包含很多常用但没有在开发文档中表示的函数。):
source\function\function_admincp.php
|
|