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

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

revision 1 by dpavlin, Fri Dec 5 18:34:18 2003 UTC revision 42 by dpavlin, Thu Mar 4 22:43:50 2004 UTC
# Line 25  if ($page_id > 0 && $element_id > 0) { Line 25  if ($page_id > 0 && $element_id > 0) {
25                  . " AND element_id = "                  . " AND element_id = "
26                  . $element_id;                  . $element_id;
27    
28          $rs = mysql_query($sql, $con);          $rs = xx_query($sql, $con);
29          $row = mysql_fetch_array($rs);          $row = xx_fetch_array($rs);
30    
31          // Resource          // Resource
32          $resource_id = $row["resource_id"];          $resource_id = $row["resource_id"];
# Line 101  if ($page_id > 0 && $element_id > 0) { Line 101  if ($page_id > 0 && $element_id > 0) {
101                          . $user_ip                          . $user_ip
102                          . "')";                          . "')";
103    
104          if (!mysql_query($sql, $con)){          if (!xx_query($sql, $con)){
105                  sql_err($con);                  sql_err($con);
106                  mysql_query ("UNLOCK TABLES", $con);                  xx_query ("UNLOCK TABLES", $con);
107                  bailout();                  bailout();
108          } // bad write          } // bad write
109          else {          else {
110                  mysql_query("UNLOCK TABLES", $con);                  xx_query("UNLOCK TABLES", $con);
111    
112          } // good write to the stats table          } // good write to the stats table
113    

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

  ViewVC Help
Powered by ViewVC 1.1.26