Файл: modules/servis/screen/index.php
Строк: 52
<?php
//////////////////////////////////////////
include '../../../system/core.php';
include '../../../system/header.php';
echo '<div class="verh"><b>Скриншотер сайтов</b></div>';
/////////////////////////////////////////////////
$rek = mysql_query("SELECT * FROM `ads` WHERE `mode` = '1'");
echo '<div class="rek"><div class="rekl"><img src="/images/r.png" alt="*"> <a href="/bl?bl=rek">Купить рекламу</a></br>';
while($rek2 = mysql_fetch_array($rek))
{
echo '<img src="/images/r.png" alt="*"> <a href="'.$rek2['link'].'">'.$rek2['name'].'</a></br>';
}
echo '</div>';
echo '</div>';
include 'system/nvg.php';
if($user['id']) {
echo ' <div class="start">';
echo '<div class="s" style="border-bottom:none;">';
echo '<table style="width:100%" cellspacing="0" cellpadding="0">';
echo '<tbody><tr><td style="vertical-align:top;width:10%;">';
echo '<center>';
echo '<a href="/cab" title="Кабинет"><img class="ico" align="middle" src="/images/vcard.png" alt="*"></a></center></td>';
echo '<td style="vertical-align:top;width:10%;">';
echo '<center>';
echo '<a href="/privat/" title="Почта"><img class="ico" align="middle" src="/images/mail2.png" alt="*"></a>';
if($user['id']){
$c = mysql_result(mysql_query('select count(`id`) from `privat` where `ho` = "'.$user['id'].'" and `read` = "0"'),0);
if($c != 0) echo ' <b> (+'.$c.')</b>';
}
echo '</center></td>';
echo '<td style="vertical-align:top;width:10%;">';
echo '<center><a href="/op/" title="Оповещения"><img class="ico" align="middle" src="/images/warning.png" alt="*"></a>';
if($user['id']){
$c = mysql_result(mysql_query('select count(`id`) from `op` where `who` = "'.$user['id'].'" and `read` = "0"'),0);
if($c != 0) echo '<b> (+'.$c.')</b>';
}
echo '</center></td>';
echo '</tr></tbody></table>';
echo '</div>';
}
//////////////////////////////////////////////////////
include '../../../modules/op/c.php';
include '../../../modules/privat/c.php';
////////////////////////////////////////
$screen = mt_rand(11111, 99999);
$random = mt_rand(9999, 1111);
echo '<form action="/servis/screen/s'.$screen.''.$random.'" method="post">';
echo '<div class="mist">';
echo 'Введите URL сайта, который вы хотите сфотографировать!<br/>
<input type="text" size="15" name="URL" value="http://">';
echo '</div>';
echo '<div class="mist">';
echo 'Выберите нужный вам размер скриншота!<br/>
<input type="text" size="3" value="640" name="HEIGHT"/>x<input type="text" size="3" value="480" name="WIDTH"/>';
echo '</div>';
echo '<div class="mist">';
echo '<input type="submit" value="Создать"></form>';
echo '</div>';
/////////////////
include '../../../system/footer.php';
////////////////
?>