/[hr-web]/UPlivi.php
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /UPlivi.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by dpavlin, Fri Apr 20 08:25:32 2001 UTC revision 1.2 by dpavlin, Sat Apr 21 10:59:29 2001 UTC
# Line 33  Line 33 
33                                  if ($dat_od) {                                  if ($dat_od) {
34                                          list($d, $m, $y) = split("\s*\.+\s*", $dat_od);                                          list($d, $m, $y) = split("\s*\.+\s*", $dat_od);
35                                          if (!checkdate($m, $d, $y)) $warning = 1;                                          if (!checkdate($m, $d, $y)) $warning = 1;
36                                          $datum_od = ComposeDate($dm, $m, $y);                                          $datum_od = ComposeDate($d, $m, $y);
37                                  } else $warning = 2;                                  } else $warning = 2;
38                          }                          }
39                          if (!$warning) {                          if (!$warning) {
40                                  if ($dat_do) {                                  if ($dat_do) {
41                                          list($d, $m, $y) = split("\s*\.+\s*", $dat_do);                                          list($d, $m, $y) = split("\s*\.+\s*", $dat_do);
42                                          if (!checkdate($m, $d, $y)) $warning = 3;                                          if (!checkdate($m, $d, $y)) $warning = 3;
43                                          $datum_do = ComposeDate($dm, $m, $y);                                          $datum_do = ComposeDate($d, $m, $y);
44                                  } else $warning = 4;                                  } else $warning = 4;
45                          }                          }
46                          if (!$warning) {                          if (!$warning) {

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.26