<div class="row">
	<div class="col-md-8 col-md-offset-2">
<?php if ($this->_rootref['ERROR'] != ('')) {  ?>
		<div class="alert alert-danger" role="alert">
			<?php echo (isset($this->_rootref['ERROR'])) ? $this->_rootref['ERROR'] : ''; ?>
		</div>
<?php } ?>
		<div class="well">
			<legend>
				<?php echo ((isset($this->_rootref['L_207'])) ? $this->_rootref['L_207'] : ((isset($MSG['207'])) ? $MSG['207'] : '{ L_207 }')); ?>
			</legend>
			<form class="form-horizontal" name="addfeedback" action="<?php echo (isset($this->_rootref['SITEURL'])) ? $this->_rootref['SITEURL'] : ''; ?>feedback.php?wid=<?php echo (isset($this->_rootref['WID'])) ? $this->_rootref['WID'] : ''; ?>&sid=<?php echo (isset($this->_rootref['SID'])) ? $this->_rootref['SID'] : ''; ?>&ws=<?php echo (isset($this->_rootref['WS'])) ? $this->_rootref['WS'] : ''; ?>" method="post">
				<input type="hidden" name="csrftoken" value="<?php echo (isset($this->_rootref['_CSRFTOKEN'])) ? $this->_rootref['_CSRFTOKEN'] : ''; ?>">
				<div class="form-group">
					<label class="col-sm-3 control-label"><?php echo ((isset($this->_rootref['L_168'])) ? $this->_rootref['L_168'] : ((isset($MSG['168'])) ? $MSG['168'] : '{ L_168 }')); ?>:</label>
					<div class="col-sm-9">
						<p class="form-control-static"><a href="<?php echo (isset($this->_rootref['SITEURL'])) ? $this->_rootref['SITEURL'] : ''; ?>item.php?id=<?php echo (isset($this->_rootref['AUCT_ID'])) ? $this->_rootref['AUCT_ID'] : ''; ?>"><?php echo (isset($this->_rootref['AUCT_TITLE'])) ? $this->_rootref['AUCT_TITLE'] : ''; ?></a></p>
					</div>
				</div>
				<div class="form-group">
					<label class="col-sm-3 control-label"><?php echo (isset($this->_rootref['SBMSG'])) ? $this->_rootref['SBMSG'] : ''; ?>:</label>
					<div class="col-sm-9">
						<p class="form-control-static"><a href="<?php echo (isset($this->_rootref['SITEURL'])) ? $this->_rootref['SITEURL'] : ''; ?>profile.php?user_id=<?php echo (isset($this->_rootref['THEM'])) ? $this->_rootref['THEM'] : ''; ?>&auction_id=<?php echo (isset($this->_rootref['AUCT_ID'])) ? $this->_rootref['AUCT_ID'] : ''; ?>"><?php echo (isset($this->_rootref['USERNICK'])) ? $this->_rootref['USERNICK'] : ''; ?></a> (<a href="<?php echo (isset($this->_rootref['SITEURL'])) ? $this->_rootref['SITEURL'] : ''; ?>feedback.php?id=<?php echo (isset($this->_rootref['THEM'])) ? $this->_rootref['THEM'] : ''; ?>&faction=show"><?php echo (isset($this->_rootref['USERFB'])) ? $this->_rootref['USERFB'] : ''; ?></a>) <?php echo (isset($this->_rootref['USERFBIMG'])) ? $this->_rootref['USERFBIMG'] : ''; ?></p>
					</div>
				</div>
				<div class="form-group">
					<label class="col-sm-3 control-label"><?php echo ((isset($this->_rootref['L_503'])) ? $this->_rootref['L_503'] : ((isset($MSG['503'])) ? $MSG['503'] : '{ L_503 }')); ?>:</label>
					<div class="col-sm-9"><div class="radio">
						<label><input type="radio" name="TPL_rate" value="1" <?php echo (isset($this->_rootref['RATE1'])) ? $this->_rootref['RATE1'] : ''; ?>>
						<img src="<?php echo (isset($this->_rootref['SITEURL'])) ? $this->_rootref['SITEURL'] : ''; ?>images/positive.png" border="0" alt="+1"></label>
						<label><input type="radio" name="TPL_rate" value="0" <?php echo (isset($this->_rootref['RATE2'])) ? $this->_rootref['RATE2'] : ''; ?>>
						<img src="<?php echo (isset($this->_rootref['SITEURL'])) ? $this->_rootref['SITEURL'] : ''; ?>images/neutral.png" border="0" alt="0"></label>
						<label><input type="radio" name="TPL_rate" value="-1" <?php echo (isset($this->_rootref['RATE3'])) ? $this->_rootref['RATE3'] : ''; ?>>
						<img src="<?php echo (isset($this->_rootref['SITEURL'])) ? $this->_rootref['SITEURL'] : ''; ?>images/negative.png" border="0" alt="-1"></label></div>
					</div>
				</div>
				<div class="form-group">
					<label class="col-sm-3 control-label"><?php echo ((isset($this->_rootref['L_227'])) ? $this->_rootref['L_227'] : ((isset($MSG['227'])) ? $MSG['227'] : '{ L_227 }')); ?>:</label>
					<div class="col-sm-9">
						<textarea name="TPL_feedback" rows="10" class="form-control"><?php echo (isset($this->_rootref['FEEDBACK'])) ? $this->_rootref['FEEDBACK'] : ''; ?></textarea>
					</div>
				</div>
<?php if ($this->_rootref['B_USERAUTH']) {  ?>
				<div class="form-group">
					<label class="col-sm-3 control-label"><?php echo ((isset($this->_rootref['L_188'])) ? $this->_rootref['L_188'] : ((isset($MSG['188'])) ? $MSG['188'] : '{ L_188 }')); ?>:</label>
					<div class="col-sm-9">
						<input type="password" name="TPL_password" size="20" class="form-control" value="">
					</div>
				</div>
<?php } ?>
				<div class="form-group">
					<div class="text-center">
						<input type="submit" name="" value="<?php echo ((isset($this->_rootref['L_207'])) ? $this->_rootref['L_207'] : ((isset($MSG['207'])) ? $MSG['207'] : '{ L_207 }')); ?>" class="btn btn-primary">
						<input type="reset" name="" class="btn btn-default">
					</div>
				</div>
				<input type="hidden" name="TPL_nick_hidden" value="<?php echo (isset($this->_rootref['USERNICK'])) ? $this->_rootref['USERNICK'] : ''; ?>">
				<input type="hidden" name="addfeedback" value="true">
				<input type="hidden" name="auction_id" value="<?php echo (isset($this->_rootref['AUCT_ID'])) ? $this->_rootref['AUCT_ID'] : ''; ?>">
			</form>
		</div>
	</div>
</div>