本文整理汇总了PHP中ShowImage函数的典型用法代码示例。如果您正苦于以下问题:PHP ShowImage函数的具体用法?PHP ShowImage怎么用?PHP ShowImage使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了ShowImage函数的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: GetMessage
?>
">
<div title="<?php
echo GetMessage("LEARNING_PASS_SELF_TEST");
?>
" class="learn-self-test-icon float-right"></div>
</a>
<?php
}
?>
<?php
if ($arResult["LESSON"]["DETAIL_PICTURE_ARRAY"] !== false) {
?>
<?php
echo ShowImage($arResult["LESSON"]["DETAIL_PICTURE_ARRAY"], 250, 250, "hspace='8' vspace='1' align='left' border='0'" . ' alt="' . htmlspecialcharsbx($arResult["LESSON"]["DETAIL_PICTURE_ARRAY"]['DESCRIPTION']) . '"', "", true);
?>
<?php
}
?>
<?php
echo $arResult["LESSON"]["DETAIL_TEXT"];
?>
<?php
$arParams["SHOW_RATING"] = $arResult["COURSE"]["RATING"];
CRatingsComponentsMain::GetShowRating($arParams);
if ($arParams["SHOW_RATING"] == 'Y') {
?>
<div class="learn-rating">
示例2: array
</div><?php
$APPLICATION->IncludeComponent("bitrix:search.form", "flat", array("PAGE" => "search.php"), $component);
?>
<br />
<?php
if (!empty($arResult["COURSES"])) {
?>
<div class="learning-course-list">
<?php
foreach ($arResult["COURSES"] as $arCourse) {
?>
<?php
if ($arCourse["PREVIEW_PICTURE_ARRAY"] !== false) {
?>
<?php
echo ShowImage($arCourse["PREVIEW_PICTURE_ARRAY"], 200, 200, "hspace='6' vspace='6' align='left' border='0'" . ' alt="' . htmlspecialcharsbx($arCourse['PREVIEW_PICTURE_ARRAY']['DESCRIPTION']) . '"', "", true);
?>
<?php
}
?>
<a href="<?php
echo $arCourse["COURSE_DETAIL_URL"];
?>
" target="_blank"><?php
echo $arCourse["NAME"];
?>
</a>
<?php
if (strlen($arCourse["PREVIEW_TEXT"]) > 0) {
?>
示例3: GetMessage
<?if($fType == 'SOURCE'):?>
<a title ="<?php
echo GetMessage("MAIN_MOD_FILE") . htmlspecialcharsbx($arFiles["NAME"]);
?>
" href="fileman_file_edit.php?lang=<?php
echo LANG;
?>
&full_src=Y&path=<?php
echo urlencode($arFiles["ABS_PATH"]);
?>
&back_url=<?php
echo urlencode($_SERVER["REQUEST_URI"]);
?>
"><?echo GetMessage("MAIN_T_EDIT_CHANGE")?></a>
<?elseif($fType == 'IMAGE' || $fType == 'FLASH'):?>
<?echo ShowImage($arFiles["ABS_PATH"], $iMaxW=50, $iMaxH=50, $sParams=null, $strImageUrl="", $bPopup=true, $sPopupTitle=GetMessage("template_edit_open_pic"));?>
<?endif?>
</td>
</tr>
<?endwhile;?>
</table>
</td>
</tr>
<tr>
<td align="left" colspan="2">
<a title="<?php
echo GetMessage("MAIN_T_EDIT_ADD_TITLE");
?>
" href="fileman_file_edit.php?lang=<?php
echo LANG;
?>