Código PHP :
<?php if(isset($_GET['page'])) { $page = $_GET['page']; $section = "include"; if(isset($_GET['section'])) { $section = $_GET['section']; if(!strpos($page,"/") && !strpos($section,"/") && !strpos($page,".")&& !strpos($section,".")) { $path = $section . "/" . $page . "/index.php"; if(file_exists($path)) { include($path); } else { echo "La Pagina solicitada no existe."; } } else { echo "No se permite ingresar a esta pagina"; } } } else { echo '<div id="main-wrapper" role="main" class="clearfix"> <div id="index-wrapper" class=""> <div id="hero"> <div id="hero-wrapper"> <h1> <span id="line1">We define and design</span> <span id="line2">customer experiences</span> <span id="line3">in the digital channel</span> </h1> <div id="hero-actions"> <h2>See <span>how by checking out </span> <a href="http://www.teehanlax.com/work" class="">Our Work</a> or <a href="http://www.teehanlax.com/services" class="">Our Services</a></h2> </div> <div class="video"> <video autoplay="yes" id="home_video" class="video" loop="loop"> <source src="http://www.teehanlax.com/wp-content/themes/teehan-lax/resources/video/1.mp4"/> <source src="http://www.teehanlax.com/wp-content/themes/teehan-lax/resources/video/1.ogv" type='video/ogg; codecs="theora, vorbis"'/> <img src="http://www.teehanlax.com/wp-content/themes/teehan-lax/resources/video/1.jpg" id="header_video_img"> </video> </div> </div> </div>'; } ?>
en el ultimo echo y me sale el siguiente error:
( ! ) Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in C:\wamp\www\ya\index.php on line 46