Exemplo n.º 1
0
            _e("ORDERS in QUEUE", "PricerrTheme");
            ?>
:</div> 
          <div class="deli_days"><?php 
            echo pricerrTheme_orders_in_queue($uid);
            ?>
</div>
            
            <div class="separator_job_rating"></div> 
            
            <div class="job_rating"> <?php 
            _e("SELLER RATING", "PricerrTheme");
            ?>
:</div> 
          <div class="rating_100"><?php 
            echo pricerrTheme_get_seller_rating($post->post_author);
            ?>
%</div>
          
          <?php 
            $opt = get_option('PricerrTheme_show_views');
            if ($opt != "no") {
                ?>
          
          <div class="separator_job_rating"></div> 
          <div class="job_rating"><?php 
                _e("views", "PricerrTheme");
                ?>
:</div> 
          <div class="deli_days"><?php 
                echo $views;
Exemplo n.º 2
0
<?php

global $wpdb, $wp_rewrite, $wp_query;
$username = $wp_query->query_vars['username'];
$uid = get_userdatabylogin($username);
$userman = $uid;
$reg = $userman->user_registered;
$uid = $uid->ID;
$paged = $wp_query->query_vars['paged'];
$rtg = pricerrTheme_get_seller_rating($uid) . "%";
$joined = PricerrTheme_prepare_seconds_to_words(time() - strtotime($reg));
$last = get_user_meta($uid, 'last_user_login', true);
if (empty($last)) {
    $act = __('no activity', 'PricerrTheme');
} else {
    $act = PricerrTheme_prepare_seconds_to_words(current_time('timestamp', 0) - $last) . " ago";
}
//--------------------------------------------------------------------
global $is_profile_pg, $usrusr;
$usrusr = $username;
$is_profile_pg = 1;
get_header();
?>

<div id="content">

<div class="padd10">
	
    
<div class="wrapitup">    
    <div class="profile_pic_user">