Exemplo n.º 1
0
				<td style="width: 4%;"><div class="bxstl-h-div"><input type="checkbox" onclick="window.oBXSticker.List.CheckAll(this.checked);"/></div></td>
				<?php 
    }
    ?>
			</tr>
			<?php 
    if ($count > 0) {
        ?>
			<?php 
        while ($arRes = $dbStickers->Fetch()) {
            ?>
			<?php 
            $arRes['PAGE_URL'] = str_replace('%20', ' ', $arRes['PAGE_URL']);
            $html = CSticker::BBParseToHTML($arRes['CONTENT'], true);
            $colorClass = isset($colorSchemes[$arRes['COLOR']]) ? $colorSchemes[$arRes['COLOR']] : $colorSchemes[0];
            $date = CSticker::GetUsableDate($arRes['DATE_UPDATE2']);
            $url = $arRes['PAGE_URL'] . "?show_sticker=" . intVal($arRes['ID']);
            $bCompleted = $arRes['COMPLETED'] == 'Y';
            if ($arRes['PAGE_URL'] == $curPage) {
                $curPageIds[] = $arRes['ID'];
            }
            ?>
			<tr class="bxst-list-item<?php 
            if ($arRes['CLOSED'] == "Y") {
                echo " bxst-list-item-closed";
            }
            ?>
">
				<td class="bxst-id-cell"><a href="<?php 
            echo $url;
            ?>
Exemplo n.º 2
0
 function GetStickerInfo($createdBy, $dateCreate, $modBy, $dateMod)
 {
     $str = GetMessage("FMST_CREATED") . ": <b>" . htmlspecialcharsEx(CSticker::GetUserName($createdBy)) . "</b> " . CSticker::GetUsableDate($dateCreate) . "<br/>" . GetMessage("FMST_UPDATED") . ": <b>" . htmlspecialcharsEx(CSticker::GetUserName($modBy)) . "</b> " . CSticker::GetUsableDate($dateMod);
     return $str;
 }