function ctl_show()
{
if (!isset($this->adminLogged["admin_allow"]["pm"]["browse"]) && !$this->is_super) {
return array("alert" => "x110301");
}
$_num_pmId = fn_getSafe(fn_get("pm_id"), "int", 0);
if ($_num_pmId < 1) {
return array("alert" => "x110211");
}
$_arr_pmRow = $this->mdl_pm->mdl_read($_num_pmId);
if ($_arr_pmRow["alert"] != "y110102") {
return $_arr_pmRow;
}
$_arr_pmRow["toUser"] = $this->mdl_user->mdl_read($_arr_pmRow["pm_to"]);
$_arr_pmRow["fromUser"] = $this->mdl_user->mdl_read($_arr_pmRow["pm_from"]);
$this->tplData["pmRow"] = $_arr_pmRow;
$this->obj_tpl->tplDisplay("pm_show.tpl", $this->tplData);
return array("alert" => "y110102");
}