2 июля 2020
Нет комментариев
В /etc/ssh/sshd_config
Port 17422
Если после этого не зайти то открыть порт:
firewall-cmd --add-port 17422/tcp
В /etc/ssh/sshd_config
Port 17422
Если после этого не зайти то открыть порт:
firewall-cmd --add-port 17422/tcp
echo "<ul>"; for($i=0;$i<=count($arResult)-1;$i++){ $arItemActive=($arResult[$i]['SELECTED'])?' class="active"':''; echo "<li".$arItemActive.">"; echo '<a href="'.$arResult[$i]['LINK'].'">'.$arResult[$i]['TEXT'].'</a>'; if($arResult[$i]['DEPTH_LEVEL']<$arResult[$i+1]['DEPTH_LEVEL']){ echo "<ul>\r\n"; } elseif($arResult[$i]['DEPTH_LEVEL']==$arResult[$i+1]['DEPTH_LEVEL']){ echo "</li>\r\n"; } if($arResult[$i]['DEPTH_LEVEL']>$arResult[$i+1]['DEPTH_LEVEL']){ echo "</ul>\r\n"; } } echo "</ul>";
define('HTTP_USER','user'); define('HTTP_PASS','pass'); if(isset($_SERVER['PHP_AUTH_USER'])&&($_SERVER['PHP_AUTH_PW']==HTTP_PASS)&&(strtolower($_SERVER['PHP_AUTH_USER'])==HTTP_USER)){ //success } else{ header('WWW-Authenticate: Basic realm="Authorization required"'); header('HTTP/1.0 401 Unauthorized'); echo 'Authenticate required!'; exit(); }
при клике внутри label по блоку .finded отменить стандартное действие и отправить форму
$('.filters_inline label').on('click',function(event){ if($(event.target).closest(".finded").length){ event.preventDefault(); $(this).closest('form').submit(); } });
@import (css) url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
$date_from=strtotime(date('Y-m-d').' 00:00:00');
Закомментировать данный код в chosen.jquery.js
AbstractChosen.browser_is_supported = function() { /* if ("Microsoft Internet Explorer" === window.navigator.appName) { return document.documentMode >= 8; } if (/iP(od|hone)/i.test(window.navigator.userAgent) || /IEMobile/i.test(window.navigator.userAgent) || /Windows Phone/i.test(window.navigator.userAgent) || /BlackBerry/i.test(window.navigator.userAgent) || /BB10/i.test(window.navigator.userAgent) || /Android.*Mobile/i.test(window.navigator.userAgent)) { return false; } */ return true; };