Diff of /mambo/branches/4.6/components/com_content/content.php
Parent Directory
|
Revision Log
|
Patch
| revision 802, Fri Dec 1 14:24:11 2006 UTC | revision 806, Mon Dec 4 09:11:18 2006 UTC | |
|---|---|---|
| # | Line 1023 | Line 1023 |
| 1023 | . "\n WHERE a.catid = ". $row->catid."" | . "\n WHERE a.catid = ". $row->catid."" |
| 1024 | . "\n AND a.state = $row->state AND ordering < $row->ordering" | . "\n AND a.state = $row->state AND ordering < $row->ordering" |
| 1025 | . ($access->canEdit ? "" : "\n AND a.access <= '". $gid ."'" ) | . ($access->canEdit ? "" : "\n AND a.access <= '". $gid ."'" ) |
| 1026 | . "\n AND ( a.publish_up = '0000-00-00 00:00:00' OR a.publish_up <= '". $now ."' )" | |
| 1027 | . "\n AND ( a.publish_down = '0000-00-00 00:00:00' OR a.publish_down >= '". $now ."' )" | |
| 1028 | . "\n ORDER BY a.ordering DESC" | . "\n ORDER BY a.ordering DESC" |
| 1029 | . "\n LIMIT 1" | . "\n LIMIT 1" |
| 1030 | ; | ; |
| # | Line 1034 | Line 1036 |
| 1036 | . "\n WHERE a.catid = ". $row->catid."" | . "\n WHERE a.catid = ". $row->catid."" |
| 1037 | . "\n AND a.state = $row->state AND ordering > $row->ordering" | . "\n AND a.state = $row->state AND ordering > $row->ordering" |
| 1038 | . ($access->canEdit ? "" : "\n AND a.access <= '". $gid ."'" ) | . ($access->canEdit ? "" : "\n AND a.access <= '". $gid ."'" ) |
| 1039 | . "\n AND ( a.publish_up = '0000-00-00 00:00:00' OR a.publish_up <= '". $now ."' )" | |
| 1040 | . "\n AND ( a.publish_down = '0000-00-00 00:00:00' OR a.publish_down >= '". $now ."' )" | |
| 1041 | . "\n ORDER BY a.ordering" | . "\n ORDER BY a.ordering" |
| 1042 | . "\n LIMIT 1" | . "\n LIMIT 1" |
| 1043 | ; | ; |
|
||||||||
| ViewVC Help | |
| Powered by ViewVC 1.0.0 |
Web Hosting provided by Network Redux.

