' . ($_POST ? self::cbActions($_GET["do"], 1) : null) . '
';
$html .= VGenerate::simpleDivWrap('left-float ct-bullet-out' . (intval($_GET["n"]) == $ct_val[0] ? ' ct-bullet-in' : null));
$html .= VGenerate::simpleDivWrap('left-float ct-bullet-label greyed-out bold', '', $u_img . '
' . $ct_v . '' . ($ct_val[2] != '' ? ' /
$ct_val[2]]) . '">' . $ct_val[2] . '' : null));
$htm1 = '
';
$htm1 .= '
';
/* block options */
$htm1 .= $ct_val[5] == 1 ? VGenerate::simpleDivWrap('left-float all-paddings5', 'user-block-options' . $ct_val[0], self::blockCfg($ct_val[0]), 'display: none;') : null;
$htm1 .= '
';
$htm1 .= '
';
$htm2 = '
';
if ($cfg["user_blocking"] == 1 and $ct_val[5] == 1) {
//user unblock form
$htm2 .= '
';
}
if ($cfg["user_friends"] == 1 and $ct_val[4] == 1 and $ct_val[5] == 0) {
//user friend remove form
$htm2 .= '
';
}
$notif = VGenerate::simpleDivWrap('ct-noticewrap', 'ct-noticewrap-' . $ct_val[0]);
//$html .= VGenerate::simpleDivWrap('left-float wdmax left-padding15 bottom-padding10 ct-detailed'.(intval($_GET["n"]) == $ct_val[0] ? NULL : ' no-display'), 'ct-detailed-'.$ct_val[0], $notif.VGenerate::simpleDivWrap('place-left user-thumb-large pointer', '', '
.')
').$htm1.$htm2);
$html .= VGenerate::simpleDivWrap('left-float wdmax left-padding15 bottom-padding10 ct-detailed' . (intval($_GET["n"]) == $ct_val[0] ? null : ' no-display'), 'ct-detailed-' . $ct_val[0], $notif . $htm1 . $htm2);
$html .= '
';
$html .= '' . ($lb_t[0] != '' ? $lb_t[0] : $language["frontend.global.none"]) . '
';
}
/* checkboxes of contact labels */
public function selectedLabel($ct_id = '', $lb_id = '')
{
$lb_t = self::contactLabelQuery($ct_id);
if ($lb_t[1] == '') {
return false;
}
if (in_array($lb_id, $lb_t[1])) {
return 'checked="checked"';
}
}
}