PHP код выполняется уже после того как отобразился divО_о
if ( $type_id == 0 ) $type_condition = "Выключен";
else $type_condition = "Включен";
not found: git npm ERR! npm ERR! Failed using git. npm ERR! This is most likely not a problem with npm itself. npm ERR! Please check if you have git installed and in your PATH. npm ERR! Please include the following file with any support request: