else if($dopost=="save")
{
$memberarcnum = $dSQL->GetOne("SELECT count(*) FROM `dede_archives` WHERE mid='".$cfg_ml->M_ID."' AND FROM_UNIXTIME(senddate,'%Y-%m-%d') = curdate()");
//判断当前投稿数量是否大于3篇
if($memberarcnum['count(*)'] > 3)
{
ShowMsg("对不起,您所在会员组每日只可投稿3篇!","/member/content_list.php?channelid=1");
exit();
}
$memberarcnum['count(*)'] > 3; //3这个数字可以任意修改,就是限制会员每天只可以发布3条