summaryrefslogtreecommitdiff
path: root/beta_old1/app/popcommentaire.php
diff options
context:
space:
mode:
authorLudovic Pouzenc <ludovic@pouzenc.fr>2018-06-30 11:26:37 +0200
committerLudovic Pouzenc <ludovic@pouzenc.fr>2018-06-30 11:26:37 +0200
commit19cdd5e2fde57d53f05570cd50f5ffd223182566 (patch)
treeed6a50c73c16b3c5a2cee8c8954e46268c256ee3 /beta_old1/app/popcommentaire.php
parent3c8d3719af0f77f8a01881b022e548d3a7d4604e (diff)
download2007-AWOR-19cdd5e2fde57d53f05570cd50f5ffd223182566.tar.gz
2007-AWOR-19cdd5e2fde57d53f05570cd50f5ffd223182566.tar.bz2
2007-AWOR-19cdd5e2fde57d53f05570cd50f5ffd223182566.zip
Renommage pour diff entre appli_3_alpha_old et beta_old1
Diffstat (limited to 'beta_old1/app/popcommentaire.php')
-rw-r--r--beta_old1/app/popcommentaire.php23
1 files changed, 23 insertions, 0 deletions
diff --git a/beta_old1/app/popcommentaire.php b/beta_old1/app/popcommentaire.php
new file mode 100644
index 0000000..b585067
--- /dev/null
+++ b/beta_old1/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 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