Sign in/out retroactively
Time/Date IN
Name:
echo "
$first_name $last_name
";?>
Date:
$month = 1; while( $month < 13 ) { $monthname = getmonth($month); if ($month == $premonth){ $thismonth = "SELECTED"; } else { $thismonth = "";} echo "
$monthname
"; $month ++; } ?>
$day = 1; while( $day < 32 ) { if ($day == $preday){ $thisday = "SELECTED"; } else { $thisday = "";} echo "
$day
"; $day ++; } ?>
$year = date("Y")-1; $fun = $year; while( $year < $fun+5 ) { if ($year == $preyear){ $thisyear = "SELECTED"; } else { $thisyear = "";} echo "
$year
"; $year ++; } ?>
Time:
$hour = 0; while( $hour < 24 ) { if($hour<10) { $hour = "0$hour"; } else { $hour = "$hour"; } if ($hour == $prehour){ $thishour = "SELECTED"; } else { $thishour = "";} echo "
$hour
"; $hour ++; } ?>
:
$minute = 00; while( $minute < 60 ) { if($minute<10) { $minute = "0$minute"; } else { $minute = "$minute"; } if ($minute == $preminute){ $thisminute = "SELECTED"; } else { $thisminute = "";} echo "
$minute
"; $minute ++; } ?>
(24 hour time)
Activity:
//If it's not from the main page, grab it from the visits table if(isset($_GET[activity])){ $$_GET[activity] = "SELECTED"; } else { $$activity = "SELECTED"; } ?>
>Using the Shop
>Volunteering for the shop
>Mechanic/Admin
>Fucking the dog and drinking our beer
Time/Date OUT
Date:
$month = 1; while( $month < 13 ) { $monthname = getmonth($month); if ($month == $premonthout){ $thismonth = "SELECTED"; } else { $thismonth = "";} echo "
$monthname
"; $month ++; } ?>
$day = 1; while( $day < 32 ) { if ($day == $predayout){ $thisday = "SELECTED"; } else { $thisday = "";} echo "
$day
"; $day ++; } ?>
$year = date("Y")-1; $fun = $year; while( $year < $fun+5 ) { if ($year == $preyearout){ $thisyear = "SELECTED"; } else { $thisyear = "";} echo "
$year
"; $year ++; } ?>
Time:
$hour = 0; while( $hour < 24 ) { if($hour<10) { $hour = "0$hour"; } else { $hour = "$hour"; } if ($hour == $prehourout){ $thishour = "SELECTED"; } else { $thishour = "";} echo "
$hour
"; $hour ++; } ?>
:
$minute = 00; while( $minute < 60 ) { if($minute<10) { $minute = "0$minute"; } else { $minute = "$minute"; } if ($minute == $preminuteout){ $thisminute = "SELECTED"; } else { $thisminute = "";} echo "
$minute
"; $minute ++; } ?>
(24 hour time)
if ($_GET[refer] == "membersin"){ echo "
Check here to stay signed in (ignore signout time).
"; } ?>
" >
" >