You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if ( preg_match( '/sub=(\d+)/', $_SERVER['HTTP_REFERER'], $d ) ) {
$exid = $d[1];
}
$result = $xoopsDB->query( 'SELECT * FROM ' . EGTBL . ' e LEFT JOIN ' . OPTBL . ' o ON e.eid=o.eid LEFT JOIN ' . CATBL . ' ON topicid=catid LEFT JOIN ' . EXTBL . " ON e.eid=eidref AND exid=$exid WHERE e.eid=$eid AND status=" . STAT_NORMAL );