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


PHP ShowMessage函数代码示例

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


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

示例1: foreach

	<div class="offer">
		<div class="container">
			<div class="row">
				<?php 
    $cnt = 0;
    foreach ($arResult["forms"] as $id => $form) {
        ?>
					<div class="col-sm-6 col-md-6 col-lg-6 col-xs-12">
						<h2><?php 
        echo $form["title"];
        ?>
</h2>
						<hr class="hr-150" />
						<?php 
        if (!empty($form["message"])) {
            ShowMessage(array("MESSAGE" => $form["message"], "TYPE" => "OK"));
        }
        ?>
						<?php 
        if (!empty($form["errors"])) {
            ?>
							<?php 
            foreach ($form["errors"] as $error) {
                ShowError($error);
            }
            ?>
						<?php 
        }
        ?>
						<form enctype="multipart/form-data" id ="<?php 
        echo $id;
开发者ID:dimabresky,项目名称:new-channel-site-project-source-code,代码行数:31,代码来源:template.php

示例2: ShowMessage

<?php

if (!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED !== true) {
    die;
}
?>
<div class="login_page bx_<?php 
echo $arResult["THEME"];
?>
">
	<?php 
ShowMessage($arParams["~AUTH_RESULT"]);
ShowMessage($arResult['ERROR_MESSAGE']);
?>
	<?php 
if ($arResult["AUTH_SERVICES"]) {
    ?>
	<h2><?php 
    echo GetMessage("AUTH_TITLE");
    ?>
</h2>
	<?php 
}
?>
	<?php 
if ($arResult["AUTH_SERVICES"]) {
    $APPLICATION->IncludeComponent("bitrix:socserv.auth.form", "", array("AUTH_SERVICES" => $arResult["AUTH_SERVICES"], "CURRENT_SERVICE" => $arResult["CURRENT_SERVICE"], "AUTH_URL" => $arResult["AUTH_URL"], "POST" => $arResult["POST"], "SUFFIX" => "main"), $component, array("HIDE_ICONS" => "Y"));
}
?>
	<form name="form_auth" method="post" target="_top" action="<?php 
echo SITE_DIR;
开发者ID:webgksupport,项目名称:alpina,代码行数:31,代码来源:template.php

示例3: ShowMessage

<?php

if (!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED !== true) {
    die;
}
ShowMessage($arParams["~AUTH_RESULT"]);
?>
<form name="bform" method="post" target="_top" action="<?php 
echo $arResult["AUTH_URL"];
?>
">
<?php 
if (strlen($arResult["BACKURL"]) > 0) {
    ?>
	<input type="hidden" name="backurl" value="<?php 
    echo $arResult["BACKURL"];
    ?>
" />
<?php 
}
?>
	<input type="hidden" name="AUTH_FORM" value="Y">
	<input type="hidden" name="TYPE" value="SEND_PWD">
	<p>
	<?php 
echo GetMessage("AUTH_FORGOT_PASSWORD_1");
?>
	</p>

<table class="data-table bx-forgotpass-table"> 
	<tbody>
开发者ID:kudin,项目名称:crm,代码行数:31,代码来源:template.php

示例4: array

		'bxpublic': 'Y',
		'sessid': BX.bitrix_sessid()
	};
	(new BX.CAdminDialog({
		'content_url': '/bitrix/admin/cat_subcoupon_edit.php',
		'content_post': PostParams,
		'draggable': true,
		'resizable': false,
		'buttons': [BX.CAdminDialog.btnSave, BX.CAdminDialog.btnCancel]
	})).Show();
}
</script><?php 
    $aContext = array();
    if (!$boolCouponsReadOnly) {
        if (0 < $intDiscountID) {
            $arAddMenu = array();
            $arAddMenu[] = array("TEXT" => GetMessage("BT_CAT_DISC_COUPON_LIST_ADD_ONE_COUPON"), "LINK" => "javascript:ShowNewCoupon(" . $intDiscountID . ")", "TITLE" => GetMessage("BT_CAT_DISC_COUPON_LIST_ADD_ONE_COUPON_TITLE"));
            $arAddMenu[] = array("TEXT" => GetMessage("BT_CAT_DISC_COUPON_LIST_ADD_MULTI_COUPON"), "LINK" => "javascript:ShowNewMultiCoupons(" . $intDiscountID . ")", "TITLE" => GetMessage("BT_CAT_DISC_COUPON_LIST_ADD_MULTI_COUPON_TITLE"));
            $aContext[] = array("TEXT" => GetMessage("DSC_CPN_ADD"), "ICON" => "btn_new", "MENU" => $arAddMenu);
        }
    }
    $aContext[] = array("ICON" => "btn_sub_refresh", "TEXT" => htmlspecialcharsex(GetMessage('BT_CAT_DISC_COUPON_LIST_REFRESH')), "LINK" => "javascript:" . $lAdmin->ActionAjaxReload($lAdmin->GetListUrl(true)), "TITLE" => GetMessage("BT_CAT_DISC_COUPON_LIST_REFRESH_TITLE"));
    $lAdmin->AddAdminContextMenu($aContext);
    $lAdmin->CheckListMode();
    if (true == B_ADMIN_SUBCOUPONS_LIST) {
        echo $CAdminCalendar_ShowScript;
    }
    $lAdmin->DisplayList(B_ADMIN_SUBCOUPONS_LIST);
} else {
    ShowMessage(GetMessage('BT_CAT_DISC_COUPON_LIST_SHOW_AFTER_COPY'));
}
开发者ID:k-kalashnikov,项目名称:geekcon_new,代码行数:31,代码来源:discount_coupon_list.php

