diff options
author | Ludovic Pouzenc <ludovic@pouzenc.fr> | 2018-06-30 11:37:30 +0200 |
---|---|---|
committer | Ludovic Pouzenc <ludovic@pouzenc.fr> | 2018-06-30 11:37:30 +0200 |
commit | 5dac82f52f45ad27f16ec2ff63ee75e2f39ef942 (patch) | |
tree | 62cf671332976c83024139fc4c22009b382d45ff /beta_accents/app/popcommentaire.php | |
parent | 34795da1b6bd714df0d5dce93558e04b2bb8a287 (diff) | |
download | 2007-AWOR-5dac82f52f45ad27f16ec2ff63ee75e2f39ef942.tar.gz 2007-AWOR-5dac82f52f45ad27f16ec2ff63ee75e2f39ef942.tar.bz2 2007-AWOR-5dac82f52f45ad27f16ec2ff63ee75e2f39ef942.zip |
Renommage pour diff de beta_old1 vers beta_accents
Diffstat (limited to 'beta_accents/app/popcommentaire.php')
-rw-r--r-- | beta_accents/app/popcommentaire.php | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/beta_accents/app/popcommentaire.php b/beta_accents/app/popcommentaire.php new file mode 100644 index 0000000..cb6489f --- /dev/null +++ b/beta_accents/app/popcommentaire.php @@ -0,0 +1,23 @@ +<?php require_once ('include/connect.inc.php'); ?> +<h2>Editer votre commentaire</h2> +<div class="popup_contenu"> +<form id="formcommentaire" method="get" action=""> +<textarea name="txtCommentaire" rows="4" cols="40"> +<?php + $requete = "SELECT commentaireReponse FROM AWOR_Repondre WHERE idP=".$_GET['idP']." AND idR=".$_GET['idR'].""; + $result = mysql_query($requete); + if($result && mysql_num_rows($result) > 0) + { + $com = mysql_fetch_array($result); + + echo $com['commentaireReponse']; + } + +?> +</textarea> +<br/><br/> +<?php if (isset($_GET['idR'])) echo '<input type="hidden" name="idR" value="'.$_GET['idR'].'" />' ?> +<input type="hidden" name="action" value="commentaire" /> +<input type="submit" value="Enregistrer" /><input type="button" value="Fermer" onclick="popoff('popcommentaire')" /> +</form> +</div>
\ No newline at end of file |