|
@@ -1142,15 +1142,23 @@ if workFabrika = 1 and week => 1 and week <= 5 and hour > 8 and age => 16 and ag
|
|
|
end
|
|
|
|
|
|
if hotelRoom['pav_hotel'] > 0:
|
|
|
- if hotelRoomDays['pav_hotel'] = daystart: $stat_msg += '<BR>You have 1 night left on your pav hotel booking.'
|
|
|
- if hotelRoomDays['pav_hotel'] < daystart and hour < 11: $stat_msg += '<BR>Your pav hotel booking has expired, and you cannot return to your room after 11:00'
|
|
|
- if hotelRoomDays['pav_hotel'] < daystart and hour >= 11: hotelRoom['pav_hotel'] = 0
|
|
|
+ if hotelRoomDays['pav_hotel'] = daystart:
|
|
|
+ $stat_msg += '<BR>You have 1 night left on your pav hotel booking.'
|
|
|
+ elseif hotelRoomDays['pav_hotel'] + 1 = daystart and hour < 11:
|
|
|
+ $stat_msg += '<BR>Your room at the Pavlosk hotel has check out today at 11:00'
|
|
|
+ elseif hotelRoomDays['pav_hotel'] < daystart:
|
|
|
+ hotelRoom['pav_hotel'] = 0
|
|
|
+ end
|
|
|
end
|
|
|
|
|
|
if hotelRoom['city_hotel'] > 0:
|
|
|
- if hotelRoomDays['city_hotel'] = daystart: $stat_msg += '<BR>You have 1 night left on your city center hotel booking.'
|
|
|
- if hotelRoomDays['city_hotel'] < daystart and hour < 11: $stat_msg += '<BR>Your city center hotel booking has expired, and you cannot return to your room after 11:00'
|
|
|
- if hotelRoomDays['city_hotel'] < daystart and hour >= 11: hotelRoom['city_hotel'] = 0
|
|
|
+ if hotelRoomDays['city_hotel'] = daystart:
|
|
|
+ $stat_msg += '<BR>You have 1 night left on your pav hotel booking.'
|
|
|
+ elseif hotelRoomDays['city_hotel'] + 1 = daystart and hour < 11:
|
|
|
+ $stat_msg += '<BR>Your room at the St Petersburg hotel has check out today at 11:00'
|
|
|
+ elseif hotelRoomDays['city_hotel'] < daystart:
|
|
|
+ hotelRoom['city_hotel'] = 0
|
|
|
+ end
|
|
|
end
|
|
|
|
|
|
if hour >= 8 and hour < 14 and week < 6 and mid($start_type,1,2) = 'sg' and SchoolAtestat = 0 and kanikuli = 0 and schoolProgulDay ! daystart:
|