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


PHP CCurrency::SelectBox方法代码示例

本文整理汇总了PHP中CCurrency::SelectBox方法的典型用法代码示例。如果您正苦于以下问题:PHP CCurrency::SelectBox方法的具体用法?PHP CCurrency::SelectBox怎么用?PHP CCurrency::SelectBox使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在CCurrency的用法示例。


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

示例1: __AddCellCurrency

/**
 * @param $intRangeID
 * @param $strPrefix
 * @return string
 */
function __AddCellCurrency($intRangeID, $strPrefix)
{
    $currencySelectbox = CCurrency::SelectBox("{$strPrefix}CURRENCY[{$intRangeID}]", '', "", true, "", "class=\"adm-select\" style=\"width: 169px;\"");
    return <<<CURRENCYCELL
\t<td width="30%">
\t\t<span class="adm-select-wrap">
\t\t\t{$currencySelectbox}
\t\t</span>
\t</td>
CURRENCYCELL;
}
开发者ID:DarneoStudio,项目名称:bitrix,代码行数:16,代码来源:iblock_subelement_generator.php

示例2: DoubleVal

</td>
		<td>
			<input type="text" name="SUM_MAX" size="10" maxlength="10" value="<?php 
echo DoubleVal($str_SUM_MAX) > 0 ? roundEx($str_SUM_MAX, SALE_VALUE_PRECISION) : "";
?>
">
		</td>
	</tr>
	<tr>
		<td><?php 
echo GetMessage("SCE_SUM_CURRENCY");
?>
</td>
		<td>
			<?php 
echo CCurrency::SelectBox("SUM_CURRENCY", $str_SUM_CURRENCY, "", false, "", "class='typeselect'");
?>
		</td>
	</tr>
	<tr>
		<td><?php 
echo GetMessage("SCE_DESCRIPTION");
?>
</td>
		<td>
			<input type="text" name="DESCRIPTION" size="40" maxlength="250" value="<?php 
echo $str_DESCRIPTION;
?>
">
		</td>
	</tr>
开发者ID:Satariall,项目名称:izurit,代码行数:31,代码来源:ccards_edit.php

示例3: GetMessage

				</td>
			</tr>
			<tr>
				<td width="40%" align="right">
					<?php 
        echo GetMessage("SOE_DELIVERY_PRICE");
        ?>
:
				</td>
				<td width="60%">
					<input type="text" name="PRICE_DELIVERY" size="10" maxlength="20" value="<?php 
        echo roundEx($str_PRICE_DELIVERY, SALE_VALUE_PRECISION);
        ?>
">
					<?php 
        echo CCurrency::SelectBox("PRICE_DELIVERY_CURRENCY", $str_CURRENCY, "", false, "", "");
        ?>
					<script language="JavaScript">
					<!--
					OnCurrencyChange();
					//-->
					</script>
				</td>
			</tr>
<?php 
        $obDelivery = ob_get_contents();
        ob_end_clean();
        ob_start();
        ?>
				<td width="40%" align="right">
					<?php 
开发者ID:k-kalashnikov,项目名称:geekcon_new,代码行数:31,代码来源:order_edit.php

示例4: GetMessage

        ?>
" title="<?php 
        echo GetMessage("SALE_SITE_ALT");
        ?>
"><?php 
        echo $val["ID"];
        ?>
</a>] <?php 
        echo $val["NAME"];
        ?>
				</td>
				<td valign="top">

					<?php 
        $arCurr = CSaleLang::GetByID($val["ID"]);
        echo CCurrency::SelectBox("CURRENCY_" . $val["ID"], $arCurr["CURRENCY"], GetMessage("SALE_NOT_SET"), True, "");
        ?>

				</td>
				<td valign="top">

					<?php 
        $arCurrentGroups = array();
        $dbSiteGroupsList = CSaleGroupAccessToSite::GetList(array(), array("SITE_ID" => $val["ID"]));
        while ($arSiteGroup = $dbSiteGroupsList->Fetch()) {
            $arCurrentGroups[] = IntVal($arSiteGroup["GROUP_ID"]);
        }
        $b = "c_sort";
        $o = "asc";
        $userGroupList = array();
        $dbGroups = CGroup::GetList($b, $o, array("ANONYMOUS" => "N"));
开发者ID:webgksupport,项目名称:alpina,代码行数:31,代码来源:options.php

示例5: GetMessage

		<td width="40%"><?php 
echo GetMessage("curr_rates_date1");
?>
:</td>
		<td width="60%"><?php 
echo CalendarDate("DATE_RATE", $str_DATE_RATE, "form1", "10", "class=\"typeinput\"");
?>
</td>
	</tr>
	<tr class="adm-detail-required-field">
		<td><?php 
echo GetMessage("curr_rates_curr1");
?>
:</td>
		<td><?php 
echo CCurrency::SelectBox("CURRENCY", $str_CURRENCY, "", True, "ChangeCurr()", "");
?>
</td>
	</tr>
	<tr class="adm-detail-required-field">
		<td><?php 
echo GetMessage("curr_rates_rate_cnt");
?>
:</td>
		<td><input type="text" name="RATE_CNT" value="<?php 
echo $str_RATE_CNT;
?>
" size="5"></td>
	</tr>
	<tr class="adm-detail-required-field">
		<td><?php 
开发者ID:k-kalashnikov,项目名称:geekcon_new,代码行数:31,代码来源:currency_rate_edit.php

示例6: elseif

                if (${$key} == "Y") {
                    echo "checked";
                }
                ?>
></td>
				</tr>
			<?php 
            } elseif ($key == "BASE_CURRENCY" && CModule::IncludeModule("currency")) {
                ?>
				<tr>
					<td class="adm-detail-valign-top"><?php 
                echo GetMessage("STAT_OPT_BASE_CURRENCY");
                ?>
</td>
					<td><?php 
                echo CCurrency::SelectBox("BASE_CURRENCY", $BASE_CURRENCY, " ", True, "");
                ?>
<br>
					<input type="checkbox" name="recount_base_currency" id="recount_base_currency" value="Y"><label for="recount_base_currency"><?php 
                echo GetMessage("STAT_OPT_DO_RECOUNT");
                ?>
</label></td>
				</tr>
			<?php 
            }
        } else {
            $val = COption::GetOptionString($module_id, $Option[0]);
            $type = $Option[2];
            ?>
			<tr>
				<td <?php 
开发者ID:k-kalashnikov,项目名称:geekcon_new,代码行数:31,代码来源:options.php

示例7: htmlspecialcharsbx

			//-->
			</script>
			<input name="filter_product_id" id="filter_product_id" value="<?php 
echo htmlspecialcharsbx($filter_product_id);
?>
" size="5" type="text">&nbsp;<input type="button" value="..." id="cat_prod_button" onClick="showProductSearchDialog()"><span id="product_name_alt" class="adm-filter-text-search"></span>
		</td>
	</tr>
	<tr>
		<td><?php 
echo GetMessage("SB_CURRENCY");
?>
:</td>
		<td align="left">
			<?php 
echo CCurrency::SelectBox("filter_currency", $filter_currency, GetMessage("SB_ALL"), True, "", "");
?>
		</td>
	</tr>
	<tr>
		<td><?php 
echo GetMessage("SB_USER_GROUP_ID");
?>
:</td>
		<td>
			<?php 
$z = CGroup::GetDropDownList("AND ID!=2");
echo SelectBoxM("filter_group_id[]", $z, $filter_group_id, "", false, 5);
?>
		</td>
	</tr>
开发者ID:DarneoStudio,项目名称:bitrix,代码行数:31,代码来源:basket_admin.php

示例8: GetMessage

	<td width="40%"><?php 
echo GetMessage("curr_rates_date1");
?>
:</td>
	<td width="60%"><?php 
echo CalendarDate("DATE_RATE", $currencyRate['DATE_RATE'], "rate_edit", "10", 'class="typeinput"');
?>
</td>
</tr>
<tr class="adm-detail-required-field">
	<td><?php 
echo GetMessage("curr_rates_curr1");
?>
:</td>
	<td><?php 
echo CCurrency::SelectBox("CURRENCY", $currencyRate['CURRENCY'], '', true);
?>
</td>
</tr>
<tr class="adm-detail-required-field">
	<td><?php 
echo GetMessage("curr_rates_rate_cnt");
?>
:</td>
	<td><input type="text" id="RATE_CNT" name="RATE_CNT" value="<?php 
echo $currencyRate['RATE_CNT'];
?>
" size="5"></td>
</tr>
<tr class="adm-detail-required-field">
	<td><?php 
开发者ID:DarneoStudio,项目名称:bitrix,代码行数:31,代码来源:currency_rate_edit.php

示例9: GetMessage

echo GetMessage("PAYMENT_PRICE_TO");
?>
		<input type="text" name="filter_sum_to" value="<?php 
echo $filter_sum_to != 0 ? htmlspecialcharsbx($filter_sum_to) : '';
?>
" size="3">
	</td>
</tr>
<tr>
	<td><?php 
echo GetMessage("PAYMENT_CURRENCY");
?>
:</td>
	<td>
		<?php 
echo CCurrency::SelectBox("filter_currency", htmlspecialcharsbx($filter_currency), GetMessage("PAYMENT_CURRENCY_ALL"), false, "", "");
?>
	</td>
</tr>
<tr>
	<td><?php 
echo GetMessage("PAYMENT_VOUCHER_NUM");
?>
:</td>
	<td>
		<input type="text" name="filter_pay_voucher_num" value="<?php 
echo htmlspecialcharsbx($filter_pay_voucher_num);
?>
">
	</td>
</tr>
开发者ID:DarneoStudio,项目名称:bitrix,代码行数:31,代码来源:order_payment.php

示例10: GetMessage

	<td class="field-name"><?php 
echo GetMessage('SALE_DH_HANDLER_NAME');
?>
</td>
	<td><input type="text" name="HANDLER[NAME]" value="<?php 
echo htmlspecialcharsbx($arDeliveryInfo[$SITE_ID]["NAME"]);
?>
" /></td>
</tr>
<tr>
	<td class="field-name"><?php 
echo GetMessage('SALE_DH_HANDLER_CURRENCY');
?>
</td>
	<td><?php 
echo CCurrency::SelectBox('HANDLER[BASE_CURRENCY]', htmlspecialcharsbx($arDeliveryInfo[$SITE_ID]["BASE_CURRENCY"]));
?>
</td>
</tr>
<tr>
	<td valign="top" class="field-name"><?php 
echo GetMessage('SALE_DH_HANDLER_DESCRIPTION');
?>
</td>
	<td valign="top">
		<?php 
echo wrapDescrLHE('HANDLER[DESCRIPTION]', isset($arDeliveryInfo[$SITE_ID]["DESCRIPTION"]) ? $arDeliveryInfo[$SITE_ID]["DESCRIPTION"] : '', 'hndl_dscr');
?>
		<script language="JavaScript">setLHEClass('bxlhe_frame_hndl_dscr'); </script>
	</td>
</tr>
开发者ID:DarneoStudio,项目名称:bitrix,代码行数:31,代码来源:delivery_handler_edit.php

示例11: GetMessage

" size="8" />&nbsp;
					<?php 
        echo GetMessage('SALE_DH_PROFILE_SUM_RESTRICTIONS_TO');
        ?>
					<input type="text" name="HANDLER[PROFILES][<?php 
        echo htmlspecialcharsbx($profile_id);
        ?>
][RESTRICTIONS_SUM][2]" value="<?php 
        echo number_format(floatval($arProfile['RESTRICTIONS_SUM'][2]), 2, '.', '');
        ?>
