/[libdata]/branches/paul_xx/admin/include/scribe_forms.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 /branches/paul_xx/admin/include/scribe_forms.php

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

branches/paul/admin/include/scribe_forms.php revision 68 by dpavlin, Thu Mar 18 19:24:54 2004 UTC branches/paul_xx/admin/include/scribe_forms.php revision 69 by dpavlin, Thu Mar 18 20:01:09 2004 UTC
# Line 904  function displayElement ($element_id, $p Line 904  function displayElement ($element_id, $p
904                  . " AND element_id = "                  . " AND element_id = "
905                  . $element_id;                  . $element_id;
906                                                    
907          $rs = mysql_tryquery($sql);          $rs = xx_tryquery($sql);
908          $row = mysql_fetch_array ($rs, MYSQL_ASSOC);          $row = xx_fetch_array ($rs, xx_ASSOC);
909                    
910          // Pull out the possible display values          // Pull out the possible display values
911          $location = $row["location"];          $location = $row["location"];
# Line 1082  function editElement($place_array, $page Line 1082  function editElement($place_array, $page
1082                  WHERE page_id = " . $page_id . " AND element_id = " . $element_id                  WHERE page_id = " . $page_id . " AND element_id = " . $element_id
1083                  . " ORDER BY e.element_order";                  . " ORDER BY e.element_order";
1084                    
1085          $rs = mysql_tryquery($sql);          $rs = xx_tryquery($sql);
1086          $row = mysql_fetch_array ($rs, MYSQL_ASSOC);          $row = xx_fetch_array ($rs, xx_ASSOC);
1087                    
1088          // General element fields          // General element fields
1089          $element_descr = $row["element_descr"];          $element_descr = $row["element_descr"];
# Line 1398  function formCourse($active, $page_id) { Line 1398  function formCourse($active, $page_id) {
1398                                    
1399                  WHERE                  WHERE
1400                  c.page_id = " . $page_id;                        c.page_id = " . $page_id;      
1401          $rs = mysql_tryquery($sql);          $rs = xx_tryquery($sql);
1402          $row = mysql_fetch_array ($rs, MYSQL_ASSOC);          $row = xx_fetch_array ($rs, xx_ASSOC);
1403    
1404          $course_id = $row["course_id"];          $course_id = $row["course_id"];
1405          $staff_id_created = $row["staff_id_created"];          $staff_id_created = $row["staff_id_created"];
# Line 1858  function formCoursePers($active, $course Line 1858  function formCoursePers($active, $course
1858                  WHERE                  WHERE
1859                  course_id = " . $course_id . " ORDER BY personnel_id";                  course_id = " . $course_id . " ORDER BY personnel_id";
1860                    
1861          $rs = mysql_tryquery($sql);          $rs = xx_tryquery($sql);
1862    
1863          // Table          // Table
1864          printf("<table cellpadding = \"0\" cellspacing = \"4\" >\n");          printf("<table cellpadding = \"0\" cellspacing = \"4\" >\n");
# Line 1872  function formCoursePers($active, $course Line 1872  function formCoursePers($active, $course
1872          printf("<b>Personnel:</b><br>\n");          printf("<b>Personnel:</b><br>\n");
1873          printf("</td></tr>\n");          printf("</td></tr>\n");
1874    
1875          while ($row = mysql_fetch_array ($rs, MYSQL_ASSOC)) {          while ($row = xx_fetch_array ($rs, xx_ASSOC)) {
1876    
1877                  // Initialize                  // Initialize
1878                  $last_name = "";                  $last_name = "";
# Line 2115  function formPageHeader($active, $page_i Line 2115  function formPageHeader($active, $page_i
2115                  page_id = " . $page_id;                  page_id = " . $page_id;
2116    
2117                    
2118          $rs = mysql_tryquery($sql);          $rs = xx_tryquery($sql);
2119          $row = mysql_fetch_array ($rs, MYSQL_ASSOC);          $row = xx_fetch_array ($rs, xx_ASSOC);
2120    
2121          $pageheader = $row["pageheader"];          $pageheader = $row["pageheader"];
2122    

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

  ViewVC Help
Powered by ViewVC 1.1.26