示例#1
0
                    if ($arResult["TASK"]["REAL_STATUS"] != 4 && $arResult["TASK"]["REAL_STATUS"] != 5) {
                        ?>
														<?php 
                        echo GetMessage("TASKS_SIDEBAR_START_DATE");
                        ?>
													<?php 
                    }
                    ?>
													<?php 
                    echo tasksFormatDate($arResult["TASK"]["STATUS_CHANGED_DATE"]);
                    ?>
													<?php 
                    if (date("H:i", strtotime($arResult["TASK"]["STATUS_CHANGED_DATE"])) != "00:00") {
                        ?>
														<?php 
                        echo FormatDateFromDB($arResult["TASK"]["STATUS_CHANGED_DATE"], CSite::getTimeFormat());
                        ?>
													<?php 
                    }
                    ?>
												</span>
											</span>
										</td>
									</tr>
								<?php 
                    break;
                case 'PRIORITY':
                    ?>
									<tr <?php 
                    echo (!$arResult['SHOW_ACCOMPLICES'] || empty($arResult["TASK"]["ACCOMPLICES"])) && (!$arResult['SHOW_AUDITORS'] || empty($arResult["TASK"]["AUDITORS"])) ? 'class="task-detail-last-row"' : '';
                    ?>
示例#2
0
if (count($arResult["TASKS"]) <= 0) {
    echo GetMessage("INTASK_LIST_EMPTY");
}
$bFirst = true;
if (Array_Key_Exists("TASKS", $arResult) && Is_Array($arResult["TASKS"])) {
    foreach ($arResult["TASKS"] as $arTask) {
        if (!$bFirst) {
            ?>
<div class="sonet-forum-line"></div><?php 
        }
        if ($arTask["DEADLINE"]) {
            ?>
<span class="sonet-forum-post-date"><?php 
            echo GetMessage("TASKS_DEADLINE") . ": " . tasksFormatDate($arTask["DEADLINE"]);
            if (date("H:i", strtotime($arTask["DEADLINE"])) != "00:00") {
                echo ' ' . FormatDateFromDB($arTask["DEADLINE"], CSite::getTimeFormat());
            }
            ?>
</span><br /><?php 
        }
        ?>
		<b><a href="<?php 
        echo CComponentEngine::MakePathFromTemplate($arParams["PATH_TO_TASKS_TASK"], array("task_id" => $arTask["ID"], "action" => "view"));
        ?>
"><?php 
        echo $arTask["TITLE"];
        ?>
</a></b><br />

		<?php 
        if ($arResult["TASK_TYPE"] == "group") {