Файл: tttt/index.php
Строк: 31
<?php
include 'sys/head.php';
include 'sys/config.php';
$screen = mt_rand(11111, 99999);
$random = mt_rand(9999, 1111);
echo '<form action="create.php?screen='.$screen.'&random='.$random.'" method="post">';
echo '<div class="user">Для создания скриншота достаточно ввести его адреса</div><div class="user">
<input type="text" size="27" name="URL" value="http://"></div>';
echo '<div class="user">
ширина:<input type="text" size="3" value="1024" name="WIDTH"/></br>
высота:</td><td><input type="text" size="3" value="768" name="HEIGHT"/></br>';
echo '<input type="submit" value="Создать"><input type="reset" value="Очистить"></form>';
echo '</div><div class="user">';
$screen_r = mysql_query("SELECT * FROM `screen` ORDER BY `id` DESC LIMIT 6");
while ($screen = mysql_fetch_assoc($screen_r)) {
echo '<img src="/screen/'.$screen['screen'].'.png" class="screen">';
}
echo '</div>';
include 'sys/foot.php';
?>