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


PHP DeleteParam函数代码示例

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


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

示例1: getPageParam

 protected function getPageParam($sUrlPath, $strParam = "", $arParamKill = array(), $get_index_page = null)
 {
     $strNavQueryString = DeleteParam($arParamKill);
     if ($strNavQueryString != "" && $strParam != "") {
         $strNavQueryString = "&" . $strNavQueryString;
     }
     if ($strNavQueryString == "" && $strParam == "") {
         return $sUrlPath;
     } else {
         return $sUrlPath . "?" . $strParam . $strNavQueryString;
     }
 }
开发者ID:Satariall,项目名称:izurit,代码行数:12,代码来源:class.php

示例2: extract

    die;
}
extract($_REQUEST, EXTR_SKIP);
IncludeTemplateLangFile($_SERVER["DOCUMENT_ROOT"] . BX_PERSONAL_ROOT . "/templates/" . SITE_TEMPLATE_ID . "/main/auth/auth_form.php");
$cur_page = $GLOBALS["APPLICATION"]->GetCurPage();
$str = "";
if (defined("AUTH_404")) {
    $page = SITE_DIR . "auth.php";
    $str = "<input type='hidden' name='backurl' value='" . $GLOBALS["APPLICATION"]->GetCurPage() . "'>";
} else {
    $page = $cur_page;
}
ShowMessage($arAuthResult);
?>
<form class="ishop auth" name="bform" method="post" target="_top" action="<?php 
echo $page . (($s = DeleteParam(array("forgot_password"))) == "" ? "?forgot_password=yes" : "?{$s}&forgot_password=yes");
?>
">
	<?php 
echo $str;
?>
	<input type="hidden" name="AUTH_FORM" value="Y">
	<input type="hidden" name="TYPE" value="SEND_PWD">
	<p><font class="text">
	<?php 
echo GetMessage("AUTH_FORGOT_PASSWORD_1");
?>
	</font></p>

	<label><?php 
echo GetMessage("AUTH_LOGIN");
开发者ID:Andreyjktl,项目名称:rezina74,代码行数:31,代码来源:forgot_password.php

示例3: ShowTabButtons

	function ShowTabButtons()
	{
		/** @global CMain $APPLICATION */
		global $APPLICATION;

		$s = '';
		if (!$this->bPublicMode)
		{
			if ($this->bShowSettings)
			{
				$link = DeleteParam(array("mode"));
				$link = $APPLICATION->GetCurPage()."?mode=settings".($link <> ""? "&".$link:"");

				$aAdditionalMenu = array();

				$aAdditionalMenu[] = array(
					"TEXT"=>GetMessage("admin_lib_menu_settings"),
					"TITLE"=>GetMessage("admin_lib_context_sett_title"),
					"ONCLICK"=>$this->name.".ShowSettings('".htmlspecialcharsex(CUtil::JSEscape($link))."')",
					"GLOBAL_ICON"=>"adm-menu-setting"
				);

				if($this->bCustomFields)
				{
					if(is_array($_SESSION["ADMIN_CUSTOM_FIELDS"]) && array_key_exists($this->name, $_SESSION["ADMIN_CUSTOM_FIELDS"]))
					{
						$aAdditionalMenu[] = array(
							"TEXT" => GetMessage("admin_lib_sett_sett_enable_text"),
							"TITLE" => GetMessage("admin_lib_sett_sett_enable"),
							"ONCLICK" => $this->name.'.EnableSettings();',
							"ICON" => 'custom-fields-on',
						);
					}
					else
					{
						$aAdditionalMenu[] = array(
							"TEXT" => GetMessage("admin_lib_sett_sett_disable_text"),
							"TITLE" => GetMessage("admin_lib_sett_sett_disable"),
							"ONCLICK" => $this->name.'.DisableSettings();',
							"ICON" => 'custom-fields-off'
						);

					}
				}

				if (count($aAdditionalMenu) > 1)
				{
					$sMenuUrl = "BX.adminShowMenu(this, ".htmlspecialcharsbx(CAdminPopup::PhpToJavaScript($aAdditionalMenu)).", {active_class: 'bx-settings-btn-active'});";
					$bCustomFieldsOff = is_array($_SESSION["ADMIN_CUSTOM_FIELDS"]) && array_key_exists($this->name, $_SESSION["ADMIN_CUSTOM_FIELDS"]);

					$s .= '<span id="'.$this->name.'_settings_btn" class="adm-detail-settings adm-detail-settings-arrow'.($bCustomFieldsOff ? '' : ' adm-detail-settings-active').'" onclick="'.$sMenuUrl.'"></span>';
				}
				else
				{
					$s .= '<a class="adm-detail-settings" href="javascript:void(0)" onclick="'.$aAdditionalMenu[0]['ONCLICK'].'"></a>';

				}
			}
		}

		return $s.parent::ShowTabButtons();
	}
