Correction du script de sondage
ml500
Messages postés
698
Date d'inscription
Statut
Membre
Dernière intervention
-
Bablon Arnaud Messages postés 74 Date d'inscription Statut Contributeur Dernière intervention -
Bablon Arnaud Messages postés 74 Date d'inscription Statut Contributeur Dernière intervention -
Bonjour,
Prière corriger mon script de sondage, afin que ca s'affiche correctement
voici son lien : http://barreaudelagombe.cd/sond.php
<table width="$pollvars[table_width]" border="0" cellspacing="0" cellpadding="1" bgcolor="$pollvars[bgcolor_fr]">
<tr align="center">
<td>
<style type="text/css">
<!--
.input { font-family: $pollvars[font_face]; font-size: 8pt}
-->
</style>
<font face="$pollvars[font_face]" size="-1" color="#FFFFFF"><b>$pollvars[title]</b></font></td>
</tr>
<tr align="center">
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="2" align="center" bgcolor="$pollvars[bgcolor_tab]">
<tr>
<td height="40" valign="middle"><font face="$pollvars[font_face]" color="$pollvars[font_color]" size="1"><b>$question</b></font></td>
</tr>
<tr align="right" valign="top">
<td>
<form method="post" action="$this->form_forward">
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
<tr valign="top" align="center">
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="1" align="center">
<tr>
<td width="15%"><input type="radio" name="option_id" value="$data[option_id]"></td>
<td width="85%"><font face="$pollvars[font_face]" size="1" color="$pollvars[font_color]">$data[option_text]</font></td>
</tr>
</table>
<input type="hidden" name="action" value="vote">
<input type="hidden" name="poll_ident" value="$poll_id">
<input type="submit" value="$pollvars[vote_button]" class="input">
<br>
<br>
<font face="$pollvars[font_face]" color="$pollvars[font_color]" size="1"><a href="$this->form_forward?action=results&poll_ident=$poll_id">$pollvars[result_text]</a></font>
</td>
</tr>
</table>
</form>
<font face="$pollvars[font_face]" size="1"><a href="http://www.proxy2.de" target="_blank" title="Advanced Poll">Version $pollvars[poll_version]</a></font>
</td>
</tr>
</table>
</td>
</tr>
</table>
Prière corriger mon script de sondage, afin que ca s'affiche correctement
voici son lien : http://barreaudelagombe.cd/sond.php
<table width="$pollvars[table_width]" border="0" cellspacing="0" cellpadding="1" bgcolor="$pollvars[bgcolor_fr]">
<tr align="center">
<td>
<style type="text/css">
<!--
.input { font-family: $pollvars[font_face]; font-size: 8pt}
-->
</style>
<font face="$pollvars[font_face]" size="-1" color="#FFFFFF"><b>$pollvars[title]</b></font></td>
</tr>
<tr align="center">
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="2" align="center" bgcolor="$pollvars[bgcolor_tab]">
<tr>
<td height="40" valign="middle"><font face="$pollvars[font_face]" color="$pollvars[font_color]" size="1"><b>$question</b></font></td>
</tr>
<tr align="right" valign="top">
<td>
<form method="post" action="$this->form_forward">
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
<tr valign="top" align="center">
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="1" align="center">
<tr>
<td width="15%"><input type="radio" name="option_id" value="$data[option_id]"></td>
<td width="85%"><font face="$pollvars[font_face]" size="1" color="$pollvars[font_color]">$data[option_text]</font></td>
</tr>
</table>
<input type="hidden" name="action" value="vote">
<input type="hidden" name="poll_ident" value="$poll_id">
<input type="submit" value="$pollvars[vote_button]" class="input">
<br>
<br>
<font face="$pollvars[font_face]" color="$pollvars[font_color]" size="1"><a href="$this->form_forward?action=results&poll_ident=$poll_id">$pollvars[result_text]</a></font>
</td>
</tr>
</table>
</form>
<font face="$pollvars[font_face]" size="1"><a href="http://www.proxy2.de" target="_blank" title="Advanced Poll">Version $pollvars[poll_version]</a></font>
</td>
</tr>
</table>
</td>
</tr>
</table>
A voir également:
- Correction du script de sondage
- Votre appareil ne dispose pas des correctifs de qualité et de sécurité importants - Guide
- Sondage facebook - Guide
- Script vidéo youtube - Guide
- Activer correction automatique android - Guide
- Mas script - Accueil - Windows
1 réponse
salut mec, déja tu as un 1er souci c'est que toutes tes variables PHP sont affichées en brut cela viens du fait que tu as oublié de rajouter de devant chaque "$" <?php print et aprés chaque variables => ; ?> un exemple
Corrige déjà tes variables et ensuite dis nous ce qui cloche encore
<font face="<?php print $pollvars[font_face]; ?>" size="1"><a href="http://www.proxy2.de" target="_blank" title="Advanced Poll">Version <?php print $pollvars[poll_version]; ?></a></font>
Corrige déjà tes variables et ensuite dis nous ce qui cloche encore