- Timestamp:
- 06/06/13 15:42:46 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
schedule/Module/calendar.php
r16753 r16758 15 15 <script src="js/Graph.js"></script> 16 16 <script src="Module/src/js/lang/en.js"></script> 17 <!-- <script src="js/xmlrequest.js"></script> -->18 17 <style type="text/css"> 19 18 .highlight { color: #0f0 !important; font-weight: bold; } 20 .highlight2 { color: #0f0 !important; font-weight: bold; }21 19 </style> 22 20 … … 74 72 $(document).ready(function(){ 75 73 Graph(); 76 var date= new Date();77 var Year=date.getFullYear();78 var Day=date.getDay()+2;79 var Month=date.getMonth()+1;80 <?php81 $sqlSched1=mysql_query("SELECT*FROM schedule");82 while($rowSched1=mysql_fetch_array($sqlSched1))83 {84 85 $timestamp1=strtotime($rowSched1['fStart']);86 ?>87 if(Year+""+Day+""+Month==<?php echo date('Ydm',$timestamp1); ?>)88 {89 alert('wa');90 }91 <?php92 }93 ?>94 95 74 }); 96 75 </script> … … 105 84 GetData(); 106 85 107 108 //alert(year+'-'+month+'-'+day);109 //window.location = 'index.php?days='+year+'-'+month+'-'+day;110 86 $('#Scheduling').load('Module/Scheduling.php?days='+year+'-'+month+'-'+day); 111 87 //$.get("function/function.php", {day:year+'-'+month+'-'+day}); 112 $.get("function/SplitDelete.php", {days:year+'-'+month+'-'+day});88 //$.get("function/SplitDelete.php", {days:year+'-'+month+'-'+day}); 113 89 114 90
Note:
See TracChangeset
for help on using the changeset viewer.