Example #1
0
File: page.php Project: diductio/D
    echo $user_statistic['in_progress'];
    ?>
</span>
			</div>
			<div class="stat-col" style="margin-right: 11px;">
					<span class="label label-success label-soft">Пройденныхu</span>
					<span class="label label-success"><?php 
    echo $user_statistic['done'];
    ?>
</span>
			</div>
			<?php 
    if (is_user_logged_in()) {
        ?>
				<?php 
        $wts = get_user_work_times();
        ?>
				<div class="stat-col" style="margin-right: 11px;">
					<span class="label label-important label-important-soft">Требуется</span>
					<span class="label label-important">
						<?php 
        print_r(floor($wts['nocomplete'] / 60));
        ?>
ч : 
						<?php 
        print_r($wts['nocomplete'] % 60);
        ?>
м
					</span>
				</div>
Example #2
0
					<span class="label label-success label-soft">Активных</span>
					<span class="label label-success"><?php 
echo $user_statistic['in_progress'];
?>
</span>
			</div>
			<div class="stat-col" style="margin-right: 11px;">
					<span class="label label-success label-soft">Пройденных</span>
					<span class="label label-success"><?php 
echo $user_statistic['done'];
?>
</span>
			</div>

			<?php 
$wts = get_user_work_times($user_id);
?>
				<div class="stat-col" style="margin-right: 11px;">
					<span class="label label-important label-important-soft">Требуется</span>
					<span class="label label-important">
						<?php 
print_r(floor($wts['nocomplete'] / 60));
?>
ч : 
						<?php 
print_r($wts['nocomplete'] % 60);
?>
м
					</span>
				</div>