<!--#include file="../checkLogin.asp"-->
<!--#include file="../SQLconn.asp"-->
<link rel="stylesheet" type="text/css" href="../images/<%=request.cookies("imgdir")%>/css/style.css" media="all"/>
<style type="text/css">
<!--
.STYLE1 {
	font-size: 16px;
	color: #FF0000;
}
.STYLE2 {color: #000099}
-->
</style>
<p>&nbsp;</p>
<p><span class="STYLE1">0、先在服务器 安装好下载文件夹ASP组件的 aspjpeg和AspUpload。</span></p>
<p class="STYLE1">1、先把你的校徽放在 服务器 的 <span class="STYLE2">学校OA系统3.0\学校OA系统正版\OA\images\xiaohui.png</span></p>
<p class="STYLE1"> 2、校徽 大小 70X70</p>
<p class="STYLE1">3、校徽 一定要 PNG的透明 形式</p>
<p class="STYLE1">4、如果提示无权限，请在服务器OA所在盘符，右键—共享—安全 设置 erevryone 用户设置为 可以写入</p>
<table width="263" height="62" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td width="119" height="18"><p align="center">&nbsp;</p>
      <p align="center">当前主页图标</p>
    <p align="center">&nbsp;</p></td>
    <td width="144" background="../images/newHong/top.jpg"><div align="center"></div></td>
  </tr>
  <tr>
    <td><p align="center">&nbsp;</p>
      <p align="center"><a href="addXiaoHuiPic.asp" target="_self">重新上传校徽</a></p>
      <p align="center">&nbsp;</p></td>
    <td><div align="center"><img src="../images/xiaohui.png" width="70" height="70" /></div></td>
  </tr>
</table>
<form id="form1" name="form1" method="post" action="addXiaoHui.asp?OK=OK">
  <%
OK=request("OK")
if OK="OK" then


set Rssave=server.createobject("adodb.recordset")
Rssavesql="select * from varset where  name='schoolname'"
Rssave.open Rssavesql,conn,1,3  
    Rssave("vname2")=""
    Rssave.update
Rssave.close

 
Set Jpeg = Server.CreateObject("Persits.Jpeg")

jpeg.Open Server.MapPath("../images/001huang/top0.jpg")
jpeg.Canvas.DrawPNG 25, 2, Server.MapPath("../images/xiaohui.png")
jpeg.Save Server.MapPath("../images/001huang/top.jpg")


jpeg.Open Server.MapPath("../images/002cheng/top0.jpg")
jpeg.Canvas.DrawPNG 25, 2, Server.MapPath("../images/xiaohui.png")
jpeg.Save Server.MapPath("../images/002cheng/top.jpg")


jpeg.Open Server.MapPath("../images/003hong/top0.jpg")
jpeg.Canvas.DrawPNG 25, 2, Server.MapPath("../images/xiaohui.png")
jpeg.Save Server.MapPath("../images/003hong/top.jpg")
  
 
jpeg.Open Server.MapPath("../images/004Hong/top0.jpg")
jpeg.Canvas.DrawPNG 25, 2, Server.MapPath("../images/xiaohui.png")
jpeg.Save Server.MapPath("../images/004Hong/top.jpg")

jpeg.Open Server.MapPath("../images/005Huang/top0.jpg")
jpeg.Canvas.DrawPNG 25, 2, Server.MapPath("../images/xiaohui.png")
jpeg.Save Server.MapPath("../images/005Huang/top.jpg")

jpeg.Open Server.MapPath("../images/006Lan/top0.jpg")
jpeg.Canvas.DrawPNG 25, 2, Server.MapPath("../images/xiaohui.png")
jpeg.Save Server.MapPath("../images/006Lan/top.jpg")

jpeg.Open Server.MapPath("../images/007Lv/top0.jpg")
jpeg.Canvas.DrawPNG 25, 2, Server.MapPath("../images/xiaohui.png")
jpeg.Save Server.MapPath("../images/007Lv/top.jpg")

jpeg.Open Server.MapPath("../images/008Zi/top0.jpg")
jpeg.Canvas.DrawPNG 25, 2, Server.MapPath("../images/xiaohui.png")
jpeg.Save Server.MapPath("../images/008Zi/top.jpg")

jpeg.Open Server.MapPath("../images/009Hui/top0.jpg")
jpeg.Canvas.DrawPNG 25, 2, Server.MapPath("../images/xiaohui.png")
jpeg.Save Server.MapPath("../images/009Hui/top.jpg") 
 '2012-4-18
 
jpeg.Open Server.MapPath("../images/010ZhaoYang/top0.jpg")
jpeg.Canvas.DrawPNG 25, 2, Server.MapPath("../images/xiaohui.png")
jpeg.Save Server.MapPath("../images/010ZhaoYang/top.jpg")

jpeg.Open Server.MapPath("../images/011Yun/top0.jpg")
jpeg.Canvas.DrawPNG 25, 2, Server.MapPath("../images/xiaohui.png")
jpeg.Save Server.MapPath("../images/011Yun/top.jpg")

jpeg.Open Server.MapPath("../images/012DaHai/top0.jpg")
jpeg.Canvas.DrawPNG 25, 2, Server.MapPath("../images/xiaohui.png")
jpeg.Save Server.MapPath("../images/012DaHai/top.jpg")
 
jpeg.Open Server.MapPath("../images/013MeiHua/top0.jpg")
jpeg.Canvas.DrawPNG 25, 2, Server.MapPath("../images/xiaohui.png")
jpeg.Save Server.MapPath("../images/013MeiHua/top.jpg")
 
 
jpeg.Open Server.MapPath("../images/014Zhu/top0.jpg")
jpeg.Canvas.DrawPNG 25, 2, Server.MapPath("../images/xiaohui.png")
jpeg.Save Server.MapPath("../images/014Zhu/top.jpg")
 
 
 jpeg.Open Server.MapPath("../images/015HeHua/top0.jpg")
jpeg.Canvas.DrawPNG 25, 2, Server.MapPath("../images/xiaohui.png")
jpeg.Save Server.MapPath("../images/015HeHua/top.jpg")
 
 jpeg.Open Server.MapPath("../images/016Hua/top0.jpg")
jpeg.Canvas.DrawPNG 25, 2, Server.MapPath("../images/xiaohui.png")
jpeg.Save Server.MapPath("../images/016Hua/top.jpg")
  
 
  jpeg.Open Server.MapPath("../images/017YuJinXiang/top0.jpg")
jpeg.Canvas.DrawPNG 25, 2, Server.MapPath("../images/xiaohui.png")
jpeg.Save Server.MapPath("../images/017YuJinXiang/top.jpg")


jpeg.Open Server.MapPath("../images/018LanHua/top0.jpg")
jpeg.Canvas.DrawPNG 25, 2, Server.MapPath("../images/xiaohui.png")
jpeg.Save Server.MapPath("../images/018LanHua/top.jpg")


jpeg.Open Server.MapPath("../images/019QingHuaCi/top0.jpg")
jpeg.Canvas.DrawPNG 25, 2, Server.MapPath("../images/xiaohui.png")
jpeg.Save Server.MapPath("../images/019QingHuaCi/top.jpg")


jpeg.Open Server.MapPath("../images/020Tang/top0.jpg")
jpeg.Canvas.DrawPNG 25, 2, Server.MapPath("../images/xiaohui.png")
jpeg.Save Server.MapPath("../images/020Tang/top.jpg")


jpeg.Open Server.MapPath("../images/021XiaoHua/top0.jpg")
jpeg.Canvas.DrawPNG 25, 2, Server.MapPath("../images/xiaohui.png")
jpeg.Save Server.MapPath("../images/021XiaoHua/top.jpg")




jpeg.Open Server.MapPath("../images/022newXiYang/top0.jpg")
jpeg.Canvas.DrawPNG 25, 2, Server.MapPath("../images/xiaohui.png")
jpeg.Save Server.MapPath("../images/022newXiYang/top.jpg")


response.Write("已经把贵校图标印刷到标题。请刷新网页查看！")

end if 

%>






<label></label>
<p align="center">
  <label>
  <input name="Submit" type="submit" class="topanniu" value="开始印校徽" />
  </label>
</p>
</form>
<p>&nbsp;</p>


