Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Friday, October 16, 2026

Diff for Metafox/libpub/calendar/calendar1.php between version 1.3 and 1.4

version 1.3, 2010/12/27 13:43:40 version 1.4, 2017/06/09 15:13:00
Line 24  function getEventsOfMonth($date = NULL)
Line 24  function getEventsOfMonth($date = NULL)
                                         .' AND calendar_flag <= "%s"',                                          .' AND calendar_flag <= "%s"',
                                         $date1,                                          $date1,
                                         $date2);                                          $date2);
       $result=mysql_query($query,$GLOBALS["ezin_db_handle"]);        $result = mysqli_query($GLOBALS["ezin_db_handle"], $query);
   
      $return=Array();       $return=Array();
   
         while ($row = @mysql_fetch_array($result, MYSQL_ASSOC)) {          while (($row = mysqli_fetch_array($result, MYSQLI_ASSOC)) != null) {
                   $day = date("j",strtotime($row['calendar_flag']));                    $day = date("j",strtotime($row['calendar_flag']));
           //echo $day."<br>";            //echo $day."<br>";
           $return[$day][$row['id']] = $row;            $return[$day][$row['id']] = $row;
   
         }          }
         @mysql_free_result($result);          mysqli_free_result($result);
   
      ezin_close_db_connection();       ezin_close_db_connection();
   

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

Platon Group <platon@platon.org> http://platon.org/
Copyright © 2002-2006 Platon Group
Site powered by Metafox CMS
Go to Top