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

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

revision 41 by dpavlin, Fri Dec 5 18:40:00 2003 UTC revision 42 by dpavlin, Thu Mar 4 22:43:50 2004 UTC
# Line 101  if(isset($libsession) && $sess_access_le Line 101  if(isset($libsession) && $sess_access_le
101                  subject_id = "                  subject_id = "
102                  . $subject_id;                  . $subject_id;
103                                    
104          $rs = mysql_query($sql, $con);          $rs = xx_query($sql, $con);
105          $row = mysql_fetch_array ($rs);          $row = xx_fetch_array ($rs);    
106          $rqs_date_modified = $row["rqs_date_modified"];          $rqs_date_modified = $row["rqs_date_modified"];
107          $rqs_date_created = $row["rqs_date_created"];          $rqs_date_created = $row["rqs_date_created"];
108          $rqs_account_created = $row["rqs_account_created"];          $rqs_account_created = $row["rqs_account_created"];
# Line 301  if(isset($libsession) && $sess_access_le Line 301  if(isset($libsession) && $sess_access_le
301                          rsi.infotype_id = i.infotype_id                          rsi.infotype_id = i.infotype_id
302                          ORDER BY mi.masterinfotype, i.infotype";                          ORDER BY mi.masterinfotype, i.infotype";
303    
304          $rs = mysql_query($sql, $con);          $rs = xx_query($sql, $con);
305    
306          $rows = mysql_num_rows($rs);          $rows = xx_num_rows($rs);
307    
308          // initialize          // initialize
309          $last_masterinfotype_id = 0;          $last_masterinfotype_id = 0;
310    
311          $rowcount = 0;          $rowcount = 0;
312          while ($row = mysql_fetch_array ($rs)) {          while ($row = xx_fetch_array ($rs)) {
313    
314                  // Fetch information types for this subject                  // Fetch information types for this subject
315                  $infotype_id = $row["infotype_id"];                  $infotype_id = $row["infotype_id"];
# Line 369  if(isset($libsession) && $sess_access_le Line 369  if(isset($libsession) && $sess_access_le
369                  rsi.resource_id = r.resource_id                  rsi.resource_id = r.resource_id
370                  ORDER BY m.masterinfotype, i.infotype, r.title";                  ORDER BY m.masterinfotype, i.infotype, r.title";
371    
372          $rs = mysql_query($sql, $con);          $rs = xx_query($sql, $con);
373    
374          // printf("sql was: %s<BR><BR>", $sql);          // printf("sql was: %s<BR><BR>", $sql);
375    
376          while ($row = mysql_fetch_array ($rs)) {          while ($row = xx_fetch_array ($rs)) {
377    
378                  // Fetch information types for this subject                  // Fetch information types for this subject
379                  $description = $row["description"];                  $description = $row["description"];

Legend:
Removed from v.41  
changed lines
  Added in v.42

  ViewVC Help
Powered by ViewVC 1.1.26