class/auction.php 1 location
|
@@ 546-552 (lines=7) @@
|
543 |
|
* @param int $limit |
544 |
|
* @return array |
545 |
|
*/ |
546 |
|
public function GetAuctionList($limit = 6) |
547 |
|
{ |
548 |
|
global $xoopsDB; |
549 |
|
$sql = 'SELECT * FROM ' . $xoopsDB->prefix('martin_auction') . ' WHERE auction_status = 1 AND apply_end_date > ' . time() . ' order by apply_end_date , auction_id DESC limit ' . $limit; |
550 |
|
|
551 |
|
return $this->GetRows($sql); |
552 |
|
} |
553 |
|
|
554 |
|
/** |
555 |
|
* @get Auction rooms |
class/group.php 1 location
|
@@ 524-530 (lines=7) @@
|
521 |
|
* @param int $limit |
522 |
|
* @return array |
523 |
|
*/ |
524 |
|
public function GetGroupList($limit = 6) |
525 |
|
{ |
526 |
|
global $xoopsDB; |
527 |
|
$sql = 'SELECT * FROM ' . $xoopsDB->prefix('martin_group') . ' WHERE group_status = 1 AND apply_end_date > ' . time() . ' order by apply_end_date , group_id DESC limit ' . $limit; |
528 |
|
|
529 |
|
return $this->GetRows($sql); |
530 |
|
} |
531 |
|
|
532 |
|
/** |
533 |
|
* @get Group rooms |