Add a list of answers for each answered message

This commit is contained in:
Némunaire 2012-01-20 20:04:04 +01:00
commit aad5915892
4 changed files with 59 additions and 5 deletions

View file

@ -11,6 +11,7 @@
<?php
require_once("../common.php");
$view = 0;
foreach ($_GET as $k => $t)
{
if (preg_match("#^([a-zA-Z0-9]{".RGXP_NB."})(:([a-zA-Z0-9]{".RGXP_NB."}))?$#", $k, $kout)
@ -36,13 +37,14 @@ foreach ($_GET as $k => $t)
echo $paste->get_diff($diff);
else
echo $paste->get_code();
echo $paste->show_answers();
?>
</div>
</div>
</body>
</html>
<?php
$view = true;
$view++;
}
}