Changeset 16020 for schedule


Ignore:
Timestamp:
05/22/13 15:12:54 (12 years ago)
Author:
tanio
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • schedule/function/function.php

    r16016 r16020  
    1616        var year2 = currentDate2.getFullYear();
    1717        var fullday2=day2+'-'+month2+'-'+year2;
    18        
     18        var currentDate = new Date();
     19        var day;
     20        var month;
     21        var year;
     22        var fullday;
    1923        <?php
    2024 if($_GET['day'] || $_GET['month'] || $_GET['year']){
     
    2226 ?>
    2327 
    24         var day = <?php echo $_GET['day'];  ?>
    25         var month = <?php  echo $_GET['month']; ?>
    26         var year = <?php echo $_GET['year']; ?>
    27         var fullday=day+'-'+month+'-'+year;
     28        day = <?php echo $_GET['day'];  ?>
     29        month = <?php  echo $_GET['month']; ?>
     30        year = <?php echo $_GET['year']; ?>
     31        fullday=day+'-'+month+'-'+year;
    2832               
    2933 
     
    3539 
    3640 ?>
    37         var currentDate = new Date();
    38         var day = currentDate.getDate();
    39         var month = currentDate.getMonth() + 1;
    40         var year = currentDate.getFullYear();
    41         var fullday=day+'-'+month+'-'+year;
     41       
     42       
     43        month = currentDate.getMonth() + 1;
     44        year = currentDate.getFullYear();
     45        fullday=day+'-'+month+'-'+year;
    4246        <?php    }  ?>
     47       
    4348        <?php
    4449       
Note: See TracChangeset for help on using the changeset viewer.