开发者ID:ASDAFF,项目名称:open_bx,代码行数:62,代码来源:admin_lib.php

示例4: str_replace

// ************************* Input params***************************************************************
$tplID = 'COMMENT_' . $arParams["ENTITY_TYPE"] . '_';
if (LANGUAGE_ID == 'ru') {
    $path = str_replace(array("\\", "//"), "/", __DIR__ . "/ru/script.php");
    include $path;
}
?>
<div class="feed-wrap">
<div class="feed-comments-block">
	<a name="comments"></a>
<?php 
// *************************/Input params***************************************************************
if (!empty($arResult["MESSAGES"])) {
    $arResult["NAV_STRING"] = GetPagePath(false, false);
    if ($arResult["NAV_RESULT"]) {
        $strNavQueryString = htmlspecialcharsbx(DeleteParam(array("PAGEN_" . $arResult["NAV_RESULT"]->NavNum, "SIZEN_" . $arResult["NAV_RESULT"]->NavNum, "SHOWALL_" . $arResult["NAV_RESULT"]->NavNum, "MID", "result", "PHPSESSID", "clear_cache")));
        if (!!$strNavQueryString) {
            $arResult["NAV_STRING"] .= "?" . $strNavQueryString;
        }
    }
    foreach ($arResult["MESSAGES"] as $res) {
        foreach (GetModuleEvents('forum', 'OnCommentDisplay', true) as $arEvent) {
            $arExt = ExecuteModuleEventEx($arEvent, array($res));
            if ($arExt !== null) {
                foreach ($arExt as $arTpl) {
                    $APPLICATION->AddViewContent(implode('_', array($tplID, 'ID', $res['ID'], $arTpl['DISPLAY'])), $arTpl['TEXT'], $arTpl['SORT']);
                }
            }
        }
    }
}
开发者ID:mrdeadmouse,项目名称:u136006,代码行数:31,代码来源:template.php

