This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$id = intval($_REQUEST['sec']); | |
if ($id == '') { // будет TRUE, но зачем переводить в int, чтобы сравнивать со строкой? | |
$id = MENU_DEFAULT; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.b-cartographic-care-centres-searching-form .b-form-contents .b-form-contents-map-points .b-form-contents-map-points-collection .b-form-contents-map-points-collection-cash-machines-clause .b-form-contents-map-points-collection-clause-icon { | |
background: url(i/_b-form-contents-map-points-collection-cash-machine-clause-icon.png) no-repeat 0 0; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function closeWindow() { | |
window.open('','_self',''); | |
window.close(); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Дано $foo и массив. Значения элементов -- уникальны. | |
* Как найти родителей элемента? | |
* Т.е., если $foo = 22, надо найти "MSK" и "Street_1" | |
* Или как найти индекс элемента: $cities["MSK"]["Street_2"][1]? | |
* Элемент не равен $foo, их связь вычисляется некоторой функцией | |
* | |
* Или, хотя бы, надо проверить, что элемент building_22 находится в массиве $cities["MSK"] | |
* | |
*/ |
NewerOlder