Server : nginx/1.22.1 System : Linux iZwz9daxib3w3i063fw434Z 3.10.0-1127.19.1.el7.x86_64 #1 SMP Tue Aug 25 17:23:54 UTC 2020 x86_64 User : www ( 1000) PHP Version : 7.2.33 Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv Directory : /www/wwwroot/www.jkmold.com/phpcms/modules/content/fields/downfile/ |
<?php defined('IN_PHPCMS') or exit('No permission resources.'); $server_list = getcache('downservers','commons'); foreach($server_list as $_r) if (in_array($_r['siteid'],array(0,$this->siteid))) $str .='<span class="ib" style="width:25%">'.$_r['sitename'].'</span>'; ?> <fieldset> <legend>镜像服务器列表</legend> <?php echo $str?> </fieldset> <table cellpadding="2" cellspacing="1" width="98%"> <tr> <td>文件链接方式</td> <td> <input name="setting[downloadlink]" value="0" type="radio" <?php if(!$setting['downloadlink']) echo 'checked';?>> 链接到真实软件地址 <input name="setting[downloadlink]" value="1" type="radio" <?php if($setting['downloadlink']) echo 'checked';?>> 链接到跳转页面 </td> </tr> <tr> <td>文件下载方式</td> <td> <input name="setting[downloadtype]" value="0" type="radio" <?php if(!$setting['downloadtype']) echo 'checked';?>> 链接文件地址 <input name="setting[downloadtype]" value="1" type="radio" <?php if($setting['downloadtype']) echo 'checked';?>> 通过PHP读取 </td> <tr> <td>允许上传的文件类型</td> <td><input type="text" name="setting[upload_allowext]" value="<?php echo $setting['upload_allowext'];?>" size="40" class="input-text"></td> </tr> <tr> <td>是否从已上传中选择</td> <td><input type="radio" name="setting[isselectimage]" value="1" <?php if($setting['isselectimage']) echo 'checked';?>> 是 <input type="radio" name="setting[isselectimage]" value="0" <?php if(!$setting['isselectimage']) echo 'checked';?>> 否</td> </tr> <tr> <td>允许同时上传的个数</td> <td><input type="text" name="setting[upload_number]" value="<?php echo $setting['upload_number'];?>" size=3></td> </tr> </tr> </table> <SCRIPT LANGUAGE="JavaScript"> <!-- function add_mirrorsite(obj) { var name = $(obj).siblings("#addname").val(); var url = $(obj).siblings("#addurl").val(); var servers = $("#servers").text()+name+" | "+url+"\r\n"; $("#servers").text(servers); } //--> </SCRIPT>