当前位置: 首页>>代码示例>>PHP>>正文


PHP ShowNote函数代码示例

本文整理汇总了PHP中ShowNote函数的典型用法代码示例。如果您正苦于以下问题:PHP ShowNote函数的具体用法?PHP ShowNote怎么用?PHP ShowNote使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。


在下文中一共展示了ShowNote函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: ShowNote

<?php

if (!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED !== true) {
    die;
}
if (count($arResult['FORMS']) <= 0) {
    ShowNote(GetMessage('FRLM_NO_RESULTS'));
    return;
}
?>
<div class="bx-mylist-layout">
<?php 
//echo '<pre>'; print_r($arResult); echo '</pre>';
foreach ($arResult['FORMS'] as $FORM_ID => $arForm) {
    ?>
	<div class="bx-mylist-form" id="bx_mylist_form_<?php 
    echo $FORM_ID;
    ?>
">
		<div class="bx-mylist-form-info">
			<b><?php 
    echo $arForm['NAME'];
    ?>
</b>
		</div>
		<ul class="bx-mylist-form-results">
<?php 
    $i = 0;
    foreach ($arResult['RESULTS'][$FORM_ID] as $arRes) {
        ?>
			<li class="bx-mylist-row-<?php 
开发者ID:Satariall,项目名称:izurit,代码行数:31,代码来源:template.php

示例2: ShowError

// *****************************************************************************************
if (!empty($arResult["ERROR_MESSAGE"])) {
    ?>
<div class="forum-note-box forum-note-error">
	<div class="forum-note-box-text"><?php 
    echo ShowError($arResult["ERROR_MESSAGE"], "forum-note-error");
    ?>
</div>
</div>
<?php 
}
if (!empty($arResult["OK_MESSAGE"])) {
    ?>
<div class="forum-note-box forum-note-success">
	<div class="forum-note-box-text"><?php 
    echo ShowNote($arResult["OK_MESSAGE"], "forum-note-success");
    ?>
</div>
</div>
<?php 
}
/*?>
<div class="forum-header-box">
	<div class="forum-header-options">
		<span class="forum-option-profile">
			<a href="<?=$arResult["profile_view"]?>"><?=GetMessage("F_PROFILE")?></a>
		</span>
	</div>
	<div class="forum-header-title"><span><?=GetMessage("F_CHANGE_PROFILE")?></span></div>
</div>
<?*/
开发者ID:dayAlone,项目名称:MyQube,代码行数:31,代码来源:template.php

示例3: str_replace

				<td class="cart-item-actions">
					<?php 
        if (in_array("DELETE", $arParams["COLUMNS_LIST"])) {
            ?>
						<a href="<?php 
            echo str_replace("#ID#", $arBasketItems["ID"], $arUrlTempl["delete"]);
            ?>
" title="<?php 
            echo GetMessage("SALE_DELETE_PRD");
            ?>
"><?php 
            echo GetMessage("SALE_DELETE");
            ?>
</a><br />
					<?php 
        }
        ?>
				</td>
			</tr>
			<?php 
    }
    ?>
		</tbody>
		</table>
	<?php 
} else {
    echo ShowNote(GetMessage("SALE_NO_NOACTIVE"));
}
?>
</div>
开发者ID:webgksupport,项目名称:alpina,代码行数:30,代码来源:basket_items_notavail.php

示例4: str_replace

$path2 = str_replace(array("\\", "//"), "/", dirname(__FILE__) . "/include/webdav_2.php");
if (file_exists($path2)) {
    include_once $path2;
}
if (strPos($componentPage, "user_files") !== false || strPos($componentPage, "group_files") !== false) {
    $path = str_replace(array("\\", "//"), "/", dirname(__FILE__) . "/include/webdav.php");
    if (!file_exists($path)) {
        $arParams["ERROR_MESSAGE"] = "WebDAV file is not exist.";
        $res = 0;
    } else {
        $res = (include_once $path);
    }
    $arParams["FATAL_ERROR"] = $res <= 0 ? "Y" : "N";
    if ($arParams["FATAL_ERROR"] === "Y") {
        if (strlen($arParams["NOTE_MESSAGE"]) > 0) {
            ShowNote($arParams["NOTE_MESSAGE"]);
        }
        if (strlen($arParams["ERROR_MESSAGE"]) > 0) {
            ShowError($arParams["ERROR_MESSAGE"]);
        }
        return 0;
    }
} elseif (strPos($componentPage, "user_photo") !== false || strPos($componentPage, "group_photo") !== false) {
    if (strPos($componentPage, "user_photofull") !== false || strPos($componentPage, "group_photofull") !== false) {
        $componentPage = str_replace("_photofull", "_photo", $componentPage);
    }
    $path = str_replace(array("\\", "//"), "/", dirname(__FILE__) . "/include/photogallery.php");
    if (!file_exists($path)) {
        $arParams["ERROR_MESSAGE"] = "Photogallery file is not exist.";
        $res = 0;
    } else {
开发者ID:vim84,项目名称:b-markt,代码行数:31,代码来源:component.php

示例5: ShowNote

<?php 
    }
    ?>
#COMMENTS_END#
</div>

<?php 
}
?>

