       <%if flag=0 then%>
	  <table width="96%" border="0" cellspacing="0" cellpadding="0" align="center">
        <tr> 
          <td>&nbsp;</td>
        </tr>
        <tr> 
          <td class="font1">
			<%if picflag=1 then%>
			<%if placetxt="center" then%>
			     <table width="100%" border="0" cellspacing="0" cellpadding="0" align=center style="line-height:150%">
			         <tr>
			            <td align=center><img src="./upfile/<%=picname%>" align=<%=placetxt%>><br><br><%=pictitle%><br><br></td>
			         </tr>  
			      </table>   
			<%else%>    
				  <img src="./upfile/<%=picname%>" align=<%=placetxt%>>
			<%end if%>         
		    <%end if%>	
			<%=content%>          
          </td>
        </tr>
      </table>
     <%else%>     	
      <table width="96%" border="0" cellspacing="0" cellpadding="0" align="center" class=font1>
        <tr> 
          <td>
              	<%sqltext="select * from "+tabname+" where enable=1 and pid="&id&" order by pl"
			  rs.Open sqltext,cn,1,1
			  do while not rs.EOF %>
			      <%if rs("picflag1")=1 then
			           pictitle=trim(rs("pictitle1"))
			           picplace=rs("picplace1")
			           picname=trim(rs("picname1"))
					   placetxt=picplacetxt(rs("picplace1"))
			      %>
				<%if placetxt="center" then%>
			      <div align=center>
			        <img src="./upfile/<%=picname%>" align=<%=placetxt%>><br>
			      </div>  
			      <div align=center>
			        <%=pictitle%>
			      </div><br>
				<%else%>    
					<img src="./upfile/<%=picname%>" align=<%=placetxt%>>
				<%end if%>  
			    <%end if%>
			      <%=checkstr(trim(rs("body")),yt)%>
			  <%rs.MoveNext 
			    yt=1
			    loop
			    rs.Close %>    
	      </td>
        </tr>
      </table>
      <%end if%>                   