Welcome, Guest. Please login or register.
Did you miss your activation email?
May 27, 2012, 01:41:04 AM

Login with username, password and session length
Search:     Advanced search
Wollen Sie dem WebsiteBaker Team beitreten?
Nähere Informationen finden Sie unter hier und auf unserer neuen Webseite.
155555 Posts in 21715 Topics by 7737 Members
Latest Member: gx-world
* Home Help Search Login Register
Pages: [1]   Go Down
Print
Author Topic: parse error...  (Read 1231 times)
Pit

Offline Offline

Posts: 41


« on: January 25, 2007, 08:15:08 AM »

Hallo
teste gerade ein Template mit WB 2.6.5 und bekomme immer Fehlermeldung "Parse error: parse error, unexpected $end in D:\Werbserver\xampp\htdocs\wb\templates\aixciter\index.php on line 51" (das ist die letzte Zeile). Ich kann aber keinen Fehler entdecken, bin aber auch nicht der php-Fachmann smiley

index.php:
<!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" xml:lang="de" lang="de">
<head>
<title><?php page_title(); ?></title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="description" content="<?php page_description(); ?>" />
<meta name="keywords" content="<?php page_keywords(); ?>" />
<link href="<?php echo TEMPLATE_DIR; ?>/screen.css" rel="stylesheet" type="text/css" media="screen" />
<link href="<?php echo TEMPLATE_DIR; ?>/print.css" rel="stylesheet" type="text/css" media="print" />
  <style type="text/css"></style>
</head>

<body>
<table style="text-align: left; width: 1000px;" border="1" cellpadding="0" cellspacing="0">
  <tbody>
    <tr>
      <td colspan="2" rowspan="1" style="width: 200px;"><img src="<?php echo TEMPLATE_DIR; ?> /Aixtraheader1006.jpg" alt="www.aixtra.de" width="1000" height="200" style="width: 1000px; height: 200px;"></td>
    </tr>
    <tr>
      <td colspan="2" rowspan="1"><object classid="clsid:166B1BCA-3F9C-11CF-8075-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/director/sw.cab#version=8,5,0,0" width="1000" height="25">
        <param name="src" value="AixBanner0806.swf" />
        <embed src="http://www.aixciter.de/templates/aixciter/AixBanner0806.swf" pluginspage="http://www.macromedia.com/shockwave/download/" width="1000" height="25"></embed>
      </object></td>
    </tr>
    <tr>
      <td width="200px" class="search">
        <?php if(SHOW_SEARCH) { /* Only show search box if search is enabled */ ?>
      <input type="text" name="string" style="width: 90%;" />
       <input type="submit" name="submit" value="Search" style="width: 90%;" />
      <?php } ?>
   </td>
      <td style="width: 800px; text-align: left; vertical-align: top;" class="content" colspan="1" rowspan="4"><?php page_content(); ?></td>
    </tr>
    <tr>
      <td class="menu">
     <?php if(SHOW_MENU) { /* Only shown menu if we need to */ ?>            
         <?php show_menu(); ?>
   </td>
    </tr>
    <tr>
      <td colspan="1" rowspan="1">news</td>
    </tr>
    <tr>
    </tr>
    <tr align="center">
      <td class="footer" colspan="2" rowspan="1">powered by UK Aachen | Copyright 2007 AIXTRA | Impressum</td>
    </tr>
  </tbody>
</table>
</body></html>

Dabei gleich die nächste Frage: Wie binde ich ein swf korrekt ein? (ca. Zeile 22)

Vielen Dank schon mal
Gruß
Pit
Logged
Funky_MF

Offline Offline

Posts: 270



« Reply #1 on: January 25, 2007, 08:20:18 AM »

Hi, du hast einen "Klammerfehler"

füge hier noch ein geschweifte Klammer ein:

<?php show_menu() } ; ?>
Logged

Es ist keine Schande, nicht alles zu wissen;
wohl aber, es nicht zugeben zu wollen.
kweitzel
Forum administrator
*****
Offline Offline

Posts: 6977


WWW
« Reply #2 on: January 25, 2007, 08:59:35 AM »

Ich denke, der Ansatz hier (für Flash Video) sollte auch für Dein Banner passen: http://forum.websitebaker.org/index.php/topic,5229.0.html

Gruß

Klaus
Logged

WebsiteBaker Org e.V. - for WebsiteBaker

Pit

Offline Offline

Posts: 41


« Reply #3 on: January 25, 2007, 09:40:42 AM »

 grin grin grin

Ich liebe dieses Forum!
Auch nach 12. Hingucken habe ich den Fehler nicht gefunden.

Vielen Dank
Pit
Logged
kweitzel
Forum administrator
*****
Offline Offline

Posts: 6977


WWW
« Reply #4 on: January 25, 2007, 09:45:05 AM »

Am besten holst Du Dir einen Editor mit Syntax Highlighting ... so wie den Crimson Editor oder JEdit ... das sind bestimmt nicht die einzigen, aber das sind die beiden, die ich im Betrieb habe.

Gruß

Klaus
Logged

WebsiteBaker Org e.V. - for WebsiteBaker

Pages: [1]   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!