示例5: elseif

         $componentPage = "test";
     } elseif (isset($arVariables["SELF_TEST_ID"]) && intval($arVariables["SELF_TEST_ID"]) > 0) {
         $componentPage = "test.self";
     } elseif (isset($arVariables["TYPE"]) && $arVariables["TYPE"] == "Y") {
         $componentPage = "course.contents";
     } elseif (isset($arVariables["TEST_LIST"]) && $arVariables["TEST_LIST"] == "Y") {
         $componentPage = "test.list";
     } elseif (isset($arVariables["GRADEBOOK"]) && $arVariables["GRADEBOOK"] == "Y") {
         $componentPage = "gradebook";
     } elseif (isset($arVariables["SEARCH"]) && $arVariables["SEARCH"] == "Y") {
         $componentPage = "search";
     } else {
         $componentPage = "course.detail";
     }
     $currentPage = GetPagePath(false, false);
     $queryString = htmlspecialcharsbx(DeleteParam(array_values($arVariableAliases)));
     $currentPage .= "?";
     $arResult = array("FOLDER" => "", "URL_TEMPLATES" => array("course.detail" => $currentPage . $arVariableAliases["COURSE_ID"] . "=#COURSE_ID#&" . $arVariableAliases["INDEX"] . "=Y", "course.contents" => $currentPage . $arVariableAliases["COURSE_ID"] . "=" . $arParams["COURSE_ID"] . "&" . $arVariableAliases["TYPE"] . "=Y", "lesson.detail" => $currentPage . $arVariableAliases["COURSE_ID"] . "=" . $arParams["COURSE_ID"] . "&" . $arVariableAliases["LESSON_ID"] . "=#LESSON_ID#", "chapter.detail" => $currentPage . $arVariableAliases["COURSE_ID"] . "=" . $arParams["COURSE_ID"] . "&" . $arVariableAliases["CHAPTER_ID"] . "=#CHAPTER_ID#", "test" => $currentPage . $arVariableAliases["COURSE_ID"] . "=#COURSE_ID#&" . $arVariableAliases["TEST_ID"] . "=#TEST_ID#", "test.list" => $currentPage . $arVariableAliases["COURSE_ID"] . "=" . $arParams["COURSE_ID"] . "&" . $arVariableAliases["TEST_LIST"] . "=Y", "test.self" => $currentPage . $arVariableAliases["COURSE_ID"] . "=" . $arParams["COURSE_ID"] . "&" . $arVariableAliases["SELF_TEST_ID"] . "=#LESSON_ID#", "gradebook" => $currentPage . $arVariableAliases["COURSE_ID"] . "=" . $arParams["COURSE_ID"] . "&" . $arVariableAliases["GRADEBOOK"] . "=Y", "search" => $currentPage . $arVariableAliases["COURSE_ID"] . "=" . $arParams["COURSE_ID"] . "&" . $arVariableAliases["SEARCH"] . "=Y"), "VARIABLES" => $arVariables, "ALIASES" => $arVariableAliases);
 }
 //Page properties
 $APPLICATION->SetPageProperty("learning_course_contents_url", str_replace("#COURSE_ID#", $arParams["COURSE_ID"], $arResult["FOLDER"] . $arResult["URL_TEMPLATES"]["course.contents"]));
 $APPLICATION->SetPageProperty("learning_test_list_url", str_replace("#COURSE_ID#", $arParams["COURSE_ID"], $arResult["FOLDER"] . $arResult["URL_TEMPLATES"]["test.list"]));
 $APPLICATION->SetPageProperty("learning_gradebook_url", str_replace("#COURSE_ID#", $arParams["COURSE_ID"], $arResult["FOLDER"] . $arResult["URL_TEMPLATES"]["gradebook"]));
 $arSearchURL = parse_url(str_replace("#COURSE_ID#", $arParams["COURSE_ID"], $arResult["FOLDER"] . $arResult["URL_TEMPLATES"]["search"]));
 $APPLICATION->SetPageProperty("learning_search_url", htmlspecialcharsEx($arSearchURL["path"]));
 $searchParams = "";
 if ($arSearchURL["query"]) {
     foreach (explode("&", $arSearchURL["query"]) as $param) {
         list($name, $value) = explode("=", $param);
         $searchParams .= "<input type=\"hidden\" name=\"" . htmlspecialcharsEx($name) . "\" value=\"" . htmlspecialcharsEx($value) . "\" />";
     }
开发者ID:mrdeadmouse,项目名称:u136006,代码行数:31,代码来源:component.php

示例6: GetNavPrint

 public function GetNavPrint($title, $show_allways = false, $StyleText = "text", $template_path = false, $arDeleteParam = false)
 {
     $res = '';
     $add_anchor = $this->add_anchor;
     $sBegin = GetMessage("nav_begin");
     $sEnd = GetMessage("nav_end");
     $sNext = GetMessage("nav_next");
     $sPrev = GetMessage("nav_prev");
     $sAll = GetMessage("nav_all");
     $sPaged = GetMessage("nav_paged");
     $nPageWindow = $this->nPageWindow;
     if (!$show_allways) {
         if ($this->NavRecordCount == 0 || $this->NavPageCount == 1 && $this->NavShowAll == false) {
             return '';
         }
     }
     $sUrlPath = GetPagePath();
     $arDel = array("PAGEN_" . $this->NavNum, "SIZEN_" . $this->NavNum, "SHOWALL_" . $this->NavNum, "PHPSESSID");
     if (is_array($arDeleteParam)) {
         $arDel = array_merge($arDel, $arDeleteParam);
     }
     $strNavQueryString = DeleteParam($arDel);
     if ($strNavQueryString != "") {
         $strNavQueryString = htmlspecialcharsbx("&" . $strNavQueryString);
     }
     if ($template_path !== false && !file_exists($template_path) && file_exists($_SERVER["DOCUMENT_ROOT"] . $template_path)) {
         $template_path = $_SERVER["DOCUMENT_ROOT"] . $template_path;
     }
     if ($this->bDescPageNumbering === true) {
         if ($this->NavPageNomer + floor($nPageWindow / 2) >= $this->NavPageCount) {
             $nStartPage = $this->NavPageCount;
         } else {
             if ($this->NavPageNomer + floor($nPageWindow / 2) >= $nPageWindow) {
                 $nStartPage = $this->NavPageNomer + floor($nPageWindow / 2);
             } else {
                 if ($this->NavPageCount >= $nPageWindow) {
                     $nStartPage = $nPageWindow;
                 } else {
                     $nStartPage = $this->NavPageCount;
                 }
             }
         }
         if ($nStartPage - $nPageWindow >= 0) {
             $nEndPage = $nStartPage - $nPageWindow + 1;
         } else {
             $nEndPage = 1;
         }
         //echo "nEndPage = $nEndPage; nStartPage = $nStartPage;";
     } else {
         if ($this->NavPageNomer > floor($nPageWindow / 2) + 1 && $this->NavPageCount > $nPageWindow) {
             $nStartPage = $this->NavPageNomer - floor($nPageWindow / 2);
         } else {
             $nStartPage = 1;
         }
         if ($this->NavPageNomer <= $this->NavPageCount - floor($nPageWindow / 2) && $nStartPage + $nPageWindow - 1 <= $this->NavPageCount) {
             $nEndPage = $nStartPage + $nPageWindow - 1;
         } else {
             $nEndPage = $this->NavPageCount;
             if ($nEndPage - $nPageWindow + 1 >= 1) {
                 $nStartPage = $nEndPage - $nPageWindow + 1;
             }
         }
     }
     $this->nStartPage = $nStartPage;
     $this->nEndPage = $nEndPage;
     if ($template_path !== false && file_exists($template_path)) {
         /*
         			$this->bFirstPrintNav - is first tiem call
         			$this->NavPageNomer - number of current page
         			$this->NavPageCount - total page count
         			$this->NavPageSize - page size
         			$this->NavRecordCount - records count
         			$this->bShowAll - show "all" link
         			$this->NavShowAll - is all shown
         			$this->NavNum - number of navigation
         			$this->bDescPageNumbering - reverse paging
         
         			$this->nStartPage - first page in chain
         			$this->nEndPage - last page in chain
         
         			$strNavQueryString - query string
         			$sUrlPath - current url
         
         			Url for link to the page #PAGE_NUMBER#:
         			$sUrlPath.'?PAGEN_'.$this->NavNum.'='.#PAGE_NUMBER#.$strNavQueryString.'#nav_start"'.$add_anchor
         */
         ob_start();
         include $template_path;
         $res = ob_get_contents();
         ob_end_clean();
         $this->bFirstPrintNav = false;
         return $res;
     }
     if ($this->bFirstPrintNav) {
         $res .= '<a name="nav_start' . $add_anchor . '"></a>';
         $this->bFirstPrintNav = false;
     }
     $res .= '<font class="' . $StyleText . '">' . $title . ' ';
     if ($this->bDescPageNumbering === true) {
         $makeweight = $this->NavRecordCount % $this->NavPageSize;
//.........这里部分代码省略.........
开发者ID:andy-profi,项目名称:bxApiDocs,代码行数:101,代码来源:database.php

示例7:

new BX.adminLogin({
	form: 'form_auth',
	start_form: '<?php 
echo CUtil::JSEscape($inc_file);
?>
',
	post_data: '<?php 
echo CUtil::JSEscape($post_data);
?>
',
	popup_alignment: 'popup_alignment',
	login_wrapper: 'login_wrapper',
	window_wrapper: 'window_wrapper',
	auth_form_wrapper: 'auth_form_wrapper',
	login_variants: 'login_variants',
	url: '<?echo CUtil::JSEscape($sDocPath.(($s=DeleteParam(array("logout", "login"))) == ""? "":"?".$s));?>'
});
</script>

<div id="login_variants" style="display: none;">
<?
require('authorize.php');
require('forgot_password.php');
require('change_password.php');
?>

</div>
<?
if ($arAuthResult)
{
	$bOnHit = true;
开发者ID:nProfessor,项目名称:Mytb,代码行数:31,代码来源:wrapper.php

示例8: foreach

}
foreach ($GLOBALS['_____499363063'][43](___2022025961(595), ___2022025961(596), true) as $_1738617497) {
    ExecuteModuleEventEx($_1738617497);
}
if ((!$GLOBALS['____1709102065'][145](___2022025961(597)) || NOT_CHECK_PERMISSIONS !== true) && (!$GLOBALS['____1709102065'][146](___2022025961(598)) || NOT_CHECK_FILE_PERMISSIONS !== true)) {
    $_375381832 = $_1018275010->getScriptFile();
    if (!$GLOBALS[___2022025961(599)]->CanDoFileOperation(___2022025961(600), array(SITE_ID, $_375381832)) || $GLOBALS['____1709102065'][147](___2022025961(601)) && NEED_AUTH && !$GLOBALS[___2022025961(602)]->{$GLOBALS}['_____499363063'][44]()) {
        if ($GLOBALS[___2022025961(603)]->{$GLOBALS}['_____499363063'][45]() && $_1491456351[___2022025961(604)] == ___2022025961(605)) {
            $_1491456351 = array(___2022025961(606) => GetMessage(___2022025961(607)) . ___2022025961(608) . GetMessage(___2022025961(609), array(___2022025961(610) => $_375381832)), ___2022025961(611) => ___2022025961(612));
        }
        if ($GLOBALS['____1709102065'][148](___2022025961(613)) && ADMIN_SECTION == true) {
            if ($_REQUEST[___2022025961(614)] == ___2022025961(615) || $_REQUEST[___2022025961(616)] == ___2022025961(617)) {
                echo ___2022025961(618) . $GLOBALS[___2022025961(619)]->{$GLOBALS}['_____499363063'][46]() . ___2022025961(620) . DeleteParam(array(___2022025961(621))) . ___2022025961(622);
                die;
            } elseif ($_REQUEST[___2022025961(623)] == ___2022025961(624)) {
                echo ___2022025961(625) . $GLOBALS[___2022025961(626)]->{$GLOBALS}['_____499363063'][47]() . ___2022025961(627) . DeleteParam(array(___2022025961(628))) . ___2022025961(629);
                die;
            } elseif ($GLOBALS['____1709102065'][149](___2022025961(630)) && MOBILE_APP_ADMIN == true) {
                echo $GLOBALS['____1709102065'][150](array(___2022025961(631) => ___2022025961(632)));
                die;
            }
        }
        $GLOBALS[___2022025961(633)]->AuthForm($_1491456351);
    }
}
while (!$GLOBALS['____1709102065'][151](___2022025961(634)) || $GLOBALS['____1709102065'][152](OLDSITEEXPIREDATE) <= 958 - 2 * 479 || OLDSITEEXPIREDATE != SITEEXPIREDATE) {
    die(GetMessage(___2022025961(635)));
}
if (isset($_1431840146) && $_1431840146 == round(0 + 404)) {
    if (COption::$GLOBALS['_____499363063'][48](___2022025961(636), ___2022025961(637), ___2022025961(638)) == ___2022025961(639)) {
        CHTTP::SetStatus(___2022025961(640));
开发者ID:rasuldev,项目名称:torino,代码行数:31,代码来源:include.php

示例9: GetMessage

        echo SITE_DIR . "auth.php?register=yes";
        ?>
" class="smalltext"><?php 
        echo GetMessage("AUTH_REGISTER");
        ?>
</a><br></td>
		</tr>
		<?php 
    }
    ?>
	</table><br>
<?php 
} else {
    ?>
<form action="?logout=yes<?php 
    echo htmlspecialcharsbx(($s = DeleteParam(array("logout", "login"))) == "" ? "" : "&" . $s);
    ?>
">
<div align="center" class="smalltext" style="padding-bottom: 2 px;"><?php 
    echo htmlspecialcharsbx($USER->GetFullName());
    ?>
<br>[<?php 
    echo htmlspecialcharsbx($USER->GetLogin());
    ?>
]<br>
<?php 
    foreach ($_GET as $vname => $vvalue) {
        ?>
<input type="hidden" name="<?php 
        echo htmlspecialcharsbx($vname);
        ?>
开发者ID:Satariall,项目名称:izurit,代码行数:31,代码来源:auth_form.php

示例10: foreach

}
\Bitrix\Main\Page\Frame::shouldBeEnabled();
foreach ($GLOBALS['_____1480315984'][40](___1325703887(527), ___1325703887(528), true) as $_473584920) {
    ExecuteModuleEventEx($_473584920);
}
if ((!$GLOBALS['____291210897'][94](___1325703887(529)) || NOT_CHECK_PERMISSIONS !== true) && (!$GLOBALS['____291210897'][95](___1325703887(530)) || NOT_CHECK_FILE_PERMISSIONS !== true)) {
    $_1318012940 = $_1413785542->getScriptFile();
    if (!$GLOBALS[___1325703887(531)]->CanDoFileOperation(___1325703887(532), array(SITE_ID, $_1318012940)) || $GLOBALS['____291210897'][96](___1325703887(533)) && NEED_AUTH && !$GLOBALS[___1325703887(534)]->{$GLOBALS}['_____1480315984'][41]()) {
        if ($GLOBALS[___1325703887(535)]->{$GLOBALS}['_____1480315984'][42]() && $_1118187698[___1325703887(536)] == ___1325703887(537)) {
            $_1118187698 = array(___1325703887(538) => GetMessage(___1325703887(539)) . ___1325703887(540) . GetMessage(___1325703887(541), array(___1325703887(542) => $_1318012940)), ___1325703887(543) => ___1325703887(544));
        }
        if ($GLOBALS['____291210897'][97](___1325703887(545)) && ADMIN_SECTION == true) {
            if ($_REQUEST[___1325703887(546)] == ___1325703887(547) || $_REQUEST[___1325703887(548)] == ___1325703887(549)) {
                echo ___1325703887(550) . $GLOBALS[___1325703887(551)]->{$GLOBALS}['_____1480315984'][43]() . ___1325703887(552) . DeleteParam(array(___1325703887(553))) . ___1325703887(554);
                die;
            } elseif ($_REQUEST[___1325703887(555)] == ___1325703887(556)) {
                echo ___1325703887(557) . $GLOBALS[___1325703887(558)]->{$GLOBALS}['_____1480315984'][44]() . ___1325703887(559) . DeleteParam(array(___1325703887(560))) . ___1325703887(561);
                die;
            } elseif ($GLOBALS['____291210897'][98](___1325703887(562)) && MOBILE_APP_ADMIN == true) {
                echo $GLOBALS['____291210897'][99](array(___1325703887(563) => ___1325703887(564)));
                die;
            }
        }
        $GLOBALS[___1325703887(565)]->AuthForm($_1118187698);
    }
}
if (isset($_1863584006) && $_1863584006 == round(0 + 202 + 202)) {
    if (COption::$GLOBALS['_____1480315984'][45](___1325703887(566), ___1325703887(567), ___1325703887(568)) == ___1325703887(569)) {
        CHTTP::SetStatus(___1325703887(570));
    }
}
开发者ID:AlexTimin,项目名称:sportangel,代码行数:31,代码来源:include.php

示例11: foreach

}
\Bitrix\Main\Page\Frame::shouldBeEnabled();
foreach ($GLOBALS['_____451545984'][40](___253155201(527), ___253155201(528), true) as $_1409658889) {
    ExecuteModuleEventEx($_1409658889);
}
if ((!$GLOBALS['____891427501'][94](___253155201(529)) || NOT_CHECK_PERMISSIONS !== true) && (!$GLOBALS['____891427501'][95](___253155201(530)) || NOT_CHECK_FILE_PERMISSIONS !== true)) {
    $_127164535 = $_186062723->getScriptFile();
    if (!$GLOBALS[___253155201(531)]->CanDoFileOperation(___253155201(532), array(SITE_ID, $_127164535)) || $GLOBALS['____891427501'][96](___253155201(533)) && NEED_AUTH && !$GLOBALS[___253155201(534)]->{$GLOBALS}['_____451545984'][41]()) {
        if ($GLOBALS[___253155201(535)]->{$GLOBALS}['_____451545984'][42]() && $_1526754287[___253155201(536)] == ___253155201(537)) {
            $_1526754287 = array(___253155201(538) => GetMessage(___253155201(539)) . ___253155201(540) . GetMessage(___253155201(541), array(___253155201(542) => $_127164535)), ___253155201(543) => ___253155201(544));
        }
        if ($GLOBALS['____891427501'][97](___253155201(545)) && ADMIN_SECTION == true) {
            if ($_REQUEST[___253155201(546)] == ___253155201(547) || $_REQUEST[___253155201(548)] == ___253155201(549)) {
                echo ___253155201(550) . $GLOBALS[___253155201(551)]->{$GLOBALS}['_____451545984'][43]() . ___253155201(552) . DeleteParam(array(___253155201(553))) . ___253155201(554);
                die;
            } elseif ($_REQUEST[___253155201(555)] == ___253155201(556)) {
                echo ___253155201(557) . $GLOBALS[___253155201(558)]->{$GLOBALS}['_____451545984'][44]() . ___253155201(559) . DeleteParam(array(___253155201(560))) . ___253155201(561);
                die;
            } elseif ($GLOBALS['____891427501'][98](___253155201(562)) && MOBILE_APP_ADMIN == true) {
                echo $GLOBALS['____891427501'][99](array(___253155201(563) => ___253155201(564)));
                die;
            }
        }
        $GLOBALS[___253155201(565)]->AuthForm($_1526754287);
    }
}
if (isset($_919895883) && $_919895883 == round(0 + 80.8 + 80.8 + 80.8 + 80.8 + 80.8)) {
    if (COption::$GLOBALS['_____451545984'][45](___253155201(566), ___253155201(567), ___253155201(568)) == ___253155201(569)) {
        CHTTP::SetStatus(___253155201(570));
    }
}
开发者ID:akniyev,项目名称:arteva.ru,代码行数:31,代码来源:include.php

示例12: extract

    die;
}
extract($_REQUEST, EXTR_SKIP);
IncludeTemplateLangFile($_SERVER["DOCUMENT_ROOT"] . BX_PERSONAL_ROOT . "/templates/" . SITE_TEMPLATE_ID . "/main/auth/auth_form.php");
$cur_page = $GLOBALS["APPLICATION"]->GetCurPage();
$str = "";
if (defined("AUTH_404")) {
    $page = SITE_DIR . "auth.php";
    $str = "<input type='hidden' name='backurl' value='" . $GLOBALS["APPLICATION"]->GetCurPage() . "'>";
} else {
    $page = $cur_page;
}
ShowMessage($arAuthResult);
?>
<form method="POST" action="<?php 
echo htmlspecialcharsbx($page) . (($s = DeleteParam(array("register"))) == "" ? "?register=yes" : "?{$s}&register=yes");
?>
" name="bform">
<?php 
echo $str;
?>
<input type="hidden" name="AUTH_FORM" value="Y">
<input type="hidden" name="TYPE" value="REGISTRATION">
<table border="0" cellspacing="0" cellpadding="1" class="tableborder">
	<tr> 
		<td> 
			<table border="0" cellspacing="0" cellpadding="4" class="tablebody">
				<tr> 
					<td width="100%" valign="middle" colspan="2" class="tablebody"> 
						<table width="100%%" border="0" cellpadding="3" cellspacing="0">
							<tr> 
开发者ID:webgksupport,项目名称:alpina,代码行数:31,代码来源:registration.php

示例13: foreach

}
\Bitrix\Main\Page\Frame::shouldBeEnabled();
foreach ($GLOBALS['_____967299403'][40](___1901741453(527), ___1901741453(528), true) as $_146569225) {
    ExecuteModuleEventEx($_146569225);
}
if ((!$GLOBALS['____1514955144'][94](___1901741453(529)) || NOT_CHECK_PERMISSIONS !== true) && (!$GLOBALS['____1514955144'][95](___1901741453(530)) || NOT_CHECK_FILE_PERMISSIONS !== true)) {
    $_1165444354 = $_1279707948->getScriptFile();
    if (!$GLOBALS[___1901741453(531)]->CanDoFileOperation(___1901741453(532), array(SITE_ID, $_1165444354)) || $GLOBALS['____1514955144'][96](___1901741453(533)) && NEED_AUTH && !$GLOBALS[___1901741453(534)]->{$GLOBALS}['_____967299403'][41]()) {
        if ($GLOBALS[___1901741453(535)]->{$GLOBALS}['_____967299403'][42]() && $_661475589[___1901741453(536)] == ___1901741453(537)) {
            $_661475589 = array(___1901741453(538) => GetMessage(___1901741453(539)) . ___1901741453(540) . GetMessage(___1901741453(541), array(___1901741453(542) => $_1165444354)), ___1901741453(543) => ___1901741453(544));
        }
        if ($GLOBALS['____1514955144'][97](___1901741453(545)) && ADMIN_SECTION == true) {
            if ($_REQUEST[___1901741453(546)] == ___1901741453(547) || $_REQUEST[___1901741453(548)] == ___1901741453(549)) {
                echo ___1901741453(550) . $GLOBALS[___1901741453(551)]->{$GLOBALS}['_____967299403'][43]() . ___1901741453(552) . DeleteParam(array(___1901741453(553))) . ___1901741453(554);
                die;
            } elseif ($_REQUEST[___1901741453(555)] == ___1901741453(556)) {
                echo ___1901741453(557) . $GLOBALS[___1901741453(558)]->{$GLOBALS}['_____967299403'][44]() . ___1901741453(559) . DeleteParam(array(___1901741453(560))) . ___1901741453(561);
                die;
            } elseif ($GLOBALS['____1514955144'][98](___1901741453(562)) && MOBILE_APP_ADMIN == true) {
                echo $GLOBALS['____1514955144'][99](array(___1901741453(563) => ___1901741453(564)));
                die;
            }
        }
        $GLOBALS[___1901741453(565)]->AuthForm($_661475589);
    }
}
if (isset($_428137582) && $_428137582 == round(0 + 134.66666666667 + 134.66666666667 + 134.66666666667)) {
    if (COption::$GLOBALS['_____967299403'][45](___1901741453(566), ___1901741453(567), ___1901741453(568)) == ___1901741453(569)) {
        CHTTP::SetStatus(___1901741453(570));
    }
}
开发者ID:ASDAFF,项目名称:entask.ru,代码行数:31,代码来源:include.php

示例14: htmlspecialcharsbx

        echo $USER->GetID();
        ?>
" class="adm-header-user-block" id="bx-panel-user"><?php 
        echo $USER->GetFormattedName();
        ?>
</a><?php 
    } else {
        ?>
<span class="adm-header-user-block" id="bx-panel-user"><?php 
        echo htmlspecialcharsbx($USER->GetFullName()) . ' (' . htmlspecialcharsbx($USER->GetLogin());
        ?>
</span><?php 
    }
    ?>
