where(['pid' => $cate['id']])->order('sort asc')->find(); $cate_id = $child['id']; $cid = $child['pid']; } else { $child = M('category')->where(['id' => $cate['id']])->order('sort asc')->find(); $cid = $child['pid']; } $c = M('category')->where(['id' => 7])->find(); if (count($parentIds) == 2) { $childId = end($parentIds); } else if (count($parentIds) > 2) { $childId = isset($parentIds[count($parentIds) - 1]) ? $parentIds[count($parentIds) - 1] : 7; $next = M('category')->where(['pid' => $_GET['cid']])->find(); if (count($next) <= 0) { $childId = $parentIds[count($parentIds) - 2]; } } else { $childId = $_REQUEST['cid']; } ?>
  • 0? $_temp[0] : 10; if (isset($_temp[1]) && intval($_temp[1]) > 0) { $_limit[0] = $_temp[0]; $_limit[1] = intval($_temp[1]); }else { $_limit[0] = 0; $_limit[1] = $_temp[0]; } if($_typeid == -1) $_typeid = I('cid', 0, 'intval'); if (1 == 1) { $__catlist = get_category(10); } else{ $__catlist = get_category(1); } if (0) { $__catlist = \Common\Lib\Category::getLevelOfModelId($__catlist, 0); } if (1 == 0) { $__catlist = \Common\Lib\Category::clearPageAndLink($__catlist); } if($_typeid == 0 || $_type == 'top') { $_catlist = \Common\Lib\Category::toLayer($__catlist); }else { if ($_type == 'self') { $_typeinfo = \Common\Lib\Category::getSelf($__catlist, $_typeid ); $_catlist = \Common\Lib\Category::toLayer($__catlist, 'child', $_typeinfo['pid']); }else { $_catlist = \Common\Lib\Category::toLayer($__catlist, 'child', $_typeid); } } foreach($_catlist as $autoindex => $catlist): if($autoindex < $_limit[0]) continue; if($autoindex >= ($_limit[1]+$_limit[0])) break; $catlist['url'] = get_url($catlist); ?>
  • ">


 过滤选项:
分类:
$navlist): $navlist['url'] = get_url($navlist); ?>
" class="current">
结构类型:
where(['pid' => 582, 'type' => 1])->select(); ?> $v): $mod = ($i % 2 );++$i;?>
公母类型:
where(['pid' => 582, 'type' => 2])->select(); ?> $v): $mod = ($i % 2 );++$i;?>
芯数:
where(['pid' => 582, 'type' => 3])->select(); ?> $v): $mod = ($i % 2 );++$i;?>
 显示更多过滤选项
分类:
$navlist): $navlist['url'] = get_url($navlist); ?>
" class="current">
结构类型:
where(['pid' => 583, 'type' => 1])->select(); ?> $v): $mod = ($i % 2 );++$i;?>
公母类型:
where(['pid' => 583, 'type' => 2])->select(); ?> $v): $mod = ($i % 2 );++$i;?>
芯数:
where(['pid' => 583, 'type' => 3])->select(); ?> $v): $mod = ($i % 2 );++$i;?>
 显示更多过滤选项
分类:
$navlist): $navlist['url'] = get_url($navlist); ?>
" class="current">
结构类型:
where(['pid' => 584, 'type' => 1])->select(); ?> $v): $mod = ($i % 2 );++$i;?>
公母类型:
where(['pid' => 584, 'type' => 2])->select(); ?> $v): $mod = ($i % 2 );++$i;?>
芯数:
where(['pid' => 584, 'type' => 3])->select(); ?> $v): $mod = ($i % 2 );++$i;?>
 显示更多过滤选项
分类:
$navlist): $navlist['url'] = get_url($navlist); ?>
" class="current">
结构类型:
where(['pid' => 585, 'type' => 1])->select(); ?> $v): $mod = ($i % 2 );++$i;?>
公母类型:
where(['pid' => 585, 'type' => 2])->select(); ?> $v): $mod = ($i % 2 );++$i;?>
芯数:
where(['pid' => 585, 'type' => 3])->select(); ?> $v): $mod = ($i % 2 );++$i;?>
 显示更多过滤选项
