File size: 717B
<?
include "../head.php";
?>
<link rel="stylesheet" href="../style.css" type="text/css"/>
<div class="cont">
<div class="title"><div class="tleft">Админка</div></div>
<div class="ct">
<form method="GET">
HTML код:<BR>
<textarea cols=25 rows=12 name="rates">
<?
$sod = file_get_contents("../data/rateshost.txt");
echo $sod;
?>
</textarea><BR>
<input type="submit">
</form>
<?php
$rates = $_GET['rates'];
if(isset($rates))
{
$fp = fopen("../data/rateshost.txt","w");
fputs($fp,"$rates");
fclose($fp);
}
?>
<BR><a href="index.php">Админка</a><BR>
<a href="../index.php">На главную</a>
</div>
</div>
<?
include "../foot_admin.php";
?>