Beispiel #1
0
<?php

require $_SERVER["DOCUMENT_ROOT"] . "/bitrix/header.php";
$APPLICATION->SetTitle("Поиск контактов");
?>
<div class="show-message"> </div>
<?php 
$Data = array("Params" => isset($_POST["User"]) ? $_POST["User"] : array());
if (!empty($Data["Params"])) {
    $Data["Result"] = CustomUser::SearchUser(array("!ID" => "1", "NAME" => "%" . $Data["Params"]["Name"] . "%", "LAST_NAME" => "%" . $Data["Params"]["LastName"] . "%", "EMAIL" => "%" . $Data["Params"]["Email"] . "%"), array("ID", "NAME", "LAST_NAME", "EMAIL"));
}
?>

<form method="POST">
	<table cellpadding="0" cellspacing="0">
		<tr>
			<td>
				Имя
			</td>
			<td>
				<input type="text" name="User[Name]" value="<?php 
echo $Data["Params"]["Name"];
?>
"/>
			</td>
		</tr>
		<tr>
			<td>
				Фамилия
			</td>
			<td>
Beispiel #2
0
<?php

if (!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED !== true) {
    die;
}
$APPLICATION->ShowPanel = false;
global $USER;
if ($USER->IsAuthorized()) {
    $UserData = CustomUser::SearchUser(array("ID" => $USER->GetID()));
    if ($UserData[0]["PERSONAL_PHOTO"] > 0) {
        $UserData[0]["PERSONAL_PHOTO_RESIZE"] = CFile::ResizeImageGet(CFile::GetByID($UserData[0]["PERSONAL_PHOTO"])->Fetch(), array("width" => 60, "height" => 60), BX_RESIZE_IMAGE_PROPORTIONAL, true);
    }
} else {
    if ($_SERVER["PHP_SELF"] != "/amplifiers/auth/index.php") {
        LocalRedirect("/amplifiers/auth/");
    }
}
?>
<!DOCTYPE html>
<html>
	<head>
		<script type="text/javascript" src="/js/plugins/jquery-1.11.2.min.js"></script>
		<link rel="shortcut icon" type="image/x-icon" href="/img/favicon.ico" />
		<title><?php 
$APPLICATION->ShowTitle();
?>
</title>
		<script type="text/javascript">
			$(document).ready(function(){
				$("#CheckIn").bind("click",function(){
					if(navigator.geolocation) {
Beispiel #3
0
<?php

require $_SERVER["DOCUMENT_ROOT"] . "/bitrix/header.php";
$APPLICATION->SetTitle("Поиск контактов");
$Data = CustomUser::SearchUser(array("ID" => $_GET["ID"]), array("ID", "NAME", "LAST_NAME", "EMAIL", "SELECT" => array("UF_*")));
?>
<table cellpadding="0" cellspacing="0">
	<?php 
if (!empty($Data)) {
    ?>
	<tr>
		<td colspan="2">Регистрационная информация</td>
	</tr>
	<tr>
		<td>Дата обновления:</td>
		<td><?php 
    echo $Data[0]["TIMESTAMP_X"];
    ?>
</td>
	</tr>
	<tr>
		<td>Дата регистрации:</td>
		<td><?php 
    echo $Data[0]["DATE_REGISTER"];
    ?>
</td>
	</tr>
	<tr>
		<td>Имя:</td>
		<td><?php 
    echo $Data[0]["NAME"];