Changeset 16236
- Timestamp:
- 05/25/13 01:31:11 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
schedule/Module/calendar.php
r16235 r16236 79 79 var Month=date.getMonth(); 80 80 <?php 81 $sqlSched =mysql_query("SELECT*FROM schedule");82 while($rowSched =mysql_fetch_array($sqlSched))81 $sqlSched1=mysql_query("SELECT*FROM schedule"); 82 while($rowSched1=mysql_fetch_array($sqlSched1)) 83 83 { 84 $timestamp =strtotime(<?php echo $rowSched['fStart']; ?>);84 $timestamp1=strtotime(<?php echo $rowSched1['fStart']; ?>); 85 85 ?> 86 if(Year+""+Day+""+Month==<?php echo date('Ydm',$timestamp ); ?>)86 if(Year+""+Day+""+Month==<?php echo date('Ydm',$timestamp1); ?>) 87 87 { 88 88 alert('wa'); … … 110 110 var lines = []; 111 111 <?php 112 $sqlSched =mysql_query("SELECT*FROM schedule");113 while($rowSched =mysql_fetch_array($sqlSched))114 { 115 $timestamp =strtotime(<?php echo $rowSched['fStart']; ?>);112 $sqlSched2=mysql_query("SELECT*FROM schedule"); 113 while($rowSched2=mysql_fetch_array($sqlSched2)) 114 { 115 $timestamp2=strtotime(<?php echo $rowSched2['fStart']; ?>); 116 116 ?> 117 if(year+"-"+day+"-"+month==<?php echo date('Y-d-m',$timestamp ); ?>)117 if(year+"-"+day+"-"+month==<?php echo date('Y-d-m',$timestamp2); ?>) 118 118 { 119 119 alert('zz');
Note:
See TracChangeset
for help on using the changeset viewer.