这是matlab的一个小程序

源代码在线查看: mytag_add.php

软件大小: 3179 K
上传用户: kzdai22
关键词: matlab 程序
下载地址: 免注册下载 普通下载 VIP

相关代码

								require(dirname(__FILE__)."/config.php");
				CheckPurview('temp_Other');
				require_once(DEDEINC."/typelink.class.php");
				if(empty($dopost))
				{
					$dopost = "";
				}
				if($dopost=="save")
				{
					$tagname = trim($tagname);
					$row = $dsql->GetOne("Select typeid From #@__mytag where typeid='$typeid' And tagname like '$tagname'");
					if(is_array($row))
					{
						ShowMsg("在相同栏目下已经存在同名的标记!","-1");
						exit();
					}
					$starttime = GetMkTime($starttime);
					$endtime = GetMkTime($endtime);
					$inQuery = "Insert Into #@__mytag(typeid,tagname,timeset,starttime,endtime,normbody,expbody)
					 Values('$typeid','$tagname','$timeset','$starttime','$endtime','$normbody','$expbody'); ";
					$dsql->ExecuteNoneQuery($inQuery);
					ShowMsg("成功增加一个自定义标记!","mytag_main.php");
					exit();
				}
				$startDay = time();
				$endDay = AddDay($startDay,30);
				$startDay = GetDateTimeMk($startDay);
				$endDay = GetDateTimeMk($endDay);
				include DedeInclude('templets/mytag_add.htm');
				
				?>			

相关资源