|
@@ -1,5 +1,6 @@
|
|
|
<?php
|
|
|
|
|
|
+$time = time();
|
|
|
$status = array
|
|
|
(
|
|
|
1 => '已发布',
|
|
@@ -337,6 +338,7 @@ return array
|
|
|
(
|
|
|
'ids' => array('yes-id', 'in'),
|
|
|
'name' => array('yes', 'like'),
|
|
|
+ 'pdate' => array($time, '<='),
|
|
|
'id' => 'yes',
|
|
|
'type' => 'yes',
|
|
|
'status' => 1,
|
|
@@ -355,6 +357,7 @@ return array
|
|
|
(
|
|
|
'ids' => array('yes-id', 'in'),
|
|
|
'name' => array('yes', 'like'),
|
|
|
+ 'pdate' => array($time, '<='),
|
|
|
'id' => 'yes',
|
|
|
'type' => 'yes',
|
|
|
'status' => 1,
|
|
@@ -372,6 +375,7 @@ return array
|
|
|
'type' => 'yes',
|
|
|
'name' => array('yes', 'like', 'and('),
|
|
|
'tag' => array('yes', 'like', 'or)'),
|
|
|
+ 'pdate' => array($time, '<='),
|
|
|
'status' => 1,
|
|
|
'state' => 1,
|
|
|
),
|