HEX
Server: Apache
System: Linux ns308404 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64
User: root (0)
PHP: 8.3.31
Disabled: opcache_get_status
Upload Files
File: /var/www/vhosts/onlinedev.com/httpdocs/admin/templates/editsite.phtml
<script type="text/javascript" src="include/ckeditor/ckeditor.js"></script>
<div class="head">
	<h1>Editer site marchand</h1>
</div>

<form action="<?php echo App::getUrl('sites', 'edit') ?>" name="f" method="post" id="f" enctype="multipart/form-data">
<input type="hidden" name="sent" value="1" />
<input type="hidden" name="id" value="<?php echo $item->id ?>" />
<input type="hidden" name="start" value="<?php echo $this->getRequest('start') ?>" />
<table border="0" cellspacing="3" cellpadding="5" class="list3">
	<tr>
		<th>Titre:</th>
		<td><input name="title" type="text" value="<?php echo $item->title; ?>" class="inp1" /></td>
	</tr>
	<tr class="r2">
		<th>Lien:</th>
		<td>/sites_marchands/<input type="text" name="url" value="<?php echo $item->url; ?>" class="inp1" style="float:none" />.html</td>
	</tr>
	<tr class="">
		<th>Image:</th>
		<td><img src="<?php echo getThumb('sites/'.$item->image, 100, 100, 'dynamic')?>" style="vertical-align:middle" /> <input type="file" name="image" class="inp1" style="float:none"  /></td>
	</tr>
	<tr class="r2">
		<th valign="top">Texte court:</th>
		<td>
        <textarea cols="80" class="ckeditor" id="editeur" name="description" rows="10"><?php echo $item->description; ?></textarea>
        
        </td>
	</tr>
	<tr class="r1">
		<th valign="top">Texte long:</th>
		<td>        
        <textarea cols="80" class="ckeditor" id="editeur" name="body" rows="10"><?php echo $item->body; ?></textarea>
        </td>
	</tr>
	<tr class="r2">
		<td>&nbsp;</td>
		<td height="25"><a href="#" title="Envoyer" class="but2" onclick="document.getElementById('f').submit();">Envoyer</a></td>
	</tr>
</table>
</form>