...
This commit is contained in:
parent
f87bf1ebbe
commit
9471f1ecde
@ -581,7 +581,7 @@ class MarketController extends BaseController {
|
||||
if ($row['detail']['hero_tili']<$durability) continue;
|
||||
if (count($search)>0) {
|
||||
$searchLower = array_map('strtolower', $search);
|
||||
if (!(in_array(strtolower($row['detail']['hero_name']), $searchLower) || in_array(strtolower($row['detail']['hero_id']), $searchLower))) continue;
|
||||
if (!(in_array(strtolower($row['detail']['hero_name']), $searchLower) || in_array(strtolower($row['detail']['token_id']), $searchLower))) continue;
|
||||
}
|
||||
$row['detail'] = $this->appendChipsInfo($row['detail']);
|
||||
array_push($nfts, $row);
|
||||
@ -610,7 +610,7 @@ class MarketController extends BaseController {
|
||||
if ($row['detail']['durability']<$durability) continue;
|
||||
if (count($search)>0) {
|
||||
$searchLower = array_map('strtolower', $search);
|
||||
if (!(in_array(strtolower($row['detail']['gun_name']), $searchLower) || in_array(strtolower($row['detail']['gun_id']), $searchLower))) continue;
|
||||
if (!(in_array(strtolower($row['detail']['gun_name']), $searchLower) || in_array(strtolower($row['detail']['token_id']), $searchLower))) continue;
|
||||
}
|
||||
$row['detail'] = $this->appendChipsInfo($row['detail']);
|
||||
array_push($nfts, $row);
|
||||
@ -637,7 +637,7 @@ class MarketController extends BaseController {
|
||||
if ($row['detail']['chip_grade']<$lv) continue;
|
||||
if (count($search)>0) {
|
||||
$searchLower = array_map('strtolower', $search);
|
||||
if (!(in_array(strtolower($row['detail']['chip_name']), $searchLower) || in_array(strtolower($row['detail']['item_id']), $searchLower))) continue;
|
||||
if (!(in_array(strtolower($row['detail']['chip_name']), $searchLower) || in_array(strtolower($row['detail']['token_id']), $searchLower))) continue;
|
||||
}
|
||||
array_push($nfts, $row);
|
||||
}
|
||||
@ -660,7 +660,7 @@ class MarketController extends BaseController {
|
||||
continue;
|
||||
if (count($search)>0) {
|
||||
$searchLower = array_map('strtolower', $search);
|
||||
if (!(in_array(strtolower($row['detail']['name']), $searchLower) || in_array(strtolower($row['detail']['item_id']), $searchLower))) continue;
|
||||
if (!(in_array(strtolower($row['detail']['name']), $searchLower) || in_array(strtolower($row['detail']['token_id']), $searchLower))) continue;
|
||||
}
|
||||
array_push($nfts, $row);
|
||||
}
|
||||
@ -732,7 +732,7 @@ class MarketController extends BaseController {
|
||||
$arr_options = array();
|
||||
foreach($f as $v) {
|
||||
if (!empty($v)) {
|
||||
array_push($arr_options,'c_name=\'' . $v . '\' OR c_id=\'' . $v. '\' ');
|
||||
array_push($arr_options,'c_name=\'' . $v . '\' OR token_id=\'' . $v. '\' ');
|
||||
}
|
||||
}
|
||||
if (count($arr_options)>0) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user