Вход Регистрация
Файл: region_clean/mm.php
Строк: 54
<?
#######################################
## Mod By KoT (borispol) [76-75-072] ##
#######################################

require_once "start.php";
require_once 
"sid.php";

header("Cache-Control: no-cache");
if (
$ver == "wml")header ("Content-type:text/vnd.wap.wml; charset=utf-8");
else 
header("Content-Type:text/html; charset=UTF-8");

require_once 
"inc.php";
$link connect_db();
list(
$row$id$ps$fsize1$fsize2) = check_login($link);
require_once 
"version.php";

$sex $row['sex'];

if (
$ver == "wml") {
echo 
$xml;
echo 
$dtd;
echo 
"<wml>n
      <head><meta http-equiv="
Cache-Control" content="no-cache" forua="true"/></head>n
      <card id="
send" title="Мистер и Мисс чата">n
      <p align="
center">";
} else {
echo 
"<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
      
<html xmlns="http://www.w3.org/1999/xhtml">
      <
head><link rel="stylesheet" type="text/css" href="css/$css.css"/>
      <
title>Мистер и Мисс чата</title>
      <
meta http-equiv="Content-Type" content="text/html; charset=utf-8"/></head><body>
      <
div align="left">";
}

$resu = mysql_query ("Select id,user,votefoto,img from users where img!='' and sex='М' order by votefoto desc limit 1");
$a1 = mysql_fetch_array($resu);
echo '<div class = "
d1"><u>Мистер и Мисс чата:</u></div><br/>';
$resu = mysql_query ("Select id,user,votefoto,img from users where img!='' and sex='Ж' order by votefoto desc limit 1");
$a2 = mysql_fetch_array($resu);


echo "
Мисс <u>".col_n($a2['user'])."</u>:<a href='info.php?$ses&amp;nk=".$a2["id"]."&amp;ref=$ref'><br/><br/>n
<img src="scr3.php?img=".$a2['img']."&amp;r=100" alt="фото"/></a><br/> Голосов: <u>".$a2["votefoto"]."</u><br/>";
echo "
<br/>Мистер <u>".col_n($a1['user'])."</u>:<a href='info.php?$ses&amp;nk=".$a1["id"]."&amp;ref=$ref'><br/><br/>n
<img src="scr3.php?img=".$a1['img']."&amp;r=100" alt="фото"/></a><br/> Голосов: <u>".$a1["votefoto"]."</u><br/>";


echo "
<br/><div class = 'd1'><a href="enter.php?$ses&amp;ref=$ref">Прихожая</a></div>n";

include_once "
foot.php";
?>
Онлайн: 1
Реклама