This repository has been archived on 2026-06-20. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
EDT/pc/template/manage_view_print.php
T
wsh5485 7e47ce238b chore: 添加多个图片和资源文件
添加了管理后台所需的图片资源、Excel文件、安装程序以及设计相关的图片文件
2025-06-15 13:04:37 +08:00

63 lines
2.4 KiB
PHP

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?php echo $_title_; ?></title>
<link href="css/index.css" rel="stylesheet" type="text/css" />
<script>
function viewinit() {
if (!factory.object) {
return
} else {
factory.printing.header = ""
factory.printing.footer = ""
factory.printing.portrait = true
factory.printing.leftMargin = 0
factory.printing.topMargin = 20
factory.printing.rightMargin = 0
factory.printing.bottomMargin = 0
//factory.printing.printBackground = true
// enable control buttons
var templateSupported = factory.printing.IsTemplateSupported();
var controls = idControls.all.tags("input");
for ( i = 0; i < controls.length; i++ ) {
controls[i].disabled = false;
if ( templateSupported && controls[i].className == "ie55" )
controls[i].style.display = "inline";
}
}
}
</script>
<script language="JavaScript" src="js/function.js"></script>
<style media="print">
.noprint { display: none }
</style>
<style>
body { font-size:12.0pt;font-family:宋体; }
</style>
</head>
<body bgcolor="#FFFFFF" text="#000000" onLoad="this.focus();viewinit();" align="center">
<object id="factory" style="display:none" viewastext classid="clsid:1663ed61-23eb-11d2-b92f-008048fdd814" codebase="scriptx/smsx.cab#Version=6,2,433,70">
</object>
<div class="noprint" id="idControls" style="width:750px;" align="center"><p><input disabled type="button" value="页面设置" onClick="factory.printing.PageSetup()"> <input class=ie55 disabled type="button" value="打印预览" onClick="factory.printing.Preview()"> <input disabled type="button" value="打印" onClick="factory.printing.Print(true)"> <input type="button" value="关闭" onClick="window.close()">
<hr size="1" color="dimgray"></p></div>
<table width="98%" border="0" cellspacing="2" cellpadding="4" align="center">
<tr>
<td style="font-size:14px;padding:10px;line-height:150%" align="center"><b><?php echo $msg["title"] ?></b></td>
</tr>
<tr>
<td align="center"><hr size="1" color="dimgray">
<?php echo $adder." 添加于 ".date("Y年n月j日",$msg[add_date]); ?></td>
</tr>
<tr>
<td style='line-height:150%' id="content" class='content'><?php echo $content_text ?>
</td>
</tr>
<tr>
<td>&nbsp;</td>
</tr>
</table>
</body>
</html>