admin
doz
html2pdf_v4.03
_class
_tcpdf_5.0.002
examples
res
about.php
bas_page.png
exemple00.php
exemple01.php
exemple02.php
exemple03.php
exemple04.php
exemple05.php
exemple06.css
exemple06.php
exemple07a.php
exemple07b.php
exemple08.php
exemple09.png.php
exemple10.php
exemple10a.gif
exemple10b.jpg
exemple10c.gif
exemple11.php
exemple12.php
exemple13.php
forms.php
logo.gif
logo.png
off.png
puce.gif
puce2.gif
regle.png
svg.php
tcpdf_logo.jpg
about.php
bookmark.php
exemple00.php
exemple01.php
exemple02.php
exemple03.php
exemple04.php
exemple05.php
exemple06.php
exemple07.php
exemple08.php
exemple09.php
exemple10.php
exemple11.php
exemple12.php
exemple13.php
forms.php
groups.php
js1.php
js2.php
js3.php
qrcode.php
radius.php
regle.php
svg.php
svg_tiger.php
svg_tree.php
ticket.php
utf8.php
locale
_LGPL.txt
_changelog.txt
_lisez_moi.txt
_read_me.txt
html2pdf.class.php
ul.png
ul2.png
ul3.png
htmlpurifier-4.10.0
images
prints
prints3
stud
Kennwortwechsel.php
hauptframe.php
htmlpurifier-4.10.0.zip
index.php
index_alt.php
index_db.php
index_frame.htm
index_ldap.php
login.php
logout.php
menuframe.htm
styles_pc.css
testpdf.php
topframe.php
64 lines
2.4 KiB
PHP
Executable File
64 lines
2.4 KiB
PHP
Executable File
<?php
|
|
$url = $_SERVER['REQUEST_URI'];
|
|
if (substr($url, 0, 7)!=='http://') {
|
|
$url = 'http://'.$_SERVER['HTTP_HOST'];
|
|
if (ISSET($_SERVER['SERVER_PORT']) && $_SERVER['SERVER_PORT']!=80) $url.= ':'.$_SERVER['SERVER_PORT'];
|
|
$url.= $_SERVER['REQUEST_URI'];
|
|
}
|
|
?>
|
|
<style type="text/css">
|
|
li
|
|
{ font-size: 10pt; }
|
|
|
|
input, textarea, select
|
|
{
|
|
border: dashed 1mm red;
|
|
background: #FCC;
|
|
color: #400;
|
|
text-align: left;
|
|
font-size: 11pt;
|
|
}
|
|
</style>
|
|
<page footer="form">
|
|
<h1>Test de formulaire</h1><br>
|
|
<br>
|
|
<form action="<?php echo $url; ?>">
|
|
<input type="hidden" name="test" value="1">
|
|
Vous utilisez cette librairie dans le cadre :
|
|
<ul style="list-style: none">
|
|
<li><input type="checkbox" name="cadre_boulot" checked="checked"> du boulot</li>
|
|
<li><input type="checkbox" name="cadre_perso" > perso</li>
|
|
</ul>
|
|
Vous êtes :
|
|
<ul style="list-style: none">
|
|
<li><input type="radio" name="sexe" value="homme" checked="checked"> un homme</li>
|
|
<li><input type="radio" name="sexe" value="femme"> une femme</li>
|
|
</ul>
|
|
Vous avez :
|
|
<select name="age" >
|
|
<option value="15">moins de 15 ans</option>
|
|
<option value="20">entre 15 et 20 ans</option>
|
|
<option value="25">entre 20 et 25 ans</option>
|
|
<option value="30">entre 25 et 30 ans</option>
|
|
<option value="40">plus de 30 ans</option>
|
|
</select><br>
|
|
<br>
|
|
Vous aimez :
|
|
<select name="aime[]" size="5" multiple="multiple">
|
|
<option value="ch1">l'informatique</option>
|
|
<option value="ch2">le cinéma</option>
|
|
<option value="ch3">le sport</option>
|
|
<option value="ch4">la littérature</option>
|
|
<option value="ch5">autre</option>
|
|
</select><br>
|
|
<br>
|
|
Votre phrase fétiche : <input type="text" name="phrase" value="cette lib est géniale !!!" style="width: 100mm"><br>
|
|
<br>
|
|
Un commentaire ?<br>
|
|
<textarea name="comment" rows="3" cols="30">rien de particulier</textarea><br>
|
|
<br>
|
|
<input type="reset" name="btn_reset" value="Initialiser">
|
|
<input type="button" name="btn_print" value="Imprimer" onclick="print(true);">
|
|
<input type="submit" name="btn_submit" value="Envoyer">
|
|
</form>
|
|
</page>
|