/[hr-web]/OpciPodaci.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 /OpciPodaci.php

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

revision 1.4 by ravilov, Fri Jun 15 09:39:04 2001 UTC revision 1.5 by ravilov, Wed Jun 19 18:32:42 2002 UTC
# Line 34  Line 34 
34          $tpl->assign("dat_rod_m", $row[3]["mon"]);          $tpl->assign("dat_rod_m", $row[3]["mon"]);
35          $tpl->assign("dat_rod_g", $row[3]["year"]);          $tpl->assign("dat_rod_g", $row[3]["year"]);
36          $spol = $row[4];          $spol = $row[4];
37          if (ereg("^[mM]$", $row[4])) $spol = 1;          if (ereg("^[mM]$", $row[4])) $spol = 'M';
38          if (ereg("^[zZ¾®]$", $row[4])) $spol = 2;          if (ereg("^[zZ¾®žŽfF]$", $row[4])) $spol = 'F';
39          $tpl->assign("spol", $spol);          $tpl->assign("spol", $spol);
40          $tpl->assign("naziv_struke", $row[5]);          $tpl->assign("naziv_struke", $row[5]);
41          $tpl->assign("smjer", $row[6]);          $tpl->assign("smjer", $row[6]);

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

  ViewVC Help
Powered by ViewVC 1.1.26