@ 2014-01-26T19:36:00Z <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<title>Kalender</title>
<link rel="stylesheet" href="./style.css" type="text/css"/>
<script language="JavaScript1.4" type="text/javascript" src="/5582864login/z9z5hj8sezfrh635rzh86d53gh37/nav.js"></script>
<script language="javascript" type="text/javascript" src="/5582864login/z9z5hj8sezfrh635rzh86d53gh37/navi.js"></script>
</head>
<body>
<div align="center">
<h2>Kalender</h2>
<?php
$action = $_GET['action'];
if($action == 'go')
{
$monthgo = $_POST['monthgo'];
$yeargo = $_POST['yeargo'];
echo '<meta http-equiv="refresh" content="0; URL=?month='.$monthgo.'&year='.$yeargo.'">';
}
// imagelink
$linkhref = 'onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'';
$linkhrefend = '\',\'\',\'./template/images/';
$linkhrefendend = '.gif\',1)"';
$imghref = 'onLoad="MM_preloadImages(\'./template/images/';
$imghrefend = '.gif\')"';
// imagelink End
$month = isset($_GET['month']) ? intval($_GET['month']) : date('n');
$year = isset($_GET['year']) ? intval($_GET['year']) : date('Y');
$weekdays = array('Sonntag', 'Montag', 'Dienstag', 'Mittwoch', 'Donnerstag', 'Freitag', 'Samstag');
$months = array('01' => 'Januar', '02' => 'Februar', '03' => 'März', '04' => 'April', '05' => 'Mai', '06' => 'Juni', '07' => 'Juli', '08' => 'August', '09' => 'September', '10' => 'Oktober', '11' => 'November', '12' => 'Dezember');
$options['today_class'] = "background-color:#FFFF00;";
$prev_symbol = "«";
$next_symbol = "»";
$caption = "Kalender";
$options['month_link'] = '<a href="'.$_SERVER['PHP_SELF'].'?month=%d&year=%d">%s</a>';
$total_days = date('t', mktime(0, 0, 0, $month, 1, $year));
$day_offset = date('w', mktime(0, 0, 0, $month, 1, $year));
$wochentag = date('W', mktime(0, 0, 0, $month, 1, $year));
list($n_month, $n_year, $n_day) = split(', ', strftime('%m, %Y, %d'));
$day_highlight = (($n_month == $month) && ($n_year == $year));
list($n_prev_month, $n_prev_year) = split(', ', strftime('%m, %Y', mktime(0, 0, 0, $month-1, 1, $year)));
$prev_month_link = sprintf($options['month_link'], $n_prev_month, $n_prev_year, $prev_symbol);
list($n_next_month, $n_next_year) = split(', ', strftime('%m, %Y', mktime(0, 0, 0, $month+1, 1, $year)));
$next_month_link = sprintf($options['month_link'], $n_next_month, $n_next_year, $next_symbol);
echo '<form action="?action=go" method="post">Monat <input class="datum" type="text" name="monthgo" value="'.$month.'"/> im Jahr <input class="datum" type="text" name="yeargo" value="'.$year.'"/> <input type="submit" name="submit" value="anzeigen"/></form>';
echo '<br/>
<table align="center" border="1">
<thead>
<tr>
<th align="center" onclick="location.href=\'?month='.$n_prev_month.'&year='.$n_prev_year.'\'">'.$prev_symbol.'</th>
<th colspan="5" align="center">'.$months[strftime('%m', mktime(0, 0, 0, $month, 1, $year))].' '.$year.'</th>
<th align="center" onclick="location.href=\'?month='.$n_next_month.'&year='.$n_next_year.'\'">'.$next_symbol.'</th>
</tr>';
echo "<tr>\n";
foreach ($weekdays as $weekday)
{
echo "\t";
echo "<th width=\"14,3%\" align=\"center\">".$weekday."</th>\n";
echo "\n";
}
echo "\n";
echo "\n";
echo "</tr></thead><tbody>\n";
echo "<tr>\n";
if ($day_offset > 0) {
for ($i=0; $i<$day_offset; $i++)
{
echo "\t";
echo '<td align="center" class="empty_cell">';
echo "\n";
}
}
for ($day=1; $day<=$total_days; $day++)
{
if ($day_highlight && ($day == $n_day))
{
echo "\t";
echo '<td align="center" width=\"14,3%\" id="day_'.$day.'" style="'.$options['today_class'].'"><a target="rechts" href="/5582864login/z9z5hj8sezfrh635rzh86d53gh37/manager.php?action=newgig&month='.$month.'&year='.$year.'&day='.$day.'">'.$day.'</a>';
echo "\n";
} else { $$dayw = $day;
include('./config.php');
$read_out = mysql_query("Select * From gigmanager");
while ($rew = mysql_fetch_array($read_out, MYSQL_ASSOC))
{
if($day == '1'){ $dayto = "0$day";} else { $dayto = "$day";}
if($day == '2'){ $dayto = "0$day";}
if($day == '3'){ $dayto = "0$day";}
if($day == '4'){ $dayto = "0$day";}
if($day == '5'){ $dayto = "0$day";}
if($day == '6'){ $dayto = "0$day";}
if($day == '7'){ $dayto = "0$day";}
if($day == '8'){ $dayto = "0$day";}
if($day == '9'){ $dayto = "0$day";}
if($month == '1'){ $monthto = "0$month";} else { $monthto = "$month";}
if($month == '2'){ $monthto = "0$month";}
if($month == '3'){ $monthto = "0$month";}
if($month == '4'){ $monthto = "0$month";}
if($month == '5'){ $monthto = "0$month";}
if($month == '6'){ $monthto = "0$month";}
if($month == '7'){ $monthto = "0$month";}
if($month == '8'){ $monthto = "0$month";}
if($month == '9'){ $monthto = "0$month";}
$date = "$dayto.$monthto.$year";
if($rew['date'] == $date)
{
$frage = mysql_query("Select vorname From login Where username='".$rew['von']."'");
$raw = mysql_fetch_object($frage);
$katego = $rew['kategorie'];
if($katego == '0')
{$kategorie = 'Gigoption';}
if($katego == '1')
{$kategorie = 'Gig';}
if($katego == '2')
{$kategorie = ''.$raw->vorname.' Verhindert';}
if($katego == '3')
{$kategorie = 'Probe';}
if($katego == '5')
{$kategorie = 'Einladung / sonstiges';}
$dayw = $day;
echo "\t";
echo '<td width=\"14,3%\" onclick="location.href=\'/5582864login/z9z5hj8sezfrh635rzh86d53gh37/manager.php?action=lookgig&id='.$rew['id'].'\'" align="center" title="'.$kategorie.': '.$rew['name'].'" class="day'.$rew['kategorie'].'" id="day_'.$day.'">'.$day.'</td>';
echo "\n";
$$dayw = 0;
}
}
if($$dayw != 0)
{
echo "\t";
echo '<td width=\"14,3%\" title="kein Termin vorhanden" align="center" class="day" id="day_'.$day.'">'.$day.'</td>';
echo "\n";
}
}
$day_offset++;
if ($day_offset == 7) {
$day_offset = 0;
if ($day < $total_days)
{
echo "</tr>\n<tr>";
}
}
}
if ($day_offset > 0)
{
$day_offset = 7-$day_offset;
}
if ($day_offset > 0)
{
for ($i=0; $i< $day_offset; $i++)
{
echo '<td class="empty_cell">';
echo "\n";
}
}
echo '</td></tr></tbody></table><br/><br/>';<?php
Enable javascript to submit You have javascript disabled. You will not be able to edit any code.
Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).
Version System time (s) User time (s) Memory (MiB) 5.4.24 0.370 0.033 19.11 5.4.23 0.410 0.043 19.21 5.4.22 0.387 0.040 19.11 5.4.21 0.413 0.033 18.95 5.4.20 0.483 0.040 18.91 5.4.19 0.403 0.033 18.95 5.4.18 0.420 0.037 19.00 5.4.17 0.450 0.040 18.94 5.4.16 0.457 0.037 18.93 5.4.15 0.470 0.037 19.02 5.4.14 0.420 0.037 16.45 5.4.13 0.400 0.040 16.48 5.4.12 0.377 0.037 16.54 5.4.11 0.493 0.030 16.50 5.4.10 0.460 0.043 16.37 5.4.9 0.403 0.043 16.56 5.4.8 0.440 0.037 16.54 5.4.7 0.383 0.037 16.27 5.4.6 0.410 0.040 16.50 5.4.5 0.400 0.033 16.28 5.4.4 0.410 0.047 16.38 5.4.3 0.393 0.040 16.53 5.4.2 0.403 0.030 16.47 5.4.1 0.400 0.040 16.54 5.4.0 0.397 0.040 15.97 5.3.28 0.393 0.037 14.59 5.3.27 0.490 0.030 14.60 5.3.26 0.383 0.037 14.76 5.3.25 0.443 0.037 14.59 5.3.24 0.443 0.033 14.61 5.3.23 0.433 0.037 14.68 5.3.22 0.377 0.043 14.57 5.3.21 0.473 0.040 14.60 5.3.20 0.437 0.030 14.46 5.3.19 0.433 0.037 14.60 5.3.18 0.420 0.027 14.61 5.3.17 0.390 0.043 14.58 5.3.16 0.423 0.037 14.65 5.3.15 0.377 0.040 14.60 5.3.14 0.417 0.037 14.57 5.3.13 0.407 0.040 14.54 5.3.12 0.413 0.033 14.70 5.3.11 0.387 0.033 14.57 5.3.10 0.397 0.043 14.05 5.3.9 0.387 0.040 14.04 5.3.8 0.430 0.033 13.90 5.3.7 0.410 0.037 14.02 5.3.6 0.410 0.030 13.99 5.3.5 0.403 0.037 13.99 5.3.4 0.380 0.037 13.80 5.3.3 0.203 0.030 13.81 5.3.2 0.000 0.040 13.57 5.3.1 0.480 0.037 13.54 5.3.0 0.487 0.037 13.53
preferences:dark mode live preview
133.38 ms | 1394 KiB | 7 Q