<table class="window">
	<tr>
		<td>
			<div class="frame_center settings_form">
				<h1>{{@page_data.title}}</h1>
				<p>Прайсчекер в отдельном окне с блоком рекламы <a href="/cd/pricechecker?adv=1" target="_blank">{{@SCHEME}}://{{@HOST}}{{@PORT!=80?':'.@PORT:''}}/cd/pricechecker?adv=1</a></p>
				<p>Прайсчекер в отдельном окне без блока рекламы <a href="/cd/pricechecker" target="_blank">{{@SCHEME}}://{{@HOST}}{{@PORT!=80?':'.@PORT:''}}/cd/pricechecker</a></p>
				<form name="settings_pricechecker_form" action="/settings/pricechecker" method="POST">
					<table width="100%">
						<tr>
							<td>
								Озвучивать результат
							</td>
							<td align="right">
								<select name="pricechecker_speek">
									<option value="0">Нет</option>
									<option value="1" {{@data.pricechecker_speek==1?'selected="selected"':""}}>Да</option>
								</select>
							</td>
						</tr>
						<tr class="pricechecker_speek" {{!@data.pricechecker_speek?'style="display:none;"':''}}>
							<td>
								Голос
							</td>
							<td align="right">
								<select name="pricechecker_voice">
								</select>
							</td>
						</tr>
						<tr class="pricechecker_speek" {{!@data.pricechecker_speek?'style="display:none;"':''}}>
							<td>
								Громкость
							</td>
							<td align="right">
								<input type="number" name="pricechecker_volume" value="{{@data.pricechecker_volume?@data.pricechecker_volume:100}}" min="0" max="100" step="1">
							</td>
						</tr>
						<tr class="pricechecker_speek" {{!@data.pricechecker_speek?'style="display:none;"':''}}>
							<td>
								Скорость
							</td>
							<td align="right">
								<input type="number" name="pricechecker_rate" value="{{@data.pricechecker_rate?@data.pricechecker_rate:100}}" min="0" step="1">
							</td>
						</tr>
						<tr class="pricechecker_speek" {{!@data.pricechecker_speek?'style="display:none;"':''}}>
							<td>
								Высота голоса
							</td>
							<td align="right">
								<input type="number" name="pricechecker_pitch" value="{{@data.pricechecker_pitch?@data.pricechecker_pitch:100}}" min="0" step="1">
							</td>
						</tr>
						<tr class="pricechecker_speek" {{!@data.pricechecker_speek?'style="display:none;"':''}}>
							<td colspan="2" align="center">
								<input type="button" value="Проверить" id="pricechecker_speek_test">
							</td>
						</tr>
						<tr class="pricechecker_speek" {{!@data.pricechecker_speek?'style="display:none;"':''}}>
							<td>
								Очищать результат через (секунды)
							</td>
							<td align="right">
								<input type="number" name="pricechecker_clear" value="{{@data.pricechecker_clear?@data.pricechecker_clear:15}}" min="0" step="1">
							</td>
						</tr>
						<tr>
							<td colspan="2" align="center">
								<input type="submit" value="Сохранить">
							</td>
						</tr>
					</table>
				</form>
			</div>
		</td>
	</tr>
</table>
<script type="text/javascript">
var pricechecker_voice="{{@data.pricechecker_voice?@data.pricechecker_voice:'Google русский'}}";
</script>