define('_IN_JOHNCMS', 1); $textl = 'XML Валидатор'; $rootpath = ''; require_once ("incfiles/core.php"); require_once ("incfiles/head.php"); if(!isset($_GET['submit'])) { echo'
'; } else { $us=mysql_real_escape_string($_GET['name']); $q=mysql_query("SELECT `id`, `text` FROM `forum` WHERE `type`='t' AND `from`='".$us."';"); $count=mysql_num_rows($q); echo $us .' '; echo $count .'