分类:
$navlist): $navlist['url'] = get_url($navlist); ?>
" class="current">
结构类型:
where(['pid' => 586, 'type' => 1])->select(); ?> $v): $mod = ($i % 2 );++$i;?>
公母类型:
where(['pid' => 586, 'type' => 2])->select(); ?> $v): $mod = ($i % 2 );++$i;?>
芯数:
where(['pid' => 586, 'type' => 3])->select(); ?> $v): $mod = ($i % 2 );++$i;?>
 显示更多过滤选项
分类:
$navlist): $navlist['url'] = get_url($navlist); ?>
" class="current">
结构类型:
where(['pid' => 587, 'type' => 1])->select(); ?> $v): $mod = ($i % 2 );++$i;?>
公母类型:
where(['pid' => 587, 'type' => 2])->select(); ?> $v): $mod = ($i % 2 );++$i;?>
芯数:
where(['pid' => 587, 'type' => 3])->select(); ?> $v): $mod = ($i % 2 );++$i;?>
 显示更多过滤选项
分类:
$navlist): $navlist['url'] = get_url($navlist); ?>
" class="current">
额定电压:
where(['pid' => 599, 'type' => 8])->select(); ?> $v): $mod = ($i % 2 );++$i;?>
额定电流:
where(['pid' => 599, 'type' => 9])->select(); ?> $v): $mod = ($i % 2 );++$i;?>
位数:
where(['pid' => 599, 'type' => 10])->select(); ?> $v): $mod = ($i % 2 );++$i;?>
 显示更多过滤选项
分类:
$navlist): $navlist['url'] = get_url($navlist); ?>
" class="current">
芯数:
where(['pid' => 594, 'type' => 13])->select(); ?> $v): $mod = ($i % 2 );++$i;?>
公母类型:
where(['pid' => 594, 'type' => 14])->select(); ?> $v): $mod = ($i % 2 );++$i;?>
额定电压:
where(['pid' => 594, 'type' => 15])->select(); ?> $v): $mod = ($i % 2 );++$i;?>
 显示更多过滤选项
分类:
$navlist): $navlist['url'] = get_url($navlist); ?>
" class="current">
结构类型:
where(['pid' => 595, 'type' => 19])->select(); ?> $v): $mod = ($i % 2 );++$i;?>
卡扣类型:
where(['pid' => 595, 'type' => 20])->select(); ?> $v): $mod = ($i % 2 );++$i;?>
模块数量:
where(['pid' => 595, 'type' => 21])->select(); ?> $v): $mod = ($i % 2 );++$i;?>
 显示更多过滤选项
分类:
$navlist): $navlist['url'] = get_url($navlist); ?>
" class="current">
公母类型:
where(['pid' => 596, 'type' => 24])->select(); ?> $v): $mod = ($i % 2 );++$i;?>
额定电流:
where(['pid' => 596, 'type' => 25])->select(); ?> $v): $mod = ($i % 2 );++$i;?>
导线面积:
where(['pid' => 596, 'type' => 26])->select(); ?> $v): $mod = ($i % 2 );++$i;?>
 显示更多过滤选项
分类:
$navlist): $navlist['url'] = get_url($navlist); ?>
" class="current">
规格尺寸:
where(['pid' => 597, 'type' => 28])->select(); ?> $v): $mod = ($i % 2 );++$i;?>
材质:
where(['pid' => 597, 'type' => 29])->select(); ?> $v): $mod = ($i % 2 );++$i;?>
防水等级:
where(['pid' => 597, 'type' => 30])->select(); ?> $v): $mod = ($i % 2 );++$i;?>
 显示更多过滤选项
分类:
$navlist): $navlist['url'] = get_url($navlist); ?>
" class="current">
结构类型:
where(['pid' => 607, 'type' => 31])->select(); ?> $v): $mod = ($i % 2 );++$i;?>
频率范围:
where(['pid' => 607, 'type' => 32])->select(); ?> $v): $mod = ($i % 2 );++$i;?>
材质:
where(['pid' => 607, 'type' => 33])->select(); ?> $v): $mod = ($i % 2 );++$i;?>
 显示更多过滤选项
