4 && (($MST['vemail'] && $MG['vemail']) || ($MST['vmobile'] && $MG['vmobile']) || ($MST['vtruename'] && $MG['vtruename']) || ($MST['vcompany'] && $MG['vcompany']) || ($MST['deposit'] && $MG['vdeposit']))) { $V = $db->get_one("SELECT vemail,vmobile,vtruename,vcompany,deposit FROM {$DT_PRE}member WHERE userid=$_userid"); if($MST['vemail'] && $MG['vemail']) { $V['vemail'] or dheader('validate.php?action=email&itemid=1'); } if($MST['vmobile'] && $MG['vmobile']) { $V['vmobile'] or dheader('validate.php?action=mobile&itemid=1'); } if($MST['vtruename'] && $MG['vtruename']) { $V['vtruename'] or dheader('validate.php?action=truename&itemid=1'); } if($MST['vcompany'] && $MG['vcompany']) { $V['vcompany'] or dheader('validate.php?action=company&itemid=1'); } if($MST['deposit'] && $MG['vdeposit']) { $V['deposit'] > 99 or dheader('deposit.php?action=add&itemid=1'); } } if($_groupid > 4 && $MG['vweixin']) { $W = $db->get_one("SELECT subscribe FROM {$DT_PRE}weixin_user WHERE username='$_username'"); ($W && $W['subscribe']) or dheader('weixin.php?itemid=1'); } if($_credit < 0 && $MST['credit_less'] && $action == 'add') dheader('credit.php?action=less'); if($submit) { check_post() or dalert($L['bad_data']);//safe $BANWORD = cache_read('banword.php'); if($BANWORD && isset($post)) { $keys = array('title', 'tag', 'introduce', 'content'); foreach($keys as $v) { if(isset($post[$v])) $post[$v] = banword($BANWORD, $post[$v]); } } } $MYMODS = array(); if(isset($MG['moduleids']) && $MG['moduleids']) { $MYMODS = explode(',', $MG['moduleids']); } if($MYMODS) { foreach($MYMODS as $k=>$v) { if(!isset($MODULE[$v])) unset($MYMODS[$k]); } } $MENUMODS = $MYMODS; if($EXT['mobile_enable']) $head_mobile = str_replace($MOD['linkurl'], $MOD['mobile'], $DT_URL); if($_cid) require DT_ROOT.'/include/child.inc.php'; $vid = $mid; $IMVIP = isset($MG['vip']) && $MG['vip']; $moduleid = $mid; $module = $MODULE[$moduleid]['module']; $MOD = cache_read('module-'.$moduleid.'.php'); $my_file = DT_ROOT.'/module/'.$module.'/my.inc.php'; if(is_file($my_file)) { require $my_file; } else { dheader($DT_PC ? $MODULE[2]['linkurl'] : $MODULE[2]['mobile']); } } else { require DT_ROOT.'/module/'.$module.'/my.inc.php'; } ?>