Есть такой код:
<?php
$body = <<<HTML
<script src="assets/coolform2script.js"></script><script>var target = $('div.fld-grp');var observer = new MutationObserver(function(mutations){mutations.forEach(function(mutation){for(var i=0; i<target.length; i++){if($(target[i]).hasClass("fld-err-st") && !target[i].enable) {target[i].enable = true;$(target[i]).addClass('simptip-position-top none-class simptip-movable simptip-danger').attr('data-tooltip','Заполните это поле!');}else if(!$(target[i]).hasClass("fld-err-st") && target[i].enable){$(target[i]).removeClass('simptip-position-top none-class simptip-movable simptip-danger');$(target[i]).removeAttr('data-tooltip');target[i].enable = false;}}});});var config = {attributes: true, childList: true, characterData: true};for(var i=0; i<target.length; i++){observer.observe(target[i],config);}</script><script>$(document).ready(function(){$("form input[name='Email'],form input[name='EmailAddress']").autoEmail(['mail.ru','yandex.ru','gmail.com','list.ru','rambler.ru','qip.ru','ukr.net','hotmail.com','yahoo.com'],true);$.datetimepicker.setLocale('ru');setTimeout(function(){var _addClass = $.fn.addClass;$.fn.addClass = function(className){var element = $(this);if(element.hasClass("breakpoint") && className=='active'){window.location.reload();}return _addClass.apply(this, arguments);};},1000);var debug = $('#wrapped-input'),debug1 = $('input#submit-btn').removeAttr("class");$("form").removeAttr("onSubmit"),debug2 = $('#Button');debug.click(function(){$(this).val("#"+this.id).siblings("label").remove()});debug.click(function(){$(this).val("#"+this.id).siblings("label").remove();});debug1.click(function(){$(this).val("ID этой формы: #"+this.parentNode.id);$('form').find('input:submit').each(function(){$("<textarea readonly/>").attr({id:this.id,value:this.value}).css({"background":"none","border":"1px solid red","font-size":"14px","color":"#7f7f7f","text-align":"left"}).insertBefore(this)}).remove()});debug2.click(function(){$(this).html("#"+this.id).replaceWith(function(index,oldHTML){return $("<p>").attr({id: this.id}).addClass('Button rounded-corners clearfix colelem').html(oldHTML)})})});var auto_update_count = false; if($('.totalcnt > p').length>0) {$.ajax({url: 'assets/orders_count.txt', cache: false, success: function(order_id) {$('.totalcnt > p').text(order_id);}});}</script><script>$(document).ready(function(){$("#u30162").parents().eq(3).addClass("select_u30162");$(".select_u30162 .Listbox").css({'max-height':'200px','padding-bottom':'12px'}).mCustomScrollbar({scrollInertia:500});$(".select_u30162 .Listbox .mCSB_scrollTools_vertical").css('margin-right','10px');$(".select_u30162 .Listbox .mCSB_dragger_bar").css({'background-color':'#858585','width':'4px'});$(".select_u30162 .Listbox .mCSB_draggerRail").css({'background-color':'#F2F2F2','width':'2px'});$(function(){var $li = $('.select_u30162 li').css("cursor","pointer");$li.click(function(event){event.preventDefault();var text = $(this).text();$('.select_u30162 .aa1 > div').text(text);$(".select_u30162 .Listbox").css("display","none");$("form .fld-input:contains('проблема') > input").val($('.select_u30162 .aa1 > div').text());});});});</script><script>$(document).ready(function(){$("#u29673").parents().eq(3).addClass("select_u29673");$(".select_u29673 .Listbox").css({'max-height':'350px','padding-bottom':'12px'}).mCustomScrollbar({scrollInertia:500});$(".select_u29673 .Listbox .mCSB_scrollTools_vertical").css('margin-right','10px');$(".select_u29673 .Listbox .mCSB_dragger_bar").css({'background-color':'#858585','width':'4px'});$(".select_u29673 .Listbox .mCSB_draggerRail").css({'background-color':'#F2F2F2','width':'2px'});$(function(){var $li = $('.select_u29673 li').css("cursor","pointer");$li.click(function(event){event.preventDefault();var text = $(this).text();$('.select_u29673 .aa1 > div').text(text);$(".select_u29673 .Listbox").css("display","none");$("form .fld-input:contains('метро') > input").val($('.select_u29673 .aa1 > div').text());});});});</script>
HTML;
?>
Но получаю ошибку:
Parse error: syntax error, unexpected '(', expecting T_VARIABLE or '$' in C:\AppServ\www\1.php on line 5
Почему? В чем проблема?