" size="8" />
					<?php 
        echo GetMessage('SALE_DH_PROFILE_SUM_RESTRICTIONS_CURRENCY');
        ?>
					<?php 
        echo CCurrency::SelectBox('HANDLER[PROFILES][' . htmlspecialcharsbx($profile_id) . '][RESTRICTIONS_SUM][0]', $arDeliveryInfo[$SITE_ID]["BASE_CURRENCY"]);
        ?>
				</td>
			</tr>
		</table><br />
<?php 
    }
}
?>
</td>
	</tr>
</table>

<?php 
$tabControl->BeginNextTab();
?>
开发者ID:k-kalashnikov,项目名称:geekcon_new,代码行数:31,代码来源:delivery_handler_edit.php

示例12: GetMessage

    ?>
							</td>
						</tr>
					<?php 
}
?>
					<?php 
if (isset($requiredFields["CURRENCY"])) {
    ?>
						<tr class="adm-detail-required-field">
							<td width="40%" class="adm-detail-content-cell-l"><?php 
    echo GetMessage("CAT_DOC_CURRENCY");
    ?>
:</td>
							<td width="60%" class="adm-detail-content-cell-r"><?php 
    echo CCurrency::SelectBox("CAT_CURRENCY_STORE", $str_CURRENCY, "", true, "", "onChange=\"recalculateSum(0);\" id='CAT_CURRENCY_STORE'" . $isDisable);
    ?>
</td>
						</tr>
					<?php 
}
?>
					</tbody>
				</table>
			</div>
		</div>
	</div>
<?php 
$aTabs = array();
$tabControl = new CAdminTabControl("storeDocument_" . $docType, $aTabs);
$tabControl->Begin();
开发者ID:mrdeadmouse,项目名称:u136006,代码行数:31,代码来源:cat_store_document_edit.php

示例13: GetMessage

    ?>
</a>
				<?php 
}
?>
			</td>
			
		</tr>
					
		<tr class="adm-detail-required-field">
			<td width="40%" class="adm-detail-content-cell-l"><?php 
echo GetMessage("CAT_DOC_CURRENCY");
?>
:</td>
			<td width="60%" class="adm-detail-content-cell-r"><?php 
echo CCurrency::SelectBox("CAT_CURRENCY_STORE", $str_CURRENCY, "", true, "", " id='CAT_CURRENCY_STORE'" . $isDisable);
?>
</td>
		</tr>
		<tr class="adm-detail-required-field">
			<td width="40%" class="adm-detail-content-cell-l"><?php 
echo GetMessage("CAT_DOC_STORE_TO");
?>
:</td>
			<td width="60%" class="adm-detail-content-cell-r"><?php 
echo $store_to_select;
?>
</td>
		</tr>

  <!--  HTML-код строк таблицы -->
开发者ID:sharapudinov,项目名称:lovestore.top,代码行数:31,代码来源:warehouse_import_admin.php

示例14: GetMessage

    echo "<option " . $selected . " value=" . $val['ID'] . ">" . $val["NAME"] . " (" . $val["ID"] . ")" . "</option>";
}
?>
			</select>
		</td>
	</tr>
	<?php 
if (is_set($requiredFields, "CURRENCY")) {
    ?>
		<tr class="adm-detail-required-field">
			<td><?php 
    echo GetMessage("CAT_DOC_CURRENCY");
    ?>
:</td>
			<td><?php 
    echo CCurrency::SelectBox("CAT_CURRENCY_STORE", $str_CURRENCY, "", true, "", "onChange=\"fRecalProduct(1, '', 'N', 'N');\" id='CAT_CURRENCY_STORE'" . $isDisabled);
    ?>
</td>
		</tr>
	<?php 
}
?>
	<?php 
if (is_set($requiredFields, "CONTRACTOR")) {
    ?>
		<tr class="adm-detail-required-field">
			<td><?php 
    echo GetMessage("CAT_DOC_CONTRACTOR");
    ?>
:</td>
			<td>
开发者ID:k-kalashnikov,项目名称:geekcon_new,代码行数:31,代码来源:cat_store_document_edit.php

示例15: urlencode

									}
									?>
									</select>
								<?else:?>
									<a href="/bitrix/admin/cat_contractor_edit.php?lang=<? echo urlencode(LANGUAGE_ID); ?>"><?echo GetMessage("CAT_DOC_CONTRACTOR_ADD")?></a>
								<?endif;?>
							</td>
						</tr>
					<?endif;?>
					<?if(isset($requiredFields["CURRENCY"])):?>
						<tr class="adm-detail-required-field">
							<td width="40%" class="adm-detail-content-cell-l"><?php 
echo GetMessage("CAT_DOC_CURRENCY");
?>
:</td>
							<td width="60%" class="adm-detail-content-cell-r"><? echo CCurrency::SelectBox("CAT_CURRENCY_STORE", $str_CURRENCY, "", true, "", "onChange=\"recalculateSum(0);\" id='CAT_CURRENCY_STORE'".$isDisable);?></td>
						</tr>
					<?endif;?>
					</tbody>
				</table>
			</div>
		</div>
	</div>
<?

$aTabs = array();

$tabControl = new CAdminTabControl("storeDocument_".$docType, $aTabs);
$tabControl->Begin();

$lAdmin->DisplayList();
开发者ID:ASDAFF,项目名称:1C_Bitrix_info_site,代码行数:31,代码来源:cat_store_document_edit.php


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