代码如下 | 复制代码 |
function: addcomment adds a comment. parameters: $data - associative array of data, must contain 'name', 'website', 'comment', 'date', 'user_ip', 'user_agent', and 'spam'. returns: id of the new comment. ]> */ public function addcomment($data) { $xml = new simplexmlelement($this->getcontents(true)); $message = $xml->addchild('message'); $id = $this->generateid(); $message->addattribute('mid', $id); foreach ($data as $key => $value) { $message->addchild($key, htmlspecialchars($value, ent_quotes)); } $this->putcontents($xml->asxml()); return $id; } |
一亿小目标手游
如果让你的人生从来,你可以像王健林一样霸气的表示一亿小目标吗
一亿小目标手机版2019
一亿小目标手机版2019趣味休闲模拟游戏,玩家在游戏中将会通
巴啦啦梦幻餐厅
巴啦啦梦幻餐厅是一款充满魔幻色彩的二次元模拟经营手游,游戏界
恋爱进行时九游版
恋爱进行时九游版是一款以模拟恋爱玩法为核心的角色扮演手游,精
皇室对决fr(Null’s Royale)
皇室对决fr,即皇室战争的私服变态版本,在该版本中玩家能够拥