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


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

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

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

?>

<div class="pad_10">

<div class="table-list">

<form name="searchform" action="" method="get" >

<input type="hidden" value="pay" name="m">

<input type="hidden" value="spend" name="c">

<input type="hidden" value="init" name="a">

<input type="hidden" value="<?php echo $_GET['menuid']?>" name="menuid">

<table width="100%" cellspacing="0" class="search-form">

    <tbody>

		<tr>

		<td>

		<div class="explain-col">

		<?php echo  form::select(array('1'=>L('username'), '2'=>L('userid')), $user_type, 'name="user_type"')?>: <input type="text" value="<?php echo $username?>" class="input-text" name="username"> 

		<?php echo L('from')?>  <?php echo form::date('starttime',format::date($starttime))?> <?php echo L('to')?>   <?php echo form::date('endtime',format::date($endtime))?> 

		

		<?php echo  form::select(array(''=>L('op'), '1'=>L('username'), '2'=>L('userid')), $op_type, 'name="op_type"')?>:

		<input type="text" value="<?php echo $op?>" class="input-text" name="op"> 

		<?php echo  form::select(array(''=>L('expenditure_patterns'), '1'=>L('money'), '2'=>L('point')), $type, 'name="type"')?>

		<input type="submit" value="<?php echo L('search')?>" class="button" name="dosubmit">

		</div>

		</td>

		</tr>

    </tbody>

</table>

</form>

    <table width="100%" cellspacing="0">

        <thead>

            <tr>

            <th width="10%"><?php echo L('username')?></th>

            <th width="20%"><?php echo L('content_of_consumption')?></th>

            <th width="15%"><?php echo L('empdisposetime')?> </th>

            <th width="9%"><?php echo L('op')?></th>

            <th width="8%"><?php echo L('expenditure_patterns')?></th>

            <th width="8%"><?php echo L('consumption_quantity')?></th>

            </tr>

        </thead>

    <tbody>

 <?php 

if(is_array($list)){

	$amount = $point = 0;

	foreach($list as $info){

?>   

	<tr>

	<td width="10%" align="center"><?php echo $info['username']?></td>

	<td width="20%" align="center"><?php echo $info['msg']?></td>

	<td  width="15%" align="center"><?php echo format::date($info['creat_at'], 1)?></td>

	<td width="9%" align="center"><?php if (!empty($info['op_userid'])) {echo $info['op_username'];} else {echo L('self');}?></td>

	<td width="8%" align="center"><?php if ($info['type'] == 1) {echo L('money');} elseif($info['type'] == 2) {echo L('point');}?></td>

	<td width="8%" align="center"><?php echo $info['value']?></td>

	</tr>

<?php 

	}

}

?>

    </tbody>

    </table>



 <div id="pages"> <?php echo $pages?></div>

</div>

</div>

</form>

</body>

</html>

<script type="text/javascript">

<!--

	function discount(id, name) {

	window.top.art.dialog({title:'<?php echo L('discount')?>--'+name, id:'discount', iframe:'?m=pay&c=payment&a=public_discount&id='+id ,width:'500px',height:'200px'}, 	function(){var d = window.top.art.dialog({id:'discount'}).data.iframe;

	var form = d.document.getElementById('dosubmit');form.click();return false;}, function(){window.top.art.dialog({id:'discount'}).close()});

}

function detail(id, name) {

	window.top.art.dialog({title:'<?php echo L('discount')?>--'+name, id:'discount', iframe:'?m=pay&c=payment&a=public_pay_detail&id='+id ,width:'500px',height:'550px'});

}

//-->

</script>