Jump to content

Recommended Posts

Hello, I'm helping with creating a site for the place I work at. Yesterday, I received an error upon viewing the page, at http://www.harmonyartglasscompany.com

 

 

Parse error: parse error, unexpected $ in /hsphere/local/home/bseitz/harmonyartglasscompany.com/output_fns.php on line 80

 

Here's the code from outpost_fns.php

<?php

 

 

function do_html_header($title = '')

{

  // print an HTML header

 

  // declare the session variables we want access to inside the function 

  if(!$_SESSION['items']) $_SESSION['items'] = '0';

  if(!$_SESSION['total_price']) $_SESSION['total_price'] = '0.00';

?>

<title><?php echo $title ?></title>

 

</head>

<body>

<div id="main">

<div id="logo">

<img src="images/Glass Collagecroppedfurther.jpg">

<br>

 

</div>

<ul id="menu">

<li><a href="index.php">Home</a></li>

<li><a href="product_gallery.php">Products</a></li>

<li><a href="services.php">Services</a></li>

<li><a href="contact.php">Contact</a></li>

<li><a href="about.php">About Us</a></li>

<li><a href="HarmonyForum.php">Forum</a></li>

<li><a href="login_Form.php">LogIn</a></li>

</ul>

 

<div id="intro_left">

 

<div id="left">

<div class="box">

<script language="JavaScript" type="text/javascript" src="http://vhost.oddcast.com/vhost_embed_functions.php?acc=42944&js=1"></script><script language="JavaScript" type="text/javascript">AC_VHost_Embed_42944(150, 200, '', 1, 1, 778620, 0, 1, 0, '40f3cacc74170a71da1e1e2a3117784e', 6);</script>

<HR>

Join our <A

href="HarmonyForum.php?PHPSESSID=15bdd7669bea1150ddd0beba8605f0fe">forum</A>

...<BR>Let's us know your thoughts. <IFRAME src="forum.php" frameBorder=1

width=237>

 

</IFRAME></DIV>

<DIV class=note>

<P>Click <A title="Check Order Status" href="#">here</A>To check status of your

Order</P><FONT size=-1>Total Items = 0<BR>Total Price = $0.00</FONT><BR>

<CENTER><A href="show_cart.php?PHPSESSID=15bdd7669bea1150ddd0beba8605f0fe"><IMG

height=35 alt="View Your Shopping Cart" src="images/view-cart.gif" width=90

border=0></A></CENTER></DIV></DIV></div>

<DIV id=footer>

<SCRIPT language=javascript type=text/javascript>

<!--

var sc_project=2447325;

var sc_invisible=0;

var sc_partition=23;

var sc_security="f425fb90";

//-->

</SCRIPT>

Visitor :

<SCRIPT language=javascript src="http://www.statcounter.com/counter/frames.js"

type=text/javascript></SCRIPT>

<NOSCRIPT><A href="http://www.statcounter.com/" target=_blank><IMG

alt="blog stats"

src="http://c24.statcounter.com/counter.php?sc_project=2447325&java=0&security=f425fb90&invisible=0"

border=0></A> </NOSCRIPT><BR>

Copyright Harmony Art Glass Company,

6323 N Clark St, Chicago, IL 60660 <BR><A title="Search Engine Optimization"

href="http://www.pagerank.net/" target=_blank><IMG

style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: 0px"

alt="Search Engine Optimization" src="http://www.pagerank.net/pagerank.gif"></A></DIV></div>

<?php

 

do_html_footer();

 

?>

Link to comment
https://forums.phpfreaks.com/topic/55649-solved-footer-error/
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.