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

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

branches/paul/admin/scribe.phtml revision 68 by dpavlin, Thu Mar 18 19:24:54 2004 UTC branches/paul_xx/admin/scribe.phtml revision 69 by dpavlin, Thu Mar 18 20:01:09 2004 UTC
# Line 77  if(isset($libsession) && $auth_page == 1 Line 77  if(isset($libsession) && $auth_page == 1
77                          . $page_title                          . $page_title
78                          . "', 1, 0)";                          . "', 1, 0)";
79    
80                  mysql_tryquery ($sql);                  xx_tryquery ($sql);
81                  $page_id = mysql_insert_id();                  $page_id = xx_insert_id();
82                                    
83                  // If a coursescribe page -- write the row into the course table                  // If a coursescribe page -- write the row into the course table
84                  if ($pagetype_id == 3) {                  if ($pagetype_id == 3) {
# Line 89  if(isset($libsession) && $auth_page == 1 Line 89  if(isset($libsession) && $auth_page == 1
89                                  . "', 'Information Resources and Services for:')";                                  . "', 'Information Resources and Services for:')";
90                    
91                          // Failed                          // Failed
92                          mysql_tryquery($sql);                                                    xx_tryquery($sql);                              
93                  }                  }
94    
95          }          }
# Line 105  if(isset($libsession) && $auth_page == 1 Line 105  if(isset($libsession) && $auth_page == 1
105                          LEFT JOIN course c using (page_id)                          LEFT JOIN course c using (page_id)
106                          WHERE p.page_id = " . $page_id;                          WHERE p.page_id = " . $page_id;
107    
108                  $rs = mysql_tryquery($sql);                  $rs = xx_tryquery($sql);
109                  $row = mysql_fetch_array ($rs, MYSQL_ASSOC);                  $row = xx_fetch_array ($rs, xx_ASSOC);
110                  $page_title = $row["page_title"];                  $page_title = $row["page_title"];
111                  $pagetitle_style = $row["pagetitle_style"];                  $pagetitle_style = $row["pagetitle_style"];
112                  $style_id = $row["style_id"];                  $style_id = $row["style_id"];
# Line 475  if(isset($libsession) && $auth_page == 1 Line 475  if(isset($libsession) && $auth_page == 1
475                          p.page_id = "                          p.page_id = "
476                          . $page_id                          . $page_id
477                          . " AND p.style_id = s.style_id";                          . " AND p.style_id = s.style_id";
478                  $rs = mysql_tryquery($sql);                  $rs = xx_tryquery($sql);
479                  $row = mysql_fetch_array ($rs, MYSQL_ASSOC);                  $row = xx_fetch_array ($rs, xx_ASSOC);
480                  $css_file = $row["css_file"];                  $css_file = $row["css_file"];
481                                    
482                  if (strlen($css_file) > 0) {                  if (strlen($css_file) > 0) {
# Line 581  if(isset($libsession) && $auth_page == 1 Line 581  if(isset($libsession) && $auth_page == 1
581                          WHERE page_id = " . $page_id                          WHERE page_id = " . $page_id
582                          . " ORDER BY e.element_order";                          . " ORDER BY e.element_order";
583    
584                  $rs = mysql_tryquery($sql);                  $rs = xx_tryquery($sql);
585                                    
586                  // Make a copy of the result set for cursor manipulation later                  // Make a copy of the result set for cursor manipulation later
587                  $rscopy = $rs;                  $rscopy = $rs;
588    
589                  // If the previous didn't work, do this explicitly                                // If the previous didn't work, do this explicitly              
590                  // $rscopy = mysql_tryquery($sql);                  // $rscopy = xx_tryquery($sql);
591    
592                  // Create a positional variable, may contain an element or a row of add buttons                  // Create a positional variable, may contain an element or a row of add buttons
593                  $position = 1;                  $position = 1;
# Line 688  if(isset($libsession) && $auth_page == 1 Line 688  if(isset($libsession) && $auth_page == 1
688    
689    
690                  // Cycle through each row of page elements                  // Cycle through each row of page elements
691                  while ($row = mysql_fetch_array ($rs, MYSQL_ASSOC)) {                  while ($row = xx_fetch_array ($rs, xx_ASSOC)) {
692    
693                          // General element information                          // General element information
694                          $element_id = $row["element_id"];                          $element_id = $row["element_id"];

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

  ViewVC Help
Powered by ViewVC 1.1.26