ExecuteNoneQuery($query); ShowMsg("成功增加一个幻灯片!","ppt_main.php"); exit(); } $dsql->Execute('dd','SELECT * FROM `#@__myppttype` ORDER BY id DESC'); $option = ''; while($arr = $dsql->GetArray('dd')) { $option .= "\n\r"; } $startDay = time(); $endDay = AddDay($startDay,30); $startDay = GetDateTimeMk($startDay); $endDay = GetDateTimeMk($endDay); include DedeInclude('templets/ppt_add.htm'); ?>