} else { $end = ' - ' . $end; } $val .= '<td>' . $s; $val .= $e . '</td>'; $val .= '<td>' . $start; $val .= $end . '</td>'; //echo '<li>'.str_replace('0','',$sunday[$i]).' '.str_replace('0','',$monday[$i]).' '.str_replace('0','',$tuesday[$i]).' '.str_replace('0','',$wednesday[$i]).' '.str_replace('0','',$thursday[$i]).' '.str_replace('0','',$friday[$i]).' '.str_replace('0','',$saturday[$i]).'</li>'; if (empty($sundays[$i]) == false || empty($mondays[$i]) == false || empty($tuesdays[$i]) == false || empty($wednesdays[$i]) == false || empty($thursdays[$i]) == false || empty($fridays[$i]) == false || empty($saturdays[$i]) == false) { $val .= '<td>' . ParseDays($sundays[$i]); $val .= ParseDays($mondays[$i]); $val .= ParseDays($tuesdays[$i]); $val .= ParseDays($wednesdays[$i]); $val .= ParseDays($thursdays[$i]); $val .= ParseDays($fridays[$i]); $val .= ParseDays($saturdays[$i]) . '</td>'; } else { $val .= '<td>—</td>'; } } $val .= '</tr></table><div class="margin_s"></div>'; echo $val; ?> <?php if (empty($row["prereqs"]) == false) { echo '<div class="scheduleHeader">Prerequisites</div><div class="scheduleData">'; foreach ($prereqs as $p) { echo $p . '<br />'; }
} @unlink($timefile); @file_put_contents($timefile,"#"); events("-> ParseDays()"); ParseDays(); events("-> today_hits()"); today_hits(); events("-> today_size()"); today_size(); events("-> month_size()"); month_size(); events("-> month_hits()"); month_hits(); events("-> ParseDays()"); ParseDays(); events("-> clients_hours()"); clients_hours(); events("-> today_hours_index()"); today_hours_index(); events("-> tablehitsclients()"); tablehitsclients(); events("-> FillCategories()"); FillCategories(); events("-> squid_events_sites()"); squid_events_sites(); events("-> FillCategories()"); FillCategories(); $time=$unix->file_time_min($timefileDB); events("Time {$time}Mn/1440Mn");