
[insert_php]
function get_request_parameter( $key, $default = " ) {
// If not request set
if ( ! isset( $_REQUEST[ $key ] ) || empty( $_REQUEST[ $key ] ) ) {
return $default;
}
// Set so process it
return strip_tags( (string) wp_unslash( $_REQUEST[ $key ] ) );
}
$friday = strtotime('this Friday');
$saturday = strtotime('this Saturday');
$sunday = strtotime('this Sunday');
if ((int)(date('N')) == 5)
if ((int)(date('N')) == 6)
if ((int)(date('N')) == 7)
$access_code=get_request_parameter('access_code',");
echo "
date( "l, M d, Y", $friday) .
" and leaving " .date( "l, M d, Y", $sunday) . "
$iframe = '';
echo $iframe;[/insert_php]