<a hidefocus="true" href="<?php 
    echo htmlspecialcharsbx(defined('BX_ADMIN_SECTION_404') && BX_ADMIN_SECTION_404 == 'Y' ? '/bitrix/admin/' : $APPLICATION->GetCurPage()) . '?logout=yes' . htmlspecialcharsbx(($s = DeleteParam(array("logout"))) == "" ? "" : "&" . $s);
    ?>
" class="adm-header-exit" id="bx-panel-logout" title="<?php 
    echo GetMessage('admin_panel_logout_title');
    ?>
"><?php 
    echo GetMessage("admin_panel_logout");
    ?>
</a><?php 
    $Execs = $hkInstance->GetCodeByClassName("bx-panel-logout", GetMessage('admin_panel_logout'));
    echo $hkInstance->PrintJSExecs($Execs);
}
_showTopPanelButtonsSection($arPanelButtons, $hkInstance, 1);
if ($USER->IsAuthorized()) {
    if ($hkInstance->IsActive()) {
        ?>
开发者ID:Satariall,项目名称:izurit,代码行数:31,代码来源:top_panel.php

示例15: htmlspecialcharsbx

		$arParams[strToUpper($URL)."_TEMPLATE"] = htmlspecialcharsbx($arParams["~".strToUpper($URL)."_TEMPLATE"]);
	endforeach;
/************** CACHE **********************************************/
	if ($arParams["CACHE_TYPE"] == "Y" || ($arParams["CACHE_TYPE"] == "A" && COption::GetOptionString("main", "component_cache_on", "Y") == "Y"))
		$arParams["CACHE_TIME"] = intval($arParams["CACHE_TIME"]);
	else
		$arParams["CACHE_TIME"] = 0;

	$arParams["ADDITIONAL_CACHE_ID"] = (isset($arParams["ADDITIONAL_CACHE_ID"]) && strlen($arParams["ADDITIONAL_CACHE_ID"]) > 0 ?
		$arParams["ADDITIONAL_CACHE_ID"] : $USER->GetGroups());
/********************************************************************
				/Input params
********************************************************************/
if ($GLOBALS["VOTING_OK"] == "Y"  && ($GLOBALS["VOTING_ID"] == $arParams["VOTE_ID"]))
{
	$strNavQueryString = DeleteParam(array("VOTE_ID", "VOTING_OK", "VOTE_SUCCESSFULL", "view_result", "view_form"));
	$strNavQueryString = ($strNavQueryString <> "" ? "&" : "").$strNavQueryString;
	$delimiter = (strpos($arParams["VOTE_RESULT_TEMPLATE"], "?") === false) ? "?":"&";
	if (strpos($arParams["VOTE_RESULT_TEMPLATE"], "#VOTE_ID#") === false)
	{
		$arParams["VOTE_RESULT_TEMPLATE"] .= $delimiter."VOTE_ID=".$_REQUEST["VOTE_ID"];
		$url = CComponentEngine::MakePathFromTemplate(
			$arParams["VOTE_RESULT_TEMPLATE"]."&VOTE_SUCCESSFULL=Y".$strNavQueryString);
	}
	else
	{
		$url = CComponentEngine::MakePathFromTemplate(
			$arParams["VOTE_RESULT_TEMPLATE"].$delimiter."VOTE_SUCCESSFULL=Y".$strNavQueryString,
			array("VOTE_ID" => $arParams["VOTE_ID"]));
	}
	LocalRedirect($url);
开发者ID:ASDAFF,项目名称:entask.ru,代码行数:31,代码来源:component.php


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