示例#1
0
文件: default.php 项目: Ovi1/modules
        echo JText::_('MOD_JBLANCE_STARTED');
        ?>
" nowrap="nowrap" class="text-center"><?php 
        echo $startdate;
        ?>
</td><?php 
    }
    ?>
			<?php 
    if ($show_enddate == 1) {
        ?>
<td  data-title="<?php 
        echo JText::_('MOD_JBLANCE_ENDS');
        ?>
" class="text-center"><?php 
        echo JblanceHelper::showRemainingDHM($expiredate, 'SHORT', 'COM_JBLANCE_PROJECT_EXPIRED_SHORT');
        ?>
</td><?php 
    }
    ?>
	 		<?php 
    if ($show_budget == 1) {
        ?>
	 		<td  data-title="<?php 
        echo JText::_('MOD_JBLANCE_BUDGET') . ' (' . $currencycod . ')';
        ?>
" class="text-center">
	 			<?php 
        echo JblanceHelper::formatCurrency($row->budgetmin, true, false, 0);
        ?>
 - <?php 
示例#2
0
?>
						<?php 
if ($service->p_started != "0000-00-00 00:00:00") {
    $planned = JFactory::getDate($service->p_started);
    $planned->modify("+{$service->totalduration} days");
    ?>
						<div class="control-group">
							<label class="control-label nopadding"><?php 
    echo JText::_('COM_JBLANCE_PLANNED_COMPLETION');
    ?>
 :</label>
							<div class="controls">
								<?php 
    echo JHtml::_('date', $planned, $dformat . ' H:i:s', true);
    if ($service->p_status == 'COM_JBLANCE_INITIATED' || $service->p_status == 'COM_JBLANCE_IN_PROGRESS') {
        echo '<div class="small">[' . JblanceHelper::showRemainingDHM($planned, 'LONG', 'COM_JBLANCE_SERVICE_NOT_COMPLETED_IN_TIME') . ']</div>';
    }
    ?>
							</div>
						</div>
						<?php 
}
?>
 					</div>
 				</div>
 			</fieldset>
 		</div>
	</div>
	<?php 
if ($isSeller && $service->p_status != 'COM_JBLANCE_COMPLETED') {
    ?>