login  Naam:   Wachtwoord: 
Registreer je!
 Forum

Error

Offline brantjeNL - 13/09/2004 18:41 (laatste wijziging 14/09/2004 18:10)
Avatar van brantjeNLNieuw lid Hoi
ik ik heb deze pagina

  1. <html>
  2.  
  3. <head>
  4. <title>Pic-Server.tk===>>Home</title>
  5. </head>
  6.  
  7. <body background="images/index_02.jpg" bgproperties="fixed">
  8.  
  9. <table height="80%" cellSpacing="0" cellPadding="0" width="760" align="center" border="0">
  10. <tr>
  11. <td height="94">
  12. <font face="Tahoma" size="2"><img src="images/index_08.JPG" width="800" height="100"> </font>
  13. </td>
  14. </tr>
  15. <tr>
  16. <td vAlign="top">
  17. <table height="100%" cellSpacing="0" cellPadding="0" width="100%" border="0">
  18. <tr vAlign="top">
  19. <td width="157">
  20. <table class="forTexts" cellSpacing="2" cellPadding="5" width="100%" border="0">
  21. <tr>
  22. <td class="forkop">
  23. ..:: Menu ::..
  24. </td>
  25. </tr>
  26. <tr>
  27. <td class="formenu" width="150"><p><a href="index.php">Home<br>
  28. </a><a href="uploadenfree.php">Gratis upload</a><br>
  29. <a href="freedir.php">Gallerij van gratis upload</a><br>
  30. <?php //menu als je niet bent ingelogt
  31. if (!isset($_SESSION['user'])){
  32. ?>
  33. <a href="login/login.php" target="mainFrame">log in</a><br>
  34. <a href="login/register.php" target="mainFrame">Register</a>
  35. <BR>
  36. <?php //menu als je wel in gelogt bent
  37. } else {
  38. ?>
  39. <br>
  40. <a href="uploaduser.php">Upload</a><br>
  41. <a href="userdir.php">Gallerij</a><br>
  42. <a href="login/profiel.php" target="mainFrame">Profile</a><br>
  43. <a href="login/users.php" target="mainFrame">Users</a><br>
  44. <A HREF="login/loguit.php?m=logout" target="mainFrame">Log-out</A>
  45. <br>
  46. </p>
  47. <p><br>
  48. </p>
  49. </td>
  50. </tr>
  51. </table>
  52. <table class="forTexts" cellSpacing="2" cellPadding="5" width="100%" border="0">
  53. <tr>
  54. <td class="forkop">&nbsp; </td>
  55. </tr>
  56. <tr>
  57. <td class="formenu">&nbsp; </td>
  58. </tr>
  59. </table>
  60. </td>
  61. <td width="563"><center>
  62. <p>&nbsp;</p>
  63. <?
  64. $pagina = "Home";
  65. include("header.php");
  66. $sql2 = mysql_query("SELECT * FROM nieuws");
  67. $aantal = mysql_num_rows($sql2);
  68. $sql5 = mysql_query("SELECT * FROM nieuws_config");
  69. $config = mysql_fetch_object($sql5);
  70. if($aantal == 0)
  71. {
  72. echo "<font class=\"12px\">Nog geen nieuwsberichten!</font>";
  73. } else {
  74. $sql = mysql_query("SELECT * FROM nieuws WHERE actief='actief' ORDER BY id DESC LIMIT ".$config->max_nieuws."");
  75. while($list = mysql_fetch_object($sql))
  76. {
  77. $sql5 = mysql_query("SELECT * FROM nieuwsreacties WHERE nid='".$list->id."'");
  78. $aantalreacties = mysql_num_rows($sql5);
  79. $sql7 = mysql_query("SELECT caticon FROM nieuwscats WHERE id='".$list->cid."'");
  80. $cat = mysql_fetch_object($sql7); ?>
  81. <center><TABLE width="90%" border="1" cellspacing="0" cellpadding="0"></center>
  82. <TR>
  83. <? if(strlen($cat->caticon) != 0) { ?><TD class="butnobrdr">&nbsp;</td><? } ?>
  84. <TD width="418" class="butnobrdr""><font class="12px"><? echo $list->titel; ?> - <a href="print.php?id=<? echo $list->id; ?>"><img src="nieuws/images/printer.gif" border="0"></a> - <a href="mail.php?id=<? echo $list->id; ?>"><img src="nieuws/images/email.gif" border="0"></a> </TD>
  85. </TR>
  86. <TR border="0">
  87. <? if(strlen($cat->caticon) != 0) { ?><TD width="82" class="nobrdr"><center>
  88. <img src="<? echo $cat->caticon; ?>">
  89. </center></TD><? } ?>
  90. <TD class="nobrdr"><font class="12px"><? echo $list->nieuwsbericht; ?><br><br><? echo "<a href=\"nieuws/leesnieuws.php?nid=$list->id&&page=1\">Reacties(".$aantalreacties.")</a> - <a href=\"plaatsreactie.php?nid=$list->id\">Reageren</a>"; ?></font></TD>
  91. </TR>
  92. <TR>
  93. <? if(strlen($cat->caticon) != 0) { ?><TD class="butnobrdr">&nbsp;</td><? } ?>
  94. <TD class="butnobrdr">Gepost door <? if(strlen($list->email) != 0) { ?><a href="mailto:<? echo $list->email; ?>"> <? } echo $list->auteur; ?></a> op <? echo "".$list->datum." </TD>"; ?>
  95. </TR>
  96. </TABLE>
  97. <br>
  98. <? }
  99. }
  100.  
  101. $sql3 = mysql_query("SELECT * FROM nieuws LIMIT ".$config->max_nieuws.", 5");
  102. $aantalkort = mysql_num_rows($sql3);
  103. $sql4 = mysql_query("SELECT * FROM nieuws ORDER BY id DESC LIMIT ".$config->max_nieuws.", 5");
  104. if($aantalkort != 0)
  105. {
  106. ?>
  107. <center><font class="16px">Kort nieuws</font>
  108. <TABLE width="75%" border="1" cellspacing="0" cellpadding="0">
  109. <TR class="10pxbut">
  110. <TD class="butnobrdr" width="15%">Auteur:</TD>
  111. <TD class="butnobrdr" width="35%">Titel:</TD>
  112. <TD class="butnobrdr" width="25%">Datum:</TD>
  113. </TR>
  114. </TABLE>
  115. <? while($lijst = mysql_fetch_object($sql4))
  116. { ?>
  117. <TABLE width="75%" border="1" cellspacing="0" cellpadding="0">
  118. <a href="leesnieuws.php?nid=<? echo "{$lijst->id}"; ?>"><TR class="10px">
  119. <TD class="nobrdr" width="15%"><a href="leesnieuws.php?nid=<? echo "{$lijst->id}"; ?>"><? echo "{$lijst->auteur}"; ?></TD>
  120. <TD class="nobrdr" width="35%"><? echo "{$lijst->titel}"; ?></TD>
  121. <TD class="nobrdr" width="25%"><? echo "{$lijst->datum}"; ?></TD>
  122. </TR></a>
  123. </TABLE><?
  124. } echo "</center>";
  125. } ?>
  126. <br>
  127. <center><TABLE width="75%" border="1" cellspacing="0" cellpadding="0">
  128. <TR class="10pxbut">
  129. <TD>Archief en categorieën</TD>
  130. </TR>
  131. <TR>
  132. <TD><center>
  133. <?
  134. if(session_is_registered("rang")) { ?>
  135. <a href="nieuws/nieuwsadmin.php" target="_blank">Admin</a>
  136. <? } else { ?>
  137. <a href="nieuws/login.php" target="_blank">Login</a>
  138. <? } ?>
  139. <br>
  140. <a href="nieuws/archief.php" target="_blank">Nieuws archief</a>
  141. <br>
  142. <a href="nieuws/categorie.php" target="_blank">Nieuws
  143. op categorieën</a>
  144. </center></TD>
  145. </TR>
  146. </TABLE></center>
  147. </center> </td>
  148. <td width="80">h</td>
  149.  
  150. </tr>
  151. </table>
  152. </td>
  153. </tr>
  154. <tr>
  155. <td class="forcopyright" align="middle" height="19">
  156. <div align="center" class="forcopyright">
  157. © 2003 - 2004 www.pic-server.tk
  158. <noscript>
  159. </noscript>
  160. </div>
  161. </td>
  162. </tr>
  163. </table>
  164.  
  165. </body>
  166.  
  167. </html><br>
  168. <noscript><noscript><plaintext></plaintext></noscript></noscript>//lijn 168




en ik krijg deze error
  1. Parse error: parse error in /data/members/free/tripod/nl/p/i/c/picserver1/htdocs/index.php on line 168

Wat is er fout
je helpt me heel erg als je de fot er uit haalt
alvast bedankt
Brantje

1 antwoord

Gesponsorde links
Offline cowbeast - 13/09/2004 19:16
Avatar van cowbeast Onbekend He kan meschien wel eens zegge waar lijn 168 zich bevind en dit moet boven aan in de pagina staan nog voor <html>
daar zet je gewoon dit
Gesponsorde links
Dit onderwerp is gesloten.
Actieve forumberichten
© 2002-2024 Sitemasters.be - Regels - Laadtijd: 0.193s