<?php ThemexInterface::renderTemplateContent('profile-earnings'); ?> <?php if (ThemexCore::checkOption('shop_multiple') && ThemexCore::checkOption('shop_referrals')) { ?> <span class="secondary"><?php _e('This page does not exist.', 'makery'); ?> </span> <?php } else { ThemexShop::refresh(ThemexUser::$data['current']['shop'], true); $withdrawals = ThemexShop::$data['withdrawals']; if (empty(ThemexUser::$data['current']['shop'])) { $withdrawals = ThemexShop::getWithdrawals(ThemexUser::$data['current']['ID']); } if (!empty($withdrawals)) { ?> <table class="profile-table"> <thead> <tr> <th><?php _e('Date', 'makery'); ?> </th> <th><?php _e('Method', 'makery'); ?> </th> <th><?php