示例5: ShowMessage

if ($email) {
    $transaction->customer->setEmail($email);
}
if ($phone) {
    $transaction->customer->setPhone($phone);
}
if ($state) {
    $transaction->customer->setState($state);
}
if ($country) {
    $transaction->customer->setCountry($country);
}
$transaction->setAddressHidden();
$response = $transaction->submit();
if (!$response->isSuccess()) {
    ShowMessage(Loc::getMessage("DEVTM_BEGATEWAY_GET_TOKEN_ERROR") . $response->getMessage());
    die;
}
$_SESSION["token"] = md5($USER->GetID() . ":" . $response->getToken());
$form_type = \Bitrix\Main\Config\Option::get($module_id, "form_type");
if ($form_type == "inline" || $form_type == "overlay") {
    $GLOBALS["APPLICATION"]->AddHeadScript("/bitrix/php_interface/include/sale_payment/devtm.begateway/begateway.min.js");
    $css = \Bitrix\Main\Config\Option::get($module_id, "css_form");
    $id = "begateway-order-" . $order_id;
    if ($form_type == "overlay") {
        echo "<button id=\"{$id}\" >" . Loc::getMessage("DEVTM_BEGATEWAY_BUY_BUTTON") . "</button>";
    } else {
        echo "<div id=\"{$id}\"></div>";
    }
    ?>
	<script type="text/javascript">
开发者ID:dimabresky,项目名称:bitrix-beGateway-module,代码行数:31,代码来源:payment.php

示例6: ShowMessage

<?php

if (!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED !== true) {
    die;
}
use Bitrix\Main\Loader;
if (!Loader::includeModule('iblock')) {
    ShowMessage(GetMessage('IBLOCK_ERROR'));
    return;
}
$iblockExits = !empty($arCurrentValues['IBLOCK_ID']) && intval($arCurrentValues['IBLOCK_ID']) > 0;
$arIBlockType = CIBlockParameters::GetIBlockTypes(array('-' => ' '));
//Получение списка типов инфоблоков
$arIBlock = array();
$iblockFilter = !empty($arCurrentValues['IBLOCK_TYPE']) ? array('TYPE' => $arCurrentValues['IBLOCK_TYPE'], 'ACTIVE' => 'Y') : array('ACTIVE' => 'Y');
$dbIBlock = CIBlock::GetList(array('SORT' => 'ASC'), $iblockFilter);
//Получение списка инфоблока заданного типа
while ($arr = $dbIBlock->Fetch()) {
    $arIBlock[$arr['ID']] = '[' . $arr['ID'] . '] ' . $arr['NAME'];
}
unset($arr, $dbIBlock, $iblockFilter);
// Освобождаем переменные
/**
 * Формируем массив переменных
 */
$arComponentParameters = array("GROUPS" => array(), "PARAMETERS" => array("SEF_MODE" => array(), "IBLOCK_TYPE" => array("PARENT" => "DATA_SOURCE", "NAME" => GetMessage("IT_IBLOCK_TYPE"), "TYPE" => "LIST", "ADDITIONAl_VALUES" => "Y", "VALUES" => $arIBlockType, "REFRESH" => "Y"), "IBLOCK_ID" => array("PARENT" => "DATA_SOURCE", "NAME" => GetMessage("IT_IBLOCK_ID"), "TYPE" => "LIST", "ADDITIONAL_VALUES" => "Y", "VALUES" => $arIBlock, "REFRESH" => "Y"), "CACHE_TIME" => array("DEFAULT" => 360000000), "COUNT_ITEM_PAGE" => array("PARENT" => "VISUAL", "NAME" => GetMessage("IT_COUNT_ITEM_PAGE"), "TYPE" => "STRING", "DEFAULT" => 4), "COUNT_ITEM" => array("PARENT" => "VISUAL", "NAME" => GetMessage("IT_COUNT_ITEM"), "TYPE" => "STRING", "DEFAULT" => 16), "WIDTH_PICTURE_SMALL" => array("PARENT" => "VISUAL", "NAME" => GetMessage("IT_WIDTH_PICTURE_SMALL"), "TYPE" => "STRING", "DEFAULT" => 360), "HEIGHT_PICTURE_SMALL" => array("PARENT" => "VISUAL", "NAME" => GetMessage("IT_HEIGHT_PICTURE_SMALL "), "TYPE" => "STRING", "DEFAULT" => 240)));
开发者ID:Orendev,项目名称:bitrx.local,代码行数:26,代码来源:.parameters.php

示例7: array

                if (!count($second_networks)) {
                    $USER->Delete($ID_INFO[1]);
                } else {
                    $USER->Update($ID_INFO[1], array('ADMIN_NOTES' => implode(',', $second_networks)));
                }
                Ulogin::updateUloginAccount($UloginID, $UserID, $arResult['USER']['NETWORK']);
                $USER->Update($UserID, array('ADMIN_NOTES' => $networks));
            }
        } else {
            if (!in_array($arResult['USER']['NETWORK'], $networks)) {
                //добавляем, если такого сервиса нет
                Ulogin::createUloginAccount($arResult['USER'], $UserID);
                $networks = implode(',', $networks) . ',' . $arResult['USER']['NETWORK'];
                $USER->Update($UserID, array('ADMIN_NOTES' => $networks));
            }
        }
    } else {
        if (isset($profile['error'])) {
            ShowMessage(array("TYPE" => "ERROR", "MESSAGE" => $profile['error']));
        }
    }
}
if (!isset($GLOBALS['ULOGIN_OK'])) {
    $GLOBALS['ULOGIN_OK'] = 1;
} else {
    $GLOBALS['ULOGIN_OK']++;
}
$code = '<div id="uLogin' . $GLOBALS['ULOGIN_OK'] . '" x-ulogin-params="display=' . $arParams['TYPE'] . '&fields=email' . '&providers=' . $arParams['PROVIDERS'] . '&hidden=' . $arParams['HIDDEN'] . '&redirect_uri=' . urlencode('http://' . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI']) . '"></div>';
$code = '<script src="http://ulogin.ru/js/ulogin.js"></script>' . $code;
$arResult['ULOGIN_CODE'] = $code;
$this->IncludeComponentTemplate();
开发者ID:rasuldev,项目名称:torino,代码行数:31,代码来源:component.php

示例8: strlen

<?
if (!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED!==true)die();
?>

<?if (strlen($arParams["~AUTH_RESULT"]) > 0 || strlen($arResult['ERROR_MESSAGE']) > 0) {?>
<div class="error-msg">
<p><?ShowMessage($arParams["~AUTH_RESULT"]);?></p>
<p><?ShowMessage($arResult['ERROR_MESSAGE']);?></p>
</div>
<?}?>

<!-- Login -->
<div class="login">
    <form name="form_auth" method="post" target="_top" action="<?php 
echo $arResult["AUTH_URL"];
?>
">
        <input type="hidden" name="AUTH_FORM" value="Y" />
        <input type="hidden" name="TYPE" value="AUTH" />
        <?if (strlen($arResult["BACKURL"]) > 0):?>
        <input type="hidden" name="backurl" value="<?php 
echo $arResult["BACKURL"];
?>
" />
        <?endif?>
        <?foreach ($arResult["POST"] as $key => $value):?>
        <input type="hidden" name="<?php 
echo $key;
?>
" value="<?php 
echo $value;
开发者ID:Andreyjktl,项目名称:main_template,代码行数:31,代码来源:template.php

示例9: D

/**
 * D方法实例化数据库模型
 * @param name 模型名称
 * @param method 模型方法
 * @author Colin <15070091894@163.com>
 */
function D($name = null, $method = null)
{
    if (empty($name)) {
        ShowMessage('D方法必须传递一个值');
    }
    //查找分组
    $explode = explode('/', $name);
    if (isset($explode[1]) && !empty($explode[1])) {
        //引入命名空间以及目录
        $tables = $explode[1];
        $name = require_module($explode[1], 'MODEL', $explode[0]);
    } else {
        $tables = $name;
        //引入命名空间以及目录
        $name = require_module($name, 'MODEL');
    }
    //文件目录
    $filepath = APP_PATH . '/' . $name . Config('DEFAULT_MODEL_SUFFIX') . Config('DEFAULT_CLASS_SUFFIX');
    //文件不存在
    if (!file_exists(str_replace('\\', '/', $filepath))) {
        //创建系统模型
        $obj = \MyClass\libs\ObjFactory::CreateSystemModel($tables);
    } else {
        //创建模型 带表名
        $obj = \MyClass\libs\ObjFactory::CreateModel($name);
    }
    if (empty($method)) {
        return $obj;
    } else {
        return $obj->{$method}();
    }
}
开发者ID:a1586256143,项目名称:MyClassPHP,代码行数:38,代码来源:functions.php

示例10: ShowMessage

 * @var CBitrixComponent $component
 * @global CMain $APPLICATION
 * @global CUser $USER
 */
if ($arResult["MESSAGE"]) {
    ?>
	<?php 
    ShowMessage($arResult["MESSAGE"]);
} else {
    ?>
<div id="user-otp-container" class="bx-otp-wrap-container <?php 
    echo LANGUAGE_ID;
    ?>
" style="padding-top: 0; max-width:1300px;">
	<?php 
    ShowMessage(array("MESSAGE" => GetMessage("SECURITY_OTP_MANDATORY_REQUIRED"), "TYPE" => "ERROR"));
    ?>
	<?php 
    if ($arParams["NOT_SHOW_LINKS"] != "Y") {
        ?>
		<noindex>
			<p>
				<a href="<?php 
        echo $arParams["AUTH_LOGIN_URL"];
        ?>
" rel="nofollow"><?php 
        echo GetMessage("SECURITY_OTP_MANDATORY_AUTH_BACK");
        ?>
</a>
			</p>
		</noindex>
开发者ID:Satariall,项目名称:izurit,代码行数:31,代码来源:template.php

示例11: ShowMessage

if ($lastName) $transaction->customer->setLastName($APPLICATION->ConvertCharset($lastName, SITE_CHARSET, 'utf-8'));
if ($address)  $transaction->customer->setAddress($APPLICATION->ConvertCharset($address, SITE_CHARSET, 'utf-8'));
if ($city)     $transaction->customer->setCity($APPLICATION->ConvertCharset($city, SITE_CHARSET, 'utf-8'));
if ($zip)      $transaction->customer->setZip($APPLICATION->ConvertCharset($zip, SITE_CHARSET, 'utf-8'));
if ($email)    $transaction->customer->setEmail($APPLICATION->ConvertCharset($email, SITE_CHARSET, 'utf-8'));
if ($phone)    $transaction->customer->setPhone($APPLICATION->ConvertCharset($phone, SITE_CHARSET, 'utf-8'));
if ($state)    $transaction->customer->setState($APPLICATION->ConvertCharset($state, SITE_CHARSET, 'utf-8'));
if ($country)  $transaction->customer->setCountry($APPLICATION->ConvertCharset($country, SITE_CHARSET, 'utf-8'));

$transaction->setAddressHidden();

$response = $transaction->submit();

if(!$response->isSuccess())
{
  ShowMessage(Loc::getMessage("SALE_BEGATEWAY_GET_TOKEN_ERROR") . htmlspecialcharsbx($response->getMessage()));
  die;
}

$_SESSION["token"] = $response->getToken();

if( $form_type == "inline" || $form_type == "overlay" ):

  $domain_gateway = CSalePaySystemAction::GetParamValue("DOMAIN_GATEWAY");
  list($subdomain,$jsdomain) = explode('.', $domain_gateway, 2);

  $jsurl = 'https://js.' . $jsdomain . '/begateway-1-latest.min.js';

	$GLOBALS["APPLICATION"]->AddHeadScript( $jsurl );
	$css = CSalePaySystemAction::GetParamValue("FORM_CSS");
	$id = "begateway-order-" . $order_id;
开发者ID:beGateway,项目名称:bitrix-payment-module,代码行数:31,代码来源:payment.php

示例12: RegistrationUser

 /**
  * Регистрация на сайте и в таблице uLogin
  *
  * @param Array $u_user - данные о пользователе, полученные от uLogin
  * @param int $in_db - при значении 1 необходимо переписать данные в таблице uLogin
  *
  * @return bool|int|Error
  */
 public static function RegistrationUser($u_user, $in_db = 0, $arParams)
 {
     global $APPLICATION;
     if (!isset($u_user['email'])) {
         ShowMessage(array("TYPE" => "ERROR", "MESSAGE" => 'Через данную форму выполнить регистрацию невозможно. Сообщите администратору сайта о следующей ошибке:
         Необходимо указать "email" в возвращаемых полях uLogin'));
         die('<br/><a href="' . $_POST['backurl'] . '">Назад</a>');
     }
     global $USER;
     global $DB;
     $rsUsers = CUser::GetList($by = "id", $order = "desc", array("EMAIL" => $u_user['email']));
     $arUser = $rsUsers->GetNext();
     if ($in_db == 1) {
         $result = $DB->Query('DELETE FROM ulogin_users WHERE identity = "' . urlencode($u_user['identity']) . '"');
     }
     //		// $check_m_user == true -> есть пользователь с таким email
     $check_m_user = $arUser['ID'] > 0 ? true : false;
     $current_user = $USER->GetID();
     if ($check_m_user == false) {
         $u_user['first_name'] = isset($u_user['first_name']) ? $APPLICATION->ConvertCharset($u_user['first_name'], "UTF-8", SITE_CHARSET) : "";
         $u_user['last_name'] = isset($u_user['last_name']) ? $APPLICATION->ConvertCharset($u_user['last_name'], "UTF-8", SITE_CHARSET) : "";
         $u_user['nickname'] = isset($u_user['nickname']) ? $APPLICATION->ConvertCharset($u_user['nickname'], "UTF-8", SITE_CHARSET) : "";
         $u_user['b_date'] = isset($u_user['b_date']) ? $u_user['b_date'] : "";
         // регистрируем пользователя
         list($d, $m, $y) = explode('.', $u_user['bdate']);
         //можно просто представить в другом формате стандартной функцией php
         $longLogin = uLogin::ulogin_generateNickname($u_user['first_name'], $u_user['last_name']);
         $arResult['USER'] = array('EMAIL' => $u_user['email'], 'PERSONAL_GENDER' => $u_user['sex'] == 2 ? 'M' : 'F', 'PERSONAL_CITY' => isset($u_user['city']) ? $u_user['city'] : '', 'PERSONAL_BIRTHDAY' => $d . '.' . $m . '.' . $y, 'EXTERNAL_AUTH_ID' => $u_user['identity'], 'PHOTO' => $u_user['photo'], 'PHOTO_BIG' => $u_user['photo_big'], 'NETWORK' => $u_user['network']);
         $GroupID = "5";
         $passw = RandString();
         if (is_array($arParams["GROUP_ID"])) {
             $GroupID = $arParams["GROUP_ID"];
         }
         if (!is_array($GroupID)) {
             $GroupID = array($GroupID);
         }
         $arIMAGE = '';
         if (isset($u_user['photo'])) {
             $imageContent = file_get_contents($u_user['photo']);
             $ext = strtolower(substr($u_user['photo'], -3));
             if (!in_array($ext, array('jpg', 'jpeg', 'png', 'gif', 'bmp'))) {
                 $ext = 'jpg';
             }
             $tmpName = $tmpName = md5(rand()) . '.' . $ext;
             $tmpName = $_SERVER["DOCUMENT_ROOT"] . "/images/" . $tmpName;
             file_put_contents($tmpName, $imageContent);
             $arIMAGE = CFile::MakeFileArray($tmpName);
             $arIMAGE["MODULE_ID"] = "main";
         }
         $user = new CUser();
         $arFields = array("NAME" => $u_user['first_name'], "LAST_NAME" => $u_user['last_name'], "EMAIL" => $u_user['email'], "LOGIN" => $longLogin, "ACTIVE" => "Y", "GROUP_ID" => array(5), "PASSWORD" => $passw, "CONFIRM_PASSWORD" => $passw, "PERSONAL_PHOTO" => $arIMAGE);
         $UserID = $user->Add($arFields);
         if ($UserID > 0) {
             $result = $DB->Query('INSERT INTO ulogin_users (id, userid, identity, network) VALUES (NULL,"' . $UserID . '","' . urlencode($u_user['identity']) . '","' . $u_user['network'] . '")');
         } else {
             ShowMessage(array("TYPE" => "ERROR", "MESSAGE" => 'Ошибка регистрации: Не удалось зарегистрировать пользователя.'));
             die('<br/><a href="' . $_POST['backurl'] . '">Назад</a>');
         }
         if ($UserID && $arParams['SEND_EMAIL'] == 'Y') {
             $arEventFields = array('USER_ID' => $UserID, 'LOGIN' => $arFields['LOGIN'], 'EMAIL' => $arFields['EMAIL'], 'NAME' => $arFields['NAME'], 'LAST_NAME' => $arFields['LAST_NAME'], 'USER_IP' => '', 'USER_HOST' => '');
             $event = new CEvent();
             $msg = $event->SendImmediate("NEW_USER", SITE_ID, $arEventFields);
             ShowMessage($msg);
         }
         unlink($tmpName);
         return $UserID;
     } else {
         if (!isset($u_user["verified_email"]) || intval($u_user["verified_email"]) != 1) {
             die('<script src="//ulogin.ru/js/ulogin.js"  type="text/javascript"></script><script type="text/javascript">uLogin.mergeAccounts("' . $_POST['token'] . '")</script>' . 'Электронный адрес данного аккаунта совпадает с электронным адресом существующего пользователя. Требуется подтверждение на владение указанным email.' . '<br/><a href="' . $_POST['backurl'] . '">Назад</a>');
         }
         if (intval($u_user["verified_email"]) == 1) {
             $user_id = $arUser['ID'];
             $other_u = $DB->Query('SELECT identity,network FROM ulogin_users WHERE userid = "' . $user_id . '"');
             $other = array();
             while ($row = $other_u->Fetch()) {
                 $ident = $row['identity'];
                 $key = $row['network'];
                 $other[$key] = $ident;
             }
             if ($other) {
                 if (!isset($u_user['merge_account'])) {
                     die('<script src="//ulogin.ru/js/ulogin.js"  type="text/javascript"></script><script type="text/javascript">uLogin.mergeAccounts("' . $_POST['token'] . '","' . $other[$key] . '")</script>' . 'С данным аккаунтом уже связаны данные из другой социальной сети. Требуется привязка новой учётной записи социальной сети к этому аккаунту' . '<br/><a href="' . $_POST['backurl'] . '">Назад</a>');
                 }
             }
         }
         $result = $DB->Query('INSERT INTO ulogin_users (id, userid, identity, network) VALUES (NULL,"' . $arUser['ID'] . '","' . urlencode($u_user['identity']) . '","' . $u_user['network'] . '")');
         $result = $result->GetNext();
         return $arUser['ID'];
     }
 }
开发者ID:ASDAFF,项目名称:ulogin-Bitrix,代码行数:98,代码来源:Ulogin.class.php

示例13: ShowMessage

        }
        ?>
 
                </div>
            <?php 
    }
    ?>
        </div> 
    <?php 
}
?>
    <div class="col-md-12"> 
        <a name="bottom"></a>
        <?php 
if ($arResult['ERROR']) {
    ShowMessage($arResult['ERROR']);
}
?>
        <form action="<?php 
echo $APPLICATION->GetCurPage();
?>
" method="POST" enctype="multipart/form-data"> 
            <h4>Новый комментарий</h4>
            <textarea class="tiny" name="comment"></textarea> 
            <div class="row editfilerow">  
                <div class="col-md-4 col-sm-4 col-xs-12 hiddenfiles" style="display: block;"> 
                    <p><a href="#" onclick="$('.add_comments_files').toggle(); return false;"><i class="fa fa-paperclip"></i> Добавить файлы</a></p>
                    <div class="add_comments_files">
                        <label class="form-control"><input type="file" name="attach[]"></label> 
                        <label class="form-control"><input type="file" name="attach[]"></label> 
                        <label class="form-control"><input type="file" name="attach[]"></label> 
开发者ID:kudin,项目名称:crm,代码行数:31,代码来源:template_comments.php

示例14: LogOut

 public function LogOut()
 {
     unset($_SESSION['id']);
     unset($_SESSION['username']);
     unset($_SESSION['rank']);
     unset($_SESSION['verify']);
     unset($_SESSION['permission']);
     unset($_SESSION['loginState']);
     @session_destroy();
     $message = "用户已登出";
     $operate = "<a href=\"login.php\">重新登录</a><a href=\"../index.php\">浏览首页</a>";
     ShowMessage($message, $operate);
     exit;
 }
开发者ID:hanpp1992,项目名称:4yue,代码行数:14,代码来源:Log.class.php

示例15: ShowMessage

<?php

if (!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED !== true) {
    die;
}
if (!CModule::IncludeModule("iblock")) {
    ShowMessage("Модуль iblock не установлен");
    return false;
}
//формирование массива параметров
$arComponentParameters = array("GROUPS" => array(), "PARAMETERS" => array('COMP_IBLOCK_ID' => array('PARENT' => 'BASE', 'NAME' => 'Инфоблок конкурсов', 'TYPE' => 'STRING', 'SORT' => '100'), 'NOM_IBLOCK_ID' => array('PARENT' => 'BASE', 'NAME' => 'Инфоблок наменаций', 'TYPE' => 'STRING', 'SORT' => '100')));
开发者ID:D1maS91,项目名称:Competition,代码行数:11,代码来源:.parameters.php


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