"; //write_header("kto", "kto.php", $_SESSION["lang"]); $IDkto = mysql_real_escape_string($IDkto); $strSQL = "SELECT * FROM kto WHERE IDkto=". $IDkto . " AND " .$_SESSION["lang"]."=1"; $result=mysql_query($strSQL); $numrow=mysql_num_rows($result); echo "
\n"; if($numrow) { $meno=mysql_result($result, 0, 'meno'); $priezvisko=mysql_result($result, 0, 'priezvisko'); $email=mysql_result($result, 0, 'email'); $popis=mysql_result($result, 0, 'popis'); $popis=fmt_text($popis, 0); $popis_long=mysql_result($result, 0, 'popis_long'); $popis_long=fmt_text($popis_long, 1); $imglink=mysql_result($result, 0, 'imglink'); $extra=mysql_result($result, 0, 'extra'); $extra=unserialize($extra); $lextra=mysql_result($result, 0, 'lextra'); $lextra=unserialize($lextra); echo "

$meno $priezvisko

"; if($email) { echo "

"; echo "$email"; echo "

"; } if($popis) { echo "

"; echo "$popis"; echo "

\n"; } if($popis_long) { echo "$popis_long"; } pis_odkazy($extra, $lextra, "#ce0000"); } ?>