ExecuteNoneQuery($query); $burl = "ai_edit.php?id=".$aiid; if ($rs) { ShowMsg("成功添加一个模型版本", $burl); exit(); } else { ShowMsg("添加模型版本时出错,原因:".$dsql->GetError(), "javascript:;"); exit(); } } if($aiid > 0) { $ai = $dsql->GetOne("SELECT * FROM `#@__ai` WHERE id=$aiid"); } include DedeInclude('templets/ai_model_add.htm'); ?>