/[libdata]/branches/paul_xx/admin/subject_builder.phtml
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 /branches/paul_xx/admin/subject_builder.phtml

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

branches/paul/admin/subject_builder.phtml revision 68 by dpavlin, Thu Mar 18 19:24:54 2004 UTC branches/paul_xx/admin/subject_builder.phtml revision 69 by dpavlin, Thu Mar 18 20:01:09 2004 UTC
# Line 111  if(isset($libsession) && $sess_access_le Line 111  if(isset($libsession) && $sess_access_le
111                  subject_id = "                  subject_id = "
112                  . $subject_id;                  . $subject_id;
113                                    
114          $rs = mysql_tryquery($sql);          $rs = xx_tryquery($sql);
115          $row = mysql_fetch_array ($rs, MYSQL_ASSOC);              $row = xx_fetch_array ($rs, xx_ASSOC);  
116          $rqs_date_modified = $row["rqs_date_modified"];          $rqs_date_modified = $row["rqs_date_modified"];
117          $rqs_date_created = $row["rqs_date_created"];          $rqs_date_created = $row["rqs_date_created"];
118          $rqs_account_created = $row["rqs_account_created"];          $rqs_account_created = $row["rqs_account_created"];
# Line 311  if(isset($libsession) && $sess_access_le Line 311  if(isset($libsession) && $sess_access_le
311                          rsi.infotype_id = i.infotype_id                          rsi.infotype_id = i.infotype_id
312                          ORDER BY mi.masterinfotype, i.infotype";                          ORDER BY mi.masterinfotype, i.infotype";
313    
314          $rs = mysql_tryquery($sql);          $rs = xx_tryquery($sql);
315    
316          $rows = mysql_num_rows($rs);          $rows = xx_num_rows($rs);
317    
318          // initialize          // initialize
319          $last_masterinfotype_id = 0;          $last_masterinfotype_id = 0;
320    
321          $rowcount = 0;          $rowcount = 0;
322          while ($row = mysql_fetch_array ($rs, MYSQL_ASSOC)) {          while ($row = xx_fetch_array ($rs, xx_ASSOC)) {
323    
324                  // Fetch information types for this subject                  // Fetch information types for this subject
325                  $infotype_id = $row["infotype_id"];                  $infotype_id = $row["infotype_id"];
# Line 379  if(isset($libsession) && $sess_access_le Line 379  if(isset($libsession) && $sess_access_le
379                  rsi.resource_id = r.resource_id                  rsi.resource_id = r.resource_id
380                  ORDER BY m.masterinfotype, i.infotype, r.title";                  ORDER BY m.masterinfotype, i.infotype, r.title";
381    
382          $rs = mysql_tryquery($sql);          $rs = xx_tryquery($sql);
383    
384          // printf("sql was: %s<BR><BR>", $sql);          // printf("sql was: %s<BR><BR>", $sql);
385    
386          while ($row = mysql_fetch_array ($rs, MYSQL_ASSOC)) {          while ($row = xx_fetch_array ($rs, xx_ASSOC)) {
387    
388                  // Fetch information types for this subject                  // Fetch information types for this subject
389                  $description = $row["description"];                  $description = $row["description"];

Legend:
Removed from v.68  
changed lines
  Added in v.69

  ViewVC Help
Powered by ViewVC 1.1.26