Changeset 15805
- Timestamp:
- 05/20/13 18:11:52 (12 years ago)
- Location:
- schedule
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
schedule/Transaction/insert.php
r15689 r15805 1 1 <?php 2 include 'include/factdb.php'; 3 2 4 $Time =$_GET['Time']; 3 5 $SelectedSource = $_GET['Source']; -
schedule/function/function.php
r15774 r15805 1 1 <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 2 22 $(document).ready(function(){ 3 23 var currentDate = new Date(); … … 6 26 var year = currentDate.getFullYear(); 7 27 var fullday=day+'-'+month+'-'+year; 28 <?php } ?> 29 <?php 8 30 9 <?php31 10 32 11 33 $cntsource=mysql_query("SELECT COUNT(*) as `SourceID` FROM source"); … … 24 46 for(var i=1;i<<?php echo $Total; ?>;i++) 25 47 { 26 if($('#Time' ).val()||$('#Time').val()>0)48 if($('#Time'+cnt).val()||$('#Time'+cnt).val()>0) 27 49 { 28 50 Time=$('#Time'+i).val();
Note:
See TracChangeset
for help on using the changeset viewer.