chore: 添加多个图片和资源文件

添加了管理后台所需的图片资源、Excel文件、安装程序以及设计相关的图片文件
This commit is contained in:
2025-06-15 13:04:37 +08:00
parent 1e61dc3970
commit 7e47ce238b
13220 changed files with 1377028 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
<?php
/////////////////////////////////////////////////////////////////////////////////////上传图片
header("Content-type: text/html; charset=utf-8");
if(THIS_IN!="edt_ipad")
exit("错误的访问!");
$att_dir=dir_cutb(THIS_FILE_ROOT,1);
//
$up_image=$_FILES["up_image"];
$msg=get_db_msg("select no from ".$table_pre."kh where id='".$id."'");
if($up_image["name"]){
$path1="../attachments/design/big";
$path2="../attachments/design/mini";
$new_file_name=$msg["no"]."_".$c.".jpg";
make_mini_picture($up_image["tmp_name"],$path1."/".$new_file_name,800);
//缩略图
make_mini_picture($path1."/".$new_file_name,$path2."/".$new_file_name);
}
echo "{\"success\":\"success\",\"isnew\":\"y\",\"jsname\":\"refresh_admin()\"}";
?>