<?php


 include '../../../system/core.php';
 include '../../../system/header.php';
 
 echo '<div class="verh"><b>Скриншотер сайтов</b></div>';
  
 include '../../../system/nvg.php';
 include '../../../modules/servis/screen/tmp/functions.php';
 include '../../../modules/servis/screen/tmp/error.php';

  if(!$user['id']){
  header('Location: /index.php'); exit;
  }

echo '<div class="mist"><center>Ваш скриншот готов!</center></div>';
echo '<div class="mist"><center><a href="/modules/servis/screen/i/'.$screen.'-'.$random.'.png"><img src="/modules/servis/screen/i/'.$screen.'-'.$random.'.png" width="100" height="120" alt="Изображение"></a></center></div>
<div class="mist"><center>Скопировать:<br/><input type="text" size="15" value="http://'.$_SERVER['HTTP_HOST'].'/modules/servis/screen/i/'.$screen.'-'.$random.'.png" name="copy"></center></div>
<div class="mist"><center><a href="/servis/screen/">Вернуться</a></center></div>';



/////////////////
 include '../../../system/footer.php';
////////////////

?>