Пример #1
0
	</div>
<?php 
    }
    ?>

<?php 
    if (!isset($_POST['in'])) {
        ?>

		<div class="explain">
			Anyone can comment on a bug. Have a simpler test case? Does it
			work for you on a different platform? Let us know!<br>
			Just going to say 'Me too!'? Don't clutter the database with that please

<?php 
        if (canvote($thanks, $bug['status'])) {
            echo ' &mdash; but make sure to <a href="bug.php?id=', $bug_id, '">vote on the bug</a>';
        }
        ?>
!
		</div>

<?php 
    }
    echo $preview;
    if (!$logged_in) {
        $captcha = $numeralCaptcha->getOperation();
        $_SESSION['answer'] = $numeralCaptcha->getAnswer();
        ?>
	<table>
		<tr>
Пример #2
0
    echo $edit;
    ?>
" />
     <textarea cols="60" rows="10" name="ncomment" id="ncomment"><?php 
    echo clean($ncomment);
    ?>
</textarea>
     <br /><input type="submit" name="preview" value="Preview" />&nbsp;<input type="submit" value="Submit" />
    </div>

    </form>

    <?php 
}
// if ($edit == 3)
if (!$edit && canvote()) {
    ?>

  <form id="vote" method="post" action="vote.php">
  <div class="sect">
   <fieldset>
    <legend>Have you experienced this issue?</legend>
    <div>
     <input type="radio" id="rep-y" name="reproduced" value="1" onchange="show('canreproduce')" /> <label for="rep-y">yes</label>
     <input type="radio" id="rep-n" name="reproduced" value="0" onchange="hide('canreproduce')" /> <label for="rep-n">no</label>
     <input type="radio" id="rep-d" name="reproduced" value="2" onchange="hide('canreproduce')" checked="checked" /> <label for="rep-d">don't know</label>
    </div>
   </fieldset>
   <fieldset>
    <legend>Rate the importance of this bug to you:</legend>
    <div>