server {
charset utf-8;
client_max_body_size 128M;
sendfile off;
listen 80; ## listen for ipv4
#listen [::]:80 default_server ipv6only=on; ## listen for ipv6
server_name admin;
index index.php;
root /domains/admin;
location / {
# Redirect everything that isn't a real file to index.php
try_files $uri $uri/ /index.php$is_args$args;
location ~ \.php$ {
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
#fastcgi_pass 127.0.0.1:9000;
fastcgi_pass unix:/var/run/php/php8.0-fpm.sock;
try_files $uri =404;
}
}
# Static files location
location ~* \.(jpg|jpeg|gif|png|ico|css|bmp|swf|js)$ {
access_log off;
expires 30d;
}
location ~ /\.(ht|svn|git) {
deny all;
}
}
<fieldset><?
// Email
$propId = 17;
?><label>Ваш e-mail</label>
<input type="text" placeholder="email@email.ru" name="PROPERTY[<?=$propId?>][0]" class="<?=!in_array($propId, $arResult["PROPERTY_REQUIRED"]) ? '' : ' required'?>" value="<?=$arResult["ELEMENT_PROPERTIES"][$propId][0]["VALUE"]?>" />
</fieldset>