Rev 17206 | Rev 17327 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 17206 | Rev 17311 | ||
---|---|---|---|
Line 87... | Line 87... | ||
87 | !endif |
87 | !endif |
88 | !next c |
88 | !next c |
89 | 89 | ||
90 | !if $save!=$empty |
90 | !if $save!=$empty |
91 | jquery_defined=!defof jquery_defined in themes/$wims_theme/header.phtml |
91 | jquery_defined=!defof jquery_defined in themes/$wims_theme/header.phtml |
92 | !if $jquery_defined=yes |
- | |
93 |
|
92 | expmon=!char 6 to 7 of $expdate |
94 |
|
93 | expday=!char 9 to 10 of $expdate |
95 |
|
94 | expyear=!char 1 to 4 of $expdate |
96 | !else |
- | |
97 | expmon=!char 2,3 of $[abs(floor($monthexpdate))+100] |
- | |
98 | expday=!char 2,3 of $[abs(floor($dayexpdate))+100] |
- | |
99 | expyear=!char -4 to -1 of $[abs(floor($yearexpdate))+100000] |
- | |
100 | expdate=$(expyear)$(expmonth)$(expday) |
- | |
101 | !endif |
- | |
102 | !if $expday>=1 and $expday<=31 and $expmon>=1 and $expmon<=12 \ |
95 | !if $expday>=1 and $expday<=31 and $expmon>=1 and $expmon<=12 \ |
103 | and $expyear>=$thisyear and $expyear<=$thisyear+1 \ |
96 | and $expyear>=$thisyear and $expyear<=$thisyear+1 \ |
104 | and $expyear$expmon$expday>$today \ |
97 | and $expyear$expmon$expday>$today \ |
105 | and $expyear$expmon$expday<=$class_expiration \ |
98 | and $expyear$expmon$expday<=$class_expiration \ |
106 | and N notin $expmon$expday$expyear |
99 | and N notin $expmon$expday$expyear |