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


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

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

$show_dialog = 1;

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

?>



<div class="pad-lr-10">

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

    <tbody>

      <tr>

        <td><div class="explain-col"> <?php echo L('all_linktype')?>: &nbsp;&nbsp; <a href="?m=join&c=join"><?php echo L('all')?></a> &nbsp;&nbsp; <a href="?m=join&c=join&typeid=0">默认分类</a>&nbsp;

            <?php

	if(is_array($type_arr)){

	foreach($type_arr as $typeid => $type){

		?>

            <a href="?m=join&c=join&typeid=<?php echo $typeid;?>"><?php echo $type;?></a>&nbsp;

            <?php }}?>

          </div></td>

      </tr>

    </tbody>

  </table>

  <form name="myform" id="myform" action="?m=join&c=join&a=listorder" method="post" >

    <div class="table-list">

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

        <thead>

          <tr>

            <th width="35" align="center"><input type="checkbox" value="" id="check_box" onclick="selectall('guestid[]');"></th>

            <th width="35" align="center"><?php echo L('listorder')?></th>

            <th align="center">编号</th>

            <th align="center">客户姓名</th>

              <th align="center">座机</th>

            <th align="center">传真</th>

            <th align="center">经营品牌</th>

            <th align="center">经营模式</th>

            <th align="center">所在省份</th>

            <th align="center">常驻人口</th>

            <th align="center">时间</th>

            <th align="center">商户名称</th>

            <th align="center">计划金额</th>

            <th align="center">内容</th>

            <th align="center">提交时间</th>

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

            <th width="12%" align="center"><?php echo L('operations_manage')?></th>

          </tr>

        </thead>

        <tbody>

          <?php

if(is_array($infos)){

	foreach($infos as $info){

		?>

          <tr>

            <td align="center" width="35"><input type="checkbox" name="guestid[]" value="<?php echo $info['guestid']?>"></td>

            <td align="center" width="35"><input name='listorders[<?php echo $info['linkid']?>]' type='text' size='3' value='<?php echo $info['listorder']?>' class="input-text-c"></td>

            <td align="center"><?php echo $info['guestid']?></td>

            <td align="center"><?php echo $info['name']?></td>

              <td align="center"><?php echo $info['zuoji']?></td>

            <td align="center"><?php echo $info['fax']?></td>

            <td align="center"><?php echo $info['brand']?></td>

            <td align="center"><?php echo $info['moshi']?></td>

            <td align="center"><?php echo $info['shengfen']?></td>

            <td align="center"><?php echo $info['people']?></td>

            <td align="center"><?php echo $info['shijian']?></td>

            <td align="center"><?php echo $info['shanghuname']?></td>

            <td align="center"><?php echo $info['money']?></td>

            <td align="center"><?php echo $info['content']?></td>

            <td align="center"><?php if($info['typeid']==0){echo "默认分类";}else{echo $type_arr[$info['typeid']];}?></td>

            <td align="center"><?php echo date('Y-m-d H:i:s',$info['addtime']);?></td>



            <td align="center" width="12%"><a href="###"

			onclick="show(<?php echo $info['guestid']?>, '<?php echo new_addslashes($info['name'])?>')"

			title="<?php echo L('reply')?>"><?php echo L('reply')?></a> | <a

			href='?m=join&c=join&a=delete&guestid=<?php echo $info['guestid']?>'

			onClick="return confirm('<?php echo L('confirm', array('message' => new_addslashes($info['name'])))?>')"><?php echo L('delete')?></a></td>

          </tr>

          <?php

	}

}

?>

        </tbody>

      </table>

    </div>

    <div class="btn">

      <input name="dosubmit" type="submit" class="button"

	value="<?php echo L('listorder')?>">

      &nbsp;&nbsp;

      <input type="submit" class="button" name="dosubmit" onClick="document.myform.action='?m=join&c=join&a=delete'" value="<?php echo L('delete')?>"/>

    </div>

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

  </form>

</div>

<script type="text/javascript">



function show(id, name) {

	window.top.art.dialog({id:'show'}).close();

	window.top.art.dialog({title:'<?php echo L('show')?> '+name+' ',id:'show',iframe:'?m=join&c=join&a=show&guestid='+id,width:'700',height:'450'}, function(){var d = window.top.art.dialog({id:'show'}).data.iframe;var form = d.document.getElementById('dosubmit');form.click();return false;}, function(){window.top.art.dialog({id:'show'}).close()});

}

function checkuid() {

	var ids='';

	$("input[name='linkid[]']:checked").each(function(i, n){

		ids += $(n).val() + ',';

	});

	if(ids=='') {

		window.top.art.dialog({content:"<?php echo L('before_select_operations')?>",lock:true,width:'200',height:'50',time:1.5},function(){});

		return false;

	} else {

		myform.submit();

	}

}

//向下移动

function listorder_up(id) {

	$.get('?m=join&c=join&a=listorder_up&guestid='+id,null,function (msg) { 

	if (msg==1) { 

	//$("div [id=\'option"+id+"\']").remove(); 

		alert('<?php echo L('move_success')?>');

	} else {

	alert(msg); 

	} 

	}); 

} 

</script>

</body></html>