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/vote/templates/
Upload File :
Current Directory [ Writeable ] Root Directory [ Writeable ]


Current File : /www/wwwroot/www.jkmold.com/phpcms/modules/vote/templates/setting.tpl.php
<?php 

defined('IN_ADMIN') or exit('No permission resources.');

include $this->admin_tpl('header', 'admin');?>

<form method="post" action="?m=vote&c=vote&a=setting">

<table width="100%" cellpadding="0" cellspacing="1" class="table_form">

 

	<tr>

		<th width="200"><?php echo L('vote_style')?>:</th>

		<td>

		<?php echo form::select($template_list, $default_style, 'name="setting[default_style]" id="style" onchange="load_file_list(this.value)"', L('please_select'))?>

		 </td>

	</tr>

	

	<tr>

		<th><?php echo L('template')?>:</th>

		<td id="show_template">

		<?php echo form::select_template($default_style, 'vote', $vote_tp_template, 'name="setting[vote_tp_template]"', 'vote_tp');?>

		</td>

	</tr>

	

	<tr>

		<th><?php echo L('default_guest')?>:</th>

		<td><input type='radio' name='setting[allowguest]' value='1' <?php if($allowguest == 1) {?>checked<?php }?>> <?php echo L('yes')?>&nbsp;&nbsp;&nbsp;&nbsp;

	  <input type='radio' name='setting[allowguest]' value='0' <?php if($allowguest == 0) {?>checked<?php }?>> <?php echo L('no')?></td>

	</tr>

	<tr>

		<th><?php echo L('default_enabled')?>:</th>

		<td><input type='radio' name='setting[enabled]' value='1' <?php if($enabled == 1) {?>checked<?php }?>> <?php echo L('yes')?>&nbsp;&nbsp;&nbsp;&nbsp;

	  <input type='radio' name='setting[enabled]' value='0' <?php if($enabled == 0) {?>checked<?php }?>> <?php echo L('no')?></td>

	</tr>

	<tr>

		<th><?php echo L('interval')?>:</th>

		<td>

		<input type="text" name="setting[interval]" value="<?php echo $interval;?>" size='5' /> <?php echo L('more_ip')?>,<font color=red>0</font> <?php echo L('one_ip')?>

		</td>

	</tr>

	<tr>

		<th><?php echo L('credit')?>:</th>

		<td>

		<input type="text" name="setting[credit]" value="<?php echo $credit?>" size='5' />

		</td>

	</tr>

	<tr>

		<td>&nbsp;</td>

		<td><input type="submit" name="dosubmit" id="dosubmit" value=" <?php echo L('confirm')?>" class="button">&nbsp;<input type="reset" value=" <?php echo L('reset')?> " class="button"></td>

	</tr>

</table>

</form>

</body>

</html>

<script language="javascript">

function load_file_list(id) {

	$.getJSON('?m=admin&c=category&a=public_tpl_file_list&style='+id+'&module=vote&templates=vote_tp&name=setting&pc_hash='+pc_hash, function(data){$('#show_template').html(data.vote_tp_template);});

}

</script>