分类:
$navlist): $navlist['url'] = get_url($navlist); ?>
" class="current">
频率范围:
where(['pid' => 608, 'type' => 36])->select(); ?> $v): $mod = ($i % 2 );++$i;?>
材质:
where(['pid' => 608, 'type' => 37])->select(); ?> $v): $mod = ($i % 2 );++$i;?>
表面处理:
where(['pid' => 608, 'type' => 38])->select(); ?> $v): $mod = ($i % 2 );++$i;?>
 显示更多过滤选项
分类:
$navlist): $navlist['url'] = get_url($navlist); ?>
" class="current">
频率范围:
where(['pid' => 609, 'type' => 39])->select(); ?> $v): $mod = ($i % 2 );++$i;?>
接头类型:
where(['pid' => 609, 'type' => 39])->select(); ?> $v): $mod = ($i % 2 );++$i;?>
 显示更多过滤选项
分类:
$navlist): $navlist['url'] = get_url($navlist); ?>
" class="current">
频率范围:
where(['pid' => 610, 'type' => 41])->select(); ?> $v): $mod = ($i % 2 );++$i;?>
增益:
where(['pid' => 610, 'type' => 42])->select(); ?> $v): $mod = ($i % 2 );++$i;?>
接口规格:
where(['pid' => 610, 'type' => 43])->select(); ?> $v): $mod = ($i % 2 );++$i;?>
 显示更多过滤选项
分类:
$navlist): $navlist['url'] = get_url($navlist); ?>
" class="current">
频率范围:
where(['pid' => 611, 'type' => 41])->select(); ?> $v): $mod = ($i % 2 );++$i;?>
增益:
where(['pid' => 611, 'type' => 42])->select(); ?> $v): $mod = ($i % 2 );++$i;?>
接口规格:
where(['pid' => 611, 'type' => 43])->select(); ?> $v): $mod = ($i % 2 );++$i;?>
 显示更多过滤选项