<?php 
if (empty($arResult["ERROR_MESSAGE"]) && !empty($arResult["OK_MESSAGE"]) && false) {
    ?>
<div class="reviews-note-box reviews-note-note">
	<div class="reviews-note-box-text"><?php 
    echo ShowNote($arResult["OK_MESSAGE"]);
    ?>
</div>
</div>
<?php 
}
?>

#ADD_COMMENT_BEGIN#
<a name="review_anchor"></a>
<?php 
if (!empty($arResult["ERROR_MESSAGE"])) {
    ?>
<div class="reviews-note-box reviews-note-error">
	<div class="reviews-note-box-text"><?php 
    echo ShowError($arResult["ERROR_MESSAGE"], "reviews-note-error");
开发者ID:k-kalashnikov,项目名称:geekcon_new,代码行数:31,代码来源:template.php

示例6: ShowError

/** @var string $templateName */
/** @var string $templateFile */
/** @var string $templateFolder */
/** @var string $componentPath */
/** @var CBitrixComponent $component */
$this->setFrameMode(false);
$arResult["PROPERTY_LIST_FULL"]["NAME"]["NAME"] = "Ваше имя";
if (!empty($arResult["ERRORS"])) {
    ?>
    <?php 
    ShowError(implode("<br />", $arResult["ERRORS"]));
}
if (strlen($arResult["MESSAGE"]) > 0) {
    ?>
    <?php 
    ShowNote($arResult["MESSAGE"]);
}
?>
<div class="contactsFormWrap">
<p>Обратная связь</p>
<form name="iblock_add" action="<?php 
echo POST_FORM_ACTION_URI;
?>
" method="post" enctype="multipart/form-data">
    <?php 
echo bitrix_sessid_post();
?>
    <?php 
if ($arParams["MAX_FILE_SIZE"] > 0) {
    ?>
<input type="hidden" name="MAX_FILE_SIZE" value="<?php 
开发者ID:webgksupport,项目名称:alpina,代码行数:31,代码来源:template.php

示例7: GetMessage

	if(!arCheckbox) return;
	if(arCheckbox.length>0)
		for(i=0; i<arCheckbox.length; i++)
			arCheckbox[i].checked = fl;
	else
		arCheckbox.checked = fl;
}
//-->
</SCRIPT>
<? 
} //endif($can_delete_some);
?>

<?
if (strlen($arResult["FORM_ERROR"]) > 0) ShowError($arResult["FORM_ERROR"]);
if (strlen($arResult["FORM_NOTE"]) > 0) ShowNote($arResult["FORM_NOTE"]);
?>
<p>
<b><a href="<?php 
echo $arParams["NEW_URL"];
echo $arParams["SEF_MODE"] != "Y" ? (strpos($arParams["NEW_URL"], "?") === false ? "?" : "&") . "WEB_FORM_ID=" . $arParams["WEB_FORM_ID"] : "";
?>
"><?php 
echo GetMessage("FORM_ADD");
?>
&nbsp;&nbsp;&gt;&gt;</a></b>
</p>
<form name="rform_<?php 
echo $arResult["filter_id"];
?>
" method="post" action="<?php 
开发者ID:ASDAFF,项目名称:open_bx,代码行数:31,代码来源:template.php

示例8: str_replace

