<div class="razd">Введите код:</div><div class="menu"><form method="GET">
<textarea cols=60 rows=30 name="rates">
<?
$sod = file_get_contents("../dat/server.tpl");
echo $sod;
?>
</textarea><BR>
<input type="submit">
</form>
<?php
$rates = $_GET['rates'];
if(isset($rates))
{
$fp = fopen("../dat/server.tpl","w");
fputs($fp,"$rates");
fclose($fp);
}
?>