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/formguide/templates/ |
<?php defined('IN_ADMIN') or exit('No permission resources.'); $show_header = 1; include $this->admin_tpl('header', 'admin'); ?> <form method="post" action="?m=formguide&c=formguide&a=setting" id="myform" name="myform"> <table width="100%" cellpadding="0" cellspacing="1" class="table_form"> <tr> <th width="130"><?php echo L('allows_more_ip')?>:</th> <td><input type='radio' name='setting[allowmultisubmit]' value='1' <?php if($allowmultisubmit == 1) {?>checked<?php }?>> <?php echo L('yes')?> <input type='radio' name='setting[allowmultisubmit]' value='0' <?php if($allowmultisubmit == 0) {?>checked<?php }?>> <?php echo L('no')?></td> </tr> <tr id="setting" style="<?php if ($allowmultisubmit == 0) {?>dispaly:none<?php }?>"> <th width="130"><?php echo L('interval')?>:</th> <td><input type="text" value="<?php echo $interval?>" name="setting[interval]" size="10" class="input-text"> <?php echo L('minute')?></td> </tr> <tr> <th><?php echo L('allowunreg')?>:</th> <td><input type='radio' name='setting[allowunreg]' value='1' <?php if($allowunreg == 1) {?>checked<?php }?>> <?php echo L('yes')?> <input type='radio' name='setting[allowunreg]' value='0' <?php if($allowunreg == 0) {?>checked<?php }?>> <?php echo L('no')?></td> </tr> <tr> <th><?php echo L('mailmessage')?>:</th> <td><textarea cols="50" rows="6" id="mailmessage" name="setting[mailmessage]"><?php echo $mailmessage?></textarea></td> </tr> <tr style="display:none"> <td> </td> <td><input type="submit" name="dosubmit" id="dosubmit" class="dialog" value=" <?php echo L('ok')?> "> <input type="reset" class="dialog" value=" <?php echo L('clear')?> "></td> </tr> </table> </form> </body> </html> <script type="text/javascript"> $("input:radio[name='setting[allowmultisubmit]']").click(function (){ if($("input:radio[name='setting[allowmultisubmit]'][checked]").val()==0) { $("#setting").hide(); } else if($("input:radio[name='setting[allowmultisubmit]'][checked]").val()==1) { $("#setting").show(); } }); </script>