DEDECMS文章模型整合下载功能,可判断点数,会员组等下载权限(2)

var startNum = <?php echo $newRowStart?>; function MakeUpload() { var upfield = document.getElementById('uploadfield'); var endNum = parseInt(document.form1.picnum.value) + startNum; if(endNum > 30) endNum = 30; for(startNum; startNum < endNum; startNum++) { upfield.innerHTML += "<div style='line-height:36px'>软件地址"+startNum+":<input type='text' name='softurl"+startNum+"' style='width:280px' value='' /> 服务器名称:<input type='text' name='servermsg"+startNum+"' style='width:150px' /></div>\r\n"; } } function ShowHideAddr() { document.getElementById('morelink').style.display = (document.getElementById('morelink').style.display=='block' ? 'none' : 'block'); document.getElementById('btsh3').value = (document.getElementById('morelink').style.display=='block' ? '隐藏地址' : '显示地址'); }  

4、找到

<tr> 

      <td colspan="2"><?php 

      PrintAutoFieldsEdit($cInfos['fieldset'],$addRow,'autofield'); 

      ?></td> 

    </tr> 

在其下边加入以下代码:

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:https://www.heiqu.com/a7ed53c161c91887986f31cf332a8bce.html