$_typeid_val) { $_typeid_val = intval($_typeid_val); if (empty($_typeid_val)) { continue; } if (empty($_table_name)) { $_selfcate = \Common\Lib\Category::getSelf(get_category(10), $_typeid_val); $_table_name = strtolower($_selfcate['table_name']); } $_typeid_ids = \Common\Lib\Category::getChildsId(get_category(10), $_typeid_val, true); $ids_arr = array_merge($ids_arr,$_typeid_ids); } $ids_arr = array_unique($ids_arr); if ($_table_name == '') { $_table_name = 'article'; } $where = array($_table_name.'.delete_status' => 0, 'cate_status' => array('LT',2)); if (!empty($ids_arr)) { $where[$_table_name.'.cid'] = array('IN',$ids_arr); } }else { $_table_name = 'article'; $where = array($_table_name.'.delete_status' => 0, 'cate_status' => array('LT',2)); } if (0 > 0 && 0 > 0) { $where[$_table_name.'.point'] = array('between',array(0,0)); }else if (0 > 0) { $where[$_table_name.'.point'] = array('EGT', 0); }else if (0 > 0) { $where[$_table_name.'.point'] = array('ELT', 0); } if(0 == 1) { $where[$_table_name.'.audit_status'] = 0; } else if(0 == 2) { } else { $where[$_table_name.'.audit_status'] = 1; } if ($_keyword != '') { $where[$_table_name.'.title'] = array('like','%'.$_keyword.'%'); } if (0 > 0) { $where['_string'] = $_table_name.'.flag & 0 = 0 '; } if (!empty($_GET['p1'])) { $where[$_table_name.'.p1'] = ['like','%'.$_GET['p1'].'%']; } if (!empty($_GET['p2'])) { $where[$_table_name.'.p2'] = ['like','%'.$_GET['p2'].'%']; } if (!empty($_GET['p3'])) { $where[$_table_name.'.p3'] = ['like','%'.$_GET['p3'].'%']; } if (!empty($_GET['p4'])) { $where[$_table_name.'.p4'] = ['like','%'.$_GET['p4'].'%']; } if (!empty($_GET['p5'])) { $where[$_table_name.'.p5'] = ['like','%'.$_GET['p5'].'%']; } if (!empty($_GET['p6'])) { $where[$_table_name.'.p6'] = ['like','%'.$_GET['p6'].'%']; } if (!empty($_GET['p7'])) { $where[$_table_name.'.p7'] = ['like','%'.$_GET['p7'].'%']; } if (!empty($_GET['p8'])) { $where[$_table_name.'.p8'] = ['like','%'.$_GET['p8'].'%']; } if (!empty($_GET['p9'])) { $where[$_table_name.'.p9'] = ['like','%'.$_GET['p9'].'%']; } if (!empty($_GET['p10'])) { $where[$_table_name.'.p10'] = ['like','%'.$_GET['p10'].'%']; } if (!empty($_GET['p11'])) { $where[$_table_name.'.p11'] = ['like','%'.$_GET['p11'].'%']; } if (!empty($_GET['p12'])) { $where[$_table_name.'.p12'] = ['like','%'.$_GET['p12'].'%']; } if (!empty($_GET['p13'])) { $where[$_table_name.'.p13'] = ['like','%'.$_GET['p13'].'%']; } if (!empty($_GET['p14'])) { $where[$_table_name.'.p14'] = ['like','%'.$_GET['p14'].'%']; } if (!empty($_GET['p15'])) { $where[$_table_name.'.p15'] = ['like','%'.$_GET['p15'].'%']; } if (!empty($_GET['p16'])) { $where[$_table_name.'.p16'] = ['like','%'.$_GET['p16'].'%']; } if (!empty($_GET['key'])) { $where[$_table_name.'.title'] = ['like','%'.$_GET['key'].'%']; } if (!empty($_table_name) && $_table_name != 'page') { if (10 > 0) { $count = D2('ArcView',"$_table_name")->where($where)->count(); $ename = I('e', '', 'htmlspecialchars,trim'); if (!empty($ename) && C('URL_ROUTER_ON') == true) { $param['p'] = I('p', 1, 'intval'); $param_action = '/'.$ename; }else { $param = array(); $param_action = ''; } $thisPage = new \Common\Lib\Page($count, 10, $param, $param_action); $thisPage->rollPage = 5; $thisPage->setConfig('theme'," %FIRST% %UP_PAGE% %LINK_PAGE% %DOWN_PAGE% %END%"); $limit = $thisPage->firstRow. ',' .$thisPage->listRows; $page = $thisPage->show(); }else { $limit = "10"; } $_list = D2('ArcView',"$_table_name")->nofield('picture_urls')->where($where)->order("point DESC,id DESC")->limit($limit)->select(); if (empty($_list)) { $_list = array(); } }else { $_list = array(); } foreach($_list as $autoindex => $list): $_jumpflag = ($list['flag'] & B_JUMP) == B_JUMP? true : false; $list['url'] = get_content_url($list['id'], $list['cid'], $list['ename'], $_jumpflag, $list['jump_url']); if(0) $list['title'] = str2sub($list['title'], 0, 0); if(0) $list['description'] = str2sub($list['description'], 0, 0); if(isset($list['picture_urls'])) $list['picture_urls'] = get_picture_array($list['picture_urls']); ?>
    $_typeid_val) { $_typeid_val = intval($_typeid_val); if (empty($_typeid_val)) { continue; } if (empty($_table_name)) { $_selfcate = \Common\Lib\Category::getSelf(get_category(10), $_typeid_val); $_table_name = strtolower($_selfcate['table_name']); } $_typeid_ids = \Common\Lib\Category::getChildsId(get_category(10), $_typeid_val, true); $ids_arr = array_merge($ids_arr,$_typeid_ids); } $ids_arr = array_unique($ids_arr); if ($_table_name == '') { $_table_name = 'article'; } $where = array($_table_name.'.delete_status' => 0, 'cate_status' => array('LT',2)); if (!empty($ids_arr)) { $where[$_table_name.'.cid'] = array('IN',$ids_arr); } }else { $_table_name = 'article'; $where = array($_table_name.'.delete_status' => 0, 'cate_status' => array('LT',2)); } if (0 > 0 && 0 > 0) { $where[$_table_name.'.point'] = array('between',array(0,0)); }else if (0 > 0) { $where[$_table_name.'.point'] = array('EGT', 0); }else if (0 > 0) { $where[$_table_name.'.point'] = array('ELT', 0); } if(0 == 1) { $where[$_table_name.'.audit_status'] = 0; } else if(0 == 2) { } else { $where[$_table_name.'.audit_status'] = 1; } if ($_keyword != '') { $where[$_table_name.'.title'] = array('like','%'.$_keyword.'%'); } if (0 > 0) { $where['_string'] = $_table_name.'.flag & 0 = 0 '; } if (!empty($_GET['p1'])) { $where[$_table_name.'.p1'] = ['like','%'.$_GET['p1'].'%']; } if (!empty($_GET['p2'])) { $where[$_table_name.'.p2'] = ['like','%'.$_GET['p2'].'%']; } if (!empty($_GET['p3'])) { $where[$_table_name.'.p3'] = ['like','%'.$_GET['p3'].'%']; } if (!empty($_GET['p4'])) { $where[$_table_name.'.p4'] = ['like','%'.$_GET['p4'].'%']; } if (!empty($_GET['p5'])) { $where[$_table_name.'.p5'] = ['like','%'.$_GET['p5'].'%']; } if (!empty($_GET['p6'])) { $where[$_table_name.'.p6'] = ['like','%'.$_GET['p6'].'%']; } if (!empty($_GET['p7'])) { $where[$_table_name.'.p7'] = ['like','%'.$_GET['p7'].'%']; } if (!empty($_GET['p8'])) { $where[$_table_name.'.p8'] = ['like','%'.$_GET['p8'].'%']; } if (!empty($_GET['p9'])) { $where[$_table_name.'.p9'] = ['like','%'.$_GET['p9'].'%']; } if (!empty($_GET['p10'])) { $where[$_table_name.'.p10'] = ['like','%'.$_GET['p10'].'%']; } if (!empty($_GET['p11'])) { $where[$_table_name.'.p11'] = ['like','%'.$_GET['p11'].'%']; } if (!empty($_GET['p12'])) { $where[$_table_name.'.p12'] = ['like','%'.$_GET['p12'].'%']; } if (!empty($_GET['p13'])) { $where[$_table_name.'.p13'] = ['like','%'.$_GET['p13'].'%']; } if (!empty($_GET['p14'])) { $where[$_table_name.'.p14'] = ['like','%'.$_GET['p14'].'%']; } if (!empty($_GET['p15'])) { $where[$_table_name.'.p15'] = ['like','%'.$_GET['p15'].'%']; } if (!empty($_GET['p16'])) { $where[$_table_name.'.p16'] = ['like','%'.$_GET['p16'].'%']; } if (!empty($_GET['key'])) { $where[$_table_name.'.title'] = ['like','%'.$_GET['key'].'%']; } if (!empty($_table_name) && $_table_name != 'page') { if (10 > 0) { $count = D2('ArcView',"$_table_name")->where($where)->count(); $ename = I('e', '', 'htmlspecialchars,trim'); if (!empty($ename) && C('URL_ROUTER_ON') == true) { $param['p'] = I('p', 1, 'intval'); $param_action = '/'.$ename; }else { $param = array(); $param_action = ''; } $thisPage = new \Common\Lib\Page($count, 10, $param, $param_action); $thisPage->rollPage = 5; $thisPage->setConfig('theme'," %FIRST% %UP_PAGE% %LINK_PAGE% %DOWN_PAGE% %END%"); $limit = $thisPage->firstRow. ',' .$thisPage->listRows; $page = $thisPage->show(); }else { $limit = "10"; } $_list = D2('ArcView',"$_table_name")->nofield('picture_urls')->where($where)->order("point DESC,id DESC")->limit($limit)->select(); if (empty($_list)) { $_list = array(); } }else { $_list = array(); } foreach($_list as $autoindex => $list): $_jumpflag = ($list['flag'] & B_JUMP) == B_JUMP? true : false; $list['url'] = get_content_url($list['id'], $list['cid'], $list['ename'], $_jumpflag, $list['jump_url']); if(0) $list['title'] = str2sub($list['title'], 0, 0); if(0) $list['description'] = str2sub($list['description'], 0, 0); if(isset($list['picture_urls'])) $list['picture_urls'] = get_picture_array($list['picture_urls']); ?>
  • ">" alt="">

邮箱地址 sales@szstar.cn
服务热线 86-0755-8303 8001
二维码

扫一扫
关注官方微信