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 : 5.6.40 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/member/templates/ |
<?php defined('IN_ADMIN') or exit('No permission resources.');?> <?php include $this->admin_tpl('header', 'admin');?> <script language="javascript" type="text/javascript" src="<?php echo JS_PATH?>formvalidator.js" charset="UTF-8"></script> <script language="javascript" type="text/javascript" src="<?php echo JS_PATH?>formvalidatorregex.js" charset="UTF-8"></script> <script type="text/javascript"> <!-- $(function(){ $.formValidator.initConfig({autotip:true,formid:"myform",onerror:function(msg){}}); $("#modelname").formValidator({onshow:"<?php echo L('input').L('model_name')?>",onfocus:"<?php echo L('model_name').L('between_2_to_20')?>"}).inputValidator({min:2,max:20,onerror:"<?php echo L('model_name').L('between_2_to_20')?>"}).regexValidator({regexp:"ps_username",datatype:"enum",onerror:"<?php echo L('model_name').L('format_incorrect')?>"}).ajaxValidator({ type : "get", url : "", data :"m=member&c=member_model&a=public_checkmodelname_ajax", datatype : "html", async:'false', success : function(data){ if( data == "1" ) { return true; } else { return false; } }, buttons: $("#dosubmit"), onerror : "<?php echo L('modelname_already_exist')?>", onwait : "<?php echo L('connecting_please_wait')?>" }); $("#tablename").formValidator({onshow:"<?php echo L('input').L('table_name')?>",onfocus:"<?php echo L('table_name').L('format_incorrect')?>",oncorrect:"<?php echo L('table_name').L('format_right')?>"}).inputValidator({min:2,max:8,onerror:"<?php echo L('table_name').L('between_2_to_8')?>"}).regexValidator({regexp:"letter_l",datatype:"enum",onerror:"<?php echo L('table_name').L('format_incorrect')?>"}).ajaxValidator({ type : "get", url : "", data :"m=member&c=member_model&a=public_checktablename_ajax", datatype : "html", async:'false', success : function(data){ if( data == "1" ) { return true; } else { return false; } }, buttons: $("#dosubmit"), onerror : "<?php echo L('tablename_already_exist')?>", onwait : "<?php echo L('connecting_please_wait')?>" }); }); //--> </script> <div class="pad-10"> <div class="common-form"> <form name="myform" action="?m=member&c=member_model&a=add" method="post" id="myform"> <fieldset> <legend><?php echo L('basic_configuration')?></legend> <table width="100%" class="table_form"> <tr> <td width="80"><?php echo L('model_name')?></td> <td><input type="text" name="info[modelname]" class="input-text" id="modelname" size="30"></input></td> </tr> <tr> <td><?php echo L('table_name')?></td> <td> <?php echo $this->db->db_tablepre?>member_<input type="text" name="info[tablename]" value="" class="input-text" id="tablename" size="16"></input> </td> </tr> <tr> <td><?php echo L('model_description')?></td> <td> <input type="text" name="info[description]" value="" class="input-text" id="description" size="80"></input> </td> </tr> </table> </fieldset> <div class="bk15"></div> <input name="dosubmit" type="submit" id="dosubmit" value="<?php echo L('submit')?>" class="dialog"> </form> </div> </div> </body> </html>