\n"; if ($files[$x] == "") { echo " \n"; echo " \n"; echo " \n"; echo " \n"; break; } else { echo " \n"; } if ($files[$x+1] == "") { echo " \n"; echo " \n"; echo " \n"; break; } else { echo " \n"; } if ($files[$x+2] == "") { echo " \n"; echo " \n"; break; } else { echo " \n"; } echo " \n"; $x+=3; } $dir = "./solar/graphs/"; $files = file('./solar/top3.dat', FILE_IGNORE_NEW_LINES | FILE_SKIP_EMPTY_LINES); echo " \n"; echo " \n"; echo " \n"; echo " \n"; $name = $dir . "graph-" . substr($files[2],6,4) . substr($files[2],3,2) . substr($files[2],0,2) . ".png"; echo " \n"; $name = $dir . "graph-" . substr($files[1],6,4) . substr($files[1],3,2) . substr($files[1],0,2) . ".png"; echo " \n"; $name = $dir . "graph-" . substr($files[0],6,4) . substr($files[0],3,2) . substr($files[0],0,2) . ".png"; echo " \n"; echo " \n"; $dir = "./solar/graphs/"; $files = file('./solar/bot3.dat', FILE_IGNORE_NEW_LINES | FILE_SKIP_EMPTY_LINES); echo " \n"; echo " \n"; echo " \n"; echo " \n"; $name = $dir . "graph-" . substr($files[0],6,4) . substr($files[0],3,2) . substr($files[0],0,2) . ".png"; echo " \n"; $name = $dir . "graph-" . substr($files[1],6,4) . substr($files[1],3,2) . substr($files[1],0,2) . ".png"; echo " \n"; $name = $dir . "graph-" . substr($files[2],6,4) . substr($files[2],3,2) . substr($files[2],0,2) . ".png"; echo " \n"; echo " \n"; echo "
Graph of production so far today.
Previous 9 days
   
\"Production  
\"Production 
\"Production
Top 3
\"Production\"Production\"Production
Bottom 3
\"Production\"Production\"Production
\n"; ?>
PV-Log
Copyright: Martin Zacho