title: php if else show statement - date dependent like. show if date=Dec. 2, 2010 or less than?
body: <p>I updated my photo-gallery framework recently. But I still need the old 'javascript files' in stories older than a certain date, eg: Dec. 2, 2010. (stories are in CMS/dynamic)</p>
  
  <p>I was thinking of an "if else" statement, but can't get it right.</p>
  
  <pre><code>if date(Dec. 2, 2010) &lt; CURDATE() {
                   show this (which is the older JS files) ; }
  else {
                   show the new javascript files; }
  </code></pre>
  
  <p>I don't like having to load both of the JS files if I don't need to (for speed sake). </p>
  
  <p>Thanks in advance.</p>