<div class="box_content"> <div class="post no_border_btm" id="post-<?php the_ID(); ?> "> <div class="image_holder"> <a href="<?php echo get_permalink($pid); ?> "><img width="45" height="45" class="image_class" src="<?php echo ProjectTheme_get_first_post_image($pid, 45, 45); ?> " /></a> </div> <div class="title_holder" > <h2><a href="<?php the_permalink(); ?> " rel="bookmark" title="Permanent Link to <?php echo $post_pr->post_title; ?> "> <?php echo $post_pr->post_title; ?> </a></h2>
echo '<table width="100%">'; echo '<tr>'; echo '<th> </th>'; echo '<th><b>' . __('Project Title', 'ProjectTheme') . '</b></th>'; echo '<th><b>' . __('From User', 'ProjectTheme') . '</b></th>'; echo '<th><b>' . __('Aquired on', 'ProjectTheme') . '</b></th>'; echo '<th><b>' . __('Price', 'ProjectTheme') . '</b></th>'; echo '<th><b>' . __('Rating', 'ProjectTheme') . '</b></th>'; echo '</tr>'; foreach ($r as $row) { $post = $row->pid; $post = get_post($post); $bid = projectTheme_get_winner_bid($row->pid); $user = get_userdata($row->fromuser); echo '<tr>'; echo '<th><img class="img_class" src="' . ProjectTheme_get_first_post_image($row->pid, 42, 42) . '" alt="' . $post->post_title . '" width="42" /></th>'; echo '<th><a href="' . get_permalink($row->pid) . '">' . $post->post_title . '</a></th>'; echo '<th><a href="' . ProjectTheme_get_user_profile_link($user->user_login) . '">' . $user->user_login . '</a></th>'; echo '<th>' . date('d-M-Y H:i:s', get_post_meta($row->pid, 'closed_date', true)) . '</th>'; echo '<th>' . projectTheme_get_show_price($bid->bid) . '</th>'; echo '<th>' . ProjectTheme_get_project_stars(floor($row->grade / 2)) . ' (' . floor($row->grade / 2) . '/5)</th>'; echo '</tr>'; echo '<tr>'; echo '<th></th>'; echo '<th colspan="5"><b>' . __('Comment', 'ProjectTheme') . ':</b> ' . $row->comment . '</th>'; echo '</tr>'; echo '<tr><th colspan="6"><hr color="#eee" /></th></tr>'; } echo '</table>'; } else {
function projectTheme_slider_post() { $featured = get_post_meta(get_the_ID(), 'featured', true); $private_bids = get_post_meta(get_the_ID(), 'private_bids', true); ?> <div class="slider-post"> <?php /*if($featured == "1"): ?> <div class="featured-three"></div> <?php endif;*/ if ($featured == "1") { $fs = '<div class="featured-three"></div>'; } else { $fs = ''; } ?> <?php /*if($private_bids == "yes" or $private_bids == "1"): ?> <div class="sealed-three"></div> <?php endif;*/ if ($private_bids == "yes" or $private_bids == "1") { $ss = '<div class="sealed-three"></div>'; } else { $ss = ''; } ?> <?php $ProjectTheme_enable_images_in_projects = get_option('ProjectTheme_enable_images_in_projects'); if ($ProjectTheme_enable_images_in_projects == "yes") { $width = 100; $height = 80; $image_class = "image_class"; $width = apply_filters("ProjectTheme_slider_post_img_width", $width); $height = apply_filters("ProjectTheme_slider_post_img_height", $height); $image_class = apply_filters("ProjectTheme_slider_post_img_class", $image_class); ?> <a href="<?php the_permalink(); ?> "><?php echo $fs . '' . $ss; ?> <img width="<?php echo $width; ?> " height="<?php echo $height; ?> " class="<?php echo $image_class; ?> " src="<?php echo ProjectTheme_get_first_post_image(get_the_ID(), $width, $height); ?> " /></a> <br/> <?php } else { ?> <br/><br/><br/><br/> <?php } ?> <p><b><a href="<?php the_permalink(); ?> " rel="bookmark" title="Permanent Link to <?php echo urldecode(the_title('', '', false)); ?> "> <?php echo urldecode(the_title('', '', false)); ?> </a></b><br/> <?php $ProjectTheme_enable_project_location = get_option('ProjectTheme_enable_project_location'); if ($ProjectTheme_enable_project_location == "yes") { ?> <?php echo get_the_term_list(get_the_ID(), 'project_location', '', ', ', ''); ?> <br/> <?php } ?> <?php $ids = get_post_meta(get_the_ID(), 'budgets', true); echo ProjectTheme_get_budget_name_string_fromID($ids); ?> </p> </div> <?php }
?> <div class="featured-two"></div> <?php } ?> <?php if ($private_bids == 'yes' or $private_bids == '1' or $private_bids == 1) { ?> <div class="sealed-two"></div> <?php } ?> <img class="img_class" src="<?php echo ProjectTheme_get_first_post_image(get_the_ID(), 250, 170); ?> " alt="<?php the_title(); ?> " /> <?php $arr = ProjectTheme_get_post_images(get_the_ID(), 4); if ($arr) { echo '<ul class="image-gallery" style="padding-top:10px">'; foreach ($arr as $image) { echo '<li><a href="' . ProjectTheme_generate_thumb($image, -1, 600) . '" rel="image_gal1"><img src="' . ProjectTheme_generate_thumb($image, 50, 50) . '" class="img_class" /></a></li>'; } echo '</ul>';
function ProjectTheme_my_account_feedbacks_area_function() { global $current_user, $wpdb, $wp_query; get_currentuserinfo(); $uid = $current_user->ID; ?> <div id="content" class="account-main-area"> <div class="box_title"><?php _e("Reviews I need to award", 'ProjectTheme'); ?> </div> <div class="my_box3"> <div class="box_content"> <?php global $wpdb; $query = "select * from " . $wpdb->prefix . "project_ratings where fromuser='******' AND awarded='0'"; $r = $wpdb->get_results($query); if (count($r) > 0) { echo '<table class="table">'; echo '<tr>'; echo '<th> </th>'; echo '<th><b>' . __('Project Title', 'ProjectTheme') . '</b></th>'; echo '<th><b>' . __('To User', 'ProjectTheme') . '</b></th>'; echo '<th><b>' . __('Aquired on', 'ProjectTheme') . '</b></th>'; echo '<th><b>' . __('Price', 'ProjectTheme') . '</b></th>'; echo '<th><b>' . __('Options', 'ProjectTheme') . '</b></th>'; echo '</tr>'; foreach ($r as $row) { $post = $row->pid; $post = get_post($post); $bid = projectTheme_get_winner_bid($row->pid); $user = get_userdata($row->touser); $dmt2 = get_post_meta($row->pid, 'closed_date', true); if (!empty($dmt2)) { $dmt = date_i18n('d-M-Y H:i:s', $dmt2); } echo '<tr>'; echo '<th><img class="img_class" width="42" height="42" src="' . ProjectTheme_get_first_post_image($row->pid, 42, 42) . '" alt="' . $post->post_title . '" /></th>'; echo '<th><a href="' . get_permalink($row->pid) . '">' . $post->post_title . '</a></th>'; echo '<th><a href="' . ProjectTheme_get_user_profile_link($user->ID) . '">' . $user->user_login . '</a></th>'; echo '<th>' . $dmt . '</th>'; echo '<th>' . projectTheme_get_show_price($bid->bid) . '</th>'; echo '<th><a href="' . get_bloginfo('siteurl') . '/?p_action=rate_user&rid=' . $row->id . '">' . __('Rate User', 'ProjectTheme') . '</a></th>'; echo '</tr>'; } echo '</table>'; } else { _e("There are no reviews to be awarded.", "ProjectTheme"); } ?> </div> </div> <!-- ##### --> <div class="clear10"></div> <div class="box_title"><?php _e("Reviews I am waiting ", 'ProjectTheme'); ?> </div> <div class="my_box3"> <div class="box_content"> <?php global $wpdb; $query = "select * from " . $wpdb->prefix . "project_ratings where touser='******' AND awarded='0'"; $r = $wpdb->get_results($query); if (count($r) > 0) { echo '<table class="table">'; echo '<tr>'; echo '<th> </th>'; echo '<th><b>' . __('Project Title', 'ProjectTheme') . '</b></th>'; echo '<th><b>' . __('From User', 'ProjectTheme') . '</b></th>'; echo '<th><b>' . __('Aquired on', 'ProjectTheme') . '</b></th>'; echo '<th><b>' . __('Price', 'ProjectTheme') . '</b></th>'; //echo '<th><b>'.__('Options','ProjectTheme').'</b></th>'; echo '</tr>'; foreach ($r as $row) { $post = $row->pid; $post = get_post($post); $bid = projectTheme_get_winner_bid($row->pid); $user = get_userdata($row->fromuser); $dmt2 = get_post_meta($row->pid, 'closed_date', true); if (!empty($dmt2)) { $dmt = date_i18n('d-M-Y H:i:s', $dmt2); } echo '<tr>'; echo '<th><img class="img_class" width="42" height="42" src="' . ProjectTheme_get_first_post_image($row->pid, 42, 42) . '" alt="' . $post->post_title . '" /></th>'; echo '<th><a href="' . get_permalink($row->pid) . '">' . $post->post_title . '</a></th>'; echo '<th><a href="' . ProjectTheme_get_user_profile_link($user->ID) . '">' . $user->user_login . '</a></th>'; echo '<th>' . $dmt . '</th>'; echo '<th>' . projectTheme_get_show_price($bid->bid) . '</th>'; //echo '<th><a href="#">Rate User</a></th>'; echo '</tr>'; } echo '</table>'; } else { _e("There are no reviews to be awarded.", "ProjectTheme"); } ?> </div> </div> <div class="clear10"></div> <div class="box_title"><?php _e("Reviews I was awarded ", 'ProjectTheme'); ?> </div> <div class="my_box3"> <div class="box_content"> <?php global $wpdb; $query = "select * from " . $wpdb->prefix . "project_ratings where touser='******' AND awarded='1'"; $r = $wpdb->get_results($query); if (count($r) > 0) { echo '<table class="table">'; echo '<tr>'; echo '<th> </th>'; echo '<th><b>' . __('Project Title', 'ProjectTheme') . '</b></th>'; echo '<th><b>' . __('From User', 'ProjectTheme') . '</b></th>'; echo '<th><b>' . __('Aquired on', 'ProjectTheme') . '</b></th>'; echo '<th><b>' . __('Price', 'ProjectTheme') . '</b></th>'; echo '<th><b>' . __('Rating', 'ProjectTheme') . '</b></th>'; echo '</tr>'; foreach ($r as $row) { $post = $row->pid; $post = get_post($post); $bid = projectTheme_get_winner_bid($row->pid); $user = get_userdata($row->fromuser); $dmt2 = get_post_meta($row->pid, 'closed_date', true); if (!empty($dmt2)) { $dmt = date_i18n('d-M-Y H:i:s', $dmt2); } echo '<tr>'; echo '<th><img width="42" height="42" class="img_class" src="' . ProjectTheme_get_first_post_image($row->pid, 42, 42) . '" alt="' . $post->post_title . '" /></th>'; echo '<th><a href="' . get_permalink($row->pid) . '">' . $post->post_title . '</a></th>'; echo '<th><a href="' . ProjectTheme_get_user_profile_link($user->ID) . '">' . $user->user_login . '</a></th>'; echo '<th>' . $dmt . '</th>'; echo '<th>' . projectTheme_get_show_price($bid->bid) . '</th>'; echo '<th>' . floor($row->grade / 2) . '/5</th>'; echo '</tr>'; echo '<tr>'; echo '<th></th>'; echo '<th colspan="5"><b>' . __('Comment', 'ProjectTheme') . ':</b> ' . $row->comment . '</th>'; echo '</tr>'; echo '<tr><th colspan="6"><hr color="#eee" /></th></tr>'; } echo '</table>'; } else { _e("There are no reviews to be awarded.", "ProjectTheme"); } ?> </div> </div> </div> <?php ProjectTheme_get_users_links(); }
echo '<th><b>' . __('Acquired on', 'ProjectTheme') . '</b></th>'; echo '<th><b>' . __('Price', 'ProjectTheme') . '</b></th>'; echo '<th><b>' . __('Rating', 'ProjectTheme') . '</b></th>'; echo '</tr>'; foreach ($r as $row) { $post = $row->pid; $post = get_post($post); $bid = projectTheme_get_winner_bid($row->pid); $user = get_userdata($row->fromuser); $dts = $row->datemade; //get_post_meta($row->pid,'closed_date',true); if (empty($dts)) { $dts = current_time('timestamp', 0); } echo '<tr>'; echo '<th><a href="' . get_permalink($row->pid) . '"><img class="img_class" src="' . ProjectTheme_get_first_post_image($row->pid, 42, 42) . '" alt="' . $post->post_title . '" width="42" /></a></th>'; echo '<th><a href="' . get_permalink($row->pid) . '">' . $post->post_title . '</a></th>'; echo '<th><a href="' . ProjectTheme_get_user_profile_link($user->ID) . '">' . $user->user_login . '</a></th>'; echo '<th>' . date_i18n('d-M-Y H:i:s', $dts) . '</th>'; echo '<th>' . projectTheme_get_show_price($bid->bid) . '</th>'; echo '<th>' . ProjectTheme_get_project_stars(floor($row->grade / 2)) . ' (' . floor($row->grade / 2) . '/5)</th>'; echo '</tr>'; echo '<tr>'; echo '<th></th>'; echo '<th colspan="5" class="word_break"><b>' . __('Comment', 'ProjectTheme') . ':</b> ' . $row->comment . '</th>'; echo '</tr>'; echo '<tr><th colspan="6"><hr color="#eee" /></th></tr>'; } echo '<tr>'; echo '<th colspan="6">' . ProjectTheme_get_my_pagination_main(get_bloginfo('siteurl') . "/?p_action=user_feedback&post_author=" . $uid, $pagenum, 'pagenum', $last) . '</th>';
function projectTheme_get_post_main_function2($arr = '') { if ($arr[0] == "winner") { $pay_this_me = 1; } if ($arr[0] == "winner_not") { $pay_this_me2 = 1; } if ($arr[0] == "unpaid") { $unpaid = 1; } $ending = get_post_meta(get_the_ID(), 'ending', true); $sec = $ending - current_time('timestamp', 0); $location = get_post_meta(get_the_ID(), 'Location', true); $closed = get_post_meta(get_the_ID(), 'closed', true); $featured = get_post_meta(get_the_ID(), 'featured', true); $private_bids = get_post_meta(get_the_ID(), 'private_bids', true); $paid = get_post_meta(get_the_ID(), 'paid', true); $post = get_post(get_the_ID()); //echo $paid; global $current_user; get_currentuserinfo(); $uid = $current_user->ID; do_action('ProjectTheme_regular_proj_post_before'); ?> <div class="post" id="post-<?php the_ID(); ?> "><div class="padd10"> <?php if ($featured == "1") { ?> <div class="featured-one"></div> <?php } ?> <?php if ($private_bids == "yes" or $private_bids == "1") { ?> <div class="sealed-one"></div> <?php } ?> <div class="padd10_only_top"> <div class="image_holder"> <?php $ProjectTheme_enable_images_in_projects = get_option('ProjectTheme_enable_images_in_projects'); if ($ProjectTheme_enable_images_in_projects == "yes") { $width = 40; $height = 32; $image_class = "image_class"; $width = apply_filters("ProjectTheme_regular_proj_img_width", $width); $height = apply_filters("ProjectTheme_regular_proj_img_height", $height); $image_class = apply_filters("ProjectTheme_regular_proj_img_class", $image_class); ?> <a href="<?php the_permalink(); ?> " title="<?php the_title(); ?> "><img alt="<?php the_title(); ?> " width="<?php echo $width; ?> " height="<?php echo $height; ?> " class="<?php echo $image_class; ?> " src="<?php echo ProjectTheme_get_first_post_image(get_the_ID(), $width, $height); ?> " /></a> <?php } ?> </div> <div class="title_holder" > <h2><a class="post-title-class" href="<?php the_permalink(); ?> " rel="bookmark" title="<?php the_title(); ?> "> <?php do_action('ProjectTheme_regular_proj_title_before'); the_title(); do_action('ProjectTheme_regular_proj_title_after'); ?> </a></h2> <?php if (1) { ?> <p class="mypostedon"> <?php _e("Posted in", 'ProjectTheme'); ?> : <?php echo get_the_term_list(get_the_ID(), 'project_cat', '', ', ', ''); ?> <?php _e("by", 'ProjectTheme'); ?> : <a href="<?php bloginfo('siteurl'); ?> ?p_action=user_profile&post_author=<?php echo $post->post_author; ?> "><?php the_author(); ?> </a> <?php $projectTheme_admin_approves_each_project = get_option('projectTheme_admin_approves_each_project'); if ($post->post_status == "draft" && $closed == "0" && $paid == "1" && $projectTheme_admin_approves_each_project == "yes") { echo '<br/><em>' . __('Your project is awaiting moderation.', 'ProjectTheme') . "</em>"; } ?> </p> <p class="task_buttons"> <?php if ($pay_this_me == 1) { ?> <a href="<?php echo ProjectTheme_get_pay4project_page_url(get_the_ID()); ?> " class="post_bid_btn"><?php echo __("Pay This", "ProjectTheme"); ?> </a> <?php } ?> <?php if (1) { ?> <?php if ($pay_this_me != 1) { ?> <a href="<?php the_permalink(); ?> " class="post_bid_btn"><?php echo __("Read More", "ProjectTheme"); ?> </a> <?php } ?> <?php if ($unpaid == 1) { $finalised_posted = get_post_meta(get_the_ID(), 'finalised_posted', true); if ($finalised_posted == "1") { $finalised_posted = 3; } else { $finalised_posted = "1"; } $finalised_posted = apply_filters('ProjectTheme_publish_prj_posted', $finalised_posted); ?> <a href="<?php echo ProjectTheme_post_new_with_pid_stuff_thg(get_the_ID(), $finalised_posted); ?> " class="post_bid_btn"><?php echo __("Publish", "ProjectTheme"); ?> </a> <?php } ?> <?php if ($post->post_author == $uid) { ?> <a href="<?php bloginfo('siteurl'); ?> /?p_action=edit_project&pid=<?php the_ID(); ?> " class="post_bid_btn"><?php echo __("Edit Project", "ProjectTheme"); ?> </a> <?php } ?> <?php if ($post->post_author == $uid) { ?> <?php if ($closed == "1") { ?> <a href="<?php bloginfo('siteurl'); ?> /?p_action=repost_project&pid=<?php the_ID(); ?> " class="post_bid_btn"><?php echo __("Repost Project", "ProjectTheme"); ?> </a> <?php } /*} else { */ ?> <?php $winner = get_post_meta(get_the_ID(), 'winner', true); if (empty($winner)) { ?> <a href="<?php bloginfo('siteurl'); ?> /?p_action=delete_project&pid=<?php the_ID(); ?> " class="post_bid_btn"><?php echo __("Delete", "ProjectTheme"); ?> </a> <?php } ?> <?php } ?> <?php } ?> </p> </div> <div class="details_holder"> <?php } ?> <ul class="project-details1"> <li> <img src="<?php echo get_bloginfo('template_url'); ?> /images/price.png" width="15" height="15" /> <h3><?php 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> <?php $ProjectTheme_enable_project_location = get_option('ProjectTheme_enable_project_location'); if ($ProjectTheme_enable_project_location == "yes") { ?> <li> <img src="<?php echo get_bloginfo('template_url'); ?> /images/location.png" width="15" height="15" /> <h3><?php echo __("Location:", 'ProjectTheme'); ?> </h3> <p><?php echo get_the_term_list(get_the_ID(), 'project_location', '', ', ', ''); ?> </p> </li> <?php } ?> <li> <img src="<?php echo get_bloginfo('template_url'); ?> /images/clock.png" width="15" height="15" /> <h3><?php echo __("Expires in:", 'ProjectTheme'); ?> </h3> <p><?php echo $closed == "1" ? __('Closed', 'ProjectTheme') : ProjectTheme_prepare_seconds_to_words($ending - current_time('timestamp', 0)); ?> </p> </li> </ul> </div> </div></div></div> <?php do_action('ProjectTheme_regular_proj_post_after'); }
function ProjectTheme_my_account_pay4project_area_function() { global $current_user, $wpdb, $wp_query; get_currentuserinfo(); $uid = $current_user->ID; $pid = $wp_query->query_vars['pid']; $post = get_post($pid); ?> <div id="content"> <div class="my_box3 "> <div class="padd10"> <div class="box_title"><?php echo sprintf(__("Pay for project - %s", "ProjectTheme"), $post->post_title); ?> </div> <div class="box_content"> <div class="post no_border_btm" id="post-<?php the_ID(); ?> "> <div class="padd10"> <div class="image_holder"> <a href="<?php echo get_permalink($pid); ?> "><img width="45" height="35" class="image_class" src="<?php echo ProjectTheme_get_first_post_image($pid, 45, 35); ?> " /></a> </div> <div class="title_holder" > <h2><a href="<?php the_permalink(); ?> " rel="bookmark" title="Permanent Link to <?php echo $post->post_title; ?> "> <?php echo $post->post_title; ?> </a></h2> </div> <div class="details_holder"> <?php $bid = projectTheme_get_winner_bid($pid); echo __('You are about to pay for this project. Use the accepted methods below to pay for it.', 'ProjectTheme'); ?> <b><?php echo sprintf(__('The price for the project is: %s', 'ProjectTheme'), projectTheme_get_show_price($bid->bid)); ?> </b> <br/><br/> <a href="<?php bloginfo('siteurl'); ?> /?p_action=pay_for_project_paypal&pid=<?php echo $pid; ?> "><img src="<?php echo get_bloginfo('template_url'); ?> /images/paypal.jpg" border="0" /></a><br/><br/> <?php do_action('ProjectTheme_pay_for_actual_project_payment_options', $pid); ?> <?php $show_cr = true; $show_cr = apply_filters('ProjectTheme_show_cr_filter', $show_cr); if ($show_cr == true) { ?> <a class="post_bid_btn" href="<?php echo ProjectTheme_get_pay_with_credits_page_url($pid); ?> "><?php echo __('Pay by credits', 'ProjectTheme'); ?> </a> <?php } ?> </div> </div> </div> </div> </div> </div> </div> <?php ProjectTheme_get_users_links(); }
function ProjectTheme_my_account_pay_with_credits_area_function() { global $current_user, $wpdb, $wp_query; get_currentuserinfo(); $uid = $current_user->ID; $pid = $_GET['pid']; $post_ar = get_post($pid); ?> <div id="content" class="account-main-area"> <div class="my_box3 border_bottom_0"> <div class="box_title"><?php _e("Pay with virtual currency", 'ProjectTheme'); ?> </div> <div class="box_content"> <div class="post no_border_btm" id="post-<?php the_ID(); ?> "> <div class="image_holder"> <a href="<?php echo get_permalink($pid); ?> "><img width="45" height="45" class="image_class" src="<?php echo ProjectTheme_get_first_post_image($pid, 45, 45); ?> " /></a> </div> <div class="title_holder" > <h2><a href="<?php echo get_permalink($pid); ?> " rel="bookmark" title="Permanent Link to <?php echo $post_ar->post_title; ?> "> <?php echo $post_ar->post_title; ?> </a></h2> </div> <?php if (isset($_GET['pay'])) { echo '<div class="details_holder sk_sk_class">'; $post_ar = get_post($pid); $cr = projectTheme_get_credits($uid); $bid = projectTheme_get_winner_bid($pid); $amount = $bid->bid; if ($cr < $amount) { echo '<div class="error2">'; echo __('You do not have enough credits to pay for this project.', 'ProjectTheme'); echo '</div><div class="clear10 flt_lft"></div>'; ?> <div class="tripp"> <a class="post_bid_btn" href="<?php echo ProjectTheme_get_payments_page_url('deposit'); ?> "><?php echo __('Add More Credits', 'ProjectTheme'); ?> </a> </div> <?php } else { projectTheme_send_email_to_project_payer($pid, $uid, $bid->uid, $amount, '1'); echo __('Your payment has been sent.', 'ProjectTheme'); } echo '</div>'; ?> <?php } else { ?> <div class="details_holder sk_sk_class mm11"> <b> <?php echo __('The price for the project is', 'ProjectTheme'); ?> : <?php $bid = projectTheme_get_winner_bid($pid); echo projectTheme_get_show_price($bid->bid); ?> </b> <br/><br/> <?php _e("Your credits amount", 'ProjectTheme'); ?> : <?php echo projectTheme_get_credits($uid); ?> <?php echo projectTheme_currency(); ?> <br/><br/> <a class="post_bid_btn" href="<?php echo ProjectTheme_get_pay_with_credits_page_url($pid, '&pay=yes'); ?> "><?php echo __('Pay Now', 'ProjectTheme'); ?> </a> <a class="post_bid_btn" href="<?php echo ProjectTheme_get_payments_page_url('deposit'); ?> "><?php echo __('Add More Credits', 'ProjectTheme'); ?> </a> </div><?php } ?> </div></div> </div> </div> <?php ProjectTheme_get_users_links(); }