Files
2026-04-24 15:32:21 +02:00

49 lines
1.8 KiB
Smarty

<!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>
<title></title>
<link rel="stylesheet" type="text/css" href="{$urlStatic}/css/Admin/style.css" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Content-Language" content="pl" />
<script src="{$urlStatic}/script/prototype.js" type="text/javascript" charset="utf-8"></script>
<script src="{$urlStatic}/script/UploadFile.js" type="text/javascript" charset="utf-8"></script>
{if $ok}
<script language="javascript" type="text/javascript">
parent.document.getElementById('photoDisplay').innerHTML = '{$display}' ;
parent.document.getElementById('newPhoto').style.display = '' ;
parent.document.getElementById('bannerError').innerHTML = '' ;
</script>
{/if}
{if isset($bannerError)}
<script language="javascript" type="text/javascript">
parent.document.getElementById('bannerError').innerHTML = '{$bannerError}' ;
</script>
{/if}
</head>
<body style="background-color: #ffffff; margin-top: 0px; background-image: none;">
<div >
<form action="{url Structure=PhotoUpload}" method="post" enctype="multipart/form-data">
<div class="clearBoth"></div>
<div class="panelElement">Dodaj zdjęcie:</div>
<div class="panelEditElement">
<input class="input" type="file" name="file" id="file" onchange="CheckExt(document.getElementById('file').value, '{url Structure=AjaxCheckExt}');" />
</div>
<div class="clearBoth"></div>
<div class="panelElement"></div>
<div class="panelEditElement">
<input type="submit" class="button buttonZapisz" value="." name="savePhoto"/>
</div>
<div class="clearBoth"></div>
</form>
</div>
</body>
</html>