When r u actualy going to update your footer 2012 date?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • chaze
    Confirmed User
    • Aug 2002
    • 9774

    #1

    When r u actualy going to update your footer 2012 date?

    I have 60 sites about, maybe 600 pages.

    I should be done around July.
    Like the desert needs the rain
    We do fully manged WordPress, VPS, and Servers. Adult Host Pro https://adulthostpro.com/ Since 2001
  • LightscapeMedia
    DirtyPeach.com
    • May 2010
    • 828

    #2
    In Dreamweaver, you should create your footer as a Library item. Then just update the Library item and it'll update site-wide.

    For my Joomla sites, it's even easier.

    Comment

    • nation-x
      Confirmed User
      • Mar 2004
      • 5370

      #3
      Apparently, you don't know php or javascript

      Comment

      • machinegunkelly
        Confirmed User
        • Jun 2003
        • 3304

        #4
        <?php echo date("Y"); ?>

        ;)
        dead.

        Comment

        • Jim_Gunn
          Confirmed User
          • Feb 2003
          • 5702

          #5
          All my sites are done in Wordpress and it automatically adjusted the dates for all of them, even though the WP installs I use are all several versions behind.

          Comment

          • potter
            Confirmed User
            • Dec 2004
            • 6559

            #6
            OP = retarded

            Comment

            • Barry-xlovecam
              It's 42
              • Jun 2010
              • 18083

              #7
              Code:
              <script type="text/javascript">
              <!--
              var currentTime = new Date()
              var year = currentTime.getFullYear()
              document.write(year)
              //-->
              </script>

              Comment

              • anexsia
                Confirmed User
                • May 2010
                • 5735

                #8
                lol people still put the date in manually?

                Comment

                • fitzmulti
                  I Like Depth Of Field!
                  • Jan 2003
                  • 14861

                  #9
                  Working on my php inserts tomorrow! (Only a few days late, LOL!)


                  www.SexyGirlsCash.com


                  CONTACT // FITZMULTI AT GMAIL.COM //
                  {Please include a message so I know you are from GFY! I get too many spam "add requests"!}

                  Comment

                  • Overload
                    Confirmed User
                    • Jul 2005
                    • 3185

                    #10
                    (C) 1999 - 2066 ... why update? mwahahahaha
                    There aren't enough faces and palms on this planet for an appropriate reaction to religion.

                    Comment

                    • papill0n
                      Unregistered Abuser
                      • Oct 2007
                      • 15547

                      #11
                      no network wide includes = fail

                      Comment

                      • chaze
                        Confirmed User
                        • Aug 2002
                        • 9774

                        #12
                        Originally posted by papill0n
                        no network wide includes = fail
                        Only for this, extra code and more things to jump through when updating the individualize pages.

                        I could change the pages to php just for the reason to use:

                        <?php echo date("Y"); ?>

                        But I don't liek full sites in php slow loading and resource hogs. Only use it when I really have to.
                        Like the desert needs the rain
                        We do fully manged WordPress, VPS, and Servers. Adult Host Pro https://adulthostpro.com/ Since 2001

                        Comment

                        • RonTheDon
                          Registered User
                          • Dec 2011
                          • 69

                          #13
                          Originally posted by chaze
                          But I don't liek full sites in php slow loading and resource hogs. Only use it when I really have to.
                          PHP is not slow and is not a resource hog.
                          ICQ: 609051050

                          Comment

                          • fris
                            Too lazy to set a custom title
                            • Aug 2002
                            • 55696

                            #14
                            if you wannna show the start year, as well as the current year this should do it.

                            Code:
                            <?php 
                            
                            function custom_copyright() { 
                                global $wpdb; 
                                $copyright_dates = $wpdb->get_results("SELECT YEAR(min(post_date_gmt)) AS firstdate, YEAR(max(post_date_gmt)) AS lastdate FROM $wpdb->posts WHERE post_status = 'publish'"); 
                                $output = ''; 
                                if($copyright_dates) { 
                                    $copyright = "&copy; " . $copyright_dates[0]->firstdate; 
                                    if($copyright_dates[0]->firstdate != $copyright_dates[0]->lastdate) { 
                                        $copyright .= '-' . $copyright_dates[0]->lastdate; 
                                    } 
                                    $output = $copyright; 
                                } 
                                return $output; 
                            }
                            Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.

                            Comment

                            • chaze
                              Confirmed User
                              • Aug 2002
                              • 9774

                              #15
                              Originally posted by RonTheDon
                              PHP is not slow and is not a resource hog.
                              What planet are you fun, compared to html of course it is

                              Any active page is over static.
                              Last edited by chaze; 01-03-2012, 09:40 PM.
                              Like the desert needs the rain
                              We do fully manged WordPress, VPS, and Servers. Adult Host Pro https://adulthostpro.com/ Since 2001

                              Comment

                              • RonTheDon
                                Registered User
                                • Dec 2011
                                • 69

                                #16
                                Originally posted by chaze
                                What planet are you fun, compared to html of course it is

                                Any active page is over static.
                                Of course PHP has it's purpose and if you don't need to use it, then there is no reason too... as you stated in your previous post (you using it only when needed).

                                I personally wouldn't compare it to HTML because PHP isn't only used for web development. PHP can be ran from the command line and used as a web service. The world I come from is the world of many years as a Software Engineer.

                                ICQ: 609051050

                                Comment

                                • DWB
                                  Registered User
                                  • Jul 2003
                                  • 31779

                                  #17
                                  Originally posted by machinegunkelly
                                  <?php echo date("Y"); ?>

                                  ;)
                                  +1

                                  You can also create an include and put it into the footer of all of your sites. Change it once, it changes it across all of them.

                                  Comment

                                  Working...