// 一旦你的点评被录用,将获得由爪哇精品咖啡赞助,价值100元的代金券。"; // $resultStr_text = sprintf($textTpl,$fromUsername,$toUsername,$time,"text",$contentStr); // echo $resultStr_text; //输出结果 // exit; } else { if (strstr($keyword, "历史")) { $c = new ChargeHistory(); $contentStr = $c->responseMsg($fromUsername); $resultStr_text = sprintf($textTpl, $fromUsername, $toUsername, $time, "text", $contentStr); echo $resultStr_text; //输出结果 exit; } else { if (strstr($keyword, "登记") || $eventKey == "登记") { $c = new Register(); $result = sprintf($picTpl, $fromUsername, $toUsername, $time, "news", $c->responseMsg($fromUsername)); echo $result; exit; } else { if ($eventKey == "tuwen01") { $c = new Tuwen01(); $result = sprintf($picTpl, $fromUsername, $toUsername, $time, "news", $c->responseMsg()); echo $result; exit; } else { if ($eventKey == "tuwen02") { $c = new Tuwen02(); $result = sprintf($picTpl, $fromUsername, $toUsername, $time, "news", $c->responseMsg()); echo $result; exit; } else {