View file s.php
<? include $_SERVER['DOCUMENT_ROOT']."/template/start.php"; include $_SERVER['DOCUMENT_ROOT']."/template/func.php"; include $_SERVER['DOCUMENT_ROOT']."/template/log.php"; $user_prof = mysql_query("select * from `prof` where `id`='$id'") or die(mysql_error()); while ($str = mysql_fetch_array($user_prof)) { s($str[pol]); } ?>