</a><br />
					<?php 
        }
        ?>
					<?php 
        if (in_array("DELAY", $arParams["COLUMNS_LIST"])) {
            ?>
						<a href="<?php 
            echo str_replace("#ID#", $arBasketItems["ID"], $arUrlTempl["add"]);
            ?>
"><?php 
            echo GetMessage("SALE_ADD_CART");
            ?>
</a>
					<?php 
        }
        ?>
				</td>
			</tr>
			<?php 
    }
    ?>
		</tbody>
		</table>
	<?php 
} else {
    echo ShowNote(GetMessage("SALE_NO_DELAY_PROD"));
}
?>
</div>
开发者ID:webgksupport,项目名称:alpina,代码行数:30,代码来源:basket_items_delay.php

示例9: GetMessage

		<?php 
    echo GetMessage("F_PHRASE_ERROR_SYNTAX");
    ?>
<br />
		<?php 
    echo GetMessage("F_SEARCH_DESCR");
    ?>
	</div>
</div>
<?php 
} elseif ($arResult["EMPTY"] == "Y") {
    ?>
<div class="forum-info-box forum-search-help">
	<div class="forum-info-box-inner">
		<?php 
    echo ShowNote(GetMessage("F_EMPTY"), "forum-note");
    ?>
	</div>
</div>
<?php 
} elseif ($arResult["SHOW_RESULT"] != "N") {
    ?>
<div class="forum-block-container forum-search-block-container">
	<div class="forum-block-outer">
		<div class="forum-block-inner"><?php 
    $iNumber = 0;
    $iCount = count($arResult["TOPICS"]);
    foreach ($arResult["TOPICS"] as $res) {
        $iNumber++;
        ?>
<div class="forum-info-box <?php 
开发者ID:webgksupport,项目名称:alpina,代码行数:31,代码来源:template.php

示例10: ShowNote

        ?>
</td>
					<td><?php 
        echo $arResult["TOTAL"]["QUANTITY"];
        ?>
</td>
					<td><?php 
        echo $arResult["TOTAL"]["SUM_FORMAT"];
        ?>
</td>
				</tr>
			</tfoot>
			<?php 
    } else {
        ?>
			<tbody>
				<tr>
					<td colspan="3"><?php 
        echo ShowNote(GetMessage("SPCAS1_NO_ACT"));
        ?>
</td>
				</tr>
			</tbody>
			<?php 
    }
    ?>
	</table>
	<?php 
} else {
    echo ShowError(GetMessage("SPCAS1_UNACTIVE_AFF"));
}
开发者ID:Satariall,项目名称:izurit,代码行数:31,代码来源:template.php

示例11: ShowNote

            break;
        case "empty_trash":
            $msgid = "WD_EMPTY_TRASH_DONE";
            break;
        case "document_restored":
            $msgid = "WD_DOC_RESTORE_DONE";
            break;
        case "section_restored":
            $msgid = "WD_SEC_RESTORE_DONE";
            break;
        case "all_restored":
            $msgid = "WD_RESTORE_DONE";
            break;
    }
    if ($msgid != false) {
        ShowNote(GetMessage($msgid));
    }
}
$arResult["GRID_DATA"] = is_array($arResult["GRID_DATA"]) ? $arResult["GRID_DATA"] : array();
if (isset($_REQUEST['result'])) {
    unset($_REQUEST['result']);
    unset($_GET['result']);
}
if ($arParams['OBJECT']->e_rights) {
    $bEditable = false;
    foreach ($arResult['GRID_DATA'] as $row) {
        if ($row['editable']) {
            $bEditable = true;
            break;
        }
    }
开发者ID:mrdeadmouse,项目名称:u136006,代码行数:31,代码来源:template.php

示例12: str_replace

				<td class="cart-item-actions">
					<?php 
        if (in_array("DELETE", $arParams["COLUMNS_LIST"])) {
            ?>
						<a href="<?php 
            echo str_replace("#ID#", $arBasketItems["ID"], $arUrlTempl["delete"]);
            ?>
" title="<?php 
            echo GetMessage("SALE_DELETE_PRD");
            ?>
"><?php 
            echo GetMessage("SALE_DELETE");
            ?>
</a><br>
					<?php 
        }
        ?>
				</td>
			</tr>
			<?php 
    }
    ?>
		</tbody>
		</table>
	<?php 
} else {
    echo ShowNote(GetMessage("SALE_NO_SUBSCRIBE_PROD"));
}
?>
</div>
开发者ID:Satariall,项目名称:izurit,代码行数:30,代码来源:basket_items_subscribe.php

