dwh/template/upload_treasury_template.php
2024-01-12 15:25:44 +07:00

77 lines
2.4 KiB
PHP

<?PHP
$upload_treasury_template_array['NEWUPLOAD'] = <<< template
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
<head>
<title>Data Warehouse :: Upload Data Treasury</title>
<link rel="stylesheet" href="/css/style.css" type="text/css" />
</head>
<body style="background:#EBEBEB">
<table width="100%">
<form enctype="multipart/form-data" name="uploadForm" method="POST"><input type="hidden" name="action" value="uploadFile">
<th class="param"><hr class="lineseparator"><span class="font12B">- Uploading Data Treasury -</span><BR><hr class="lineseparator"></th>
<tr><td>
<table class=font11 border=1 cellspacing=1 cellpadding=2 bordercolor=#99ccff bgcolor=#ebebeb width="100%">
<tr>
<td>Filename : </td>
<td><input type="file" name="FILENAME" class="font10" size="50"></td>
</tr>
<tr>
<td colspan="2" style="color:red;font-weight:bold;font-size:11px"><<MESSAGE>></td>
</tr>
<tr>
<td colspan="2" align="center">
<input type="button" name="UploadBtn" class="font11" value="UPLOAD" onclick="javascript:uploadFile();return false;">&nbsp;
<br><span id="actionDisp"></span>
</td>
</tr>
</table>
</td></tr>
</table>
</form>
</body>
</html>
template;
$upload_treasury_template_array['FINISHUPLOAD'] = <<< template
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
<head>
<title>Data Warehouse :: Upload Data Treasury</title>
<link rel="stylesheet" href="/css/style.css" type="text/css" />
</head>
<body style="background:#EBEBEB">
<table width="100%" height="270">
<tr>
<td style="vertical-align: middle; text-align: center;">
<table width="100%" cellpadding="2" cellspacing="1" style="border:1px solid #FF8C00;background-color: #ebebeb;font: bold 11px Arial;">
<tr>
<td ><<UPLOADMESSAGE>></td>
</tr>
<tr><form>
<td><input type="button" name="closeBtn" style="font: bold 11px Arial;" Value="CLOSE" onclick="javascript:closeWindow();return false;"></td>
</tr></form>
</table>
</td>
</tr>
</table>
<script language="JavaScript" type="text/javascript">
function closeWindow(){
var x = window.dialogArguments;
window.returnValue = <<RETURNVALUE>>;
window.close()
}
</script>
</body>
</html>
template;
?>