Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

What's wrong?


Ackis

Recommended Posts

Can anyone tell me what's wrong here please? :blink:

 

Parse error: syntax error, unexpected $end in /hsphere/local/home/ackispac/rcmaffian.se/oscommerce_st/catalog/product1.php on line 104

 

I have been looking for white spaces but there are none.

 

 

<?php
/*
 $Id: product1.php,v 1.1 2003/06/11 17:37:59 hpdl Exp $

 osCommerce, Open Source E-Commerce Solutions
 [url="http://www.oscommerce.com"]http://www.oscommerce.com[/url]

 Copyright © 2003 osCommerce

 Released under the GNU General Public License
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

*/

 if ((USE_CACHE == 'true') && empty($SID)) {    echo tep_cache_categories_box();  } else {    include(DIR_WS_BOXES . 'categories.php');
?>
<html<?php echo HTML_PARAMS; ?>>
<head>
<title>RC Maffian</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link href="style.css" rel="stylesheet" type="text/css">
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_preloadImages() { //v3.0
 var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
   var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
   if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_swapImgRestore() { //v3.0
 var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_findObj(n, d) { //v4.01
 var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
   d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
 if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
 for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
 if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
 var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
  if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</script>
</head>

<body background="bilder/bakgrund_sida.gif" leftmargin="0" topmargin="0" onLoad="MM_preloadImages('bilder/meny1on.gif','bilder/meny2on.gif','bilder/meny3on.gif','bilder/meny4on.gif','bilder/meny5on.gif','bilder/meny6on.gif','bilder/meny7on.gif','bilder/meny8on.gif')">
<table width="848" height="100%" border="0" align="center" cellpadding="0" cellspacing="0">
 <tr>
   <td valign="top" background="bilder/bakgrund.gif"><table width="822" border="0" align="center" cellpadding="0" cellspacing="0">
       <tr> 
         <td><img src="bilder/logga1.gif" width="822" height="14"></td>
       </tr>
       <tr> 
         <td><img src="bilder/logga2.gif" width="822" height="26"></td>
       </tr>
       <tr> 
         <td><img src="bilder/logga3.jpg" name="header" width="822" height="118" border="0" usemap="#header" id="header" href="test1"></td>
       </tr>
       <tr> 
         <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
             <tr>
               <td><a href="index.php" onMouseOver="MM_swapImage('meny1','','bilder/meny1on.gif',1)" onMouseOut="MM_swapImgRestore()"><img src="bilder/meny1.gif" name="meny1" width="65" height="25" border="0" id="meny1"></a></td>
               <td><a href="#" onMouseOver="MM_swapImage('meny2','','bilder/meny2on.gif',1)" onMouseOut="MM_swapImgRestore()"><img src="bilder/meny2.gif" name="meny2" width="110" height="25" border="0" id="meny2"></a></td>
               <td><a href="butiken.php" onMouseOver="MM_swapImage('meny3','','bilder/meny3on.gif',1)" onMouseOut="MM_swapImgRestore()"><img src="bilder/meny3.gif" name="meny3" width="103" height="25" border="0" id="meny3"></a></td>
               <td><a href="contact_us.php" onMouseOver="MM_swapImage('meny4','','bilder/meny4on.gif',1)" onMouseOut="MM_swapImgRestore()"><img src="bilder/meny4.gif" name="meny4" width="93" height="25" border="0" id="meny4"></a></td>
               <td><img src="bilder/meny_blank.gif" width="85" height="25"></td>
               <td><a href="privacy1.php" onMouseOver="MM_swapImage('meny5','','bilder/meny5on.gif',1)" onMouseOut="MM_swapImgRestore()"><img src="bilder/meny5.gif" name="meny5" width="98" height="25" border="0" id="meny5"></a></td>
               <td><a href="shipping1.php" onMouseOver="MM_swapImage('meny6','','bilder/meny6on.gif',1)" onMouseOut="MM_swapImgRestore()"><img src="bilder/meny6.gif" name="meny6" width="132" height="25" border="0" id="meny6"></a></td>
               <td><a href="conditions1.php" onMouseOver="MM_swapImage('meny7','','bilder/meny7on.gif',1)" onMouseOut="MM_swapImgRestore()"><img src="bilder/meny7.gif" name="meny7" width="71" height="25" border="0" id="meny7"></a></td>
               <td><a href="rcbana.php" onMouseOver="MM_swapImage('meny8','','bilder/meny8on.gif',1)" onMouseOut="MM_swapImgRestore()"><img src="bilder/meny8.gif" name="meny8" width="65" height="25" border="0" id="meny8"></a></td>
             </tr>
           </table></td>
       </tr>
       <tr> 
         <td><img src="bilder/logga6.gif" width="822" height="7"></td>
       </tr>
       <tr> 
         <td height="400" valign="top" background="bilder/bakgrund_main.gif"><table width="100%" border="0" cellspacing="5" cellpadding="0">
             <tr>
               <td>
               </td>
             </tr>
           </table></td>
       </tr>
       <tr> 
         <td class="copy1"><div align="center">Copyright © RC Maffian HB 2007</div></td>
       </tr>
       <tr>
         <td><img src="bilder/copy2.gif" width="822" height="16"></td>
       </tr>
     </table></td>
 </tr>
</table>
<map name="header">
 <area shape="rect" coords="534,76,616,97" href="account.php">
 <area shape="rect" coords="615,43,690,67" href="shopping_cart.php">
 <area shape="rect" coords="706,15,768,35" href="checkout_process.php">
</map>
</body>
</html>

Jessica Fuchs

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...