added some useful models and controllers
This commit is contained in:
parent
9bb724147e
commit
1d4b2a3314
44 changed files with 6424 additions and 0 deletions
31
application/view/AdminPage/image.phtml
Normal file
31
application/view/AdminPage/image.phtml
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
<html>
|
||||
<head>
|
||||
<title>Swiss Didgeridoo Artwork</title>
|
||||
<link rel="stylesheet" type="text/css" href="/style/main.css" />
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||
<meta name="Description" content="Swiss Didgeridoo Artwork - Online Shop" />
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div style="padding: 10px;">
|
||||
<h3 style="color:white; padding: 3px;background-color: #CB3829;">Bild Hochladen</h3>
|
||||
<p><form method="post" enctype="multipart/form-data">
|
||||
<input name="myfile" type="file" size="50" maxlength="100000" accept="text/*"> <input type="submit" value="Go" />
|
||||
</form>
|
||||
</p>
|
||||
<h3 style="color:white; padding: 3px;background-color: #CB3829;">Bild Auswählen</h3>
|
||||
|
||||
<ul style="padding-left: 16px; list-style-type: none">
|
||||
<?php foreach($this->files as $file): ?>
|
||||
<li>
|
||||
<a href="javascript: void(0);" onclick="window.open('/img/page/<?php echo $file; ?>', 'Bild', 'width=400,height=300,status=yes,scrollbars=yes,resizable=yes');"><img src="/img/page/<?php echo $file; ?>" width="50" height="50" /></a>
|
||||
<a href="javascript: void(0);" onclick="opener.document.getElementById('src').value='/img/page/<?php echo $file; ?>'; window.close();" >Einfügen</a>
|
||||
<a href="?delete=<?php echo $file ?>" style="float:right; margin-top: 35px">Löschen</a>
|
||||
|
||||
</li>
|
||||
<?php endforeach; ?>
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue