Вход Регистрация
Файл: services/icq.php
Строк: 46
<?php
require_once ("../includes/start.php");
require_once (
"../includes/functions.php");
require_once (
"../includes/header.php");
include_once (
"../themes/".$config['themes']."/index.php");

show_title('partners.gif''Проверка ICQ номера');
if(!isset(
$_POST['icq']))
{
echo 
'<br><div class="form">
<form action="icq.php" method="post" />
* Введите номер ICQ:<br />
<input tape="text" name="icq" value="" />
<input type="submit" value="Проверить" /></form></div>'
;
echo
'<br><img src="../images/img/act.gif" alt="image" /> <a href="index.php?'.SID.'">Сервисы</a><br><img src="../images/img/homepage.gif" alt="image" /> <a href="../index.php?'.SID.'">На главную</a>';
}
else
{
$icq = (int)$_POST['icq'];

if(empty(
$icq)){
echo
'<div class="error">Поле ввода номера,обязательно для заполнения.<br />&#171; <a href="?">Назад</a></div><img src="../images/img/act.gif" alt="image" /> <a href="index.php?'.SID.'">Сервисы</a><br><img src="../images/img/homepage.gif" alt="image" /> <a href="../index.php?'.SID.'">На главную</a>';
include_once 
"../themes/".$config['themes']."/foot.php";
}

if(
mb_strlen($icq) > OR mb_strlen($icq) < 5){ echo'<div class="error">Номер ICQ не может быть длинее 9-ти и короче 5-ти знаков.<br />&#171; <a href="?">Назад</a></div>
<img src="../images/img/act.gif" alt="image" /> <a href="index.php?'
.SID.'">Сервисы</a><br>
<img src="../images/img/homepage.gif" alt="image" /> <a href="../index.php?'
.SID.'">На главную</a>';
include_once 
"../themes/".$config['themes']."/foot.php";
}

if(!
preg_match('#^[0-9]+$#',$icq)){ echo'<div class="error">Номер ICQ должен состоять из цифр.<br />
<img src="../images/img/act.gif" alt="image" /> <a href="index.php?'
.SID.'">Сервисы</a><br>
&#171; <a href="?">Назад</a></div><img src="../images/img/homepage.gif" alt="image" /> <a href="../index.php?'
.SID.'">На главную</a>
'
;
include_once 
"../themes/".$config['themes']."/foot.php";
}

echo
'
<img src="http://web.icq.com/whitepages/online?icq='
.$icq.'&amp;img=5" alt="1"/> <b>'.$icq.'</b><br />
<img src="http://c.icq.com/people/img/show_photo.phpc?uin='
.$icq.'" alt="1"/><br><br><img src="../images/img/act.gif" alt="image" /> <a href="index.php?'.SID.'">Сервисы</a><br>';
echo 
'<img src="../images/img/homepage.gif" alt="image" /> <a href="../index.php?'.SID.'">На главную</a>';
}
include_once (
"../themes/".$config['themes']."/foot.php");
?>
Онлайн: 1
Реклама