Changeset 4253 for extensions/ConcoursPhoto/include
- Timestamp:
- Nov 11, 2009, 7:33:31 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/ConcoursPhoto/include/Concours.class.php
r4252 r4253 732 732 if ($this->my_config['mask_author'] && $this->my_config['mask_author'] == true) 733 733 { 734 // Request for prepared concours734 // Request for all concours prepared & actived 735 735 $query = ' 736 736 SELECT * 737 737 FROM ' . CONCOURS_TABLE .' 738 738 WHERE category =' . $page['category']['id'] . ' 739 AND time_to_sec(TIMEDIFF( begin_date,now())) >0739 AND time_to_sec(TIMEDIFF(now(), end_date)) < 0 740 740 '; 741 echo $query; 741 742 $result = pwg_query($query); 742 if ($result )743 if ($result && mysql_fetch_assoc($result)) 743 744 $template->assign('INFO_AUTHOR',l10n('concours_img_author')); 744 745 }
Note: See TracChangeset
for help on using the changeset viewer.