100 lines
2.4 KiB
HTML
Executable File
100 lines
2.4 KiB
HTML
Executable File
<[include file="/elements/wireframes/2cols.html" share]>
|
|
|
|
<[content name=title value="Admin Home" /]>
|
|
|
|
<[content name=content]>
|
|
<table border="0" cellpadding="0" cellspacing="0">
|
|
<tr>
|
|
<td><img src="libs/img/templates/tl.gif"></td>
|
|
<td background="libs/img/templates/t.gif"></td>
|
|
<td><img src="libs/img/templates/tr.gif"></td>
|
|
</tr>
|
|
<tr>
|
|
<td background="libs/img/templates/l.gif"></td>
|
|
<td height="50px">
|
|
<form action="export.php" id="form" method="get" enctype="multipart/form-data">
|
|
<table width="" cellspacing="0" cellpadding="0" border="0">
|
|
<tr>
|
|
<td>
|
|
<table cellspacing="0" cellpadding="0" border="0" width="100%">
|
|
<tr>
|
|
<td class="bold">
|
|
Exporter des contacts par date
|
|
</td>
|
|
<td align="left"></td>
|
|
</tr>
|
|
</table>
|
|
<br />
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<table cellspacing="0">
|
|
|
|
|
|
<tr valign="bottom" bgcolor="#3d3d3d">
|
|
<th align="center">debut</th>
|
|
<td align="center">
|
|
<input rel="field-begin" type="text" name="" value="" class="date" />
|
|
<input id="field-begin" type="hidden" name="begin" value="" class="" />
|
|
</td>
|
|
</tr>
|
|
|
|
<tr valign="bottom" bgcolor="#3d3d3d">
|
|
<th align="center">fin</th>
|
|
<td align="center">
|
|
<input rel="field-end" type="text" name="" value="" class="date" />
|
|
<input id="field-end" type="hidden" name="end" value="" class="" />
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th colspan="2"><input type="submit" value="Exporter" /></th>
|
|
<input type="hidden" name="model" value="{$get.model}"/>
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</form>
|
|
</td>
|
|
<td background="libs/img/templates/r.gif"></td>
|
|
</tr>
|
|
<tr>
|
|
<td><img src="libs/img/templates/bl.gif"></td>
|
|
<td background="libs/img/templates/b.gif"></td>
|
|
<td><img src="libs/img/templates/br.gif"></td>
|
|
</tr>
|
|
</table>
|
|
<[asis]>
|
|
|
|
<script>
|
|
$(document).ready(function(){
|
|
|
|
$('input.date').each(function () {
|
|
|
|
var date = $(this).val().split('-');
|
|
if ( date.length > 1 )
|
|
$(this).val(date[2] + '/' + date[1] + '/' + date[0]);
|
|
|
|
});
|
|
|
|
$('input.date').datepicker({
|
|
'dateFormat': 'dd/mm/yy',
|
|
'onSelect': function (event, ui) {
|
|
|
|
var date = $(this).val().split('/');
|
|
$('#' + $(this).attr('rel')).val(date[2] + '-' + date[1] + '-' + date[0]);
|
|
|
|
},
|
|
});
|
|
|
|
});
|
|
</script>
|
|
<[/asis]>
|
|
<[/content]>
|
|
|
|
<[/include]>
|