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


PHP ClearVars函数代码示例

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


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

示例1: __construct

 public function __construct()
 {
     global $USER;
     if (!$USER->IsAdmin()) {
         throw new Exception();
     }
     // Removes all global variables with prefix "str_"
     ClearVars();
 }
开发者ID:Satariall,项目名称:izurit,代码行数:9,代码来源:learn_eegg.php

示例2: GetMessage

		require($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/include/prolog_popup_admin.php");
	else
		require($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/include/prolog_admin_after.php");

	CAdminMessage::ShowOldStyleError($error->GetErrorText());
}
else
{
	if(!$arIBlock["ELEMENT_NAME"])
		$arIBlock["ELEMENT_NAME"] = $arIBTYPE["ELEMENT_NAME"]? $arIBTYPE["ELEMENT_NAME"]: GetMessage("IBEL_E_IBLOCK_ELEMENT");
	if(!$arIBlock["SECTIONS_NAME"])
		$arIBlock["SECTIONS_NAME"] = $arIBTYPE["SECTION_NAME"]? $arIBTYPE["SECTION_NAME"]: GetMessage("IBEL_E_IBLOCK_SECTIONS");

	ClearVars("str_");
	ClearVars("str_prev_");
	ClearVars("prn_");
	$str_SORT="500";

	if(!$error && $bWorkflow && $view!="Y")
	{
		if(!$bCopy)
			CIBlockElement::WF_Lock($ID);
		else
			CIBlockElement::WF_UnLock($ID);
	}

	if($historyId <= 0 && $view=="Y")
	{
		$WF_ID = $ID;
		$ID = CIBlockElement::GetRealElement($ID);
开发者ID:ASDAFF,项目名称:entask.ru,代码行数:30,代码来源:iblock_element_edit.php

示例3: require_once

<?
require_once($_SERVER["DOCUMENT_ROOT"]."/freetrix/modules/main/include/prolog_admin_before.php");
require_once($_SERVER["DOCUMENT_ROOT"]."/freetrix/modules/fileman/prolog.php");

if (!($USER->CanDoOperation('fileman_edit_existent_folders') || $USER->CanDoOperation('fileman_admin_folders')))
	$APPLICATION->AuthForm(GetMessage("ACCESS_DENIED"));

require_once($_SERVER["DOCUMENT_ROOT"]."/freetrix/modules/fileman/include.php");
IncludeModuleLangFile(__FILE__);

ClearVars("g_");
$ind=0;

$strWarning = "";
$strNotice = "";

$addUrl = 'lang='.LANGUAGE_ID.($logical == "Y"?'&logical=Y':'');

$io = CBXVirtualIo::GetInstance();

$site = CFileMan::__CheckSite($site);
$DOC_ROOT = CSite::GetSiteDocRoot($site);

$path = $io->CombinePath("/", $path);
$arParsedPath = CFileMan::ParsePath(Array($site, $path), true, false, "", $logical == "Y");
$abs_path = $DOC_ROOT.$path;
$arPath = Array($site, $path);

// let's check rights on this folder
if(!$USER->CanDoFileOperation('fm_edit_existent_folder',$arPath))
	$strWarning = GetMessage("ACCESS_DENIED");
开发者ID:ASDAFF,项目名称:open_bx,代码行数:31,代码来源:fileman_folder.php

示例4: IncludeModuleLangFile

<?php

use Bitrix\Sale\Location;
require_once $_SERVER["DOCUMENT_ROOT"] . "/bitrix/modules/main/include/prolog_admin_before.php";
$saleModulePermissions = $APPLICATION->GetGroupRight("sale");
if ($saleModulePermissions < "W") {
    $APPLICATION->AuthForm(GetMessage("ACCESS_DENIED"));
}
IncludeModuleLangFile(__FILE__);
require_once $_SERVER["DOCUMENT_ROOT"] . "/bitrix/modules/sale/include.php";
require_once $_SERVER["DOCUMENT_ROOT"] . "/bitrix/modules/sale/prolog.php";
$ID = IntVal($ID);
ClearVars();
ClearVars("fp_");
$strError = "";
$bInitVars = false;
$lpEnabled = CSaleLocation::isLocationProEnabled();
if ((strlen($save) > 0 || strlen($apply) > 0) && $REQUEST_METHOD == "POST" && $saleModulePermissions == "W" && check_bitrix_sessid()) {
    $TAX_ID = IntVal($TAX_ID);
    if ($TAX_ID <= 0) {
        $strError .= GetMessage("ERROR_NO_TAX_ID") . "<br>";
    }
    $VALUE = str_replace(",", ".", $VALUE);
    $VALUE = DoubleVal($VALUE);
    if ($VALUE <= 0) {
        $strError .= GetMessage("ERROR_NO_VALUE") . "<br>";
    }
    if ($IS_IN_PRICE != "Y") {
        $IS_IN_PRICE = "N";
    }
    if ($ACTIVE != "Y") {
开发者ID:DarneoStudio,项目名称:bitrix,代码行数:31,代码来源:tax_rate_edit.php

示例5: LocalRedirect

        if ($mxRes) {
            if (!empty($apply)) {
                LocalRedirect("/bitrix/admin/cat_discsave_edit.php?ID=" . $ID . "&mess=ok&lang=" . urlencode(LANGUAGE_ID) . "&" . $tabControl->ActiveTabParam());
            } else {
                LocalRedirect("/bitrix/admin/cat_discsave_admin.php?lang=" . urlencode(LANGUAGE_ID));
            }
        } else {
            $bVarsFromForm = true;
        }
    }
}
if ($bVarsFromForm && !empty($arErrors)) {
    $obError = new CAdminException($arErrors);
    $APPLICATION->ThrowException($obError);
}
ClearVars('str_');
$str_XML_ID = '';
$str_SITE_ID = '';
$str_NAME = '';
$str_ACTIVE = "Y";
$str_SORT = 500;
$str_CURRENCY = '';
$str_ACTIVE_FROM = '';
$str_ACTION_TO = '';
$str_COUNT_PERIOD = 'U';
$str_ACTION_PERIOD = 'U';
$str_COUNT_SIZE = 0;
$str_COUNT_TYPE = 'M';
$str_COUNT_FROM = '';
$str_COUNT_TO = '';
$str_ACTION_SIZE = 0;
开发者ID:k-kalashnikov,项目名称:geekcon_new,代码行数:31,代码来源:cat_discsave_edit.php

示例6: Copyright

# Bitrix: SiteManager                        #
# Copyright (c) 2002 - 2004 Bitrix           #
# http://www.bitrixsoft.com                  #
# mailto:admin@bitrixsoft.com                #
##############################################
*/
require_once($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/include/prolog_admin_before.php");
require_once($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/mail/prolog.php");

$MOD_RIGHT = $APPLICATION->GetGroupRight("mail");
if($MOD_RIGHT<"R") $APPLICATION->AuthForm(GetMessage("ACCESS_DENIED"));
include(GetLangFileName($_SERVER["DOCUMENT_ROOT"].BX_ROOT."/modules/mail/lang/", "/admin/mail_message_view.php"));
require_once($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/mail/include.php");
$err_mess = "File: ".__FILE__."<br>Line: ";

ClearVars("str_");

$ID = IntVal($ID);
if($_SERVER["REQUEST_METHOD"]=="POST" && $_REQUEST["save_form"]=="Y" && $MOD_RIGHT>="W" && check_bitrix_sessid())
{
	$dbr = CMailMessage::GetByID($ID);
	if($dbr_arr = $dbr->Fetch())
	{
		if($_REQUEST["MARK_AS_SPAM"]=="Y")
		{
			CMailMessage::MarkAsSpam($ID, true, $dbr_arr);
		}
		elseif($_REQUEST["MARK_AS_NOT_SPAM"]=="Y")
		{
			CMailMessage::MarkAsSpam($ID, false, $dbr_arr);
		}
开发者ID:ASDAFF,项目名称:bitrix-5,代码行数:31,代码来源:mail_message_view.php

示例7: IncludeModuleLangFile

<?php

require_once $_SERVER["DOCUMENT_ROOT"] . "/bitrix/modules/main/include/prolog_admin_before.php";
$saleModulePermissions = $APPLICATION->GetGroupRight("sale");
if ($saleModulePermissions < "W") {
    $APPLICATION->AuthForm(GetMessage("ACCESS_DENIED"));
}
IncludeModuleLangFile(__FILE__);
require_once $_SERVER["DOCUMENT_ROOT"] . "/bitrix/modules/sale/include.php";
$ID = IntVal($ID);
ClearVars();
ClearVars("f_");
$path2SystemPSFiles = "/bitrix/modules/sale/payment/";
$path2UserPSFiles = COption::GetOptionString("sale", "path2user_ps_files", BX_PERSONAL_ROOT . "/php_interface/include/sale_payment/");
CheckDirPath($_SERVER["DOCUMENT_ROOT"] . $path2UserPSFiles);
$bFilemanModuleInst = False;
if (IsModuleInstalled("fileman")) {
    $bFilemanModuleInst = True;
}
$errorMessage = "";
$bInitVars = false;
if ($_SERVER["REQUEST_METHOD"] == "POST" && (strlen($save) > 0 || strlen($apply) > 0) && $saleModulePermissions == "W" && check_bitrix_sessid()) {
    $NAME = Trim($NAME);
    if (strlen($NAME) <= 0) {
        $errorMessage .= GetMessage("ERROR_NO_NAME") . "<br>";
    }
    $ACTIVE = $ACTIVE == "Y" ? "Y" : "N";
    $SORT = IntVal($SORT) > 0 ? IntVal($SORT) : 100;
    if (strlen($errorMessage) <= 0) {
        $arFields = array("NAME" => $NAME, "ACTIVE" => $ACTIVE, "SORT" => $SORT, "DESCRIPTION" => $DESCRIPTION);
        if (strlen($LID) > 0) {
开发者ID:k-kalashnikov,项目名称:geekcon_new,代码行数:31,代码来源:pay_system_edit.php

示例8: isset

global $DB;
global $USER;
$orderForm = isset($_REQUEST['from']) && $_REQUEST['from'] === 'order';
if (!$orderForm) {
    if (!$USER->CanDoOperation('catalog_read')) {
        $APPLICATION->AuthForm(GetMessage("ACCESS_DENIED"));
    }
}
CModule::IncludeModule("catalog");
IncludeModuleLangFile(__FILE__);
$boolSubscribe = false;
if (isset($_REQUEST['subscribe']) && 'Y' == $_REQUEST['subscribe']) {
    $boolSubscribe = true;
}
ClearVars("str_iblock_");
ClearVars("s_");
$APPLICATION->AddHeadScript('/bitrix/js/catalog/catalog_menu.js');
/**
 * @param $userId
 * @param $lid
 * @param $productId
 * @param string $productName
 * @param string $currency
 * @param array $arProduct
 * @return array|bool
 */
function GetProductSku($userId, $lid, $productId, $productName = '', $currency = '', $arProduct = array())
{
    $userId = intval($userId);
    $productId = intval($productId);
    if ($productId <= 0) {
开发者ID:akniyev,项目名称:itprom_dobrohost,代码行数:31,代码来源:cat_store_product_search.php

示例9: __construct

 public function __construct()
 {
     global $USER;
     $this->oAccess = CLearnAccess::GetInstance($USER->GetID());
     // Removes all global variables with prefix "str_"
     ClearVars();
     $parentLessonId = -2;
     // by default, magic number '-2' is means 'List lessons, without relation to parent'
     $oPath = false;
     if (isset($_GET['LESSON_PATH']) && strlen($_GET['LESSON_PATH']) > 0) {
         $oPath = new CLearnPath();
         $oPath->ImportUrlencoded($_GET['LESSON_PATH']);
         // if most top lesson is a course => than we are in context of this course
         $rootAncestorLessonId = $oPath->GetTop();
         if ($rootAncestorLessonId !== false) {
             $rc = CLearnLesson::GetLinkedCourse($rootAncestorLessonId);
             if ($rc !== false) {
                 $this->contextCourseLessonId = (int) $rootAncestorLessonId;
             }
             // lesson id of course
         }
     }
     if (isset($_POST['PARENT_LESSON_ID'])) {
         $parentLessonId = $_POST['PARENT_LESSON_ID'];
     } elseif (isset($_GET['PARENT_LESSON_ID'])) {
         $parentLessonId = $_GET['PARENT_LESSON_ID'];
     } elseif ($oPath !== false) {
         $parentLessonId = $oPath->GetBottom();
         if ($parentLessonId === false) {
             $parentLessonId = -2;
         }
         // by default, magic number '-2' is means 'List lessons, without relation to parent'
     }
     $this->requestedParentLessonId = $parentLessonId;
     // Determine current list mode
     if ($parentLessonId >= 1) {
         $this->listMode = self::ListChildLessonsMode;
     } elseif ($parentLessonId == -1) {
         // magic number '-1' is means 'List courses'
         $this->listMode = self::ListAnyCoursesMode;
     } else {
         $this->listMode = self::ListAnyLessonsMode;
     }
     // by default
     $orderBy = false;
     $order = 'asc';
     if (isset($_POST['by'])) {
         $orderBy = $_POST['by'];
     } elseif (isset($_GET['by'])) {
         $orderBy = $_GET['by'];
     }
     if (isset($_POST['order'])) {
         $order = $_POST['order'];
     } elseif (isset($_GET['order'])) {
         $order = $_GET['order'];
     }
     $order = strtolower($order);
     if ($orderBy !== false && ($order === 'asc' || $order === 'desc')) {
         $this->arSortOrder = array($orderBy => $order);
     }
     $this->search_mode = false;
     $this->search_mode_type = 'childs_candidates';
     // by default;
     if (isset($_GET['search_retpoint'])) {
         $this->search_mode = true;
         $this->search_retpoint = $_GET['search_retpoint'];
         $this->hrefSearchRetPoint = '&search_retpoint=' . htmlspecialcharsbx($this->search_retpoint);
         if (isset($_GET['search_mode_type'])) {
             if ($_GET['search_mode_type'] === 'parents_candidates') {
                 $this->search_mode_type = 'parents_candidates';
             } elseif ($_GET['search_mode_type'] === 'attach_question_to_lesson') {
                 $this->search_mode_type = 'attach_question_to_lesson';
             }
         }
     }
 }
开发者ID:mrdeadmouse,项目名称:u136006,代码行数:76,代码来源:learn_unilesson_admin.php

示例10: array

$arTaxList = array();
$db_tax_list = CSaleOrderTax::GetList(array("APPLY_ORDER" => "ASC"), array("ORDER_ID" => $ORDER_ID));
$iNds = -1;
$i = 0;
while ($ar_tax_list = $db_tax_list->Fetch()) {
    $arTaxList[$i] = $ar_tax_list;
    // определяем, какой из налогов - НДС
    // НДС должен иметь код NDS, либо необходимо перенести этот шаблон
    // в каталог пользовательских шаблонов и исправить
    if ($arTaxList[$i]["CODE"] == "NDS") {
        $iNds = $i;
    }
    $i++;
}
//состав заказа
ClearVars("b_");
//$db_basket = CSaleBasket::GetList(($b="NAME"), ($o="ASC"), array("ORDER_ID"=>$ORDER_ID));
//if ($db_basket->ExtractFields("b_")):
?>
	<table border="0" cellspacing="0" cellpadding="2" width="100%">
		<tr bgcolor="#E2E2E2">
			<td align="center" style="border: 1pt solid #000000; border-right:none;">№</td>
			<td align="center" style="border: 1pt solid #000000; border-right:none;">Предмет счета</td>
			<td nowrap align="center" style="border: 1pt solid #000000; border-right:none;">Кол-во</td>
			<td nowrap align="center" style="border: 1pt solid #000000; border-right:none;">Цена, руб</td>
			<td nowrap align="center" style="border: 1pt solid #000000;">Сумма, руб</td>
		</tr>
		<?php 
$n = 1;
$sum = 0.0;
$arTax = array("VAT_RATE" => 0, "TAX_RATE" => 0);
开发者ID:k-kalashnikov,项目名称:geekcon_new,代码行数:31,代码来源:invoice.php

示例11: ClearVars

<?php

require_once $_SERVER['DOCUMENT_ROOT'] . '/bitrix/modules/main/include/prolog_admin_before.php';
$saleModulePermissions = $APPLICATION->GetGroupRight('sale');
if ($saleModulePermissions < 'W') {
    $APPLICATION->AuthForm(GetMessage('ACCESS_DENIED'));
}
require_once $_SERVER['DOCUMENT_ROOT'] . '/bitrix/modules/sale/prolog.php';
require_once $_SERVER['DOCUMENT_ROOT'] . '/bitrix/modules/sale/include.php';
ClearVars();
ClearVars('f_');
ClearVars('l_');
use Bitrix\Sale\Internals\Input, Bitrix\Sale\Internals\OrderPropsTable, Bitrix\Sale\Internals\PersonTypeTable, Bitrix\Main\Localization\Loc;
Loc::loadMessages(__FILE__);
$propertyId = $ID;
$personTypeId = $PERSON_TYPE_ID;
unset($ID, $PERSON_TYPE_ID);
// load person types
$personTypes = array();
//$result = PersonTypeTable::getList(array( // TODO LIDS
//	'select'  => array('ID', 'NAME', 'LID', 'DOMAIN' => 'SALE.DOMAIN'),
//	'order'   => array('LID', 'SORT', 'NAME'),
//));
$result = CSalePersonType::GetList(array('SORT' => 'ASC', 'NAME' => 'ASC'), array());
while ($row = $result->Fetch()) {
    $personTypes[$row['ID']] = array('ID' => $row['ID'], 'NAME' => htmlspecialcharsex($row['NAME']), 'LID' => htmlspecialcharsex(implode(", ", $row['LIDS'])));
}
$errors = array();
$reload = 'reloadForm()';
$variants = array();
// PREPARE PROPERTY, RELATIONS /////////////////////////////////////////////////////////////////////////////////////////
开发者ID:akniyev,项目名称:itprom_dobrohost,代码行数:31,代码来源:order_props_edit.php

示例12: Copyright

<?php

##############################################
# Bitrix Site Manager                        #
# Copyright (c) 2002-2007 Bitrix             #
# http://www.bitrixsoft.com                  #
# mailto:admin@bitrixsoft.com                #
##############################################
require_once $_SERVER["DOCUMENT_ROOT"] . "/bitrix/modules/main/include/prolog_admin_before.php";
require_once $_SERVER["DOCUMENT_ROOT"] . BX_ROOT . "/modules/main/prolog.php";
define("HELP_FILE", "utilities/agent_edit.php");
ClearVars("a_");
if (!$USER->CanDoOperation('view_other_settings')) {
    $APPLICATION->AuthForm(GetMessage("ACCESS_DENIED"));
}
$isAdmin = $USER->CanDoOperation('edit_php');
IncludeModuleLangFile(__FILE__);
$ID = intval($ID);
if ($ID > 0) {
    $res = CAgent::GetById($ID);
    $arr = $res->ExtractFields("a_");
}
$APPLICATION->SetTitle($ID <= 0 ? GetMessage("MAIN_AGENT_NEW_PAGE_TITLE") : str_replace("#ID#", " {$ID}", GetMessage("MAIN_AGENT_EDIT_PAGE_TITLE")));
$sTableID = "tbl_agent_edit";
$aTabs = array(array("DIV" => "tab1", "TAB" => GetMessage("MAIN_AGENT_TAB"), "ICON" => "main_user_edit", "TITLE" => GetMessage("MAIN_AGENT_TAB_TITLE")));
$editTab = new CAdminTabControl("editTab", $aTabs);
$APPLICATION->ResetException();
if ($REQUEST_METHOD == "POST" && (strlen($save) > 0 || strlen($apply) > 0) && $isAdmin && check_bitrix_sessid()) {
    $arFields = array("NAME" => $NAME, "MODULE_ID" => $MODULE_ID, "ACTIVE" => $ACTIVE, "SORT" => $SORT, "IS_PERIOD" => $IS_PERIOD, "AGENT_INTERVAL" => $AGENT_INTERVAL, "NEXT_EXEC" => $NEXT_EXEC, "USER_ID" => false);
    if (intval($USER_ID) > 0) {
        $arFields["USER_ID"] = $USER_ID;
开发者ID:Satariall,项目名称:izurit,代码行数:31,代码来源:agent_edit.php

示例13: IncludeModuleLangFile

<?php

require_once $_SERVER["DOCUMENT_ROOT"] . "/bitrix/modules/main/include/prolog_admin_before.php";
require_once $_SERVER["DOCUMENT_ROOT"] . "/bitrix/modules/sale/include.php";
require_once $_SERVER["DOCUMENT_ROOT"] . "/bitrix/modules/sale/general/admin_tool.php";
IncludeModuleLangFile(__FILE__);
ClearVars("u_");
$saleModulePermissions = $APPLICATION->GetGroupRight("sale");
$arStatusList = False;
$arFilter = array("LID" => LANG, "ID" => "N");
$arGroupByTmpSt = false;
if ($saleModulePermissions < "W") {
    $arFilter["GROUP_ID"] = $GLOBALS["USER"]->GetUserGroupArray();
    $arFilter["PERM_UPDATE"] = "Y";
    $arGroupByTmpSt = array("ID", "NAME", "MAX" => "PERM_UPDATE");
}
$dbStatusList = CSaleStatus::GetList(array(), $arFilter, $arGroupByTmpSt, false, array("ID", "NAME"));
$arStatusList = $dbStatusList->Fetch();
$saleModulePermissions = $APPLICATION->GetGroupRight("sale");
if ($saleModulePermissions == "D" or $saleModulePermissions < "W" and $arStatusList["PERM_UPDATE"] != "Y") {
    $APPLICATION->AuthForm(GetMessage("ACCESS_DENIED"));
}
if (!CBXFeatures::IsFeatureEnabled('SaleAccounts')) {
    require $DOCUMENT_ROOT . "/bitrix/modules/main/include/prolog_admin_after.php";
    ShowError(GetMessage("SALE_FEATURE_NOT_ALLOW"));
    require $_SERVER["DOCUMENT_ROOT"] . "/bitrix/modules/main/include/epilog_admin.php";
    die;
}
$ID = IntVal($_GET["USER_ID"]);
//reorder
if (isset($_REQUEST["reorder"]) && IntVal($_REQUEST["reorder"]) > 0) {
开发者ID:akniyev,项目名称:itprom_dobrohost,代码行数:31,代码来源:buyers_profile.php

示例14: GetMessage

		</select>
		</td>
</tr>
<tr>
	<td valign="top" nowrap><?php 
echo GetMessage("MAIL_LOG_FILT_RULE");
?>
:</td>
	<td nowrap>
		<select name="find_filter_id">
			<option value=""><?php 
echo GetMessage("MAIL_LOG_FILT_ANY");
?>
</option>
			<?php 
ClearVars("mf_");
$arF = array();
if ($find_mailbox_id > 0) {
    $arF["MAILBOX_ID"] = $find_mailbox_id;
}
$l = CMailFilter::GetList(array("NAME" => "ASC", "ID" => "ASC"), $arF);
while ($l->ExtractFields("mf_")) {
    ?>
<option value="<?php 
    echo $mf_ID;
    ?>
"<?php 
    if ($find_filter_id == $mf_ID) {
        echo " selected";
    }
    ?>
开发者ID:k-kalashnikov,项目名称:geekcon_new,代码行数:31,代码来源:mail_log.php

示例15: IncludeModuleLangFile

<?php

IncludeModuleLangFile(__FILE__);
$strError = "";
ClearVars("str_student_");
if (CModule::IncludeModule("learning")) {
    $ID = intval($ID);
    $db_res = CStudent::GetList(array(), array("USER_ID" => $ID));
    if (!$db_res->ExtractFields("str_student_", true)) {
        if (!isset($str_student_PUBLIC_PROFILE) || $str_student_PUBLIC_PROFILE != "Y" && $str_student_PUBLIC_PROFILE != "N") {
            $str_student_PUBLIC_PROFILE = "N";
        }
    }
    if (strlen($strError) > 0) {
        $DB->InitTableVarsForEdit("b_learn_student", "student_", "str_student_");
    }
    ?>
	<input type="hidden" name="profile_module_id[]" value="learning">
	<tr valign="top">
			<td align="right" width="40%"><?php 
    echo GetMessage("learning_PUBLIC_PROFILE");
    ?>
:</td>
			<td width="60%"><input type="checkbox" name="student_PUBLIC_PROFILE" value="Y" <?php 
    if ($str_student_PUBLIC_PROFILE == "Y") {
        echo "checked";
    }
    ?>
></td>
	</tr>
开发者ID:DarneoStudio,项目名称:bitrix,代码行数:30,代码来源:options_user_settings.php


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