<?php
!defined('IN_MYMPS') && exit('FORBIDDEN');

require MYMPS_DATA."/config.db.php";
require MYMPS_INC."/db.class.php";
$row = $db -> getRow("SELECT a.*,b.levelname FROM `{$db_mymps}member` AS a LEFT JOIN `{$db_mymps}member_level` AS b ON a.levelid = b.id WHERE a.userid = '$userid'");
$password = $row['userpwd'];
$uid = $row['id'];
$if_corp = $row['if_corp'];
$tname = $row['tname'];
$levelname = $row['levelname'];

include MYMPS_ROOT.'/template/box/member.tpl.php';
?>