Major Template Problem

Afternoon All
We are currently redesigning our company website, and I've
created a template in Dreamweaver. I've attached the code to this
post. The only sections that we want to be editable are the page
title and the main content area.
I can apply the template to pages, update the pages and
everything, but there is a major problem, in that I cannot select
the main content text (which is editable) with my mouse. Would
anyone no why and what I need to do to fix it?
Thanks very much for any help
Didcot84

Hi Alan
Thanks for the reply here, this has really baffled me.
The includes are server side includes, there just adding code
which is common to all pages.
Here's a URL of a working page,
http://eagle1.ukerna.ac.uk/services/janet-web-services/janet-web-content-filtering-service /application-form.html
Thanks very much for your help mate, I must have done
something wrong in dreamweaver, the structure and layout of the
page is css compliant and xhtml compliant.

Similar Messages

  • Using iMovie 7.1.4 on an iMac w/ Snow Leopard; HD video imported with a Firewire cable transfers fine, but audio arrives with major static; problem persists w/ different cameras

    Using iMovie 7.1.4 on an iMac w/ Snow Leopard; HD video imported with a Firewire cable transfers fine, but audio arrives with major static; problem persists w/ different cameras & Firewire cables; source DV tape has no audfio static.

    I forgot to write down my computer specs:
    iMac 27 Mid 2011
    2.7 GHz Intel Core i5
    4 GB 1333 MHz DDR3
    AMD Radeon HD 6770M 512 MB
    OS X 10.9.2

  • [URGENT] Ques::custom Template Problem in IF statement?

    kindly help me out in solving this template problem...
    this is what i have written for my JHEADSTART Template.. where i recieve error.
    #if ( #WIZARD_PAGE_LIST_BEAN().selectedStep==3)
    <af:panelPage title="#if (!${JHS.current.group.hasTreeLayout})#PAGE_TITLE()#end" id="panelPage" partialTriggers="CreateNewEquip_AccSpcEquip">
    #else
    <af:panelPage title="#if (!${JHS.current.group.hasTreeLayout})#PAGE_TITLE()#end" id="panelPage" >
    #end
    i want to check if wizard step has value 3 then corresponding line showed be executed....
    NEED URGENT REPLY... THANKS

    [CreateNewEquip_AccequipmentDefinition.jspx] org.apache.velocity.exception.ParseErrorException: Encountered "#WIZARD_PAGE_LIST_BEAN" at line 37, column 7.
    Was expecting one of:
    <STRING_LITERAL> ...
    "true" ...
    "false" ...
    <NUMBER_LITERAL> ...
    <IDENTIFIER> ...
    Kindly let me know the Right expression for it ...

  • Adobe Captivate 8 projects published to HTML 5 shows major loading problems and stops

    Adobe Captivate 8 projects published to HTML 5 cause major loading problems in most browsers(IE 11, Chrome v. 35.0, Firefox v. 31). Loading… (screen)
    The view stops after a while and only the Loading… (icon) can be seen on the page.
    Is this a known problem with Captivate projects published to html5 and is there a way to fix it? What is wrong?
    Test the html5 version of this project at: http://kurs.dokker.no/captivate/
    and see for yourself what happends.

    I changed the Preferences/Project/Start and End  Preloader % to 25 and published the projects again. The course: http://kurs.dokker.no/captivate/elev/
    stopped like before on one of the first slides, loading… screen like before in IE11.
    In Chrome v. 37.0 the course worked badly, would not run, sound missing and buttons not working.
    In Firefox 31.0 the course worked to a degree even if the program was advising to use another browser for this content.
    In Opera 23.0 sound was missing and else working as bad as IE.
    All this testes is done on a PC using Windows 8 connected på internet via ethernet, download speed: 66.57.
    I would like to use the HTML5-format since it has a cleaner view than swf-files that appear to be jagged, but there is a lot missing before Adobe Captivates html5 publish is where it needs to be. Her are the complete html5 course and here are the swf based course for comparison.

  • Major system problems, hanging up at startup.

    I'm developing some major sytem problems with my G4 Mac. It all seemed to start with a jumping cursor and then a dying mouse. I could not get the Mac to startup with several trys. It wouldn't even start up off of my external drive. I would get the first four icons in the upper right hand corner of the screen and the it would hang. I tried all of the usual fixes- permissions, disk utiliy, Disk Warrior, zapping pram. I finally started unplugging external items and getting back to original Mac- switching the firewire port in the back of my Lacie external drive helped for awhile, but now I'm getting the jumping cursor again and fearing I'll get a hangup again. Any ideas on how I can solve this problem? If not, can you point me somewhere for instructions on how to reinstall the system software? I have already installed a clean system on my external drive. Once I reinstall all of my apps there, and get it running properly, can I move all of that to my internal HD somehow? My original system disks for this computer is Jaguar 10.2 if that helps.
    Thanks for your help,
    Dick Skover

    Dick,
    Some observations and notes.
    Have you tried using a different mouse, or changing
    the port it is plugged into?
    Yes, I tried and am using a inexpensive Logitech optical mouse. The one that came with the computer seemed to get very eratic and then not work at all. I did try plugging into different ports and that didn't make a difference.
    How did you upgrade from Jaguar 10.2.x to
    Panther 10.3.9?
    I upgraded the simplest way, I guess. I had read about more complex ways to do it at the time Panther came out, but also heard you could do a simple upgrade. I don't remember the exact steps I used. Boy, this is way more complex than my original Mac in 1984.
    What size is your Hard Drive, and how much space is
    available? I should say I have quite a few applications.
    My HD is 75 Gig with 17 Gig available.
    Is your installed RAM original or added?
    Yes, it came installed when I purchased it: 1.5 Gig
    In one post you wrote "My original system disks
    for this computer is Jaguar 10.2..."
    I heard something back when Panther came out that the fact I started with 10.2, didn't allow me to do certain things like archive and backup.
    But in another, you wrote "Yes, my original
    Panther disk and then updated everything via
    Internet."
    Please clarify.
    When I decided to install a clean system on my external HD I just used my Panther 10.3 disk- I didn't go all the way back to 10.2
    "Yes, Disk Warrior found some problems, I don't
    know exactly what they were."
    Were the errors corrected? Have you rerun Disk
    Warrior, to see if they are indeed repaired?
    Actually I ran DW today again on the internal HD and it came up with a couple of problems that it said it repaired. Should I keep running it until it doesn't indicate any problems?
    A couple other things you can check.
    Open System Preferences > Accounts > Your Account >
    Startup Items.
    Is there any item in there that you are not familiar
    with, or did not put there yourself?
    Yes I did try that- I had a repair person come in to help me. He did point that out and we deleted items that didn't need to be there. What he suggested did help for a week, but the problem came back. I called him again, but he said the only thing left to do was re-install.
    From the Utilities folder, start Activity
    Monitor.
    Select Active Processes.
    Watch for whatever process is hogging %CPU.
    Yes he ran activity monitor also- there didn't seem to be programs hogging the processor although we deleted those that look familiar.
    I also have a question about the title screems that pop up on start up. In the past I used to have several things being checked as it went through the process, now I get welcome to Macintosh and that's it. I seem to remember indications that Macaroni was running, but no longer see any of that. I do have Macjanitor also and thought that one of those automatically runs at startup?
    I will run pseudo daily, weekly and monthly tasks now. Is this something that Macjanitor does, or should I run the maintenance scripts periodicaly?
    ali b

  • 10.4.9 - Major audio problems with digital audio

    I have a Digital XMPCR radio with Edirol MA-20D Digital speakers
    I now have major audio problems, the audio is garbled and doesn't sound as strong. Kinda like a FM radio in a car that is loosing signal when you are traveling.
    I use this XMPCR for a couple of hours a day and had no problems this morning prior to installing the update.
    I have a XMPCR that was modified for Toslink/Digital connection. I connect the XMPCR to my Mac Pro 2.66 with toslink cables and connect my Edirol MA-20D digital speakers with toslink cables. I use Amoeba's "LineIn" for audio pass through.
    I thought it might me the FTDIUSBSerialDriver so I reinstalled it, did not fix the problem.
    I also have a real bad "buzzing" sound going on in the background. When I quit JXM (the application for changing channels on the XMPCR), the "buzzing" goes away but I have a rapid ticking sound coming out of the speakers until I quit LineIn.
    Anyone else have any problems with their digital audio input/outputs?

    I dont use the digital XMPCR radio, but I use Digital Performer to record audio and MIDI and I use exclusively the Built-In Audio input and Output and everything is working fine after the 10.4.9 Upgrade.

  • Major iPhone Problem

    Hello,
    I'm having a major iPhone problem!!!
    My phone crashed yesterday and wont turn back on or charge since then. It will start up with the apple logo and then the screen goes dark, will only stay on for about 30 secs. It's an original not jailbroken or anything like that. iTunes won't recognize it at all, I tired resetting it, hard resetting it, a different cord, basically everything and NOTHING works!
    Please help! Thank you!

    try doing a hard restart - hold home + power until the phone shuts down... then connect it to your puter.
    you may have too many things running in the background on the phone... i have heard fetch & push can drain your battery like you experienced... i don't use them, i get my mail when i open the application.

  • After Int Install OS10.5.8 on PowerPC G4 having major system problems (created user to verify) CS4 apps go non responsive

    After Int Install OS10.5.8 on PowerPC G4 having major system problems (created user to verify) CS4 apps go non responsive

    Ok no difference, I don't get any drive errors that seem significant or numerous, sometimes I don't get any at all, the disk always verifies and I haven't had to run a repair on it yet. I've gotton one or two drive errors, I'll save them next time I run either DU or DW.... however with permissions, there are a lot and they all fix (except: see below: Last 3: ACL errors are always there) but as I keep having to do force quits and system re boots they keep coming back; posted them below IDK if this will help you to help me, LOL... but figured it couldn't hurt, the ones below are re-occuring I know i've seen them b4. . .  Don't know if this makes a difference but on initial install I had several font conflicts w/system fonts, I renamed suitcases and that error message hasn't come back . . . but do you think this could be a font issue . . . I have like 12,000 fonts of which a couple hundred are ususally always active . . . IDK it doesn't make sense to me it would be, but you never know... just a shot in the dark
    I also saved my last PS crash report and it was like 100 Pages long, I've never seen one that long, I make a pdf of it and post link to my idisk, if its something that you can interpet.
    Verify permissions for “Rayce”
              Reading permissions database.
              Reading the permissions database can take several minutes.
    Permissions differ on "System/Library/CoreServices/Front Row.app/Contents/CodeResources", should be -rw-r--r-- , they are lrw-r--r-- .
    Permissions differ on "System/Library/CoreServices/Front Row.app/Contents/PlugIns/DVD.frappliance/Contents/CodeResources", should be -rw-r--r-- , they are lrw-r--r-- .
    Permissions differ on "System/Library/CoreServices/Front Row.app/Contents/PlugIns/FRSettings.frappliance/Contents/CodeResources", should be -rw-r--r-- , they are lrw-r--r-- .
    Permissions differ on "System/Library/CoreServices/Front Row.app/Contents/PlugIns/FRSources.frappliance/Contents/CodeResources", should be -rw-r--r-- , they are lrw-r--r-- .
    Permissions differ on "System/Library/CoreServices/Front Row.app/Contents/PlugIns/Movies.frappliance/Contents/CodeResources", should be -rw-r--r-- , they are lrw-r--r-- .
    Permissions differ on "System/Library/CoreServices/Front Row.app/Contents/PlugIns/Music.frappliance/Contents/CodeResources", should be -rw-r--r-- , they are lrw-r--r-- .
    Permissions differ on "System/Library/CoreServices/Front Row.app/Contents/PlugIns/Photos.frappliance/Contents/CodeResources", should be -rw-r--r-- , they are lrw-r--r-- .
    Permissions differ on "System/Library/CoreServices/Front Row.app/Contents/PlugIns/Podcasts.frappliance/Contents/CodeResources", should be -rw-r--r-- , they are lrw-r--r-- .
    Permissions differ on "System/Library/CoreServices/Front Row.app/Contents/PlugIns/TV.frappliance/Contents/CodeResources", should be -rw-r--r-- , they are lrw-r--r-- .
    Permissions differ on "System/Library/PrivateFrameworks/BackRow.framework/Versions/A/CodeResources", should be -rw-r--r-- , they are lrw-r--r-- .
    Permissions differ on "System/Library/CoreServices/Menu Extras/RemoteDesktop.menu/Contents/CodeResources", should be -rw-r--r-- , they are lrw-r--r-- .
    Permissions differ on "Library/Internet Plug-Ins/JavaPluginCocoa.bundle/Contents/CodeResources", should be -rw-rw-r-- , they are lrw-rw-r-- .
    Permissions differ on "private/var/spool/cups/cache/rss", should be drwxr-xr-x , they are drwxrwxr-x .
    ACL found but not expected on "Applications/Utilities".
    ACL found but not expected on "Applications".
    ACL found but not expected on "Library".
    Permissions verification complete
    Repairing permissions for “Rayce”
              Reading permissions database.
              Reading the permissions database can take several minutes.
    Permissions differ on "System/Library/CoreServices/Front Row.app/Contents/CodeResources", should be -rw-r--r-- , they are lrw-r--r-- .
    Permissions differ on "System/Library/CoreServices/Front Row.app/Contents/PlugIns/DVD.frappliance/Contents/CodeResources", should be -rw-r--r-- , they are lrw-r--r-- .
    Permissions differ on "System/Library/CoreServices/Front Row.app/Contents/PlugIns/FRSettings.frappliance/Contents/CodeResources", should be -rw-r--r-- , they are lrw-r--r-- .
    Permissions differ on "System/Library/CoreServices/Front Row.app/Contents/PlugIns/FRSources.frappliance/Contents/CodeResources", should be -rw-r--r-- , they are lrw-r--r-- .
    Permissions differ on "System/Library/CoreServices/Front Row.app/Contents/PlugIns/Movies.frappliance/Contents/CodeResources", should be -rw-r--r-- , they are lrw-r--r-- .
    Permissions differ on "System/Library/CoreServices/Front Row.app/Contents/PlugIns/Music.frappliance/Contents/CodeResources", should be -rw-r--r-- , they are lrw-r--r-- .
    Permissions differ on "System/Library/CoreServices/Front Row.app/Contents/PlugIns/Photos.frappliance/Contents/CodeResources", should be -rw-r--r-- , they are lrw-r--r-- .
    Permissions differ on "System/Library/CoreServices/Front Row.app/Contents/PlugIns/Podcasts.frappliance/Contents/CodeResources", should be -rw-r--r-- , they are lrw-r--r-- .
    Permissions differ on "System/Library/CoreServices/Front Row.app/Contents/PlugIns/TV.frappliance/Contents/CodeResources", should be -rw-r--r-- , they are lrw-r--r-- .
    Permissions differ on "System/Library/PrivateFrameworks/BackRow.framework/Versions/A/CodeResources", should be -rw-r--r-- , they are lrw-r--r-- .
    Permissions differ on "System/Library/CoreServices/Menu Extras/RemoteDesktop.menu/Contents/CodeResources", should be -rw-r--r-- , they are lrw-r--r-- .
    Permissions differ on "Library/Internet Plug-Ins/JavaPluginCocoa.bundle/Contents/CodeResources", should be -rw-rw-r-- , they are lrw-rw-r-- .
    Permissions differ on "private/var/spool/cups/cache/rss", should be drwxr-xr-x , they are drwxrwxr-x .
    ACL found but not expected on "Applications/Utilities".
    ACL found but not expected on "Applications".
    ACL found but not expected on "Library".
    Permissions repair complete

  • MAJOR EXPORT PROBLEMS! PLEASE HELP!

    Hello. I hope everyone had a nice holiday. I'll try to be brief. I'm having a horrible problem with exporting my films.  I work on a PC. To me, that shouldn't matter, but here's what's been happening.  I shoot my films at 23.976 frames on the 5DMII and the 7D.  My film got into a film festival. They asked for a 720p mp4 file. OK, no problem. I went under H.264, I exported an HD File, with 23.976 frame rate and I checked both boxes for Max Render and I set a 2-pass. I exported and when I played the vid back through Windows Media Player, it felt fine.
    BUT, at the festival this past weekend, I was horrified to discover that my film, and no other films, was having a major sound problem. The audio was about half a second ahead of the footage, so they kind of looked like they were speaking correctly, but their dialogue would finish right before their mouths would. Super embarrassing. All I noted when I saw the tech booth was that they were using a mac laptop hooked to the projector, so I assume maybe it was quicktime they were running? Also, I believe they put all of the vids together as one file so it would run together as one block, but still, I believe most of the other films were shot at 23.976 frames as well, so that shouldn't matter.
    I went home, thinking maybe I just wasn't being diligent enough and I needed to really look at the sound. Maybe it was off. But I keep all of the temp tracks, the sound from the dslr, on track 1 and then just mute it. I unmuted and played both tracks, and there's no difference. No echo, no weird delays, they're both perfectly synched up.
    I've been having this problem for a long time but this was the first time that I REALLY could see the problem, probably because it was on such a big screen. Just my opinion, but I've found that most festivals are running MAC software and it seems like the vids I export seem to have an audio problem being played through mac programs. Another instance, briefly. I did a screening for a feature I edited. I exported an HD mp4 and put it on a friends MAC. The sound was off when we pre-screened it. I have a PC Toshiba laptop, I ran the vid through windows media player, and it felt much better, so we screened using my laptop and it went fine. But what does that mean?
    Has anyone else had this problem? It's not just festivals too. I have a subscription with Vimeo, but every short film that I put up there has some kind of an audio drift problem. It's always minor so some people see it and some people don't, but I'm certain the vids are fine on my timeline. Do I need to export using something else? A different setting? As a quicktime vid? That last question seems kooky since any tutorial I've seen is usually wanting h.264, so I just don't know.
    Please let me know if there's anything I can try or if you just have an opinion. Thanks very much.

    im sorry i cant seem to start a new topic PLEASE HEEEEEEEEEEEEEEEEEELLLLLLLLLLPPPPPPPPPPPPP
    all of a sudden about half an hr ago my computer froze & went all spastic. i retsarted & now ALL MY SONGS ARE GONE FROM MY IPOD!!! I HAD 10 000+ SONGS HOW DO I GET THEM BACK!?!?!??
    please tell me theres a way. when i check the ipod itself it says 0 songs 0 videos but strangely my 87 photos are still on there. also when i reconnect it to the computer it says to restore its factory settings but when i go to update/restoe it says i have 10GB left (its a 60Gb video ipod) so i think the songs are still stored there but i cant access them or something please help me!!

  • 3.1 update, major audio problems!

    so i updated to 3.1 today and just noticed some major audio problems:
    1. when I answer a phone call I can't hear anything through the ear piece, but the caller can hear me. i can only hear them when I put them on speaker. same thing with voicemail.
    2. the ringer works when I get a call, but text, voicemail and email chimes/tones aren't audible at all.
    3. the built in speaker no longer works when playing iTunes music, YouTube, or games. i can only hear audio when plugging in headphones.
    all my settings are the same as before the update, but despite adjusting the volume controls/rocker none of the audio settings are working properly. i also reset/restarted the phone (home + sleep buttons) a few times, but no use. what the he'll is going on?
    Message was edited by: d.c.1

    I've got the same thing- from the speakers, no ring tone, games don't have speaker audio, no email or text audio-- except with the earphones. iTunes music plays thru the speakers but not games or afore-mentioned items. l've never had a problem before. also reset and restored- still the same.

  • MAJOR FONT PROBLEM - GREEK FONTS - GREEK SYSTEM

    Dear All
    I own a G4 purchased from a local Apple Authorized reseller for greece Rainbow computers in order to be able to use Greek fonts. Recently upgraded to OSX Version 10.4.3
    However I'm facing major font problems in applications such as Adobe Software i.e CS2
    Greek fonts that actually work are very limited. For example in Illustrator only Myriad Pro and Lucida Grande function properly.
    In Macromedia Freehand although a few more greek fonts work, they either disappear or become scrambled when I attempt to "Convert them to curves"!
    This only applies to OSX Tiger. Panther seemed to be working fine for this, in Freehand.
    I work as a graphic designer and it is very frustrating when I'm only limited to very few greek fonts even on a GREEK SYSTEM!!!
    By the way: I tried all suggested methods on the forum such as: Greek keyboard layouts, verifying permissions, switching to System Greek Language, reinstalling Illustrator etc..
    Is there anything else that i can do?
    Pls help.. !

    I own a G4 purchased from a local Apple Authorized
    reseller for greece Rainbow computers in order to be
    able to use Greek fonts.
    Generally speaking, for problems with Rainbow's stuff you need to consult Rainbow. Apple itself does not produce a localized Greek system or the special add-ons that Rainbow provides to let you use non-Unicode Greek with older apps.
    However I'm facing major font problems in
    applications such as Adobe Software i.e CS2
    Greek fonts that actually work are very limited. For
    example in Illustrator only Myriad Pro and Lucida
    Grande function properly.
    For an app like this you probably need to use Unicode Greek fonts. Those that come with Tiger are Lucida Grande, Helvetica, and Times. If you have MS Office 2004, you can also use Arial and Times New Roman and maybe Verdana from that app. Plus modern Adobe fonts like Myriad or Minion Pro. I suspect that legacy non-Unicode fonts will not work.
    In Macromedia Freehand although a few more greek
    fonts work, they either disappear or become scrambled
    when I attempt to "Convert them to curves"!
    I think Freehand is non-Uncode and probably needs the older fonts.
    For problems with Adobe and Macromedia apps, you might also want to ask in their forums:
    http://www.adobe.com/support/forums/main.html
    http://www.macromedia.com/support/forums/

  • Major Reconnection Problems

    Hey all,
    An editor just emailed me the project file of a rough cut for a feature we're both working on, and I've been having pretty major reconnection problems. Despite the fact that we're working with exactly the same files on two identical drives, when I try to reconnect all the media I get the message:
    +"The file does not have proper content to reconnect to "(clip name)" at time (timecode) in sequence "(sequence name".+
    +Click "OK" to make this item independent and go to the next clip or "Cancel" to skip all clips from this file."+
    When I click "OK" (which I have to do 200 times, as this problem reoccurs over and over with many different clips at many different points in time), it eventually reconnects.
    However, though it appears that the clips have all successfully reconnected, the sync for the entire project is almost completely off. Sometimes it reconnects to the wrong part of the correct audio clip, sometimes it substitutes the incorrect clip altogether.
    Does anyone have any idea how to solve this problem? It's been driving me crazy for weeks.

    Stumbled upon these problems today. Final Cut Pro did not way want to reconnect the media to the capture scratch files. Only thing I did was I moved them to another drive.
    What solved the problem: rename all scratch files by adding the extension '.mov'. Confirm they are now decent quicktime movies.
    You might want to learn the single unix terminal command to do this for the entire batch at once.

  • Help! Template problem?

    Dear Adobe Friends!
    Help! I'm having major difficulty updating a client site with Dreamweaver 8. I created the site OK initially some months ago - and any updates to editable regions worked just fine - but then I passed it all onto a PHP developer who added some shopping cart functionality for me. Now, when I re-download the DW template he has worked on along with the associated .php and .html files, my updates/edits cause all manner of ugly problems, including what looks like duplication of the HEAD content and spurious unclosed <a> tags. Both he and I are mystified by this.
    The source code of the template and one of the associated files is below, along with a screenshot of the problem. Any brilliant insights you all might into why this is happening most gratefully received!
    Kind regards
    Mark Birkett - Director, Dalemedia Ltd - Manchester UK - www.dalemedia.com
    DW8 template (sitetemplatenew.dwt):
    <!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=iso-8859-1" />
    <!-- TemplateBeginEditable name="doctitle" -->
    <title>Natural Deodorants | Natural Deodorant Spray | Crystal Deodorant</title>
    <!-- TemplateEndEditable -->
    <!-- TemplateBeginEditable name="head" -->
    <META NAME="keywords" CONTENT="Natural Deodorant, Natural Deodorant Spray, Crystal Deodorant, Herbal Natural Deodorant, Best Natural Deodorant, Natural Deodorant Crystal, Natural Deodorant Spray, Aluminium Free, Anti-perspirant, No Animal testing">
    <META NAME="description" CONTENT="Looking for a natural deodorant? Try Dr Frielgood's natural deodorant spray today! Aluminium-free! Tested on humans only! Work with nature, not against it...">
    <!-- TemplateEndEditable -->
    <!-- MB - The next script makes the clock work -->
    <script type="text/javascript">
    currenttime = '<? print date("F d, Y H:i:s", time())?>'
    var montharray=new Array("January","February","March","April","May","June","July","August","September","Octo ber","November","December")
    var serverdate=new Date(currenttime)
    function padlength(what){
    var output=(what.toString().length==1)? "0"+what : what
    return output
    function displaytime(){
    serverdate.setSeconds(serverdate.getSeconds()+1)
    var datestring=montharray[serverdate.getMonth()]+" "+padlength(serverdate.getDate())+", "+serverdate.getFullYear()
    var timestring=padlength(serverdate.getHours())+":"+padlength(serverdate.getMinutes())+":"+pa dlength(serverdate.getSeconds())
    document.getElementById("servertime").innerHTML=datestring+" "+timestring
    window.onload=function(){
    setInterval("displaytime()", 1000)
    </script>
    <!-- MB - The next scripts contain any (template) in-line styles -->
    <link href="../style.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
    <!--
    body {
    margin-left: 0px;
    margin-top: 0px;
    margin-right: 0px;
    margin-bottom: 0px;
    background-image: url(../images/diagonal-stripe-background.jpg);
    background-repeat: repeat-x;
    -->
    </style>
    </head>
    <body>
    <table width="100%" border="0">
    <tr>
      <td> </td>
    </tr>
    <tr>
      <td>
       <table width="985" border="0" align="center" bgcolor="#FFFFFF" class="borderall">
        <tr>
         <td colspan="3">
          <table width="100%" border="0" class="borderbottom">
           <tr>
            <td width="77%" height="21"><p align="left" class="clocktime"><b>Dr Frielgood says it's: </b><span id="servertime" class="clocktime"></span></p></td>
            <td width="23%" align="right" valign="middle"><a href="../careers.php">CAREERS</a> | <a href="../terms-and-conditions.php">OUR TERMS </a></td>
           </tr>
          </table>
         </td>
        </tr>
        <tr>
         <td colspan="3"><img src="../images/toplogo.jpg" alt="Welcome to Dr Frielgood - Working with nature, not against it" title="Welcome to Dr Frielgood - Working with nature, not against it" width="985" height="150" /></td>
        </tr>
        <tr>
         <td colspan="3"></td>
        </tr>
        <tr>
         <td colspan="3" align="left" valign="top">
          <table width="100%" border="0" cellpadding="3" class="bordertopbottom">
           <tr>
            <td align="left" valign="middle">
             <a href="../index.php">HOME</a> |
             <a href="../our-products.php">WHY USE  NATURAL DEODORANTS?</a> |
             <a href="http://www.facebook.com" target="_blank">FACEBOOK</a> |
             <a href="../useful-links.php">LINKS</a> |
             <a href="../faqs.php">FAQs</a> |
             <a href="../basket.php">EDIT ORDER</a> |
             <a href="../checkout.php">GO TO CHECKOUT</a> |
             <a href="../contact-us.php">CONTACT US</a>
            </td>
           </tr>
          </table>
         </td>
        </tr>
        <tr>
         <td width="180" align="left" valign="top">
          <table width="100%" border="0" class="borderall">
           <tr>
            <td bgcolor="#660099"><span class="featuretitles">VIEW OUR CATALOGUE</span></td>
           </tr>
           <tr height="10">
            <td></td>
           </tr>
    <?php
    for( $i = 0; $i < $NumMenuCats; $i++ ) {
    if( !isset($LeftMenuCats[$i]["LevelOffset"]) ) $LeftMenuCats[$i]["LevelOffset"] = "";
    ?>
           <tr>
            <td colspan="2" class="producttext">
             <?=$LeftMenuCats[$i]["LevelOffset"];?><img src="../images/square.jpg" alt="Button Icon" width="10" height="10" /> 
             <a href="<?php echo $_SERVER["PHP_SELF"];?>?CurrentCat=<?php echo $LeftMenuCats[$i]["mcmsCategoryID"];?>&amp;ProductID=<?=$ProductID;?>"><?=$LeftMenuCats[$ i]["mcmsTitle"];?></a>
            </td>
           </tr>
    <?php
    if( $LeftMenuCats[$i]["mcmsCategoryID"] == $CurrentCat ) {
      for( $j = 0; $j < $NumProducts; $j++ ) {
    ?>
           <tr>
            <td class="producttext">
                       <a href="../catalogue-details.php?CurrentCat=<?=$LeftMenuCats[$i]["mcmsCategoryID"];?>&amp;P roductID=<?=$LeftMenuProducts[$j]["mcmsProductID"];?>"><?=$LeftMenuProducts[$j]["mcmsTitle "];?></a>
            </td>
           </tr>
    <?php
    if( $NumMenuCats < 1 ) {
    ?>
           <tr>
            <td>Products have not yet been added to this category.</td>
           </tr>
    <?php
    ?>
           <tr>
            <td> </td>
           </tr>
           <tr>
            <td> </td>
           </tr>
          </table>
          <br />
          <table width="100%" border="0" class="borderall">
           <tr>
            <td bgcolor="#660099"><span class="featuretitles">OUR CUSTOMERS SAY... </span></td>
           </tr>
           <tr>
            <td>
             <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="180" height="180" title="xfv">
             <param name="movie" value="../vertical-scroll.swf" />
             <param name="quality" value="high" />
             <embed src="../vertical-scroll.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="180" height="180"></embed>
             </object>
            </td>
           </tr>
          </table>
          <br />
          <table width="100%" border="0" class="borderall">
           <tr>
            <td align="left" valign="top" bgcolor="#660099"><span class="featuretitles">LATEST NEWS </span></td>
           </tr>
           <tr>
            <td align="left" valign="top" class="latestnewstext">
             <br />
             June 2011: <br />
             Dr Frielgood website launches! <br /><br />
             June 2011: <br />
             Dr Frielgood developing new soap product! <br /><br />
             </p>
            </td>
           </tr>
          </table>
          <br />
         </td>
         <td width="530" align="left" valign="top">
         <!-- TemplateBeginEditable name="CentreContent" -->
         <!-- TemplateEndEditable -->
         </td>
         <td width="275" align="right" valign="top">
          <table width="100%" border="0" class="borderall">
           <tr>
            <td colspan="3" align="left" valign="top" bgcolor="#660099" class="featuretitles">YOUR SHOPPING BASKET </td>
           </tr>
    <?php
    if( $NumBasketItems < 1 ) {
    ?>
           <tr>
            <td colspan="3" align="left" valign="top" class="pricingboxtext"><div align="left" class="requiredfieldtext">You have nothing in your shopping basket...</div></td>
           </tr>
    <?php
    ?>
           <tr>
            <td width="54%" align="left" valign="top" bgcolor="#eeeeee" class="pricingboxtext">Item</td>
            <td width="29%" align="left" valign="top" bgcolor="#eeeeee" class="pricingboxtext">Qty</td>
            <td width="17%" align="left" valign="top" bgcolor="#eeeeee" class="pricingboxtext">Price</td>
           </tr>
           <tr>
            <td align="left" valign="top" class="pricingboxtext"> </td>
            <td align="left" valign="top" class="pricingboxtext"> </td>
            <td align="left" valign="top" class="pricingboxtext"> </td>
           </tr>
    <?php
    for( $i = 0; $i < $NumBasketItems; $i++ ) {
    ?>
           <tr>
            <td align="left" valign="top" class="pricingboxtext"><?=$BasketItemDetails[$i]["mcmsTitle"];?></td>
            <td align="left" valign="top" class="pricingboxtext"><?=$BasketItemDetails[$i]["mcmsQuantity"];?></td>
            <td align="left" valign="top" class="pricingboxtext">&pound;<?=$BasketItemDetails[$i]["LineTotal"];?></td>
           </tr>
    <?php
    } //for( $i = 0; $i < $NumBasketItems; $i++ ) {
    ?>
           <tr>
            <td colspan="3" align="left" valign="top" class="pricingboxtext"> </td>
           </tr>
           <tr>
            <td colspan="2" align="left" valign="top" bgcolor="#EEEEEE" class="pricingboxtext">POSTAGE </td>
            <td align="left" valign="top" class="pricingboxtext"><?=$TotalPostage;?></td>
           </tr>
           <tr>
            <td colspan="2" align="left" valign="top" bgcolor="#EEEEEE" class="pricingboxtext">TOTAL </td>
            <td align="left" valign="top" class="pricingboxtext"><?=$FinalTotal;?></td>
           </tr>
           <tr>
            <td colspan="2" align="left" valign="top"> </td>
            <td align="left" valign="top"> </td>
           </tr>
           <tr>
            <td colspan="2" align="left" valign="top"><a href="#"><img src="../images/credit-card-logos-small.jpg" alt="We accept all major credit cards! All transactions secured by Barclays ePDQ Payment System" width="180" height="32" border="0" title="We accept all major credit cards! All transactions secured by Barclays ePDQ Payment System" /></a></td>
            <td align="left" valign="top"><a href="../basket.php"><img src="../images/shopping-cart-icon-medium.png" alt="Your shopping purchases so far..." title="Your shopping purchases so far..." width="40" height="34" border="0" /></a></td>
           </tr>
          </table>
          <br />
          <table width="100%" border="0" class="borderall">
           <tr>
            <td colspan="2" align="left" valign="top" bgcolor="#660099" class="featuretitles">JOIN OUR FREE NEWSLETTER! </td>
           </tr>
    <?php
    if( $ShowNewsThankyou != "yes" ) {
    if( strlen($NewsError) > 0 ) {
    ?>
           <tr>
            <td colspan="2" align="left" valign="top" class="maintext">
             <span class="requiredfieldtext"><?=$NewsError;?></span>
            </td>
           </tr>
    <?php
    ?>
           <form action="<?=$_SERVER["PHP_SELF"];?>" method="post">
           <tr>
            <td colspan="2" align="left" valign="top" class="maintext">If you would like to receive our quarterly newsletter full of health tips, special offers and industry news, please complete the form below. We'll even enter you into our quarterly prize draw to win a FREE gift! </td>
           </tr>
           <tr>
            <td colspan="2" align="left" valign="top" class="requiredfieldtext"> </td>
           </tr>
           <tr>
            <td align="left" valign="top" bgcolor="#eeeeee" class="formitemstext">Your Name </td>
            <td align="left" valign="top"><input name="mcmsNewsName" type="text" class="formtextboxes" value="<?php if( isset($_POST["mcmsNewsName"]) ) echo htmlspecialchars(stripslashes($_POST["mcmsNewsName"]));?>" /></td>
           </tr>
           <tr>
            <td width="45%" align="left" valign="top" bgcolor="#eeeeee" class="formitemstext">Your Email </td>
            <td width="55%" align="left" valign="top"><input name="mcmsNewsEmail" type="text" class="formtextboxes" value="<?php if( isset($_POST["mcmsNewsEmail"]) ) echo htmlspecialchars(stripslashes($_POST["mcmsNewsEmail"]));?>" /></td>
           </tr>
           <tr>
            <td align="center" valign="middle">
             <img src="../images/newsletter-icon-2.png" alt="Join our FREE quarterly newsletter! Lots of information about Dr Frielgood including special offers and discounts for members!" width="50" height="48" border="0" title="Join our FREE quarterly newsletter! Lots of information about Dr Frielgood including special offers and discounts for members!" />
            </td>
            <td align="left" valign="top">
             <input type="hidden" name="mcmsAction" value="newsletter" />
             <label><input name="Submit" type="submit" class="formbuttons" value="Submit" /></label>
            </td>
           </tr>
           </form>
    <?php
    else {
    ?>
           <tr>
            <td colspan="2" align="left" valign="top" class="maintext">
             <span class="requiredfieldtext">Thankyou, your entry has been received!</span>
            </td>
           </tr>
    <?php
    ?>
           <tr>
            <td align="center" valign="middle"> </td>
            <td align="left" valign="top"> </td>
           </tr>
          </table>
          <br />
          <table width="100%" border="0" class="borderall">
           <tr>
            <td align="left" valign="top" bgcolor="#660099"><span class="featuretitles">SEE OUR SOCIAL MEDIA PAGES </span></td>
           </tr>
           <tr>
            <td align="center" valign="top">
             <table width="100%" border="0" align="center">
              <tr>
               <td height="21" align="center" valign="middle">
                <!-- AddThis Button BEGIN -->
                <div class="addthis_toolbox addthis_default_style ">
                <div align="center"><a href="http://www.addthis.com/bookmark.php?v=250&amp;pubid=xa-4d73a367659a9f30" class="addthis_button_compact">Share</a> <span class="addthis_separator">|</span> <a class="addthis_button_preferred_1"></a> <a class="addthis_button_preferred_2"></a> <a class="addthis_button_preferred_3"></a> <a class="addthis_button_preferred_4"></a></div>
                </div>
                <div align="center">
                <script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#pubid=xa-4d73a367659a9f30"></script>
                <!-- AddThis Button END -->
                </div>
               </td>
              </tr>
             </table>
            </td>
           </tr>
          </table>
         </td>
        </tr>
        <tr>
         <td colspan="3" align="center" valign="middle"> </td>
        </tr>
        <tr>
         <td colspan="3" align="center" valign="middle">
          <table width="100%" border="0" cellpadding="3" class="bordertopbottom">
           <tr>
            <td align="center" valign="middle">
             <a href="../index.php">HOME</a> |
             <a href="../our-products.php">WHY USE  NATURAL DEODORANTS?</a> |
             <a href="http://www.facebook.com" target="_blank">FACEBOOK</a> |
             <a href="../useful-links.php">LINKS</a> |
             <a href="../faqs.php">FAQs</a> |
             <a href="../basket.php">EDIT ORDER</a> |
             <a href="../checkout.php">GO TO CHECKOUT</a> |
             <a href="../contact-us.php">CONTACT US</a>
            </td>
           </tr>
          </table>
         </td>
        </tr>
        <tr>
         <td colspan="3" align="center" valign="middle"> </td>
        </tr>
       </table>
      </td>
    </tr>
    <tr>
      <td height="300" align="center" valign="top" background="../images/deep-gradient.jpg" bgcolor="#FFFFFF">
       <div align="center">
       <p><span class="copyrighttext"><br />
       &copy; Dr Frielgood 2011, 5 Piccadilly Place, Manchester, M1 3BP, UK - <a href="mailto:[email protected]">[email protected]</a></span><br /><br />
       <a href="http://www.dalemedia.com" target="_blank"><img src="../images/dalemedia-logo-white-small.jpg" alt="Dalemedia - Web Design Manchester" width="80" height="100" border="0" title="Dalemedia - Web Design Manchester" /></a></a></p>
       <p><a href="http://www.dalemedia.com" target="_blank"><span style="color:#666666; font-size:10px; font-weight: bold">Dalemedia - Web Design Manchester</span></a></p>
       </div>
      </td>
    </tr>
    </table>
    </body>
    </html>
    Associated file (index.php):
    <?php
    $CMSSection = "frontcatalogue";
    require_once("mcms/mcmsmain.php");
    require_once("mcms/frontend/cataloguecode.php");
    require_once("mcms/frontend/basketcode.php");
    require_once("mcms/frontend/newslettercode.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"><!-- InstanceBegin template="Templates/sitetemplatenew.dwt" codeOutsideHTMLIsLocked="false" -->
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <!-- InstanceBeginEditable name="doctitle" -->
    <title>Natural Deodorants | Natural Deodorant Spray | Crystal Deodorant</title>
    <!-- InstanceEndEditable -->
    <!-- InstanceBeginEditable name="head" -->
    <META NAME="keywords" CONTENT="Natural Deodorant, Natural Deodorant Spray, Crystal Deodorant, Herbal Natural Deodorant, Best Natural Deodorant, Natural Deodorant Crystal, Natural Deodorant Spray, Aluminium Free, Anti-perspirant, No Animal testing">
    <META NAME="description" CONTENT="Looking for a natural deodorant? Try Dr Frielgood's natural deodorant spray today! Aluminium-free! Tested on humans only! Work with nature, not against it...">
    <style type="text/css">
    <!--
    #Textbox {position:absolute;
    width:500px;
    height:650px;
    z-index:1;
    overflow: auto;
    visibility: visible;
    -->
    </style>
    <!-- InstanceEndEditable -->
    <!-- MB - The next script makes the clock work -->
    <script type="text/javascript">
    currenttime = '<? print date("F d, Y H:i:s", time())?>'
    var montharray=new Array("January","February","March","April","May","June","July","August","September","Octo ber","November","December")
    var serverdate=new Date(currenttime)
    function padlength(what){
    var output=(what.toString().length==1)? "0"+what : what
    return output
    function displaytime(){
    serverdate.setSeconds(serverdate.getSeconds()+1)
    var datestring=montharray[serverdate.getMonth()]+" "+padlength(serverdate.getDate())+", "+serverdate.getFullYear()
    var timestring=padlength(serverdate.getHours())+":"+padlength(serverdate.getMinutes())+":"+pa dlength(serverdate.getSeconds())
    document.getElementById("servertime").innerHTML=datestring+" "+timestring
    window.onload=function(){
    setInterval("displaytime()", 1000)
    </script>
    <!-- MB - The next scripts contain any (template) in-line styles -->
    <link href="style.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
    <!--
    body {
    margin-left: 0px;
    margin-top: 0px;
    margin-right: 0px;
    margin-bottom: 0px;
    background-image: url(images/diagonal-stripe-background.jpg);
    background-repeat: repeat-x;
    -->
    </style>
    </head>
    <body>
    <table width="100%" border="0">
    <tr>
      <td> </td>
    </tr>
    <tr>
      <td>
       <table width="985" border="0" align="center" bgcolor="#FFFFFF" class="borderall">
        <tr>
         <td colspan="3">
          <table width="100%" border="0" class="borderbottom">
           <tr>
            <td width="77%" height="21"><p align="left" class="clocktime"><b>Dr Frielgood says it's: </b><span id="servertime" class="clocktime"></span></p></td>
            <td width="23%" align="right" valign="middle"><a href="careers.php">CAREERS</a> | <a href="terms-and-conditions.php">OUR TERMS </a></td>
           </tr>
          </table>
         </td>
        </tr>
        <tr>
         <td colspan="3"><img src="images/toplogo.jpg" alt="Welcome to Dr Frielgood - Working with nature, not against it" title="Welcome to Dr Frielgood - Working with nature, not against it" width="985" height="150" /></td>
        </tr>
        <tr>
         <td colspan="3"></td>
        </tr>
        <tr>
         <td colspan="3" align="left" valign="top">
          <table width="100%" border="0" cellpadding="3" class="bordertopbottom">
           <tr>
            <td align="left" valign="middle">
             <a href="index.php">HOME</a> |
             <a href="our-products.php">WHY USE  NATURAL DEODORANTS?</a> |
             <a href="http://www.facebook.com" target="_blank">FACEBOOK</a> |
             <a href="useful-links.php">LINKS</a> |
             <a href="faqs.php">FAQs</a> |
             <a href="basket.php">EDIT ORDER</a> |
             <a href="checkout.php">GO TO CHECKOUT</a> |
             <a href="contact-us.php">CONTACT US</a>
            </td>
           </tr>
          </table>
         </td>
        </tr>
        <tr>
         <td width="180" align="left" valign="top">
          <table width="100%" border="0" class="borderall">
           <tr>
            <td bgcolor="#660099"><span class="featuretitles">VIEW OUR CATALOGUE</span></td>
           </tr>
           <tr height="10">
            <td></td>
           </tr>
    <?php
    for( $i = 0; $i < $NumMenuCats; $i++ ) {
    if( !isset($LeftMenuCats[$i]["LevelOffset"]) ) $LeftMenuCats[$i]["LevelOffset"] = "";
    ?>
           <tr>
            <td colspan="2" class="producttext">
             <?=$LeftMenuCats[$i]["LevelOffset"];?><img src="images/square.jpg" alt="Button Icon" width="10" height="10" /> 
             <a href="<?php echo $_SERVER["PHP_SELF"];?>?CurrentCat=Templates/%3CTemplates/%3C!DOCTYPE%20html%20PUBLIC%20% 22--//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=iso-8859-1" />
    <!-- TemplateBeginEditable name="doctitle" -->
    <title>Natural Deodorants | Natural Deodorant Spray | Crystal Deodorant</title>
    <!-- TemplateEndEditable -->
    <!-- TemplateBeginEditable name="head" -->
    <META NAME="keywords" CONTENT="Natural Deodorant, Natural Deodorant Spray, Crystal Deodorant, Herbal Natural Deodorant, Best Natural Deodorant, Natural Deodorant Crystal, Natural Deodorant Spray, Aluminium Free, Anti-perspirant, No Animal testing">
    <META NAME="description" CONTENT="Looking for a natural deodorant? Try Dr Frielgood's natural deodorant spray today! Aluminium-free! Tested on humans only! Work with nature, not against it...">
    <!-- TemplateEndEditable -->
    <!-- MB - The next script makes the clock work -->
    <script type="text/javascript">
    currenttime = '<? print date("F d, Y H:i:s", time())?>'
    var montharray=new Array("January","February","March","April","May","June","July","August","September","Octo ber","November","December")
    var serverdate=new Date(currenttime)
    function padlength(what){
    var output=(what.toString().length==1)? "0"+what : what
    return output
    function displaytime(){
    serverdate.setSeconds(serverdate.getSeconds()+1)
    var datestring=montharray[serverdate.getMonth()]+" "+padlength(serverdate.getDate())+", "+serverdate.getFullYear()
    var timestring=padlength(serverdate.getHours())+":"+padlength(serverdate.getMinutes())+":"+pa dlength(serverdate.getSeconds())
    document.getElementById("servertime").innerHTML=datestring+" "+timestring
    window.onload=function(){
    setInterval("displaytime()", 1000)
    </script>
    <!-- MB - The next scripts contain any (template) in-line styles -->
    <link href="../style.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
    <!--
    body {
    margin-left: 0px;
    margin-top: 0px;
    margin-right: 0px;
    margin-bottom: 0px;
    background-image: url(../images/diagonal-stripe-background.jpg);
    background-repeat: repeat-x;
    -->
    </style>
    </head>
    <body>
    <table width="100%" border="0">
    <tr>
      <td> </td>
    </tr>
    <tr>
      <td>
       <table width="985" border="0" align="center" bgcolor="#FFFFFF" class="borderall">
        <tr>
         <td colspan="3">
          <table width="100%" border="0" class="borderbottom">
           <tr>
            <td width="77%" height="21"><p align="left" class="clocktime"><b>Dr Frielgood says it's: </b><span id="servertime" class="clocktime"></span></p></td>
            <td width="23%" align="right" valign="middle"><a href="../careers.php">CAREERS</a> | <a href="../terms-and-conditions.php">OUR TERMS </a></td>
           </tr>
          </table>
         </td>
        </tr>
        <tr>
         <td colspan="3"><img src="../images/toplogo.jpg" alt="Welcome to Dr Frielgood - Working with nature, not against it" title="Welcome to Dr Frielgood - Working with nature, not against it" width="985" height="150" /></td>
        </tr>
        <tr>
         <td colspan="3"></td>
        </tr>
        <tr>
         <td colspan="3" align="left" valign="top">
          <table width="100%" border="0" cellpadding="3" class="bordertopbottom">
           <tr>
            <td align="left" valign="middle">
             <a href="../index.php">HOME</a> |
             <a href="../our-products.php">WHY USE  NATURAL DEODORANTS?</a> |
             <a href="http://www.facebook.com" target="_blank">FACEBOOK</a> |
             <a href="../useful-links.php">LINKS</a> |
             <a href="../faqs.php">FAQs</a> |
             <a href="../basket.php">EDIT ORDER</a> |
             <a href="../checkout.php">GO TO CHECKOUT</a> |
             <a href="../contact-us.php">CONTACT US</a>
            </td>
           </tr>
          </table>
         </td>
        </tr>
        <tr>
         <td width="180" align="left" valign="top">
          <table width="100%" border="0" class="borderall">
           <tr>
            <td bgcolor="#660099"><span class="featuretitles">VIEW OUR CATALOGUE</span></td>
           </tr>
           <tr height="10">
            <td></td>
           </tr>
    <?php
    for( $i = 0; $i < $NumMenuCats; $i++ ) {
    if( !isset($LeftMenuCats[$i]["LevelOffset"]) ) $LeftMenuCats[$i]["LevelOffset"] = "";
    ?>
           <tr>
            <td colspan="2" class="producttext">
             <?=$LeftMenuCats[$i]["LevelOffset"];?><img src="../images/square.jpg" alt="Button Icon" width="10" height="10" /> 
             <a href="<?php echo $_SERVER["PHP_SELF"];?>?CurrentCat=<?php echo $LeftMenuCats[$i]["mcmsCategoryID"];?>&amp;ProductID=<?=$ProductID;?>"><?=$LeftMenuCats[$ i]["mcmsTitle"];?></a>
            </td>
           </tr>
    <?php
    if( $LeftMenuCats[$i]["mcmsCategoryID"] == $CurrentCat ) {
      for( $j = 0; $j < $NumProducts; $j++ ) {
    ?>
           <tr>
            <td class="producttext">
                       <a href="../catalogue-details.php?CurrentCat=<?=$LeftMenuCats[$i]["mcmsCategoryID"];?>&amp;P roductID=<?=$LeftMenuProducts[$j]["mcmsProductID"];?>"><?=$LeftMenuProducts[$j]["mcmsTitle "];?></a>
            </td>
           </tr>
    <?php
    if( $NumMenuCats < 1 ) {
    ?>
           <tr>
            <td>Products have not yet been added to this cateory.</td>
           </tr>
    <?php
    ?>
           <tr>
            <td> </td>
           </tr>
           <tr>
            <td> </td>
           </tr>
          </table>
          <br />
          <table width="100%" border="0" class="borderall">
           <tr>
            <td bgcolor="#660099"><span class="featuretitles">OUR CUSTOMERS SAY... </span></td>
           </tr>
           <tr>
            <td>
             <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="180" height="180" title="xfv">
             <param name="movie" value="vertical-scroll.swf" />
             <param name="quality" value="high" />
             <embed src="vertical-scroll.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="180" height="180"></embed>
             </object>
            </td>
           </tr>
          </table>
          <br />
          <table width="100%" border="0" class="borderall">
           <tr>
            <td align="left" valign="top" bgcolor="#660099"><span class="featuretitles">LATEST NEWS </span></td>
           </tr>
           <tr>
            <td align="left" valign="top" class="latestnewstext">
             <br />
             June 2011: <br />
             Dr Frielgood website launches! <br /><br />
             June 2011: <br />
             Dr Frielgood developing new soap product! <br /><br />
             </p>
            </td>
           </tr>
          </table>
          <br />
         </td>
         <td width="530" align="left" valign="top">
         <!-- InstanceBeginEditable name="CentreContent" -->
    <table width="100%" border="0">
    <tr>
      <td colspan="2" align="left" valign="top" bgcolor="#eeeeee" class="pagetitles">About Us <a href="index.php" class="breadcrumbtext">HOME</a><span class="breadcrumbtext"> &gt; ABOUT US </span></td>
    </tr>
    <tr>
      <td width="50%" align="left" valign="top">
       <p class="maintext"><strong><span class="pagetitles"><span class="h1">Natural Deodorants</span></span> - An overview:</strong></p>
       <p class="maintext">Welcome! Here at Dr Frielgood we are totally committed to creating the very best  natural deodorant products possible. Each one is made with 100% natural ingredients and, unlike many other competitor products, is truly aluminium-free. </p>
       <p class="maintext"><strong>Our environmental policy:</strong></p>
       <p class="maintext">Our natural deodorant products come in an easy-to-use spray bottle and are packaged in the lightest-weight materials possible - in order minimise our impact on the environment. </p>
       <p class="maintext"><strong>Buy online with peace of mind: </strong></p>
       <p class="maintext">You can buy all Dr Frielgood products directly from this site, secure in the knowledge that all payments are made using Barclays proven<em> ePDQ</em> system - ensuring your credit card details are never divulged to anyone (<em>not even to us</em>).</p>
       <p class="maintext"><strong>Find out more: </strong></p>
       <p class="maintext">Now, if you only wish to <em>use</em> our great natural deodorant products, well that's just great. You are very welcome to  look around the site and make your purchase with confidence. <br />
       <br />
       On the other hand, if you're curious about why we're so so proud of our products - or perhaps wondering what ingredients it contains - then we're more than happy to tell you all about it!</p>
       <p class="maintext">Click to find out all about our <a href="our-products.php"><span style="color:#660099; font-size:12px; font-weight: bold">natural deodorants</span></a>. </p>
       <p class="maintext">--------------------------------</p>
      </td>
      <td width="50%" align="center" valign="top"><a href="http://www.dr-frielgood.co.uk/catalogue-details.php?CurrentCat=116&ProductID=0"><img src="images/final-bottle.jpg" alt="Dr Frielgood Natural Deodorant" title="Dr Frielgood Natural Deodorant" width="300" border="0" /></a></td>
    </tr>
    <tr>
      <td colspan="2" align="left" valign="top"></td>
    </tr>
    </table>
            <!-- InstanceEndEditable -->
         </td>
         <td width="275" align="right" valign="top">
          <table width="100%" border="0" class="borderall">
           <tr>
            <td colspan="3" align="left" valign="top" bgcolor="#660099" class="featuretitles">YOUR SHOPPING BASKET </td>
           </tr>
    <?php
    if( $NumBasketItems < 1 ) {
    ?>
           <tr>
            <td colspan="3" align="left" valign="top" class="pricingboxtext"><div align="left" class="requiredfieldtext">You have nothing in your shopping basket...</div></td>
           </tr>
    <?php
    ?>
           <tr>
            <td width="54%" align="left" valign="top" bgcolor="#eeeeee" class="pricingboxtext">Item</td>
            <td width="29%" align="left" valign="top" bgcolor="#eeeeee" class="pricingboxtext">Qty</td>
            <td width="17%" align="left" valign="top" bgcolor="#eeeeee" class="pricingboxtext">Price</td>
           </tr>
           <tr>
            <td align="left" valign="top" class="pricingboxtext"> </td>
            <td align="left" valign="top" class="pricingboxtext"> </td>
            <td align="left" valign="top" class="pricingboxtext"> </td>
           </tr>
    <?php
    for( $i = 0; $i < $NumBasketItems; $i++ ) {
    ?>
           <tr>
            <td align="left" valign="top" class="pricingboxtext"><?=$BasketItemDetails[$i]["mcmsTitle"];?></td>
            <td align="left" valign="top" class="pricingboxtext"><?=$BasketItemDetails[$i]["mcmsQuantity"];?></td>
            <td align="left" valign="top" class="pricingboxtext">&pound;<?=$BasketItemDetails[$i]["LineTotal"];?></td>
           </tr>
    <?php
    } //for( $i = 0; $i < $NumBasketItems; $i++ ) {
    ?>
           <tr>
            <td colspan="3" align="left" valign="top" class="pricingboxtext"> </td>
           </tr>
           <tr>
            <td colspan="2" align="left" valign="top" bgcolor="#EEEEEE" class="pricingboxtext">POSTAGE </td>
            <td align="left" valign="top" class="pricingboxtext"><?=$TotalPostage;?></td>
           </tr>
           <tr>
            <td colspan="2" align="left" valign="top" bgcolor="#EEEEEE" class="pricingboxtext">TOTAL </td>
            <td align="left" valign="top" class="pricingboxtext"><?=$FinalTotal;?></td>
           </tr>
           <tr>
            <td colspan="2" align="left" valign="top"> </td>
            <td align="left" valign="top"> </td>
           </tr>
           <tr>
            <td colspan="2" align="left" valign="top"><a href="#"><img src="images/credit-card-logos-small.jpg" alt="We accept all major credit cards! All transactions secured by Barclays ePDQ Payment System" width="180" height="32" border="0" title="We accept all major credit cards! All transactions secured by Barclays ePDQ Payment System" /></a></td>
            <td align="left" valign="top"><a href="basket.php"><img src="images/shopping-cart-icon-medium.png" alt="Your shopping purchases so far..." title="Your shopping purchases so far..." width="40" height="34" border="0" /></a></td>
           </tr>
          </table>
          <br />
          <table width="100%" border="0" class="borderall">
           <tr>
            <td colspan="2" align="left" valign="top" bgcolor="#660099" class="featuretitles">JOIN OUR FREE NEWSLETTER! </td>
           </tr>
    <?php
    if( $ShowNewsThankyou != "yes" ) {
    if( strlen($NewsError) > 0 ) {
    ?>
           <tr>
            <td colspan="2" align="left" valign="top" class="maintext">
             <span class="requiredfieldtext"><?=$NewsError;?></span>
            </td>
           </tr>
    <?php
    ?>
           <form action="<?=$_SERVER["PHP_SELF"];?>" method="post">
           <tr>
            <td colspan="2" align="left" valign="top" class="maintext">If you would like to receive our quarterly newsletter full of health tips, special offers and industry news, please complete the form below. We'll even enter you into our quarterly prize draw to win a FREE gift! </td>
           </tr>
           <tr>
            <td colspan="2" align="left" valign="top" class="requiredfieldtext"> </td>
           </tr>
           <tr>
            <td align="left" valign="top" bgcolor="#eeeeee" class="formitemstext">Your Name </td>
            <td align="left" valign="top"><input name="mcmsNewsName" type="text" class="formtextboxes" value="<?php if( isset($_POST["mcmsNewsName"]) ) echo htmlspecialchars(stripslashes($_POST["mcmsNewsName"]));?>" /></td>
           </tr>
           <tr>
            <td width="45%" align="left" valign="top" bgcolor="#eeeeee" class="formitemstext">Your Email </td>
            <td width="55%" align="left" valign="top"><input name="mcmsNewsEmail" type="text" class="formtextboxes" value="<?php if( isset($_POST["mcmsNewsEmail"]) ) echo htmlspecialchars(stripslashes($_POST["mcmsNewsEmail"]));?>" /></td>
           </tr>
           <tr>
            <td align="center" valign="middle">
             <img src="images/newsletter-icon-2.png" alt="Join our FREE quarterly newsletter! Lots of information about Dr Frielgood including special offers and discounts for members!" width="50" height="48" border="0" title="Join our FREE quarterly newsletter! Lots of information about Dr Frielgood including special offers and discounts for members!" />
            </td>
            <td align="left" valign="top">
             <input type="hidden" name="mcmsAction" value="newsletter" />
             <label><input name="Submit" type="submit" class="formbuttons" value="Submit" /></label>
            </td>
           </tr>
           </form>
    <?php
    else {
    ?>
           <tr>
            <td colspan="2" align="left" valign="top" class="maintext">
             <span class="requiredfieldtext">Thankyou, your entry has been received!</span>
            </td>
           </tr>
    <?php
    ?>
           <tr>
            <td align="center" valign="middle"> </td>
            <td align="left" valign="top"> </td>
           </tr>
          </table>
          <br />
          <table width="100%" border="0" class="borderall">
           <tr>
            <td align="left" valign="top" bgcolor="#660099"><span class="featuretitles">SEE OUR SOCIAL MEDIA PAGES </span></td>
           </tr>
           <tr>
            <td al

    So you give your main template .dwt file minus any php code to your php developer and they then insert some php code into that template file and give it back to you?
    You then create an index.php page from the template and that's when the trouble starts? Is this correct?
    What I see is a duplicated <head> section from line 11 through to line 128 in the index.php file. Who put that there? I don't see any 'include' php code in the template file asking for it to be placed there so the question is where did it come from? It does not belong there.
    Go back to the php developer and ask them where it could have come from. One possibility is from an 'include' php file but as I say I don't see any php code in the original template file that would be associated with it. The other possibility is it was placed their manually.

  • HT6030 Having major Mail problems since I updated Maverick on my 27" iMac. Delays deleting emails and moving emails to other folders. Anyone else having this issue? If so, any known fixes?

    I have an iMac that around 3 years old. Just installed Mavericks when it first was released. I also have a Time Capsule (2TB) that runs my network to my other three Apple devices: iPad2, iPhone 5s and a new Apple TV. Having major Mail issues here. Everything is very delayed and extremely slow. Moving emails to other folders sometimes takes a few minutes and the same goes for deleting emails. Delete them and they don't go into the trash for several minutes. It's getting very frustrating to say the least. Mail also quits very often. Mail also will freeze with the little color ball spinning, therefore I would have to force quit Mail. When the errors occur, it's automatically sent to Apple but there hasn't been an update since 10.9.1 that has fixed it. Apparently, that update was only for gmail issues. Anyone having the same problem? Fixes please?

    I have my entire network and all Apple devices setup as IMAP, not POP. If your settings are setup as a POP account on all devices, emails will not erase when deleted on your other devices. Just something to keep in mind. I'm sure you're aware of this but just wanted to throw it out there. Google IMAP vs POP. However, it seems like your having the same issues as I am. I'm going to swing by an Apple store by me and speak to the genius bar and see if they can come up with something or are aware of this issue. Keep you posted.

  • Dunning Letter template problem

    Hi,
    I've started using dunning letters but have a problem with a discrepency between the data that appears on my screen in the recommendation report (i.e the list of invoices being dunned) and the actual printed letter..
    For example on screen I can see the list of invoices for a particular customer like this:
    Doc No. / Date
    50847 / 14.01.2009
    50874 / 20.01.2009
    50902 / 22.01.2009
    51014 / 05.02.2009
    50944 / 30.01.2009
    51149 / 27.02.2009
    But the print out shows:
    50847 / 14.01.2009
    50874 / 20.01.2009
    50902 / 22.01.2009
    51014 / 30.01.2009
    50944 / 05.02.2009
    51149 / 27.02.2009
    Subtle difference but the dates of lines 4&5 have been swapped! All the other columns seems correct and I checked the actual invoices - the date showing on screen is correct - the printed version is wrong... I checked in PLD if the screen was showing posting date and the print out document date or something like that but it seems not. The template is 'Dunning Letter 01 (System) Doc ID DUN00001.
    Can anyone advise where the problem is?
    Thanks
    Karen

    Hi Gordon,
    I found a SAP note which seems to be the same issue but it seems to me to be old and supposedly fixed by now - I am on 2007A PL40
    Note 1117525
    Symptom:
    You print Dunning letters for a BP whose dunning terms are set as One letter per BP. In the printout of the Dunning letters, the rows are mismatched in such a way that the document dates do not correspond to the document numbers.
    This occurs when you have later documents with earlier document dates.
    Sorry for sounding clueless but not sure what you mean about replicating on test database in order to log support ticket?
    I do have a test database which I use to test things on but didn't notice the document no/date jumbling until I did it on the live one.
    How do I log a support ticket >- my other problems have been resolved with forum advice..
    Many thanks
    Karen

Maybe you are looking for

  • I am having issues and close to just returning the darn thing....HELP

    Hello all I need some help, I have the TC set up to extend my wireless network, which it is doing fine. After a few attempts of it dropping the connection for backup I finally started over and got it to work last night. Even waited tell it went throu

  • Cannot put unique info in title block in hierarchical design

    To identify the differences between subcircuits in a hierarchical design (such as channel number!!)  I tried to use a title block.  No matter what is placed on the schematic page, all blocks get the same data.  The only exception appears to be the "r

  • Switching frames in a symbol after tweening

    I created part fbf/part tweened walk cycle using leg positions on different frames of a graphic symbol. After tweening certain positions, I can't switch the symbol to a a different frame in the properties panel. Even after adding a keyframe after the

  • Installing ECC 6.0 on Sun Solaris 10

    I am currently planning on installing ECC 6.0 on the following: - Hardware: SunFire V490 4CPUs/32GB RAM - OS: Solaris 10 Release 06/06 Can someone validate this approach and provide me with a link to SAP documentation that supports this HW/OS combina

  • Why does my podcast episode title appear different after subscribing?

    In the iTunes Store everything is perfect with my podcast and episode title. The episode title is: "Blinkers Off 001: Oaklawn Begins" But once I subscribe and it goes into my library (this is happening with others as well), the podcast title and ever