Changeset 17438 for schedule/Module
- Timestamp:
- 01/03/14 15:11:19 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
schedule/Module/control.php
r17437 r17438 313 313 //$data = array(); 314 314 //$counter=0; 315 $prevtimestamp = 0; 316 315 317 while($rows = mysql_fetch_array($fetch)) 316 318 { … … 477 479 var newOutertr = document.createElement("tr"); 478 480 479 newtable.appendChild(newtd_c1);481 /*newtable.appendChild(newtd_c1); 480 482 newtable.appendChild(newtd_c6); 481 483 newtable.appendChild(newtd_c7); 482 484 483 newdiv.appendChild(newtable); 484 485 if(nextrow != null){ 486 var doc = document.getElementById(nextrow); 487 $(doc).after(newdiv); 488 }else{ 489 targetView.appendChild(newdiv); 490 //$(targetView).after(newtr<?php echo $cnt; ?>); 485 newdiv.appendChild(newtable); */ 486 487 if($prevtimestamp != 0 && $prevtimestamp!= timestamp) { 488 newtable.appendChild(newtd_c1); 489 newtable.appendChild(newtd_c6); 490 newtable.appendChild(newtd_c7); 491 492 newdiv.appendChild(newtable); 493 494 if(nextrow != null){ 495 var doc = document.getElementById(nextrow); 496 $(doc).after(newdiv); 497 }else{ 498 targetView.appendChild(newdiv); 499 //$(targetView).after(newtr<?php echo $cnt; ?>); 500 } 491 501 } 492 502 <?php … … 494 504 495 505 $cnt++; 506 $prevtimestamp = $timestamp; 496 507 } 508 509 497 510 if(mysql_num_rows($fetch)<1) 498 511 {
Note:
See TracChangeset
for help on using the changeset viewer.