示例13: GetMessage

	</tfoot>
	</table>

	<div class="cart-ordering">
		<?if ($arParams["HIDE_COUPON"] != "Y"):?>
			<div class="cart-code">
				<input <?if(empty($arResult["COUPON"])):?>onclick="if (this.value=='<?php 
echo GetMessage("SALE_COUPON_VAL");
?>
')this.value=''" onblur="if (this.value=='')this.value='<?php 
echo GetMessage("SALE_COUPON_VAL");
?>
'"<?endif;?> value="<?if(!empty($arResult["COUPON"])):?><?php 
echo $arResult["COUPON"];
?>
<?else:?><?php 
echo GetMessage("SALE_COUPON_VAL");
?>
<?endif;?>" name="COUPON">
			</div>
		<?endif;?>
		<div class="cart-buttons">
			<input type="submit" value="<?echo GetMessage("SALE_UPDATE")?>" name="BasketRefresh">
			<input type="submit" value="<?echo GetMessage("SALE_ORDER")?>" name="BasketOrder"  id="basketOrderButton2">
		</div>
	</div>
	<?else:
		echo ShowNote(GetMessage("SALE_NO_ACTIVE_PRD"));
	endif;?>
</div>
<?
开发者ID:preslilvs,项目名称:ooo-integral,代码行数:31,代码来源:store.sale.basket.basket.template1.basket_items.php

示例14: ShowError

<?php

if (!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED !== true) {
    die;
}
if (is_array($arResult["RESULT"])) {
    if ($arResult["RESULT"]["RESULT"] == "NEXT_STEP") {
        require "step.php";
    } else {
        if ($arResult["RESULT"]["RESULT"] == "ERROR") {
            echo ShowError($arResult["RESULT"]["TEXT"]);
        } elseif ($arResult["RESULT"]["RESULT"] == "NOTE") {
            echo ShowNote($arResult["RESULT"]["TEXT"]);
        } elseif ($arResult["RESULT"]["RESULT"] == "OK") {
            echo GetMessage('SALE_SADC_RESULT') . ": <b>" . (strlen($arResult["RESULT"]["VALUE_FORMATTED"]) > 0 ? $arResult["RESULT"]["VALUE_FORMATTED"] : number_format($arResult["RESULT"]["VALUE"], 2, ',', ' ')) . "</b>";
            if ($arResult["RESULT"]["TRANSIT"] > 0) {
                echo '<br />';
                echo GetMessage('SALE_SADC_TRANSIT') . ': <b>' . $arResult["RESULT"]["TRANSIT"] . '</b>';
            }
            if ($arResult["RESULT"]["PACKS_COUNT"] > 1) {
                echo '<br />';
                echo GetMessage('SALE_SADC_PACKS') . ': <b>' . $arResult["RESULT"]["PACKS_COUNT"] . '</b>';
            }
        }
    }
}
if ($arParams["STEP"] == 0) {
    require "start.php";
}
开发者ID:mrdeadmouse,项目名称:u136006,代码行数:29,代码来源:template.php

示例15: die

<?if(!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED !== true) die()?>
<div class="row">
<div class="prolile col-md-6 col-md-offset-3 text-center">
	<h2>Ваши данные</h2>
<?ShowError($arResult["strProfileError"]);?>
<?if ($arResult['DATA_SAVED'] == 'Y') ShowNote(GetMessage('PROFILE_DATA_SAVED'));?>
<script type="text/javascript">
<!--
var opened_sections = [<?
$arResult["opened"] = $_COOKIE[$arResult["COOKIE_PREFIX"]."_user_profile_open"];
$arResult["opened"] = preg_replace("/[^a-z0-9_,]/i", "", $arResult["opened"]);
if (strlen($arResult["opened"]) > 0)
{
	echo "'".implode("', '", explode(",", $arResult["opened"]))."'";
}
else
{
	$arResult["opened"] = "reg";
	echo "'reg'";
}
?>];
//-->

var cookie_prefix = '<?php 
echo $arResult["COOKIE_PREFIX"];
?>
';
</script>
<form method="post" name="form1" action="<?php 
echo $arResult["FORM_TARGET"];
?>
开发者ID:schiz,项目名称:purecountry,代码行数:31,代码来源:template.php


注:本文中的ShowNote函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。