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/release/templates/ |
<?php defined('IN_ADMIN') or exit('No permission resources.'); include $this->admin_tpl('header','admin'); ?> <div class="pad-lr-10"> <div class="table-list"> <form action="?m=release&c=index&a=del" method="post"> <table width="100%" cellspacing="0"> <thead> <tr> <th width="80"><input type="checkbox" onclick="selectall('ids[]');" id="check_box" /></th> <th width="80">ID</th> <th width="80"><?php echo L('type')?></th> <th width="80"><?php echo L("site")?>ID</th> <th><?php echo L('path')?></th> <th><?php echo L('time')?></th> <?php foreach ($this->point as $v) :$r = $this->db->get_one(array('id'=>$v), 'name');?> <th><?php echo $r['name']?></th> <?php endforeach;?> </tr> </thead> <tbody> <?php if(is_array($list)): foreach($list as $v): ?> <tr> <td width="80" align="center"><input type="checkbox" name="ids[]" value="<?php echo $v['id']?>" /></td> <td width="80" align="center"><?php echo $v['id']?></td> <td align="center"><?php switch($v['type']){case 'edit':case 'add':echo L('upload');break;case 'del':echo L('delete');break;}?></td> <td align="center"><?php echo $v['siteid']?></td> <td align="center"><?php echo $v['path'];?></td> <td align="center"><?php echo format::date($v['times'], 1);?></td> <?php $i=1;foreach ($this->point as $d) :?> <td align="center"><?php switch($v['status'.$i]){case -1:echo '<div class="onError">'.L("failure").'</div>';break;case 0:echo '<div class="onShow">'.L('not_upload').'</div>';break; case 1:echo '<div class="onCorrect">'.L("success").'</div>';break;}?></td> <?php $i++;endforeach;?> </tr> <?php endforeach; endif; ?> </tbody> </table> <div class="btn"><label for="check_box"><?php echo L('select_all')?>/<?php echo L('cancel')?></label> <input type="button" class="button" name="dosubmit" value="<?php echo L('sync_agin')?>" onclick="sync_agin()" /> <input type="button" class="button" name="dosubmit" value="<?php echo L('all').L('sync_agin')?>" onclick="window.top.art.dialog({id:'sync',iframe:'?m=release&c=index&a=init&statuses=-1&iniframe=1', title:'<?php echo L('sync_agin')?>', width:'700', height:'500', lock:true},'', function(){window.top.art.dialog({id:'sync'}).close();location.reload()});" /> <input type="submit" class="button" value="<?php echo L("delete")?>" /></div> </form> </div> </div> <div id="pages"><?php echo $queue->pages?></div> <script type="text/javascript"> <!-- function sync_agin() { var ids = ''; $("input[type='checkbox'][name='ids[]']:checked").each(function(i,n){ids += ids ? ','+$(n).val() : $(n).val();}); if (ids)window.top.art.dialog({id:'sync',iframe:'?m=release&c=index&a=init&statuses=-1&iniframe=1&ids='+ids, title:'<?php echo L('sync_agin')?>', width:'700', height:'500', lock:true},'', function(){window.top.art.dialog({id:'sync'}).close();location.reload()}); } //--> </script> </body> </html>