function fakedmail($r) { return preg_anti_spam($r[1]); }
} if ($admin) { echo ' => ' . date(translate("dateinternal"), $temp_user['user_lastvisit']); } echo '" data-toggle="tooltip">' . $temp_user['uname'] . '</a> <br />' . $temp_user['name'] . ' </td>'; if ($sortby != 'user_from ASC') { if ($admin) { echo ' <td>' . preg_anti_spam($temp_user['email']) . '</td>'; } else { if ($temp_user['user_viewemail']) { echo ' <td>' . preg_anti_spam($temp_user['email']) . '</td>'; } else { echo ' <td>' . substr($temp_user['femail'], 0, strpos($temp_user['femail'], "@")) . '</td>'; } } } else { echo ' <td>' . $temp_user['user_from'] . ' </td>'; } echo ' <td><a href="' . $temp_user['url'] . '" target="_blank">' . $temp_user['url'] . '</a></td>'; if ($admin) { echo ' <td> <a href="admin.php?chng_uid=' . $temp_user['uid'] . '&op=modifyUser" ><i class="fa fa-edit fa-lg" title="' . translate("Edit") . '" data-toggle="tooltip"></i></a>
function make_clickable($text) { $ret = ''; $ret = preg_replace('#(^|\\s)(http|https|ftp|sftp)(://)([^\\s]*)#i', ' <a href="$2$3$4" target="_blank" class="noir">$2$3$4</a>', $text); $ret = preg_replace_callback('#([_\\.0-9a-z-]+@[0-9a-z-\\.]+\\.+[a-z]{2,4})#i', function (&$r) { return preg_anti_spam($r[1]); }, $ret); //php7 return $ret; }
echo '<i class="fa fa-plus-circle fa-lg"></i></a></td>'; } else { echo ' <td>' . $mns . '</td>'; } } else { echo ' <td> </td>'; } echo "<td>" . $temp_user['name'] . "</td>\n"; if ($sortby != "user_from ASC") { if ($admin) { echo "<td>" . preg_anti_spam($temp_user['email']) . "</td>\n"; } else { if ($temp_user['user_viewemail']) { echo "<td>" . preg_anti_spam($temp_user['email']) . "</td>\n"; } else { echo "<td>" . substr($temp_user['femail'], 0, strpos($temp_user['femail'], "@")) . "</td>\n"; } } } else { echo "<td>" . $temp_user['user_from'] . " </td>\n"; } echo "<td><a href=\"" . $temp_user['url'] . "\" target=\"_blank\">" . $temp_user['url'] . "</a></td>\n"; if ($admin) { echo "<td><a href=\"admin.php?chng_uid=" . $temp_user['uid'] . "&op=modifyUser\" title=\"" . translate("Edit") . " \"><i class=\"fa fa-pencil\"></i></a>"; echo " <a href=\"admin.php?op=delUser&chng_uid=" . $temp_user['uid'] . "\" title=\"" . translate("Delete") . "\"><i class=\"fa fa-trash-o\"></i></a>"; $op_result = sql_query("select open from " . $NPDS_Prefix . "users_status where uid='" . $temp_user['uid'] . "'"); list($open_user) = sql_fetch_row($op_result); if ($open_user == 1) { echo " <i class=\"fa fa-chain\" title=\"" . translate("Connection allowed") . "\"></i>";