$cell[] = construct_link_code($pm[title],"pm.php?$session[sessionurl]do=view&pmid=$pm[pmtextid]");
$cell[] = construct_link_code($pm[title],"ppm.php?$session[sessionurl]do=view&pmid=$pm[pmtextid]");