Ignore:
Timestamp:
04/09/10 14:47:28 (8 years ago)
Author:
patdenice
Message:

Update jQuery to 1.4.2 and colorbox to 1.3.6.
Increase column hit in images table when viewing picture.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/lightbox/save_history.php

    r3609 r5734  
    1414} 
    1515 
     16$image_id = mysql_real_escape_string($imgid[1]); 
     17 
     18$query = 'UPDATE '.IMAGES_TABLE.' SET hit=hit+1 WHERE id = '.$image_id.';'; 
     19pwg_query($query); 
     20 
    1621$do_log = $conf['log']; 
    1722if (is_admin()) 
     
    2833  exit(); 
    2934} 
    30  
    31 $image_id = mysql_real_escape_string($imgid[1]); 
    3235 
    3336if (!empty($_POST['section'])) 
Note: See TracChangeset for help on using the changeset viewer.