本文整理汇总了PHP中ProjectTheme_get_show_price函数的典型用法代码示例。如果您正苦于以下问题:PHP ProjectTheme_get_show_price函数的具体用法?PHP ProjectTheme_get_show_price怎么用?PHP ProjectTheme_get_show_price使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了ProjectTheme_get_show_price函数的13个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: __
echo '<tr>';
echo '<td>' . __('Hide Project from search engines Fee', 'ProjectTheme') . '</td>';
echo '<td>' . ProjectTheme_get_show_price($projectTheme_hide_project_fee, 2) . '</td>';
echo '<tr>';
//endif;
echo '<tr>';
echo '<td> </td>';
echo '<td></td>';
echo '<tr>';
echo '<tr>';
echo '<td><strong>' . __('Total to Pay', 'ProjectTheme') . '</strong></td>';
echo '<td><strong>' . ProjectTheme_get_show_price($total, 2) . '</strong></td>';
echo '<tr>';
echo '<tr>';
echo '<td><strong>' . __('Your Total Credits', 'ProjectTheme') . '</strong></td>';
echo '<td><strong>' . ProjectTheme_get_show_price(ProjectTheme_get_credits($uid), 2) . '</strong></td>';
echo '<tr>';
echo '<tr>';
echo '<td> <br/> </td>';
echo '<td></td>';
echo '<tr>';
}
if ($total == 0) {
if (get_option('projectTheme_admin_approves_each_project') != 'yes') {
echo '<tr>';
echo '<td></td>';
echo '<td><a href="' . get_permalink($pid) . '" class="go_back_btn">' . __('See your project', 'ProjectTheme') . '</a></td>';
echo '<tr>';
} else {
echo '<tr>';
echo '<td></td>';
示例2: ProjectTheme_get_avatar
<div class="user-profile-avatar"><img class="imgImg" width="100" height="100" src="<?php
echo ProjectTheme_get_avatar($uid, 100, 100);
?>
" />
<?php
if (ProjectTheme_is_user_provider($uid)) {
?>
<div class="price-per-hr"><?php
$pr = get_user_meta($uid, 'per_hour', true);
if (empty($pr)) {
$pr = __('not defined', 'ProjectTheme');
} else {
$pr = ProjectTheme_get_show_price($pr);
}
echo sprintf(__('Hourly Rate: %s', 'ProjectTheme'), $pr);
?>
</div>
<?php
}
?>
</div>
</div>
示例3: get_userdata
} else {
if ($private_bids == 'yes' or $private_bids == '1' or $private_bids == 1) {
if ($uid == $row->uid) {
$show_this_around = 1;
} else {
$show_this_around = 0;
}
} else {
$show_this_around = 1;
}
}
if ($show_this_around == 1) {
$user = get_userdata($row->uid);
echo '<tr>';
echo '<th><a href="' . ProjectTheme_get_user_profile_link($user->ID) . '">' . $user->user_login . '</a></th>';
echo '<th>' . ProjectTheme_get_show_price($row->bid) . '</th>';
echo '<th>' . date("d-M-Y H:i:s", $row->date_made) . '</th>';
echo '<th>' . $row->days_done . '</th>';
if ($owner == 1) {
$nr = 7;
if (empty($winner)) {
// == 0)
echo '<th><a href="' . get_bloginfo('siteurl') . '/?p_action=choose_winner&pid=' . get_the_ID() . '&bid=' . $row->id . '">' . __('Select', 'ProjectTheme') . '</a></th>';
}
if ($ProjectTheme_enable_project_files != "no") {
echo '<th><a href="#" class="get_files" rel="' . get_the_ID() . '_' . $row->uid . '">' . __('Get Files', 'ProjectTheme') . '</a></th>';
}
echo '<th><a href="' . ProjectTheme_get_priv_mess_page_url('send', '', '&uid=' . $row->uid . '&pid=' . get_the_ID()) . '">' . __('Send Message', 'ProjectTheme') . '</a></th>';
} else {
$nr = 4;
}
示例4: foreach
echo '<table style="margin-top:25px">';
foreach ($payment_arr as $payment_item) {
if ($payment_item['amount'] > 0) {
echo '<tr>';
echo '<td>' . $payment_item['description'] . ' </td>';
echo '<td>' . ProjectTheme_get_show_price($payment_item['amount'], 2) . '</td>';
echo '</tr>';
}
}
echo '<tr>';
echo '<td> </td>';
echo '<td></td>';
echo '<tr>';
echo '<tr>';
echo '<td><strong>' . __('Total to Pay', 'ProjectTheme') . '</strong></td>';
echo '<td><strong>' . ProjectTheme_get_show_price($total, 2) . '</strong></td>';
echo '<tr>';
echo '</table>';
?>
<?php
_e("Your credits amount", 'ProjectTheme');
?>
: <?php
echo projecttheme_get_show_price(projectTheme_get_credits($uid));
?>
<br/><br/>
<a class="post_bid_btn" href="<?php
echo get_bloginfo('siteurl');
示例5: ProjectTheme_send_email_when_on_completed_project
function ProjectTheme_send_email_when_on_completed_project($pid, $uid, $bid)
{
$enable = get_option('ProjectTheme_payment_on_completed_project_enable');
$subject = get_option('ProjectTheme_payment_on_completed_project_subject');
$message = get_option('ProjectTheme_payment_on_completed_project_message');
if ($enable != "no") {
$bidder = get_userdata($uid);
$post = get_post($pid);
$user = get_userdata($post->post_author);
$site_login_url = ProjectTheme_login_url();
$site_name = get_bloginfo('name');
$account_url = get_permalink(get_option('ProjectTheme_my_account_page_id'));
$bid_val = ProjectTheme_get_show_price($bid);
$bidder_username = $bidder->user_login;
$author = get_userdata($post->post_author);
$find = array('##username##', '##bid_value##', '##site_login_url##', '##your_site_name##', '##your_site_url##', '##my_account_url##', '##project_name##', '##project_link##', '##bidder_username##');
$replace = array($user->user_login, $bid_val, $site_login_url, $site_name, get_bloginfo('siteurl'), $account_url, $post->post_title, get_permalink($pid), $bidder_username);
$tag = 'ProjectTheme_send_email_when_on_completed_project';
$find = apply_filters($tag . '_find', $find);
$replace = apply_filters($tag . '_replace', $replace);
$message = ProjectTheme_replace_stuff_for_me($find, $replace, $message);
$subject = ProjectTheme_replace_stuff_for_me($find, $replace, $subject);
//---------------------------------------------
ProjectTheme_send_email($author->user_email, $subject, $message);
}
}
示例6: ProjectTheme_my_account_payments_area_function
function ProjectTheme_my_account_payments_area_function()
{
global $current_user, $wpdb, $wp_query;
get_currentuserinfo();
$uid = $current_user->ID;
?>
<div id="content" class="account-main-area">
<?php
$pg = $_GET['pg'];
if (!isset($pg)) {
$pg = 'home';
}
global $wpdb;
if ($_GET['pg'] == 'closewithdrawal') {
$id = $_GET['id'];
$s = "select * from " . $wpdb->prefix . "project_withdraw where id='{$id}' AND uid='{$uid}'";
$r = $wpdb->get_results($s);
if (count($r) == 1) {
$row = $r[0];
$amount = $row->amount;
$cr = projectTheme_get_credits($uid);
projectTheme_update_credits($uid, $cr + $amount);
$s = "delete from " . $wpdb->prefix . "project_withdraw where id='{$id}' AND uid='{$uid}'";
$wpdb->query($s);
echo '<div class="">';
echo sprintf(__('Request canceled! <a href="%s">Return to payments</a>.', 'ProjectTheme'), get_permalink(get_option('ProjectTheme_my_account_payments_id')));
echo '</div>';
}
}
if ($_GET['pg'] == 'releasepayment') {
$id = $_GET['id'];
$s = "select * from " . $wpdb->prefix . "project_escrow where id='{$id}' AND fromid='{$uid}'";
$r = $wpdb->get_results($s);
if (count($r) == 1 and $r[0]->released != 1) {
$row = $r[0];
$amount = $row->amount;
$toid = $row->toid;
$pid = $row->pid;
$my_pst = get_post($pid);
$projectTheme_get_winner_bid = projectTheme_get_winner_bid($pid);
ProjectTheme_send_email_when_on_completed_project($pid, $projectTheme_get_winner_bid->uid, $projectTheme_get_winner_bid->bid);
//-------------------------------------------------------------------------------
$projectTheme_fee_after_paid = get_option('projectTheme_fee_after_paid');
if (!empty($projectTheme_fee_after_paid)) {
$deducted = $amount * ($projectTheme_fee_after_paid * 0.01);
} else {
$deducted = 0;
}
//-------------------------------------------------------------------------------
$cr = projectTheme_get_credits($toid);
projectTheme_update_credits($toid, $cr + $amount - $deducted);
$reason = sprintf(__('Escrow payment received from %s for the project <b>%s</b>', 'ProjectTheme'), $current_user->user_login, $my_pst->post_title);
projectTheme_add_history_log('1', $reason, $amount, $toid, $uid);
if ($deducted > 0) {
$reason = sprintf(__('Payment fee for project %s', 'ProjectTheme'), $my_pst->post_title);
}
projectTheme_add_history_log('0', $reason, $deducted, $toid);
//-----------------------------
$email = get_bloginfo('admin_email');
$site_name = get_bloginfo('name');
$usr = get_userdata($uid);
$subject = __("Money Escrow Completed", 'ProjectTheme');
$message = sprintf(__("You have released the escrow of: %s", "ProjectTheme"), ProjectTheme_get_show_price($amount));
//($usr->user_email, $subject , $message);
//-----------------------------
$usr = get_userdata($toid);
$reason = sprintf(__('Escrow Payment completed, sent to %s for project <b>%s</b>', 'ProjectTheme'), $usr->user_login, $my_pst->post_title);
projectTheme_add_history_log('0', $reason, $amount, $uid, $toid);
$subject = __("Money Escrow Completed", "ProjectTheme");
$message = sprintf(__("You have received the amount of: %s", "ProjectTheme"), ProjectTheme_get_show_price($amount));
//($usr->user_email, $subject , $message);
//-----------------------------
$tm = current_time('timestamp', 0);
update_post_meta($pid, 'paid_user', '1');
update_post_meta($pid, 'paid_user_date', current_time('timestamp', 0));
$s = "update " . $wpdb->prefix . "project_escrow set released='1', releasedate='{$tm}' where id='{$id}'";
$r = $wpdb->query($s);
}
echo __('Escrow completed! Redirecting...', 'ProjectTheme');
echo '<br/><br/>';
$url_redir = ProjectTheme_get_payments_page_url();
echo '<meta http-equiv="refresh" content="2;url=' . $url_redir . '" />';
}
do_action('ProjectTheme_before_payments_in_payments');
$ProjectTheme_enable_credits_wallet = get_option('ProjectTheme_enable_credits_wallet');
if ($ProjectTheme_enable_credits_wallet != 'no') {
if ($pg == 'home') {
?>
<div class="my_box3">
<div class="box_title"><?php
_e("Finances", "ProjectTheme");
?>
//.........这里部分代码省略.........
示例7: ProjectTheme_my_account_payments_area_function
//.........这里部分代码省略.........
update_post_meta($pid, 'paid_user', '1');
update_post_meta($pid, 'paid_user_date', current_time('timestamp', 0));
}
$s = "update " . $wpdb->prefix . "project_escrow set released='1', releasedate='{$tm}' where id='{$id}'";
$r = $wpdb->query($s);
}
echo __('Escrow completed! Redirecting...', 'ProjectTheme');
echo '<br/><br/>';
$url_redir = ProjectTheme_get_payments_page_url('transactions');
//ProjectTheme_get_payments_page_url();
echo '<meta http-equiv="refresh" content="2;url=' . $url_redir . '" />';
}
do_action('ProjectTheme_before_payments_in_payments');
$ProjectTheme_enable_credits_wallet = get_option('ProjectTheme_enable_credits_wallet');
if ($ProjectTheme_enable_credits_wallet != 'no') {
if ($pg == 'home') {
?>
<div class="my_box3">
<div class="box_title"><?php
_e("Finances", "ProjectTheme");
?>
</div>
<div class="box_content">
<?php
$bal = projectTheme_get_credits($uid);
echo '<span class="balance">' . __("Your Current Balance is", "ProjectTheme") . ": " . ProjectTheme_get_show_price($bal, 2) . "</span>";
?>
</div>
</div>
<div class="clear10"></div>
<div class="my_box3">
<div class="box_title"><?php
_e('What do you want to do ?', 'ProjectTheme');
?>
</div>
<div class="box_content">
<ul class="cms_cms">
<?php
if (ProjectTheme_is_user_business($uid)) {
?>
<li> <a href="<?php
echo ProjectTheme_get_payments_page_url('deposit');
?>
" class="green_btn old_mm_k"><?php
_e('Deposit Money', 'ProjectTheme');
?>
</a> </li>
<?php
}
示例8: projectTheme_hist_transact
function projectTheme_hist_transact()
{
global $menu_admin_project_theme_bull, $wpdb;
echo '<div class="wrap">';
echo '<div class="icon32" id="icon-options-general-list"><br/></div>';
echo '<h2 class="my_title_class_sitemile">ProjectTheme Transaction History</h2>';
$arr = array("yes" => "Yes", "no" => "No");
?>
<div id="usual2" class="usual">
<ul>
<li><a href="#tabs1" >All Transactions</a></li>
<li><a href="#tabs2" <?php
if ("tabs2" == $_GET['active_tab']) {
?>
class="selected" <?php
}
?>
>Search User</a></li>
</ul>
<div id="tabs1" style="display: block; ">
<?php
$nrpostsPage = 10;
$page = $_GET['pj'];
if (empty($page)) {
$page = 1;
}
$my_page = $page;
//-----------------------------------------------------------
global $wpdb;
$s = "select * from " . $wpdb->prefix . "project_payment_transactions order by id desc limit " . $nrpostsPage * ($page - 1) . " ,{$nrpostsPage}";
$r = $wpdb->get_results($s);
$s1 = "select id from " . $wpdb->prefix . "project_payment_transactions order by id desc";
$r1 = $wpdb->get_results($s1);
if (count($r) > 0) {
$total_nr = count($r1);
$nrposts = $total_nr;
$totalPages = ceil($nrposts / $nrpostsPage);
$pagess = $totalPages;
$batch = 10;
//ceil($page / $nrpostsPage );
$start = floor($my_page / $batch) * $batch + 1;
$end = $start + $batch - 1;
$end_me = $end + 1;
$start_me = $start - 1;
if ($end > $totalPages) {
$end = $totalPages;
}
if ($end_me > $totalPages) {
$end_me = $totalPages;
}
if ($start_me <= 0) {
$start_me = 1;
}
$previous_pg = $my_page - 1;
if ($previous_pg <= 0) {
$previous_pg = 1;
}
$next_pg = $my_page + 1;
if ($next_pg >= $totalPages) {
$next_pg = 1;
}
?>
<table class="widefat post fixed" cellspacing="0">
<thead>
<tr>
<th width="10%">Username</th>
<th width="40%">Comment/Description</th>
<th>Date Made</th>
<th >Amount</th>
<th >Project</th>
</tr>
</thead>
<tbody>
<?php
foreach ($r as $row) {
$user = get_userdata($row->uid);
if ($row->tp == 0) {
$sign = '-';
$cl = 'redred';
} else {
$sign = '+';
$cl = 'greengreen';
}
echo '<tr>';
echo '<th>' . $user->user_login . '</th>';
echo '<th>' . $row->reason . '</th>';
echo '<th>' . date('d-M-Y H:i:s', $row->datemade) . '</th>';
echo '<th class="' . $cl . '">' . $sign . ProjectTheme_get_show_price($row->amount, 2) . '</th>';
echo '<th>#</th>';
//.........这里部分代码省略.........
示例9: projectTheme_get_post_awaiting_compl_function_old
//.........这里部分代码省略.........
echo __("Budget", 'ProjectTheme');
?>
:</h3>
<p><?php
$sel = get_post_meta(get_the_ID(), 'budgets', true);
echo ProjectTheme_get_budget_name_string_fromID($sel);
?>
</p>
</li>
<li>
<img src="<?php
echo get_bloginfo('template_url');
?>
/images/price.png" width="15" height="15" />
<h3><?php
echo __("Winning Bid", 'ProjectTheme');
?>
:</h3>
<p><?php
$bid = projectTheme_get_winner_bid(get_the_ID());
echo ProjectTheme_get_show_price($bid->bid);
?>
</p>
</li>
<li>
<img src="<?php
echo get_bloginfo('template_url');
?>
/images/location.png" width="15" height="15" />
<h3><?php
echo __("Winner", 'ProjectTheme');
?>
:</h3>
<p><?php
$winner = get_post_meta(get_the_ID(), 'winner', true);
$winner = get_userdata($winner);
echo '<a href="' . ProjectTheme_get_user_profile_link($winner->ID) . '">' . $winner->user_login . '</a>';
?>
</p>
</li>
示例10: get_userdata
} else {
if ($private_bids == 'yes' or $private_bids == '1' or $private_bids == 1) {
if ($uid == $row->uid) {
$show_this_around = 1;
} else {
$show_this_around = 0;
}
} else {
$show_this_around = 1;
}
}
if ($show_this_around == 1) {
$user = get_userdata($row->uid);
echo '<div class="myrow">';
echo '<div><i class="bid-person"></i> <a href="' . ProjectTheme_get_user_profile_link($user->ID) . '">' . $user->user_login . '</a></div>';
echo '<div><i class="bid-money"></i> ' . ProjectTheme_get_show_price($row->bid) . '</div>';
echo '<div><i class="bid-clock"></i> ' . date_i18n("d-M-Y H:i:s", $row->date_made) . '</div>';
echo '<div><i class="bid-days"></i> ' . sprintf(__("%s days", "ProjectTheme"), $row->days_done) . '</div>';
//if($owner == 1 && $closed == "0")
//echo '<div><input name="bids" data-pid="' . get_the_ID() . '" data-bid="' . $row->id . '" type="checkbox"></div>';
if ($owner == 1) {
$nr = 7;
if ($row->winner != 1 && $ending > current_time('timestamp', 0) && $closed == 0) {
echo '<div><i class="bid-select"></i> <a href="' . get_bloginfo('siteurl') . '/?p_action=choose_winner&pid=' . get_the_ID() . '&bid=' . $row->id . '">' . __('Select as Winner', 'ProjectTheme') . '</a></div>';
}
if ($ProjectTheme_enable_project_files != "no") {
if (projecttheme_see_if_project_files_bid(get_the_ID(), $row->uid) == true) {
echo '<div> <i class="bid-days"></i> ';
echo '<a href="#" class="get_files" rel="' . get_the_ID() . '_' . $row->uid . '">' . __('See Bid Files', 'ProjectTheme') . '</a> ';
echo '</div>';
}
示例11: ProjectTheme_post_new_area_function
//.........这里部分代码省略.........
?>
" class="project-owner-contact"><?php
_e('Contact Project Owner', 'ProjectTheme');
?>
</a></li>
<li><a href="#" class="message_brd_cls project-owner-contact"><?php
_e('Project Message Board', 'ProjectTheme');
?>
</a></li>
</ul>
</div>
</div>
</div>
<?php
} else {
// project closed
?>
<div class="bid_panel">
<div class="padd10">
<?php
$pid = $PID_PID;
$winner = get_post_meta($PID_PID, 'winner', true);
if (!empty($winner)) {
global $wpdb;
$q = "select bid from " . $wpdb->prefix . "project_bids where pid='{$pid}' and winner='1'";
$r = $wpdb->get_results($q);
$r = $r[0];
_e("Project closed for price: ", 'ProjectTheme');
echo ProjectTheme_get_show_price($r->bid);
}
?>
</div>
</div>
<?php
}
?>
</div>
</div>
<div class="clear10"></div>
<!-- ####################### -->
<div class="my_box3">
<div class="box_title"><?php
echo __("Project Description", 'ProjectTheme');
?>
</div>
<div class="box_content" id="project-single-page-content">
<?php
echo $post_AU->post_content;
示例12: ProjectTheme_post_new_area_function
//.........这里部分代码省略.........
<ul class="post-new">
<?php
$ProjectTheme_enable_images_in_projects = get_option('ProjectTheme_enable_images_in_projects');
$ProjectTheme_enable_images_in_projects_filter = true;
$ProjectTheme_enable_images_in_projects_filter = apply_filters('ProjectTheme_enable_images_in_projects_filter', $ProjectTheme_enable_images_in_projects_filter);
if ($ProjectTheme_enable_images_in_projects_filter == true) {
if ($ProjectTheme_enable_images_in_projects == "yes") {
?>
<?php
echo '<div class="images_sub_small_txt">';
$ProjectTheme_enable_max_images_limit = get_option('ProjectTheme_enable_max_images_limit');
if ($ProjectTheme_enable_max_images_limit == "yes") {
$projectTheme_nr_max_of_images = get_option('projectTheme_nr_max_of_images');
if (empty($projectTheme_nr_max_of_images)) {
$projectTheme_nr_max_of_images = 10;
}
echo sprintf(__('There is a limit for the uploaded images. The maximum number of images you can upload for this project is %s.', 'ProjectTheme'), $projectTheme_nr_max_of_images);
}
$ProjectTheme_charge_fees_for_images = get_option('ProjectTheme_charge_fees_for_images');
$projectTheme_extra_image_charge = get_option('projectTheme_extra_image_charge');
if ($ProjectTheme_charge_fees_for_images == "yes") {
$projectTheme_nr_of_free_images = get_option('projectTheme_nr_of_free_images');
if (empty($projectTheme_nr_of_free_images)) {
$projectTheme_nr_of_free_images = 1;
}
echo '<br/>';
echo sprintf(__('There are %s free images. After that each image will be charged %s.', 'ProjectTheme'), $projectTheme_nr_of_free_images, ProjectTheme_get_show_price($projectTheme_extra_image_charge));
}
echo '</div>';
?>
<li>
<h2><?php
_e('Images', 'ProjectTheme');
?>
:</h2>
<p>
<!-- ##################################################################### -->
<form id="fileupload" action="<?php
bloginfo('siteurl');
?>
/?uploady_thing=1&pid=<?php
echo $pid;
?>
" method="POST" enctype="multipart/form-data">
<input type="hidden" name="pid" value="<?php
echo $pid;
?>
">
<input type="hidden" name="cid" value="<?php
echo $cid;
?>
示例13: projectTheme_theme_Affiliates
function projectTheme_theme_Affiliates()
{
global $menu_admin_project_theme_bull, $wpdb;
echo '<div class="wrap">';
echo '<div class="icon32" id="icon-options-general-withdr"><br/></div>';
echo '<h2 class="my_title_class_sitemile">ProjectTheme Affiliates</h2>';
if (isset($_GET['tid'])) {
$tm = current_time('timestamp', 0);
$ids = $_GET['tid'];
$s = "select * from " . $wpdb->prefix . "project_withdraw where id='{$ids}'";
$row = $wpdb->get_results($s);
$row = $row[0];
if ($row->done == 0) {
echo '<div class="saved_thing">Payment completed!</div>';
$ss = "update " . $wpdb->prefix . "project_withdraw set done='1', datedone='{$tm}' where id='{$ids}'";
$wpdb->query($ss);
// or die(mysql_error());
$usr = get_userdata($row->uid);
$site_name = get_bloginfo('name');
$email = get_bloginfo('admin_email');
$subject = sprintf(__("Your withdrawal has been completed: %s", 'ProjectTheme'), projectTheme_get_show_price($row->amount));
$message = sprintf(__("Your withdrawal has been completed: %s", 'ProjectTheme'), projectTheme_get_show_price($row->amount));
//sitemile_send_email($usr->user_email, $subject , $message);
$reason = sprintf(__('Withdraw to PayPal to email: %s', 'ProjectTheme'), $row->payeremail);
projectTheme_add_history_log('0', $reason, $row->amount, $usr->ID);
}
}
?>
<div id="usual2" class="usual">
<ul>
<ul>
<li><a href="#tabs1"><?php
_e('Affiliate Activity (not paid)', 'ProjectTheme');
?>
</a></li>
<li><a href="#tabs2"><?php
_e('Affiliate Activity (paid)', 'ProjectTheme');
?>
</a></li>
</ul>
</ul>
<div id="tabs1">
<?php
$s = "select * from " . $wpdb->prefix . "project_affiliate_payouts where paid='0' order by id desc";
$r = $wpdb->get_results($s);
if (count($r) > 0) {
?>
<table class="widefat post fixed" cellspacing="0">
<thead>
<tr>
<th width="12%" ><?php
_e('Username', 'ProjectTheme');
?>
</th>
<th><?php
_e('Project', 'ProjectTheme');
?>
</th>
<th><?php
_e('Date Made', 'ProjectTheme');
?>
</th>
<th ><?php
_e('Amount', 'ProjectTheme');
?>
</th>
<th width="25%"><?php
_e('Options', 'ProjectTheme');
?>
</th>
</tr>
</thead>
<tbody>
<?php
foreach ($r as $row) {
$user = get_userdata($row->uid);
$user = get_userdata($row->uid);
echo '<tr>';
echo '<th>' . $user->user_login . '</th>';
echo '<th>' . $row->methods . '</th>';
echo '<th>' . $row->payeremail . '</th>';
echo '<th>' . date('d-M-Y H:i:s', $row->datemade) . '</th>';
echo '<th>' . ProjectTheme_get_show_price($row->amount) . '</th>';
echo '<th>' . ($row->done == 0 ? '<a href="' . get_bloginfo('siteurl') . '/wp-admin/admin.php?page=Withdrawals&active_tab=tabs1&tid=' . $row->id . '" class="awesome">' . __('Make Complete', 'ProjectTheme') . '</a>' . ' | ' . '<a href="' . get_bloginfo('siteurl') . '/wp-admin/admin.php?page=Withdrawals&den_id=' . $row->id . '" class="awesome">' . __('Deny Request', 'ProjectTheme') . '</a>' : ($row->done == 1 ? __("Completed", 'ProjectTheme') : __("Rejected", 'ProjectTheme'))) . '</th>';
echo '</tr>';
}
?>
</tbody>
</table>
<?php
} else {
?>
//.........这里部分代码省略.........