if (isset($valueparse['host'])) { $grouplogo = $result['poster']; } else { $grouplogo = $_G['setting']['attachurl'] . 'category/' . $result['poster'] . '?' . random(6); } $grouplogohtml = '<label></label><br /><img width="180" height="128" src="' . $grouplogo . '" />'; } $result['weburl'] = str_replace("http://", '', $result['weburl']); showformheader($thisurl . "&do=" . $do . "&bid=" . $bid . "&page=" . $page, 'enctype'); showtableheader($menustr, 'nobottom'); showsetting($langs['catename'], '', '', '<select name="cateid">' . $cateselect . '</select>', '', '', $langs['bitian']); showsetting($langs['group'], '', '', '<select name="groupid">' . $groupselect . '</select>'); showsetting($langs['discount'], '', '', brand_discountsetting($result['discount'])); if ($isselfdistrict == 1) { echo '<script language="javascript" src="source/plugin/sanree_brand/tpl/good/js/district.js"></script>'; $html = brand_setting('birthcity', $result); if ($html) { showsetting($langs['region'], '', '', $html); } } else { include_once libfile('function/profile'); $html = profile_setting('birthcity', $result); if ($html) { showsetting($langs['region'], '', '', $html); } } $mflist = array(); foreach (C::t('#sanree_brand#sanree_brand_mf')->fetch_all_mf() as $data) { $mflist[] = array($data['mfid'], $data['mfname']); } showsetting($langs['brandmf'], array('brandmf', $mflist), explode(',', $result['brandmf']), 'mcheckbox');
deletecachebrandpic($bid); } sanreeupdatecache('hotbrandlist'); sanreeupdatecache('recommendlist'); showmessage(srlang('editmessage'), $url_forward, array(), $extra); } } else { $category_list = array(); $category = sanreeloadcache('usercate'); foreach ($category as $value) { $category_list[] = $value; } $navtitle = srlang('dengjititle'); $addteltitle = $config['djtitle'] ? $config['djtitle'] : srlang('teladd'); if ($isselfdistrict == 1) { $districthtml = brand_setting('birthcity', $result); } else { include_once libfile('function/profile'); $districthtml = profile_setting('birthcity', $result); } $discounthtml = brand_discountsetting($result['discount']); $pubtip_price = srlang('pubtip_price'); $pubtip_price = str_replace(array('{regprice}', '{creditunitname}'), array($regprice, $creditunitname), $pubtip_price); $pubtip_shen = srlang('pubtip_shen'); $pubtip_shen = str_replace(array('{admintel}'), array($admintel), $pubtip_shen); $pubtip_ok = srlang('pubtip_ok'); $pubtip_ok = str_replace(array('{admintel}'), array($admintel), $pubtip_ok); if ($_G['inajax'] == 1) { include templateEx($plugin['identifier'] . ':' . $template . "/" . $mod . '_ajax'); } else { $newlist = array();