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

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

revision 41 by dpavlin, Tue Jan 27 20:49:23 2004 UTC revision 42 by dpavlin, Thu Mar 4 22:43:50 2004 UTC
# Line 31  if ($page_id > 0 ) { Line 31  if ($page_id > 0 ) {
31    
32          // printf("sql was: %s<BR>", $sql);          // printf("sql was: %s<BR>", $sql);
33    
34          $rs = mysql_query($sql, $con);          $rs = xx_query($sql, $con);
35          $row = mysql_fetch_array ($rs);          $row = xx_fetch_array ($rs);
36                    
37          // Fetch data          // Fetch data
38          $pagetype_id = $row["pagetype_id"];          $pagetype_id = $row["pagetype_id"];
# Line 156  if ($page_id > 0 ) { Line 156  if ($page_id > 0 ) {
156                  WHERE page_id = " . $page_id                  WHERE page_id = " . $page_id
157                  . " ORDER BY e.element_order";                  . " ORDER BY e.element_order";
158    
159          $rs = mysql_query($sql, $con);          $rs = xx_query($sql, $con);
160    
161          while ($row = mysql_fetch_array ($rs)) {          while ($row = xx_fetch_array ($rs)) {
162    
163                  // General element information                  // General element information
164                  $element_id = $row["element_id"];                  $element_id = $row["element_id"];

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

  ViewVC Help
Powered by ViewVC 1.1.26