View file magmail/anketa.php

File size: 1.19Kb
<?  
require("functionChat.ssp");



$r = GetRandom();
$nn=ReplaceChar($nn);

if (empty($nn)) 
{
  LogResult($ErrorMess,$EmptyMess,"index.php?p=$r");
}

openDB(); 

$result = checkpass($nn,$pass,"");
mysql_close();

require("headerwml.ssp");

echo "<card id=\"$MagMail\" title=\"$menu[7]\">";

  
echo "<p align=\"center\">"; 

for ($i = 0; $i<count($ProfData); $i++)
  { 
  list($label,$mess,$datalen)=explode("|",$ProfData[$i]);
  echo "<a href=\"data.php?p=$r&amp;nn=$nn&amp;pass=$pass&amp;num=$i&amp;datalen=$datalen\">$mess</a><br/>\n";}
  

echo "</p>";
echo "<p>";

echo "<a href=\"profile.php?p=$r&amp;to=$nn&amp;login=$nn&amp;pass=$pass\">- $menu[32]</a><br/>\n";

echo "<a href=\"anketaOff.php?p=$r&amp;nn=$(nn:escape)&amp;pass=$(pass:escape)\">- $menu[37]</a><br/>\n";

$fotofn = strtolower($nn).".jpg";
if (file_exists($GLOBALS["DOCUMENT_ROOT"]."/foto/$fotofn"))
  echo "<a href=\"fotoOff.php?p=$r&amp;nn=$(nn)&amp;pass=$(pass)\">- $menu[63]</a><br/>\n";

echo "<a href=\"index.php?p=$r\">- $menu[8]</a><br/>\n";

echo "<do type=\"prev\" label=\"$menu[8]\">\n";
echo "<go href=\"index.php?p=$r\"/>\n";
echo "</do>\n";

echo "</p>";
include ("bottom.inc");
?>