55 lines
2.7 KiB
HTML
Executable File
55 lines
2.7 KiB
HTML
Executable File
{include file=$header_admin title="Редактор robots.txt" h1="Редактор robots.txt"}
|
|
<form action="/robots/" name="form1" method="post">
|
|
<table width="100%" border=0 align="center" cellpadding="2" cellspacing="2">
|
|
<tr>
|
|
<td>User-agent:</td>
|
|
<td><select name="robots" class="form-control" onChange="sb1()">
|
|
<option value=''></option>
|
|
<option value='*'>для всех роботов</option>
|
|
<option value='Yandex'>Yandex</option>
|
|
<option value='Googlebot'>Google</option>
|
|
</select>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Disallow:</td>
|
|
<td><select name="disal" onChange="sb2()" class="form-control">
|
|
<option value=""></option>
|
|
<option value="">индексировать всё</option>
|
|
<option value="/">запретить всё</option>
|
|
<option value="/">/</option>
|
|
<option value="/..">/..</option>
|
|
<option value="/cgi-bin">/cgi-bin</option>
|
|
<option value="/phpincludes">/phpincludes</option>
|
|
<option value="/css">/css</option>
|
|
<option value="/js">/js</option>
|
|
<option value="/images">/images</option>
|
|
<option value="/mail">/mail</option>
|
|
</select></td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td><input type="button" value="Комментарий" name="com" onClick="sb3()" class="btn btn-outline-success">
|
|
<input type="button" value="Sitemap" name="sitemap1" onClick="sitemap()" class="btn btn-outline-success">
|
|
<input type="button" value="Пробел" name="n" onClick="sb4()" class="btn btn-outline-success"></td>
|
|
</tr>
|
|
</table>
|
|
<br>
|
|
<br>
|
|
<table width="100%" border=0 align="center" cellpadding="2" cellspacing="2">
|
|
<tr>
|
|
<td><b>Результат</b></td>
|
|
<td align=right valign=bottom>
|
|
<input name="clear" value="Очистить" type="button" onClick="clear_form()" class="btn btn-outline-success">
|
|
<input name="button" type="button" onClick="document.form1.formula.focus();document.form1.formula.select()" value=выделить class="btn btn-outline-success"></td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan=2><div align="center">
|
|
<textarea rows=14 name="formula" class="result form-control" >{$content}</textarea>
|
|
<br>
|
|
<input type="submit" name="ok" value="Сохранить" class="btn btn-outline-success" />
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</form> |