Esempio n. 1
0
?>
 <span class="count">(<?php 
woo_ce_archives_quicklink_count('customers');
?>
)</span></a> |</li>
	<li><a href="<?php 
echo add_query_arg('filter', 'coupons');
?>
"<?php 
woo_ce_archives_quicklink_current('coupons');
?>
><?php 
_e('Coupons', 'woo_ce');
?>
 <span class="count">(<?php 
woo_ce_archives_quicklink_count('coupons');
?>
)</span></a></li>
</ul>
<br class="clear" />
<form action="" method="GET">
	<table class="widefat fixed media" cellspacing="0">
		<thead>

			<tr>
				<th scope="col" id="icon" class="manage-column column-icon"></th>
				<th scope="col" id="title" class="manage-column column-title"><?php 
_e('Filename', 'woo_ce');
?>
</th>
				<th scope="col" class="manage-column column-type"><?php 
<ul class="subsubsub">
	<li><a href="<?php echo esc_url( add_query_arg( 'filter', null ) ); ?>"<?php woo_ce_archives_quicklink_current( 'all' ); ?>><?php _e( 'All', 'woo_ce' ); ?> <span class="count">(<?php echo woo_ce_archives_quicklink_count(); ?>)</span></a> |</li>
	<li><a href="<?php echo esc_url( add_query_arg( 'filter', 'product' ) ); ?>"<?php woo_ce_archives_quicklink_current( 'product' ); ?>><?php _e( 'Products', 'woo_ce' ); ?> <span class="count">(<?php echo woo_ce_archives_quicklink_count( 'product' ); ?>)</span></a> |</li>
	<li><a href="<?php echo esc_url( add_query_arg( 'filter', 'category' ) ); ?>"<?php woo_ce_archives_quicklink_current( 'category' ); ?>><?php _e( 'Categories', 'woo_ce' ); ?> <span class="count">(<?php echo woo_ce_archives_quicklink_count( 'category' ); ?>)</span></a> |</li>
	<li><a href="<?php echo esc_url( add_query_arg( 'filter', 'tag' ) ); ?>"<?php woo_ce_archives_quicklink_current( 'tag' ); ?>><?php _e( 'Tags', 'woo_ce' ); ?> <span class="count">(<?php echo woo_ce_archives_quicklink_count( 'tag' ); ?>)</span></a> |</li>
	<li><a href="<?php echo esc_url( add_query_arg( 'filter', 'brand' ) ); ?>"<?php woo_ce_archives_quicklink_current( 'brand' ); ?>><?php _e( 'Brands', 'woo_ce' ); ?> <span class="count">(<?php echo woo_ce_archives_quicklink_count( 'brand' ); ?>)</span></a> |</li>
	<li><a href="<?php echo esc_url( add_query_arg( 'filter', 'order' ) ); ?>"<?php woo_ce_archives_quicklink_current( 'order' ); ?>><?php _e( 'Orders', 'woo_ce' ); ?> <span class="count">(<?php echo woo_ce_archives_quicklink_count( 'order' ); ?>)</span></a> |</li>
	<li><a href="<?php echo esc_url( add_query_arg( 'filter', 'customer' ) ); ?>"<?php woo_ce_archives_quicklink_current( 'customer' ); ?>><?php _e( 'Customers', 'woo_ce' ); ?> <span class="count">(<?php echo woo_ce_archives_quicklink_count( 'customer' ); ?>)</span></a> |</li>
	<li><a href="<?php echo esc_url( add_query_arg( 'filter', 'user' ) ); ?>"<?php woo_ce_archives_quicklink_current( 'user' ); ?>><?php _e( 'Users', 'woo_ce' ); ?> <span class="count">(<?php echo woo_ce_archives_quicklink_count( 'user' ); ?>)</span></a> |</li>
	<li><a href="<?php echo esc_url( add_query_arg( 'filter', 'coupon' ) ); ?>"<?php woo_ce_archives_quicklink_current( 'coupon' ); ?>><?php _e( 'Coupons', 'woo_ce' ); ?> <span class="count">(<?php echo woo_ce_archives_quicklink_count( 'coupon' ); ?>)</span></a> |</li>
	<li><a href="<?php echo esc_url( add_query_arg( 'filter', 'subscription' ) ); ?>"<?php woo_ce_archives_quicklink_current( 'subscription' ); ?>><?php _e( 'Subscriptions', 'woo_ce' ); ?> <span class="count">(<?php echo woo_ce_archives_quicklink_count( 'subscription' ); ?>)</span></a> |</li>
	<li><a href="<?php echo esc_url( add_query_arg( 'filter', 'product_vendor' ) ); ?>"<?php woo_ce_archives_quicklink_current( 'product_vendor' ); ?>><?php _e( 'Product Vendors', 'woo_ce' ); ?> <span class="count">(<?php echo woo_ce_archives_quicklink_count( 'product_vendor' ); ?>)</span></a> |</li>
	<li><a href="<?php echo esc_url( add_query_arg( 'filter', 'shipping_class' ) ); ?>"<?php woo_ce_archives_quicklink_current( 'shipping_class' ); ?>><?php _e( 'Shipping Classes', 'woo_ce' ); ?> <span class="count">(<?php echo woo_ce_archives_quicklink_count( 'shipping_class' ); ?>)</span></a></li>
	<!-- <li><a href="<?php echo esc_url( add_query_arg( 'filter', 'attribute' ) ); ?>"<?php woo_ce_archives_quicklink_current( 'attribute' ); ?>><?php _e( 'Attributes', 'woo_ce' ); ?> <span class="count">(<?php echo woo_ce_archives_quicklink_count( 'attribute' ); ?>)</span></a></li> -->
