http://img23.imageshack.us/img23/3053/34175922.jpg
<?php ?> <?php if($_SESSION['id']) { echo ' <script type="text/javascript"> $(function(){ '; echo "// Dialog $('#dialog').dialog({ autoOpen: false, width: 600, buttons: { "; echo ' "Ok": function() { $(this).dialog("close"); }, "Cancel": function() { $(this).dialog("close"); } } });'; echo " // Dialog Link $('#dialog_link').click(function(){ $('#dialog').dialog('open'); return false; }); //hover states on the static widgets $('#dialog_link, ul#icons li').hover( function() { $(this).addClass('ui-state-hover'); }, function() { $(this).removeClass('ui-state-hover'); } ); }); </script>"; echo '<style type="text/css"> /*demo page css*/ body{ font: 62.5% "Trebuchet MS", sans-serif; margin: 50px;} .demoHeaders { margin-top: 2em; } #dialog_link {padding: .4em 1em .4em 20px;text-decoration: none;position: relative;} #dialog_link span.ui-icon {margin: 0 5px 0 0;position: absolute;left: .2em;top: 50%;margin-top: -8px;} echo " ul#icons {margin: 0; padding: 0;}"; ul#icons li {margin: 2px; position: relative; padding: 4px 0; cursor: pointer; float: left; list-style: none;} ul#icons span.ui-icon {float: left; margin: 0 4px;} echo " </style>"; echo " </head>"; echo " <body>"; <?php session_start(); ?>"; echo "<div id="header">"; <a href="admin.php" accesskey="2" title="">ADMIN</a> <h1><a href="#"></a></h1> <h2><a href="#"></a></h2> </div> <div id="menu"> <ul> echo "<li><a href="#" accesskey="2" title="">Home</a></li>"; <li><a href="#" accesskey="2" title="">Forum</a></li> <li><a href="#" accesskey="3" title="">Pomoc</a></li> <li><a href="#" accesskey="4" title="">Kontakt</a></li> <li><a href="#" accesskey="5" title="">Reklama</a></li> <li><a href="logout.php" accesskey="5" title="">Wyloguj</a></li> </div> <div id="content"> <div id="colOne"> <a href="#"<img src="img/shout.jpg" alt="ShoutBox" border="0"</a> <h2></h2> <center> echo "<a href="#"></a>"; <h2></h2> </div> <div id="colTwo"> <center> '; echo "<?php include ('cms/functions/le-format.php'); echo 'include ('cms/functions/convert-characters.php')'; echo '$filename ='cms/textfiles/index.txt''; if (file_exists($filename)) { // Get the contents $file_contents = file_get_contents($filename); $file_contents = autop($file_contents, 0); $file_contents = convert_chars($file_contents, 0); $output = $file_contents; // Print the contents echo $output; } else {;' echo '<p>No content. The associated text file could not be found.</p>'; echo '} ?> </center>'; echo '</div> <div id='colthree'> <?php echo '<strong>Witamy ",$_SESSION['username'],"</strong>'; echo '<br/><a href=\'profilecp.php\'>Edytuj profil</a>'; ?> </div>'; echo '<div style='clear: both;'> </div>'; echo '</div>'; echo '<div id='STOPKA'><!--STOPKA-->CopyRight DJ_CARO 2010<!--/STOPKA--></div> </div> </div>'; } else { echo 'You don't belong here!"; } ?> </body> </html>
może ktoś napisać jak mogę usunąć te echo co są na obrazku?? jak usuwam echo z kodu to mam błąd "Parse error: syntax error, unexpected '<' in D:\Program Files\WebServ\httpd\bmax\index2.php on line 8"