|
@@ -64,23 +64,12 @@ gs 'telefon', 'setup'
|
|
|
|
|
|
VersionCheck = 5030
|
|
VersionCheck = 5030
|
|
|
|
|
|
-if $start = 'city':
|
|
|
|
- birthyear = year - age
|
|
|
|
- birthmonth = 4
|
|
|
|
- birthday = 1
|
|
|
|
- pcs_dob = birthyear * 10000
|
|
|
|
- pcs_dob += (birthmonth * 100)
|
|
|
|
- pcs_dob += birthday
|
|
|
|
-else
|
|
|
|
-
|
|
|
|
- pcs_dob = birthyear * 10000
|
|
|
|
- pcs_dob += (birthmonth * 100)
|
|
|
|
- pcs_dob += birthday
|
|
|
|
|
|
+pcs_dob = birthyear * 10000
|
|
|
|
+pcs_dob += (birthmonth * 100)
|
|
|
|
+pcs_dob += birthday
|
|
|
|
|
|
- age = year - ((pcs_dob - (pcs_dob mod 10000)) / 10000)
|
|
|
|
- if ((month * 100) + day) < pcs_dob mod 10000: age -= 1
|
|
|
|
-
|
|
|
|
-end
|
|
|
|
|
|
+age = year - ((pcs_dob - (pcs_dob mod 10000)) / 10000)
|
|
|
|
+if ((month * 100) + day) < pcs_dob mod 10000: age -= 1
|
|
|
|
|
|
if age < 17:
|
|
if age < 17:
|
|
vidage = age
|
|
vidage = age
|