Changeset 15805 for schedule


Ignore:
Timestamp:
05/20/13 18:11:52 (11 years ago)
Author:
tanio
Message:
 
Location:
schedule
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • schedule/Transaction/insert.php

    r15689 r15805  
    11<?php
     2include 'include/factdb.php';
     3
    24 $Time =$_GET['Time'];
    35 $SelectedSource = $_GET['Source'];
  • schedule/function/function.php

    r15774 r15805  
    11 <script type="text/javascript">
     2 
     3 <?php
     4 if($_GET['day'] || $_GET['month'] || $_GET['year']){
     5 
     6 ?>
     7 
     8        var day = <?php echo $_GET['day'];  ?>
     9        var month = <?php  echo $_GET['month']; ?>
     10        var year = <?php echo $_GET['year']; ?>
     11        var fullday=day+'-'+month+'-'+year;
     12               
     13 
     14 
     15 <?php
     16 
     17 
     18 }else{
     19 
     20 ?>
     21 
    222        $(document).ready(function(){
    323        var currentDate = new Date();
     
    626        var year = currentDate.getFullYear();
    727        var fullday=day+'-'+month+'-'+year;
     28        <?php    }  ?>
     29        <?php
    830       
    9         <?php
     31       
    1032       
    1133                $cntsource=mysql_query("SELECT COUNT(*) as `SourceID` FROM source");
     
    2446                for(var i=1;i<<?php echo $Total; ?>;i++)
    2547                {
    26                         if($('#Time').val()||$('#Time').val()>0)
     48                        if($('#Time'+cnt).val()||$('#Time'+cnt).val()>0)
    2749                        {
    2850                                Time=$('#Time'+i).val();
Note: See TracChangeset for help on using the changeset viewer.