本文整理汇总了PHP中getUserProfileUrl函数的典型用法代码示例。如果您正苦于以下问题:PHP getUserProfileUrl函数的具体用法?PHP getUserProfileUrl怎么用?PHP getUserProfileUrl使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了getUserProfileUrl函数的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的PHP代码示例。
示例1: getUserProfileUrl
$messageid = $random['id'];
$date = $random['pub_date'];
$level = $database->getUserLevelbyid($userid);
if ($level == BORROWER_LEVEL || $level == PARTNER_LEVEL) {
$name13 = $database->getNameById($userid);
} else {
$name13 = $database->getUserNameById($userid);
}
//$name12=$database->getNameById($borrowerid);
//$files =$database->getCommentFile($userid, $borrowerid, $messageid);
$loanid = $database->getUNClosedLoanid($borrowerid);
$user_citycountry = $database->getUserCityCountry($userid);
$u_city = $user_citycountry['City'];
$u_country = $user_citycountry['Country'];
$u_country = $database->mysetCountry($u_country);
$prurl = getUserProfileUrl($borrowerid);
$url = $prurl;
$loanprurl = getLoanprofileUrl($borrowerid, $loanid);
if ($loanid != 0) {
$url = $loanprurl;
}
?>
<p>
<?php
if (strlen($usermessage) > 500) {
$shortMsg = substr($usermessage, 0, 500);
$pos1 = strrpos($shortMsg, ' ');
if ($pos1 !== false) {
$shortMsg = substr($shortMsg, 0, $pos1);
}
echo "\"" . $shortMsg . "....\" <a href='" . $url . "'>Read More</a>";
开发者ID:mickdane,项目名称:zidisha,代码行数:31,代码来源:home.php
示例2: getMatchingPhoneNumbers
function getMatchingPhoneNumbers($userid, $phone)
{
global $db;
$match_result = "";
$phone = ltrim($phone, '0');
$q1 = "SELECT * FROM ! as b, ! as bext WHERE b.userid=bext.userid AND b.userid NOT LIKE {$userid} AND b.TelMobile like '%{$phone}%' ";
$result1 = $db->getAll($q1, array('borrowers', 'borrowers_extn'));
if ($result1) {
foreach ($result1 as $row) {
$prurl = getUserProfileUrl($row['userid']);
$match_result .= "<a href='{$prurl}'>" . $row['FirstName'] . " " . $row['LastName'] . "</a>'s own number<br/><br/>";
}
}
$q2 = "SELECT * FROM ! as b, ! as bext WHERE b.userid=bext.userid AND b.userid NOT LIKE {$userid} AND bext.community_leader_mobile_phone like '%{$phone}%' ";
$result2 = $db->getAll($q2, array('borrowers', 'borrowers_extn'));
if ($result2) {
foreach ($result2 as $row) {
$prurl = getUserProfileUrl($row['userid']);
$match_result .= "<a href='{$prurl}'>" . $row['FirstName'] . " " . $row['LastName'] . "</a>'s CL: " . $row['community_leader_first_name'] . " " . $row['community_leader_last_name'] . ", " . $row['community_leader_organization_title'] . "<br/><br/>";
}
}
$q3 = "SELECT * FROM ! as b, ! as bext WHERE b.userid=bext.userid AND b.userid NOT LIKE {$userid} AND bext.family_member1_mobile_phone like '%{$phone}%' ";
$result3 = $db->getAll($q3, array('borrowers', 'borrowers_extn'));
if ($result3) {
foreach ($result3 as $row) {
$prurl = getUserProfileUrl($row['userid']);
$match_result .= "<a href='{$prurl}'>" . $row['FirstName'] . " " . $row['LastName'] . "</a>'s family: " . $row['family_member1_first_name'] . " " . $row['family_member1_last_name'] . "<br/><br/>";
}
}
$q4 = "SELECT * FROM ! as b, ! as bext WHERE b.userid=bext.userid AND b.userid NOT LIKE {$userid} AND bext.family_member2_mobile_phone like '%{$phone}%' ";
$result4 = $db->getAll($q4, array('borrowers', 'borrowers_extn'));
if ($result4) {
foreach ($result4 as $row) {
$prurl = getUserProfileUrl($row['userid']);
$match_result .= "<a href='{$prurl}'>" . $row['FirstName'] . " " . $row['LastName'] . "</a>'s family: " . $row['family_member2_first_name'] . " " . $row['family_member2_last_name'] . "<br/><br/>";
}
}
$q5 = "SELECT * FROM ! as b, ! as bext WHERE b.userid=bext.userid AND b.userid NOT LIKE {$userid} AND bext.family_member3_mobile_phone like '%{$phone}%' ";
$result5 = $db->getAll($q5, array('borrowers', 'borrowers_extn'));
if ($result5) {
foreach ($result5 as $row) {
$prurl = getUserProfileUrl($row['userid']);
$match_result .= "<a href='{$prurl}'>" . $row['FirstName'] . " " . $row['LastName'] . "</a>'s family: " . $row['family_member3_first_name'] . " " . $row['family_member3_last_name'] . "<br/><br/>";
}
}
$q6 = "SELECT * FROM ! as b, ! as bext WHERE b.userid=bext.userid AND b.userid NOT LIKE {$userid} AND bext.neighbor1_mobile_phone like '%{$phone}%' ";
$result6 = $db->getAll($q6, array('borrowers', 'borrowers_extn'));
if ($result6) {
foreach ($result6 as $row) {
$prurl = getUserProfileUrl($row['userid']);
$match_result .= "<a href='{$prurl}'>" . $row['FirstName'] . " " . $row['LastName'] . "</a>'s neighbor: " . $row['neighbor1_first_name'] . " " . $row['neighbor1_last_name'] . "<br/><br/>";
}
}
$q7 = "SELECT * FROM ! as b, ! as bext WHERE b.userid=bext.userid AND b.userid NOT LIKE {$userid} AND bext.neighbor2_mobile_phone like '%{$phone}%' ";
$result7 = $db->getAll($q7, array('borrowers', 'borrowers_extn'));
if ($result7) {
foreach ($result7 as $row) {
$prurl = getUserProfileUrl($row['userid']);
$match_result .= "<a href='{$prurl}'>" . $row['FirstName'] . " " . $row['LastName'] . "</a>'s neighbor: " . $row['neighbor2_first_name'] . " " . $row['neighbor2_last_name'] . "<br/><br/>";
}
}
$q8 = "SELECT * FROM ! as b, ! as bext WHERE b.userid=bext.userid AND b.userid NOT LIKE {$userid} AND bext.neighbor3_mobile_phone like '%{$phone}%' ";
$result8 = $db->getAll($q8, array('borrowers', 'borrowers_extn'));
if ($result8) {
foreach ($result8 as $row) {
$prurl = getUserProfileUrl($row['userid']);
$match_result .= "<a href='{$prurl}'>" . $row['FirstName'] . " " . $row['LastName'] . "</a>'s neighbor: " . $row['neighbor3_first_name'] . " " . $row['neighbor3_last_name'] . "<br/><br/>";
}
}
return $match_result;
}
开发者ID:narvee,项目名称:nripl.org,代码行数:71,代码来源:database.php
示例3: RedirectUserprofileurl
function RedirectUserprofileurl()
{
$reqUrl = $_SERVER['REQUEST_URI'];
$parsedurl = parse_url($reqUrl);
if (isset($parsedurl['query'])) {
parse_str($parsedurl['query'], $qryStr);
if (isset($qryStr['p']) && $qryStr['p'] == 12 && isset($qryStr['u'])) {
$prurl = getUserProfileUrl($qryStr['u']);
unset($qryStr['p']);
unset($qryStr['u']);
$qrystrToAppnd = http_build_query($qryStr);
if (!empty($qrystrToAppnd)) {
$urlMovedto = SITE_URL . $prurl . "?" . $qrystrToAppnd;
} else {
$urlMovedto = SITE_URL . $prurl;
}
header("HTTP/1.1 301 Moved Permanently");
header("Location: " . $urlMovedto);
exit;
}
}
}
开发者ID:mickdane,项目名称:zidisha,代码行数:22,代码来源:utility.php
示例4: count
$lendersforgiven = count($lenderids);
$lenderoptedoutcount = count($lenderoptedout);
$name = $loan['FirstName'] . ' ' . $loan['LastName'];
$prurl = getUserProfileUrl($loan['userid']);
$loanid = $loan['loanid'];
$comment = $loan['comment'];
$date = date('M d, Y', $loan['time']);
$userid = $loan['userid'];
echo "<tr>";
echo "<td><a href='{$prurl}'>{$name}</a></td>";
echo "<td>{$loanid}</td>";
echo "<td>{$comment}</td>";
echo "<td>{$date}</td>";
echo "<td width='150px'>\n\t\t\t\t\t\t\t\t\t\tForgiven:{$lendersforgiven}<br/><br/>\n\t\t\t\t\t\t\t\t\t\tOpted Out:{$lenderoptedoutcount}<br/><br/>\n\t\t\t\t\t\t\t\t\t\t<a href='javascript:void()' id='notresponded_{$loanid}' class='notresponded' style='text-decoration:none' onclcik=''>Not Responded:{$notrespondedcount}</a><br/><br/>\n\t\t\t\t\t\t\t\t\t\t<span id='lendernotresponded{$loanid}' class='lendernotresponded' style='display:none'>\n\t\t\t\t\t\t\t\t\t\t";
foreach ($notresponded as $lenderid) {
$lprurl = getUserProfileUrl($lenderid['lenderid']);
echo "<a href='{$lprurl}' target='_blank'>" . trim($lenderid['FirstName'] . " " . $lenderid['LastName']) . "</a><br/>" . $lenderid['Email'] . "<br/><br/>";
}
echo "</span>\n\t\t\t\t\t\t\t\t\t</td>";
echo "<tr/>";
}
?>
</tbody>
</table>
<?php
}
} else {
echo "<div>";
echo $lang['admin']['allow'];
echo "<br />";
echo $lang['admin']['Please'];
开发者ID:mickdane,项目名称:zidisha,代码行数:31,代码来源:loan_forgive.php
示例5: confirmLoan
function confirmLoan()
{
global $database, $session;
if (isset($_SESSION['loanapp'])) {
$loan = $_SESSION['loanapp'];
$amount = $loan['amount'];
$amount = str_replace(",", "", $amount);
$interest = trim(str_replace("%", "", $loan['interest']));
$period = $loan['period'];
$grace = $loan['grace'];
$summary = $loan['summary'];
$loanuse = $loan['loanuse'];
$tnc = $loan['tnc'];
$loan_installmentDate = $loan['iday'];
$loan_installmentDay = $loan['iwkday'];
$result = $session->confirmLoanApp($amount, $interest, $period, $grace, $summary, $loanuse, $tnc, $loan_installmentDate, $loan_installmentDay);
if ($result) {
header("Location:index.php?p=9&s=4");
} else {
header("Location: index.php?p=9&s=1");
}
exit;
# NOTE: YOU NEED TO EXIT AFTER REDIRECT, WHERE IS THERE A RETURN STATEMENT?
return $result;
} else {
$prurl = getUserProfileUrl($session->userid);
header("Location: {$prurl}");
exit;
}
}
开发者ID:xavier-s-a,项目名称:zidisha,代码行数:30,代码来源:process.php
示例6: number_format
$sublevel = $database->getUserSublevelById($leid);
if ($sublevel == LENDER_GROUP_LEVEL) {
$lusername = $lname;
}
$data = $database->getLenderDetails($leid);
$hide_karma = $data['hide_karma'];
//=0 means show karma score
if ($hide_karma != 1) {
$karma_score = "(" . number_format($database->getKarmaScore($leid)) . ")";
$karma_tooltip = $lang['profile']['karma_tooltip'];
} else {
$karma_score = "";
}
$kamount = $rows['bidamount'];
$bidint = $rows['bidint'];
$lendprurl = getUserProfileUrl($leid);
$lamt = convertToDollar($brw2['AmountGot'], $CurrencyRate);
$percentFinanced = $bidamount * 100 / $lamt;
echo "<tr>";
echo "<td>\n\t\t\t\t\t\t\t\t\t\t\t\t\t<a href='{$lendprurl}'>{$lusername}</a> <br/><a style='cursor:pointer' class='tt'>{$karma_score}<span class='tooltip'><span class='top'></span><span class='middle'>{$karma_tooltip}</span><span class='bottom'></span></span></a>\n\t\t\t\t\t\t\t\t\t\t\t\t</td>";
echo "<td>" . number_format($bidamount, 2, ".", ",") . "</td>";
echo "<td>" . number_format($bidint, 2, ".", ",") . " %</td>";
echo "</tr>";
}
?>
</tbody>
</table>
</div>
<?php
}
开发者ID:mickdane,项目名称:zidisha,代码行数:31,代码来源:loanstatn.php
示例7: foreach
</tr>
</thead>
<tbody>
<?php
foreach ($setlender as $row) {
$userid = $row['userid'];
$uid = $row['userid'];
$firstname = $row['FirstName'];
$lastname = $row['LastName'];
$city = $row['City'];
$country = $database->mysetCountry($row['Country']);
$email = $row['Email'];
$joinDatetosort = $row['regdate'];
$joinDate = date('F d, Y', $joinDatetosort);
$username = $row['username'];
$prurl = getUserProfileUrl($userid);
$res = $database->isTranslator($userid);
if ($res == 1) {
$active = 1;
} else {
$active = 0;
}
echo '<tr>';
echo "<td><a href='{$prurl}'>{$firstname} {$lastname}</a><br/><br/>Username: {$username}<br/><br/>Email: {$email}</td>";
echo "<td>{$city}<br /><br/>{$country}</td>";
echo "<td><span style='display:none'>{$joinDatetosort}</span>\n\t\t\t\t\t{$joinDate}</td>";
?>
<td>
<form method='post' action='updateprocess.php'>
<input type='hidden' name='uid' value='<?php
开发者ID:mickdane,项目名称:zidisha,代码行数:31,代码来源:managetrans.php
示例8: getEditablePath
$(".expand").toggler();
$("#content").expandAll({trigger: "h4.expand", ref: "div.demo", speed: 300, oneSwitch: false});
});
</script>
<?php
require_once "library/session.php";
include_once "./editables/loginform.php";
$path = getEditablePath('loginform.php');
include_once "./editables/" . $path;
$part = 0;
//sets the default part for the login to either login table or profile links
//chnge to check for if(logged_in)
if ($session->logged_in) {
$userid = $session->userid;
$prurl = getUserProfileUrl($session->userid);
$co_access = $database->isBorrowerAlreadyAccess($session->userid);
if ($session->userlevel == PARTNER_LEVEL) {
?>
<h2><?php
echo $lang['loginform']['my_account'];
?>
</h2>
<p><strong><a href="<?php
echo $prurl;
?>
"><?php
echo $lang['loginform']['profile'];
?>
</a></p>
开发者ID:xavier-s-a,项目名称:zidisha,代码行数:31,代码来源:loginform.php
示例9: VMConfirmation
function VMConfirmation($mentorid, $userid)
{
global $database;
$From = EMAIL_FROM_ADDR;
$templet = "editables/email/simplemail.html";
require "editables/mailtext.php";
$mentor_email = $database->getEmailB($mentorid);
$params['uname'] = $mentor_email['name'];
$res_BEmail = $database->getEmailB($userid);
$params['bname'] = $res_BEmail['name'];
$profile = getUserProfileUrl($userid);
$params['link'] = "https://www.zidisha.org/" . $profile;
$emailsubject = $this->formMessage($lang['mailtext']['vm_confirmation_subject'], $params);
$emailmssg = $this->formMessage($lang['mailtext']['vm_confirmation'], $params);
$reply = $this->mailSendingHtml($From, '', $mentor_email, $emailsubject, '', $emailmssg, 0, $templet, 3);
}
开发者ID:xavier-s-a,项目名称:zidisha,代码行数:16,代码来源:session.php
示例10: confirmLoan
function confirmLoan()
{
global $database, $session;
if (isset($_SESSION['loanapp'])) {
$loan = $_SESSION['loanapp'];
$amount = $loan['amount'];
$amount = str_replace(",", "", $amount);
$interest = trim(str_replace("%", "", $loan['interest']));
$period = $loan['period'];
$grace = $loan['grace'];
$summary = $loan['summary'];
$loanuse = $loan['loanuse'];
$tnc = $loan['tnc'];
$loan_installmentDate = $loan['iday'];
$loan_installmentDay = $loan['iwkday'];
$loan_category_id = $loan['loan_category_id'];
$result = $session->confirmLoanApp($amount, $interest, $period, $grace, $summary, $loanuse, $tnc, $loan_installmentDate, $loan_installmentDay, $loan_category_id);
if ($result) {
$_SESSION['loanapplic']['step4'] = true;
header("Location:index.php?p=9&step=5");
} else {
header("Location: index.php?p=9&step=4");
}
exit;
} else {
$prurl = getUserProfileUrl($session->userid);
header("Location: {$prurl}");
exit;
}
}
开发者ID:narvee,项目名称:nripl.org,代码行数:30,代码来源:process.php
示例11: foreach
<th>Bid amount</th>
<th>Active</th>
<th>Loan amount</th>
<th></th>
</tr>
</thead>
<tbody>
<?php
foreach ($loans as $loan) {
?>
<tr>
<?php
$borrower = $database->getBorrowerDetails($loan['borrowerid']);
?>
<td><a href="<?php
echo getUserProfileUrl($loan['borrowerid']);
?>
" target="_blank"><?php
echo $borrower['FirstName'] . ' ' . $borrower['LastName'];
?>
</a></td>
<td><a href="<?php
echo getLoanprofileUrl($loan['borrowerid'], $loan['loanid']);
?>
" target="_blank"><?php
echo $loan['loanid'];
?>
</a></td>
<td><?php
echo $loan['sum_amount'];
?>
开发者ID:narvee,项目名称:nripl.org,代码行数:31,代码来源:outbid_report.php
示例12: header
$lender = $database->getLenderDetailsByUsername(sanitize($_GET['username']));
if (!$lender) {
header("Location: " . SITE_URL);
}
$yc_account_credit = $session->amountToUseForBid(YC_ACCOUNT_ID);
if ($yc_account_credit < 5000) {
return $smarty->display('lender_invite_inactive.tpl');
}
if (!$session->userid) {
if (isset($_GET['h'])) {
$share_type = 1;
$lender_invite = $database->getLenderInviteByHash($_GET['h'], $lender['userid']);
if ($lender_invite) {
if (!$lender_invite_visit || $lender_invite_visit['lender_invite_id'] != $lender_invite['id']) {
$lender_invite_visit = array('lender_id' => $lender['userid'], 'lender_invite_id' => $lender_invite['id'], 'share_type' => $share_type);
$_SESSION['lender_invite_visit'] = $database->addLenderInviteVisit($lender_invite_visit);
header("Location: /i/" . $lender['username']);
}
}
Mixpanel::track('Invite page viewed', array('share_type' => array_get($share_types, $share_type, 'website'), 'email' => $lender_invite['email'], 'lender_id' => $lender['userid']));
} elseif (!$lender_invite_visit || $lender_invite_visit['lender_id'] != $lender['userid']) {
$lender_invite_visit = array('lender_id' => $lender['userid'], 'lender_invite_id' => null, 'share_type' => $share_type);
$_SESSION['lender_invite_visit'] = $database->addLenderInviteVisit($lender_invite_visit);
Mixpanel::track('Invite page viewed', array('share_type' => array_get($share_types, $share_type, 'website'), 'lender_id' => $lender['userid']));
}
}
$lender_name = $lender['FirstName'] ?: $lender['username'];
$lender_url = SITE_URL . getUserProfileUrl($lender['userid']);
$lender_profile_image = $database->getProfileImage($lender['userid']);
$smarty->assign(compact('lender_name', 'lender_url', 'lender_profile_image'));
$smarty->display('lender_invitee.tpl');
开发者ID:mickdane,项目名称:zidisha,代码行数:31,代码来源:lender_invitee.php
示例13: end
$Co_section .= "<tr>";
$co_lname = $co_org['lname'];
if (empty($co_lname)) {
$co_lname = end(explode(" ", $co_org['name']));
}
$Co_section .= "<td><span style='display:none'>{$co_lname}</span>";
$userdetail = $database->getUserById($co_org['user_id']);
if ($userdetail['userlevel'] == BORROWER_LEVEL) {
$loanid = $database->getCurrentLoanid($co_org['user_id']);
if (!empty($loanid)) {
$url = getLoanprofileUrl($co_org['user_id'], $loanid);
} else {
$url = getUserProfileUrl($co_org['user_id']);
}
} else {
$url = getUserProfileUrl($co_org['user_id']);
}
$Co_section .= "<a href={$url} target='_blank'> " . $co_org['name'] . "</a>";
$Co_section .= "</td>";
$Co_section .= "</tr>";
}
}
$Co_section .= "</tbody></table>";
}
}
$params['co_organizers_by_cntry'] = $Co_section;
$message = $session->formMessage($lang['about']['desc'], $params);
echo $message;
?>
</div>
开发者ID:mickdane,项目名称:zidisha,代码行数:31,代码来源:about.php
示例14: getUserProfileUrl
</div>
<!--- <div style="float:right">
<h4><?php
echo $lang['profile']['Partner_prof'];
?>
<a style='cursor:pointer' class='zz'> <span class='tooltip'><span class='top'></span>
<span class='middle'><?php
echo $lang['profile']['tooltip_field_part'];
?>
</span><span class='bottom'></span></span></a> </h4>
<table class="detail" style="width:280px">
<?php
if ($nonactive == 1) {
$partnername = $database->getUserNameById($partid);
$prurl = getUserProfileUrl($partid);
?>
<tr>
<td><?php
echo "<a href='{$prurl}'>{$partname} </a>";
?>
<br/><?php
echo "<a href='http://{$partweb}'>{$partweb}</a>";
?>
</td>
<td align="right"><a href='$prurl'><img src="library/getimagenew.php?id=<?php
echo $partid;
?>
&width=75&height=75"></a></td>
</tr>
<?php
开发者ID:mickdane,项目名称:zidisha,代码行数:31,代码来源:b_profile.php
示例15: getUserProfileUrl
}
}
}
}
}
$mentor_id = $database->getBorrowerVolnteerMentor($session->userid);
$volunteer_mentor = $database->getUserById($mentor_id);
if ($volunteer_mentor['userlevel'] == BORROWER_LEVEL) {
$loanid = $database->getCurrentLoanid($mentor_id);
if (empty($loanid)) {
$link = getUserProfileUrl($mentor_id);
} else {
$link = getLoanprofileUrl($mentor_id, $loanid);
}
} else {
$link = getUserProfileUrl($mentor_id);
}
if ($eligible == 1) {
echo '<br/><br/><br/>' . $lang['loginform']['invite_frnd_msg1'] . ' ' . number_format($brwr_repayrate) . '%. ' . $lang['loginform']['invite_frnd_msg2'] . '<br/><br/><div align="center"><a href="index.php?p=96"><input type="button" value="' . $lang['loginform']['invite_now'] . '" class="btn"></a></div>';
}
echo '<br/><br/><br/>';
if (!empty($volunteer_mentor['TelMobile'])) {
echo "<br/><br/><br/>" . $lang['loginform']['volunteer_text'] . "<a style='cursor:pointer' class='tt'><img src='library/tooltips/help.png' style='border-style: none;' /><span class='tooltip'><span class='top'></span><span class='middle'>" . $lang['loginform']['tooltip_volunteer'] . "</span><span class='bottom'></span></span></a>";
echo "<br/><br/><strong>" . $lang['loginform']['name'] . "</strong> <a href='{$link}'>" . $volunteer_mentor['name'] . "</a>";
echo "<br/><strong>" . $lang['loginform']['Telephone'] . "</strong> <a href='{$link}'>" . $volunteer_mentor['TelMobile'] . "</a>";
}
echo '<br/><br/><br/>';
echo "<br/><br/><br/><br/>" . $lang['loginform']['do_more'] . "<br/><br/><br/>";
}
?>
</div>
开发者ID:xavier-s-a,项目名称:zidisha,代码行数:31,代码来源:welcome.php
示例16: foreach
<br/>
<?php
if (!empty($members)) {
echo "<table class='detail'>";
echo "<h3 class='subhead'>Members</h3>";
foreach ($members as $member) {
$memberid = $member['member_id'];
$username = $member['username'];
// Anupam 10-Jan-2013 we are no more showing total individual impact in lending groups as per 'Quick repair: Lending team impacts' email
/*$impact = $database->getMyImpact($memberid);
$total_invested=$database->totalAmountLend($memberid);
$active_investamtDisplay = $database->amountInActiveBidsDisplay($memberid);
$totlat_impact = number_format($active_investamtDisplay + $total_invested + $impact['invite_AmtLent']+$impact['Giftrecp_AmtLent'], 2, '.', ',');*/
$groupleader = '';
$trnferleader = '';
$prurl = getUserProfileUrl($memberid);
if ($member['member_id'] == $grp_leader) {
$groupleader = ' (Group Leader)';
}
if ($session->userid == $grp_leader && $grp_leader == $member['member_id']) {
$trnferleader = "<a href='includes/transffer_leader.php?gid={$gid}' rel='facebox'>Transfer Leadership</a>";
}
echo "<tr><td width='200px'>\n\t\t\t\t\t\t\t\t<a href='{$prurl}' target='_blank'>{$username}</a>{$groupleader}\n\t\t\t\t\t\t\t</td>\n\t\t\t\t\t\t\t<td>\n\t\t\t\t\t\t\t\t{$trnferleader}\n\t\t\t\t\t\t\t</td>\n\t\t\t\t\t\t</tr>";
}
?>
</table>
<?php
}
?>
</div>
开发者ID:xavier-s-a,项目名称:zidisha,代码行数:31,代码来源:group_profile.php
示例17: getLoanprofileUrl
</script>
<?php
$senderid1 = $commns['senderid'];
$receiverid = $commns['receiverid'];
$level = $database->getUserLevelbyid($senderid1);
if ($level == BORROWER_LEVEL || $level == PARTNER_LEVEL) {
$name12 = $database->getNameById($senderid1);
$borrower_loanid = $database->getCurrentLoanid($senderid1);
if (!empty($borrower_loanid)) {
$prurl = getLoanprofileUrl($senderid1, $borrower_loanid);
} else {
$prurl = getUserProfileUrl($senderid1);
}
} else {
$sublevel = $database->getUserSublevelById($senderid1);
$prurl = getUserProfileUrl($senderid1);
if ($sublevel == LENDER_GROUP_LEVEL) {
$name12 = $database->getNameById($senderid1);
} else {
$name12 = $database->getUserNameById($senderid1);
}
}
?>
<table class="zebra-striped">
<tbody>
<tr>
<td style="width:200px">
<img src="library/getimagenew.php?id=<?php
echo $senderid1;
?>
&width=200&height=200">
开发者ID:mickdane,项目名称:zidisha,代码行数:31,代码来源:group_comments.php
示例18: getUserProfileUrl
echo "invalid value for any client";
}
?>
</div><!-- /row -->
<?php
if ($getulevel == BORROWER_LEVEL && empty($_GET['fdb'])) {
?>
<div class="row">
<div class="span16">
<?php
$fb = 0;
include_once "includes/b_comments.php";
?>
</div><!-- /span16 -->
</div><!-- /row -->
<div style="clear: both;">
<div align="right" style="margin-right: 40px;">
<?php
$prurl = getUserProfileUrl($id);
?>
<a href="<?php
echo $prurl;
?>
?l=<?php
echo $ld;
?>
&fdb=1">View All</a>
</div>
</div>
<?php
}
开发者ID:mickdane,项目名称:zidisha,代码行数:31,代码来源:profile.php
示例19: genuine
<br/><br/><br/><br/>
<?php
$endorse_details = $database->getEndorserRecived($userid);
if (!empty($endorse_details)) {
?>
6. Please review the <strong>endorsement(s)</strong> received by this applicant below. If you have reason to doubt that the responses are genuine (for example, the wording is too similar, too many from the same IP address, or the responses are not consistent with the information in the rest of the application) then please ensure a telephone interview is conducted before activating this applicant.<br/><br/>
If the endorsements are obviously not genuine (for example, more than three from the same IP address or the exact same wording across multiple endorsements) then please decline this applicant without an interview.
<br/><br/><br/>
<?php
foreach ($endorse_details as $endorse_detail) {
if (!empty($endorse_detail['endorserid'])) {
$e_profile = getUserProfileUrl($endorse_detail['endorserid']);
$e_number = $database->getPrevMobile($endorse_detail['endorserid']);
$e_ip_address = $database->getUserIP($endorse_detail['endorserid']);
$endorsedbrwr = $database->getBrwrDetailFrmEndorser($endorse_detail['endorserid']);
echo "<a href='{$e_profile}'>" . $endorse_detail['ename'] . "</a>, " . $e_number . "<br/>" . $endorsedbrwr['e_know_brwr'] . "<br/>" . $endorsedbrwr['e_cnfdnt_brwr'] . "<br/>IP Address:" . $e_ip_address . "<br/><br/>";
}
}
}
?>
<br/><br/><br/><br/>
<strong>Please select one of the following:</strong><br/><br/>
<input type='radio' name='is_eligible_ByAdmin' id="is_eligible_yes" value='1' onclick="show_no_text(this.value)" <?php
if ($is_eligible_ByAdmin == '1') {
echo "checked";
开发者ID:Junyue,项目名称:zidisha,代码行数:31,代码来源:bverification.php
示例20: subEditPartner
function subEditPartner()
{
global $session, $form;
$id = $session->userid;
$_POST_ORG = $_POST;
$_POST = sanitize_custom($_POST);
$result = $session->editprofile_p($_POST['pusername'], $_POST['ppass1'], $_POST['ppass2'], $_POST['pname'], $_POST['paddress'], $_POST['pcity'], $_POST['pcountry'], $_POST['pemail'], $_POST['emails_notify'], $_POST['pwebsite'], $_POST['postcomment'], $_POST['pdesc'], $id, $_POST["labellang"]);
if ($result) {
if (is_uploaded_file($_FILES['pphoto']['tmp_name'])) {
$img_file = $_FILES['pphoto']['tmp_name'];
$ext = split('/', $_FILES['pphoto']['type']);
imageUpload($img_file, $ext, $id);
}
$prurl = getUserProfileUrl($id);
if ($_POST["labellang"] != "en") {
$url = SITE_URL . $_POST["labellang"] . $prurl;
} else {
$url = SITE_URL . $prurl;
}
header("Location: {$url}");
} else {
$_SESSION['value_array'] = $_POST_ORG;
$_SESSION['error_array'] = $form->getErrorArray();
header("Location: index.php?p=13&err=1008");
}
}
开发者ID:mickdane,项目名称:zidisha,代码行数:26,代码来源:updateprocess.php
注:本文中的getUserProfileUrl函数示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论