-3
        <?php
include("ayar.php");
session_start();
if(!isset($_SESSION["login"])){
echo "Bu sayfayı görüntüleme yetkiniz yoktur.";
}else{
echo '

?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Yetkili Paneli</title>
<link rel="stylesheet" type="text/css" href="css/960.css" />
<link rel="stylesheet" type="text/css" href="css/reset.css" />
<link rel="stylesheet" type="text/css" href="css/text.css" />
<link rel="stylesheet" type="text/css" href="css/blue.css" />
<link type="text/css" href="css/smoothness/ui.css" rel="stylesheet" />  
    <script type="text/javascript" src="../../ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
    <script type="text/javascript" src="js/blend/jquery.blend.js"></script>
    <script type="text/javascript" src="js/ui.core.js"></script>
    <script type="text/javascript" src="js/ui.sortable.js"></script>    
    <script type="text/javascript" src="js/ui.dialog.js"></script>
    <script type="text/javascript" src="js/ui.datepicker.js"></script>
    <script type="text/javascript" src="js/effects.js"></script>
    <script type="text/javascript" src="js/flot/jquery.flot.pack.js"></script>
    <!--[if IE]>
    <script language="javascript" type="text/javascript" src="js/flot/excanvas.pack.js"></script>
    <![endif]-->
    <!--[if IE 6]>
    <link rel="stylesheet" type="text/css" href="css/iefix.css" />
    <script src="js/pngfix.js"></script>
    <script>
        DD_belatedPNG.fix('#menu ul li a span span');
    </script>        
    <![endif]-->
    <script id="source" language="javascript" type="text/javascript" src="js/graphs.js"></script>

</head>

<body>
<!-- WRAPPER START -->
<div class="container_16" id="wrapper"> 
<!-- HIDDEN COLOR CHANGER --><!--LOGO-->
  <div class="grid_8" id="logo">Ziyaretçi Defteri Yetkili Paneli</div>
    <div class="grid_8">
<!-- USER TOOLS START -->
      <div id="user_tools"><span><a href="#" class="mail">(20+)</a> Hoşgeldin Sn. <a href="#">Admin</a> |  <a href="#">Çıkış Yap(Güvenli)</a></span></div>
    </div>
<!-- USER TOOLS END -->    
<div class="grid_16" id="header">
<!-- MENU START -->
<div id="menu">
    <center><ul class="group" id="menu_group_main">
        <li class="item first" id="one"><a href="#" class="main current"><span class="outer"><span class="inner dashboard">Gelen Mesajlar</span></span></a></li>
        <li class="item last" id="eight"><a href="#" class="main"><span class="outer"><span class="inner settings">Ayarlar</span></span></a></li>        
    </ul></center>
</div>
<!-- MENU END -->
</div>
<div class="grid_16">
<!-- TABS START -->
    <div id="tabs">
         <div class="container">
            <ul>
                      <li><a href="#" class="current"><span>Gelen Mesajlar</span></a></li>

           </ul>
        </div>
    </div>
<!-- TABS END -->    
</div>
<!-- HIDDEN SUBMENU START -->
<div class="grid_16" id="hidden_submenu">
      <ul class="more_menu">
        <li><a href="#">More link 1</a></li>
        <li><a href="#">More link 2</a></li>  
        <li><a href="#">More link 3</a></li>    
        <li><a href="#">More link 4</a></li>                               
      </ul>
      <ul class="more_menu">
        <li><a href="#">More link 5</a></li>
        <li><a href="#">More link 6</a></li>  
        <li><a href="#">More link 7</a></li> 
        <li><a href="#">More link 8</a></li>                                  
      </ul>
      <ul class="more_menu">
        <li><a href="#">More link 9</a></li>
        <li><a href="#">More link 10</a></li>  
        <li><a href="#">More link 11</a></li>  
        <li><a href="#">More link 12</a></li>                                 
      </ul>            
  </div>
<!-- HIDDEN SUBMENU END -->  

<!-- CONTENT START -->
    <div class="grid_16" id="content">
    <!--  TITLE START  --> 
    <div class="grid_9">
    <h1 class="dashboard">Anasayfa</h1>
    </div>
    <!--RIGHT TEXT/CALENDAR--><!--RIGHT TEXT/CALENDAR END-->
    <div class="clear">
    </div>
    <!--  TITLE END  -->    
    <!-- #PORTLETS START -->
    <div id="portlets">
    <!-- FIRST SORTABLE COLUMN START --><!-- FIRST SORTABLE COLUMN END -->
      <!-- SECOND SORTABLE COLUMN START --><!--  SECOND SORTABLE COLUMN END -->
    <div class="clear"></div>
    <!--THIS IS A WIDE PORTLET-->
    <div class="portlet">
        <div class="portlet-header fixed"><img src="images/icons/user.gif" width="16" height="16" alt="Latest Registered Users" /> Gelen Mesajlar</div>
        <div class="portlet-content nopadding">
        <form action="" method="post">
          <table width="100%" cellpadding="0" cellspacing="0" id="box-table-a" summary="Employee Pay Sheet">
            <thead>
              <tr>
                <th width="55" scope="col">Onayla</th>
                <th width="152" scope="col">Ad</th>
                <th width="118" scope="col">Soyad</th>
                <th width="125" scope="col">Email</th>
                <th width="145" scope="col">Mesaj</th>

              </tr>
            </thead>
            <tbody>
              <tr>
                <td width="55">&nbsp;</td>
                <td>Stephen C. Cox</td>
                <td>stephen</td>
                <td>20.06.2009</td>
                <td>Los Angeles, CA</td>
              </tr>
              <tr>
                <td width="55">&nbsp;</td>
                <td>Josephin Tan</td>
                <td>josephin</td>
                <td>20.06.2009</td>
                <td>Los Angeles, CA</td>
                </tr>
              <tr>
                <td width="55">&nbsp;</td>
                <td>Joyce Ming</td>
                <td>joyce_m</td>
                <td>20.06.2009</td>
                <td>Los Angeles, CA</td>
               </tr>
              <tr>
                <td width="55">&nbsp;</td>
                <td>James A. Pentel</td>
                <td>james_pent</td>
                <td>20.06.2009</td>
                <td>Los Angeles, CA</td>
                </tr>
              <tr class="footer">
                <td colspan="4">&nbsp;</td>
                <td align="right">&nbsp;</td>
                </tr>
            </tbody>
          </table>
        </form>
        </div>
      </div>
<!--  END #PORTLETS -->  
   </div>
    <div class="clear"> </div>
<!-- END CONTENT-->    
  </div>
<div class="clear"> </div>

        <!-- This contains the hidden content for modal box calls -->
        <div class='hidden'>
            <div id="inline_example1" title="This is a modal box" style='padding:10px; background:#fff;'>
            <p><strong>This content comes from a hidden element on this page.</strong></p>

            <p><strong>Try testing yourself!</strong></p>
            <p>You can call as many dialogs you want with jQuery UI.</p>
            </div>
        </div>
</div>
<!-- WRAPPER END -->
<!-- FOOTER START -->
<div class="container_16" id="footer">
Kodlama Tr Çeviri Entegre <a href="../index.htm">Kolerak8</a></div>
<!-- FOOTER END -->
</body>
</html>
<?php ';}?>

我采取(!)解析错误:语法错误,C:\wamp\www\justifiable\admin\admin.php 中的意外 T_ENCAPSED_AND_WHITESPACE 第 191 行错误。但是我看不到我错过了什么,请我需要紧急帮助!

4

4 回答 4

2

在线7你需要这样做

else{
echo '

else{

在线191你需要这样做

<?php ';}?>

<?php }?>

删除echo,因为已经很清楚在else条件下它将显示 Html。

于 2013-09-05T19:48:29.873 回答
1

在使用 echo quote 打开单曲然后关闭 php 标记后,您没有使用正确的语法

<?php if(1=1){

?>

do what you want with your html 

<?php } ?>
于 2013-09-05T19:48:54.370 回答
1

删除你的echo. 这没有意义。只需要退出 PHP 模式即可。

于 2013-09-05T19:46:06.983 回答
0

我认为更好的答案是删除第 7 行,并在第 191 行更改为:

<?php } ?>
于 2013-09-05T19:50:31.773 回答