</ul>
<!-- .subsubsub -->
<br class="clear" />

<form id="archives-filter" method="POST">
	<input type="hidden" name="page" value="<?php echo $_REQUEST['page'] ?>" />
	<!-- Now we can render the completed list table -->

	<?php $archives_table->display(); ?>

	<?php if( !empty( $files ) ) { ?><a href="<?php echo esc_url( add_query_arg( array( 'action' => 'nuke_archives', '_wpnonce' => wp_create_nonce( 'woo_ce_nuke_archives' ) ) ) ); ?>" class="button action"><?php _e( 'Delete All', 'woo_ce' ); ?></a><?php } ?>
</form>
Esempio n. 3
0
	<?php 
    }
} else {
    ?>
			<tr id="post-<?php 
    echo $file->ID;
    ?>
" class="author-self" valign="top">
				<td colspan="3" class="colspanchange"><?php 
    _e('No past exports were found.', 'woocommerce-exporter');
    ?>
</td>
			</tr>
<?php 
}
?>

		</tbody>
	</table>
	<div class="tablenav bottom">
		<div class="tablenav-pages one-page">
			<span class="displaying-num"><?php 
printf(__('%d items', 'woocommerce-exporter'), woo_ce_archives_quicklink_count());
?>
</span>
		</div>
		<!-- .tablenav-pages -->
		<br class="clear">
	</div>
	<!-- .tablenav -->
</form>
Esempio n. 4
0
	<?php 
    }
} else {
    ?>
			<tr id="post-<?php 
    echo $file->ID;
    ?>
" class="author-self" valign="top">
				<td colspan="3" class="colspanchange"><?php 
    _e('No past exports were found.', 'woo_ce');
    ?>
</td>
			</tr>
<?php 
}
?>

		</tbody>
	</table>
	<div class="tablenav bottom">
		<div class="tablenav-pages one-page">
			<span class="displaying-num"><?php 
printf(__('%d items', 'woo_ce'), woo_ce_archives_quicklink_count());
?>
</span>
		</div>
		<!-- .tablenav-pages -->
		<br class="clear">
	</div>
	<!-- .tablenav -->
</form>