','$origin','$imgoldname','$imgtype','$imgname','$imgwidth','$imgheight','$imgsize','$imgbody')",$link);
59}
60else{//tpxw of foljrbd
61$result =mysql_query("insert into $tb (title,summary,content,date,author,origin,imgoldname,imgtype,imgname,imgwidth,imgheight,imgsize,imgbody) values('$title','$summary','$content','$date','$author','$origin','$imgoldname','$imgtype','$imgname','$imgwidth','$imgheight','$imgsize','$imgbody')",$link);
62}
63 }
64 else die("请上传图片");
65}//end of pic or pic with no summary
66elseif($db=="foljrbd"&&$tb=="cjzt"){//beggin of cjzt of fol jrbd
67$result =mysql_query("insert into $tb (title,content,date,author,origin,topic) values('$title','$content','$date','$author','$origin','$topic')",$link);
68}//end of cjzt of fol jrbd
69elseif($db=="foljrsx"&&$tb=="pshzl")//for jrsx
70{
71 if(chop($imagein)!="none")
72 {
73 $picuppath="/home/fol/php/jrsx/"; //define up pic path
74 $dirname="article";
75  
59}
60else{//tpxw of foljrbd
61$result =mysql_query("insert into $tb (title,summary,content,date,author,origin,imgoldname,imgtype,imgname,imgwidth,imgheight,imgsize,imgbody) values('$title','$summary','$content','$date','$author','$origin','$imgoldname','$imgtype','$imgname','$imgwidth','$imgheight','$imgsize','$imgbody')",$link);
62}
63 }
64 else die("请上传图片");
65}//end of pic or pic with no summary
66elseif($db=="foljrbd"&&$tb=="cjzt"){//beggin of cjzt of fol jrbd
67$result =mysql_query("insert into $tb (title,content,date,author,origin,topic) values('$title','$content','$date','$author','$origin','$topic')",$link);
68}//end of cjzt of fol jrbd
69elseif($db=="foljrsx"&&$tb=="pshzl")//for jrsx
70{
71 if(chop($imagein)!="none")
72 {
73 $picuppath="/home/fol/php/jrsx/"; //define up pic path
74 $dirname="article";
75  
| 对此文章发表了评论 |
