获取链接(楼下稍后截图示意)中帖子pid的方法:
actions/ajax/leaveword.php
M::sendNotice(
array($atc['author']),
array(
'title' => getLangInfo('writemsg','leaveword_title'),
'content' => getLangInfo('writemsg','leaveword_content',array(
'fid' => $atc['fid'],
'tid' => $tid,
'pid' => $pid,(新增此行)
'author' => $windid,
'subject' => $atc['subject'],
'postdate' => get_date($atc['postdate']),
'forum' => strip_tags($forum[$atc['fid']]['name']),
'affect' => '',
'admindate' => get_date($timestamp),
'reason' => stripslashes($atc_content)
)),