<?php include_once "./editables/why-zidisha.php"; $path = getEditablePath('why-zidisha.php'); include_once "./editables/" . $path; ?> <div class="span16"> <div id="static" style="text-align:justify"> <?php echo $lang['why-zidisha']['desc']; ?> </div> </div>
for ($i = 1; $i <= 10; $i++) { $var = "endorser_email{$i}"; $temp = $form->value("endorser_email{$i}"); if (isset($temp) && $temp != '') { ${$var} = $form->value("endorser_email{$i}"); } } if ($form->value("cntct_type") == '' && isset($_SESSION['FB_Detail'])) { $cntct_type = '1'; } $disabled = ''; if ($borrowerActive == 1) { $disabled = 'disabled'; } include_once "./editables/register.php"; $path1 = getEditablePath('register.php'); include_once "./editables/" . $path1; ?> <!-- page title --> <div class="row"> <div align='left' class='static'><h1><?php echo $lang['register']['additional_verification']; ?> </h1></div> <!-- saved changes success message --> <?php if (isset($_SESSION['bedited'])) { ?> <div id='error' align='center'><font color='green'><?php
<?php include_once "library/session.php"; global $database, $session; // Grabs translated strings for login form. include_once "./editables/loginform.php"; $path = getEditablePath('loginform.php'); include_once "./editables/" . $path; $Lendingcart = $database->getLendingCart($session->userid); if (empty($session->userid)) { ?> <?php if (!empty($Lendingcart)) { ?> <li><a href="<?php echo language_url("/index.php?p=75"); ?> ">Lending Cart</a></li> <?php } ?> <li class="last"><a href="<?php echo language_url("/index.php?p=116"); ?> ">Log In</a></li> <?php } else { ?> <?php if ($session->userlevel == PARTNER_LEVEL) {
<script type="text/javascript" charset="utf-8"> $(document).ready(function(){ $("#donation-target-1").ezpz_tooltip({ stayOnContent: true, offset: 0 }); $("#donation1-target-1").ezpz_tooltip({ stayOnContent: true, offset: 0 }); }); </script> <?php include_once "./editables/order-tnc.php"; $path = getEditablePath('order-tnc.php'); include_once "editables/" . $path; if (isset($_SESSION['order_id'])) { $paypalTranFeeOrg = $database->getAdminSetting('PaypalTransaction'); $order_id = $_SESSION['order_id']; $order_amount = $database->GetOrderAmount($order_id); $paypal_amount = $order_amount['amount']; if ($paypal_amount > 0) { $paypal_donation = $paypal_amount * 15 / 100; $paypalTranFee = $database->getAdminSetting('PaypalTransaction'); $paypalTranAmount = $paypal_amount * $paypalTranFee / 100; $totalAmt2 = $paypal_amount + $paypalTranAmount + $paypal_donation; $totalAmt2 = number_format($totalAmt2, 2, '.', ''); $totalAmt1 = $paypal_amount + $paypal_donation; $totalAmt1 = number_format($totalAmt1, 2, '.', ''); $option = 1;
// --- first section initially expanded: $(".expand").toggler(); // --- Other options: //$("h4.expand").toggler({method: "toggle", speed: 0}); //$("h4.expand").toggler({method: "toggle"}); //$("h4.expand").toggler({speed: "fast"}); //$("h4.expand").toggler({method: "fadeToggle"}); //$("h4.expand").toggler({method: "slideFadeToggle"}); $("#content").expandAll({trigger: "h4.expand", ref: "div.demo", speed: 300, oneSwitch: false}); }); //--> </script> <?php require_once "library/session.php"; include_once "./editables/faqs.php"; $path = getEditablePath('faqs.php'); include_once "./editables/" . $path; //echo $lang['faqs']['desc']; ?> <script type="text/javascript" src="includes/scripts/generic.js?q=<?php echo RANDOM_NUMBER; ?> "></script> <script type="text/javascript" src="includes/scripts/submain.js?q=<?php echo RANDOM_NUMBER; ?> "></script> <script type="text/javascript" src="includes/scripts/facebox/facebox.js?q=<?php echo RANDOM_NUMBER; ?> "></script>
if(val) id.submit(); else alert("You have decided not to delete borrower !"); } } function resetStatus() { return confirm("Are you sure you want to reset the status to pending review?"); } </script> <?php include_once "library/session.php"; include_once "./editables/brwrlist-i.php"; include_once "./editables/admin.php"; $path = getEditablePath('mailtext.php'); include_once "editables/" . $path; // setting variables for sorting $ord = "ASC"; $sort = 'FirstName'; if ($session->userlevel == PARTNER_LEVEL) { $sort = 'Assigned_date'; $ord = "DESC"; } $ordClass = "headerSortDown"; if (isset($_GET["ord"]) && $_GET["ord"] == 'DESC') { $ord = 'DESC'; $ordClass = "headerSortUp"; } $type = 1; if (isset($_GET["type"])) {
echo recaptcha_get_html(RECAPCHA_PUBLIC_KEY, $form->error("user_guess")); ?> </div><br/><br/> <div class="holder_645 group"> <!-- terms --> <br/> <p class="blue_color uppercase formTitle"><?php echo $lang['register']['t_c']; ?> </p> <div align="left" style="border: 1px solid black; padding: 0px 10px 10px; overflow: auto; line-height: 1.5em; width: 90%; height: 130px; background-color: rgb(255, 255, 255);"> <?php include_once "./editables/lenderagreement.php"; $path1 = getEditablePath('lenderagreement.php'); include_once "./editables/" . $path1; echo $lang['lenderagreement']['l_tnc']; ?> </div> <div style="display:none;"> <label><?php echo $lang['register']['capacha']; ?> </label> <div style="margin-top:20px"><?php echo recaptcha_get_html(RECAPCHA_PUBLIC_KEY, $form->error("user_guess")); ?> </div>
<?php include_once "./editables/interns.php"; $path = getEditablePath('interns.php'); include_once "./editables/" . $path; ?> <div class="span12"> <div id="static" style="text-align:justify"> <?php echo $lang['interns']['desc']; ?> </div><!-- /static --> </div><!-- /span16 -->
<?php include_once "library/session.php"; include_once "./editables/loanstatn.php"; $path = getEditablePath('loanstatn.php'); include_once "editables/" . $path; ?> <style type="text/css"> @import url(library/tooltips/btnew.css); </style> <script type="text/javascript"> $(document).ready(function() { $('#repay_schd_heading').click(function() { $('#repay_schd_desc').slideToggle("slow"); $(this).toggleClass("active"); return false; }); }); </script> <div class="span12"> <?php // allow admin to view repayment schedule as logged-in borrower can view. if ($session->userlevel == BORROWER_LEVEL || $session->userlevel == ADMIN_LEVEL || $session->userlevel == LENDER_LEVEL || $session->userlevel == PARTNER_LEVEL) { $ud = $session->userid; if (isset($_GET['l'])) { $ld = $_GET['l']; } if ($session->userlevel == ADMIN_LEVEL || $session->userlevel == LENDER_LEVEL || $session->userlevel == PARTNER_LEVEL) { if (isset($_GET['u'])) { $ud = $_GET['u']; } }
<?php include_once "library/session.php"; include_once "./editables/newsletter.php"; $path = getEditablePath('newsletter.php'); include_once "./editables/" . $path; ?> <!-- Begin MailChimp Signup Form --> <!--[if IE]> <style type="text/css" media="screen"> #mc_embed_signup fieldset {position: relative;} #mc_embed_signup legend {position: absolute; top: -1em; left: .2em;} </style> <![endif]--> <!--[if IE 7]> <style type="text/css" media="screen"> .mc-field-group {overflow:visible;} </style> <![endif]--> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.min.js"></script> <script type="text/javascript" src="http://downloads.mailchimp.com/js/jquery.validate.js"></script> <script type="text/javascript" src="http://downloads.mailchimp.com/js/jquery.form.js"></script> <div class="span12"> <div id="static"> <h1><?php echo $lang['newsletter']['newsletter']; ?> </h1> <label class="custom_label"><?php echo $lang['newsletter']['enter_email'];
function getTranslatedLabels($page) { include "./editables/" . $page . ".php"; $path = getEditablePath('".$page.".php'); include "./editables/" . $path; return $lang; }
<?php include_once "./editables/news.php"; $path = getEditablePath('news.php'); include_once "./editables/" . $path; ?> <div class="span12"> <div id="static"> <h1><?php echo $lang['news']['zidisha_in_news']; ?> </h1> <br /><br /> <p><img src="editables/news_docs/paulbuchheit_logo.png"/></p> <p><?php echo $lang['news']['paulbuchheit']; ?> </p> <p><a href="http://paulbuchheit.blogspot.com/2014/03/help-me-distribute-100000-to-new.html" target="_blank"><?php echo $lang['news']['paulbuchheit_pdf']; ?> </a></p> <br /><br /> <p><img src="editables/news_docs/TechRep_logo.png" width="176" height="56" /></p> <p><?php echo $lang['news']['techrep'];
<?php require_once "library/session.php"; $path = getEditablePath('getinvolved.php'); include_once "./editables/" . $path; echo $lang['getinvolved']['desc'];
<?php include_once "library/session.php"; include_once "./editables/statistics.php"; $path = getEditablePath('statistics.php'); include_once "editables/" . $path; ?> <style type="text/css"> @import url(library/tooltips/btnew.css); </style> <?php $c = ''; if (isset($_GET['c']) && $_GET['c'] != "") { $c = $_GET['c']; } $countries = $database->getVerifiedPartnerCountries(); if ($c == '') { $str = $lang['statistics']['report_for_all']; } else { $str = $lang['statistics']['report_for_single'] . ' ' . $countries[$c]; } $date = time(); $loanStats = $database->getStatistics('loanStatistics', $date, $c); $cumulativeStats = $database->getStatistics('cumulativeStatistics', $date, $c); if (!empty($loanStats) && !empty($cumulativeStats)) { $loanStatistics = unserialize($loanStats); $cumulativeStatistics = unserialize($cumulativeStats); } else { $loanStatistics = $database->getActiveLoanStatistics($c); $cumulativeStatistics = $database->getCumulativeLoanStatistics($c); $database->setStatistics('loanStatistics', serialize($loanStatistics), $c);
<?php include_once "./editables/testimonials_borrower.php"; $path = getEditablePath('testimonials_borrower.php'); include_once "./editables/" . $path; ?> <div class="span16"> <div id="static" style="text-align:justify"> <?php echo $lang['testimonials_borrower']['desc']; ?> </div> </div>
<?php $language = $database->getPreferredLang($session->userid); require "editables/mailtext.php"; $path = getEditablePath('mailtext.php', $language); require "editables/" . $path; require "editables/invite.php"; $path = getEditablePath('invite.php', $language); require "editables/" . $path; $userid = $session->userid; $minrepayrate = $database->getAdminSetting('MinRepayRate'); $binvitecredit = $database->getcreditsettingbyCountry($session->userinfo['country'], 3); $repayrate = $session->RepaymentRate($userid); $success_rate = $database->getInviteeRepaymentRate($userid); if (empty($binvitecredit)) { $params['binvite_credit'] = 0; } else { $params['binvite_credit'] = $binvitecredit['loanamt_limit']; } $params['minreapayrate'] = $database->getAdminSetting('MinRepayRate'); $params['max_invitees_without_payment'] = $database->getAdminSetting('MaxInviteesWithoutPayment'); $eligible = $session->isEligibleToInvite($userid); $currency = $database->getUserCurrency($userid); $params['invited_link'] = 'index.php?p=97'; $params['currency'] = $currency; $binvite_inst = $session->formMessage($lang['invite']['binvite_inst'], $params); $binvite_eligible = $session->formMessage($lang['invite']['eligible'], $params); $binvite_noteligible = $session->formMessage($lang['invite']['not_eligible'], $params); $binvite_noteligible_quota = $session->formMessage($lang['invite']['not_eligible_invitee_quota'], $params); $params['binvite_link'] = SITE_URL . 'microfinance/borrow.html'; $binvite_link = $session->formMessage($lang['invite']['binvite_link'], $params);
offset: 0 }); $("#don1-target-1").ezpz_tooltip({ stayOnContent: true, offset: 0 }); $("#don2-target-1").ezpz_tooltip({ stayOnContent: true, offset: 0 }); }); </script> <?php include_once "library/session.php"; $path = getEditablePath('withdraw.php'); include_once "editables/" . $path; ?> <script type="text/javascript" src="includes/scripts/generic.js?q=<?php echo RANDOM_NUMBER; ?> "></script> <style type="text/css"> @import url(library/tooltips/btnew.css); </style> <div class='span12'> <div align='left' class='static'><h1><?php echo $lang['withdraw']['add_withdraw_funds']; ?>
function additional_verification() { global $session, $form; $id = $session->userid; $_POST_ORG = $_POST; //Logger_Array("FB LOG - updateprocess start",'fb_data', serialize($_POST['fb_data']).$_POST["busername"]); $_POST = sanitize_custom($_POST); for ($i = 1; $i <= 10; $i++) { $endorser_name[] = $_POST['endorser_name' . $i]; $endorser_email[] = $_POST['endorser_email' . $i]; $endorser_id[] = $_POST['endorser_id' . $i]; } if ($_POST['before_fb_data'] == '1') { $_SESSION['fb_data'] = $_POST; header('Location: index.php?p=111&fb_data=1#FB_cntct'); } else { if (isset($_FILES['front_national_id']['tmp_name']) && !is_uploaded_file($_FILES['front_national_id']['tmp_name']) && !empty($_POST['isFrntNatid'])) { $_FILES['front_national_id']['tmp_name'] = $_POST['isFrntNatid']; $_FILES['front_national_id']['name'] = end(explode("/", $_POST['isFrntNatid'])); } if (isset($_FILES['address_proof']['tmp_name']) && !is_uploaded_file($_FILES['address_proof']['tmp_name']) && !empty($_POST['isaddrprf'])) { $_FILES['address_proof']['tmp_name'] = $_POST['isaddrprf']; $_FILES['address_proof']['name'] = end(explode("/", $_POST['isaddrprf'])); } if (!empty($_POST["uploadfileanchor"])) { $result = 2; } else { Logger_Array("FB LOG - updateprocess", 'fb_data', serialize($_POST['fb_data']) . $_POST["busername"]); $result = $session->additional_verification($id, $_POST["labellang"], $_FILES, $_POST['submitform'], $_POST['uploadedDocs'], $_POST['fb_data'], $endorser_name, $endorser_email, $endorser_id); } if ($result == 0) { require "editables/register.php"; $path = getEditablePath('register.php'); require "editables/" . $path; if ($_POST['submitform'] != trim($lang['register']['RegisterComplete'])) { $_SESSION['bedited'] = true; } if (isset($_POST["labellang"]) && $_POST["labellang"] != "en") { $url = SITE_URL . $_POST["labellang"] . "/index.php?p=111"; } else { if (isset($_GET["language"])) { $language = $_GET["language"]; $url = SITE_URL . $language . "/index.php?p=111"; } else { $url = SITE_URL . "index.php?p=111"; } } if ($_POST['submitform'] == trim($lang['register']['RegisterComplete'])) { $url = SITE_URL . "index.php?p=50"; } header("Location: {$url}"); } else { $_SESSION['value_array'] = $_POST_ORG; $_SESSION['error_array'] = $form->getErrorArray(); $errurl1 = $_SERVER['HTTP_REFERER']; if (strstr($errurl1, "fb_join")) { $errurl = $errurl1; } else { $errurl = $errurl1 . "&fb_join=1"; } $supported = array("image/gif", "image/jpeg", "image/pjpeg", "image/png", "image/x-png", "application/pdf"); if (isset($_FILES['front_national_id']['type'])) { $frntidtype = $_FILES['front_national_id']['type']; } if (isset($_FILES['address_proof']['type'])) { $addrsype = $_FILES['address_proof']['type']; } if (isset($_FILES['front_national_id']['tmp_name']) && !empty($_FILES['front_national_id']['tmp_name']) && in_array($frntidtype, $supported)) { chmod($_FILES['front_national_id']['tmp_name'], 0644); $time = time(); if ($_FILES['front_national_id']['tmp_name'] == "image/gif") { $frntnatid = $time . ".gif"; } else { if ($_FILES['front_national_id']['tmp_name'] == "image/jpeg" || $_FILES['front_national_id']['tmp_name'] == "image/pjpeg") { $frntnatid = $time . ".jpeg"; } else { if ($_FILES['front_national_id']['tmp_name'] == "image/png" || $_FILES['front_national_id']['tmp_name'] == "image/x-png") { $frntnatid = $time . ".png"; } else { $frntnatid = $_FILES['front_national_id']['name']; } } } move_uploaded_file($_FILES['front_national_id']['tmp_name'], TMP_IMAGE_DIR . $frntnatid); $_SESSION['value_array']['isFrntNatid'] = TMP_IMAGE_DIR . $frntnatid; } if (isset($_FILES['address_proof']['tmp_name']) && !empty($_FILES['address_proof']['tmp_name']) && in_array($addrsype, $supported)) { chmod($_FILES['address_proof']['tmp_name'], 0644); $time = time(); if ($_FILES['address_proof']['tmp_name'] == "image/gif") { $addrprf = $time . ".gif"; } else { if ($_FILES['address_proof']['tmp_name'] == "image/jpeg" || $_FILES['address_proof']['tmp_name'] == "image/pjpeg") { $addrprf = $time . ".jpeg"; } else { if ($_FILES['address_proof']['tmp_name'] == "image/png" || $_FILES['address_proof']['tmp_name'] == "image/x-png") { $addrprf = $time . ".png"; } else { $addrprf = $_FILES['address_proof']['name']; } } } move_uploaded_file($_FILES['address_proof']['tmp_name'], TMP_IMAGE_DIR . $addrprf); $_SESSION['value_array']['isaddrprf'] = TMP_IMAGE_DIR . $addrprf; } if ($result == 1) { if (!empty($_SESSION['error_array']['front_national_id'])) { $errurl = 'index.php?p=111' . "#front_national_iderr"; } else { if (!empty($_SESSION['error_array']['address_proof'])) { $errurl = 'index.php?p=111' . "#address_prooferr"; header("Location: {$errurl}"); } else { $url = $_SERVER['HTTP_REFERER']; if (strstr($url, "fb_join")) { header("Location: {$url}" . $_POST["uploadfileanchor"]); } else { // redirect to borrower form after file upload. $_POST["uploadfileanchor"] contains an anchor header("Location: {$url}&fb_join=1" . $_POST["uploadfileanchor"]); } } } } } } }
</div> </td> </tr> <tr height='15px'><td colspan='3'></td></tr> <!-- <tr> <td colspan=3> <strong><?php echo $lang['loanapplic']['t_cond']; ?> :</strong><br/><br/> <div align="left" style="border: 1px solid black; padding: 0px 10px 10px; overflow: auto; line-height: 1.5em; width: 90%; height: 130px; background-color: rgb(255, 255, 255);"> <?php include_once "./editables/legalagreement.php"; $path1 = getEditablePath('legalagreement.php'); include_once "./editables/" . $path1; echo $lang['legalagreement']['b_tnc'] . $lang['legalagreement']['b_tnc1']; ?> </div> </td> </tr> <tr height='15px'><td colspan='3'></td></tr> --> <?php $check = 'checked'; $check1 = ''; if ($form->value('agree') == 0 && $form->value('agree') != '') { $check = ''; $check1 = 'checked ';
<?php include_once "library/session.php"; include_once "./editables/forgetPassword.php"; $path = getEditablePath('forgetPassword.php'); include_once "editables/" . $path; include_once "error.php"; ?> <div class="span12"> <?php $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) { $part = 1; } if ($part == 0) { $select = 0; if (isset($_GET["sel"])) { $select = $_GET["sel"]; } $err = 0; if (isset($_GET["err"])) { $err = $_GET["err"]; } if ($select == 0) { echo "<div align='center' style='color:red'>" . $form->error("forgeterror") . "</div>"; $email_err = $form->error("forgetemail"); if (!empty($email_err)) { $err = 0; }
<?php include_once "library/session.php"; include_once "./editables/loaners.php"; include_once "./editables/home.php"; $path = getEditablePath('home.php'); include_once "editables/" . $path; ?> <div class="span4"> <?php include_once "includes/stats.php"; ?> </div> <div style="float:right"> <div class="span6"> <?php $openloans = $database->getRandomOpenBorrower(); $marginConnectZidisha = 0; if (!empty($openloans)) { ?> <h2><?php echo $lang['home']['spotlight_loan']; ?> </h2> <?php $i = 1; $noOfLoans = 0; foreach ($openloans as $openloan) { if ($noOfLoans >= 2) { break; }
<?php require_once "library/session.php"; include_once "./editables/current_credit.php"; $path = getEditablePath('current_credit.php'); include_once "./editables/" . $path; ?> <div class='span12'> <div align='left' class='static'><h1><?php echo $lang['current_credit']['title']; ?> </h1></div> <?php if ($session->userlevel == BORROWER_LEVEL) { $userid = $session->userid; $islastrepaid = $database->getLastRepaidloanId($userid); $currentloan = $database->getCurrentLoanid($userid); $rate = $database->getCurrentRate($userid); if (empty($currentloan) && $islastrepaid) { $currentloan = $islastrepaid; } $lastRepaidStatus = $database->getUserLoanStatus($userid, $islastrepaid); $borrowerid = $session->userid; $loanCountArray = $database->getLoanCount($userid, true); $loanCounts = $loanCountArray[0]; $firstLoanpercent = $database->getAdminSetting('firstLoanPercentage'); $SecondLoanpercent = $database->getAdminSetting('secondLoanPercentage'); $nextLoanpercent = $database->getAdminSetting('nextLoanPercentage'); $firstLoanVal = $database->getAdminSetting('firstLoanValue'); $SecondLoanVal = $database->getAdminSetting('secondLoanValue');
<?php } ?> <!-- comment section --> <div class="row" style="align:left"> <div id="comment-section"> <?php echo "<br/><br/>"; $fb = 0; include_once "./editables/profile.php"; $path = getEditablePath('profile.php'); include_once "editables/" . $path; include_once "includes/b_comments.php"; ?> </div> </div> <!-- share box script --> <?php } //if($showShareBox != 0) //{ $lender_bid_success_amt = isset($_SESSION['lender_bid_success_amt']) ? $_SESSION['lender_bid_success_amt'] : 0;
<?php include_once "library/session.php"; include_once "./editables/loanapplic.php"; $path = getEditablePath('loanapplic.php'); include_once "editables/" . $path; ?> <script type="text/javascript" src="includes/scripts/submain.js?q=<?php echo RANDOM_NUMBER; ?> "></script> <div class="span12"> <?php $step = array_get($_GET, 'step', 1); $step = in_array($step, array(1, 2, 3, 4, 5)) ? $step : 1; if ($step > 1 && empty($_SESSION['loanapplic']['step' . ($step - 1)])) { $step = 1; } if (!$session->logged_in) { echo $lang['loanapplic']['welcome_g']; } else { $brwrandLoandetail = $database->getBrwrAndLoanStatus($userid); $active = $brwrandLoandetail['loanActive']; $defaulted = $database->hasBorrowerDefaulted($userid); if ($step == 5 || in_array($active, array(LOAN_CANCELED, LOAN_REPAID, LOAN_EXPIRED, NO_LOAN, '')) && !$defaulted) { $userid = $session->userid; $data = $database->getBorrowerDetails($userid); $country = $data['Country']; $maxperiodValue_months = $database->getAdminSetting('maxperiodValue'); if ($country != 'BJ' && $country != 'BF' && $country != 'GN' && $country != 'NE' && $country != 'SN') { $weekly_inst = 1;
stayOnContent: true, offset: 0 }); }); </script> <script type="text/javascript" src="includes/scripts/generic.js?q=<?php echo RANDOM_NUMBER; ?> "></script> <style type="text/css"> @import url(library/tooltips/btnew.css); </style> <?php include_once "./editables/invite.php"; $path = getEditablePath('invite.php'); include_once "editables/" . $path; $userid = $session->userid; $binvitecredit = $database->getcreditsettingbyCountry($session->userinfo['country'], 3); $currency = $database->getUserCurrency($userid); $params['currency'] = $currency; $params['binvite_credit'] = number_format($binvitecredit['loanamt_limit']); $minrepayrate = $database->getAdminSetting('MinRepayRate'); $params['minreapayrate'] = $minrepayrate; $binvited_msg = $session->formMessage($lang['invite']['binvited_msg'], $params); $invitedmember = $database->getInvitedMember($userid); $success_percentage = $database->getInviteeRepaymentRate($userid); $success_rate = number_format($success_percentage * 100); $TotBonus = $database->getInviteCredit($userid); ?> <div class='span12'>
<?php include_once "./editables/contacts.php"; $path = getEditablePath('contacts.php'); include_once "./editables/" . $path; ?> <div class="span12"> <div id="static"> <?php echo $lang['contacts']['desc']; ?> </div> </div>
function verify_borrower($identity_verify, $identity_verify_other, $participate_verification, $participate_verification_other, $app_know_zidisha, $app_know_zidisha_other, $how_contact, $how_contact_other, $recomnd_addr_locatable, $recomnd_addr_locatable_other, $commLead_know_applicant, $commLead_know_applicant_other, $commLead_recomnd_sign, $commLead_recomnd_sign_other, $commLead_mediate, $commLead_mediate_other, $eligible, $verifier_name) { global $form; $path = getEditablePath('error.php'); include FULL_PATH . "editables/" . $path; $this->error = $lang['error']; if (($identity_verify == -1 || $identity_verify == '') && empty($identity_verify_other)) { $form->setError('is_identity_verify', $this->error['verify_borrower']); } if (($participate_verification == -1 || $participate_verification == '') && empty($participate_verification_other)) { $form->setError('is_participate_verification', $this->error['verify_borrower']); } if (($app_know_zidisha == -1 || $app_know_zidisha == '') && empty($app_know_zidisha_other)) { $form->setError('is_app_know_zidisha', $this->error['verify_borrower']); } if (($how_contact == -1 || $how_contact == '') && empty($how_contact_other)) { $form->setError('is_how_contact', $this->error['verify_borrower']); } if (($recomnd_addr_locatable == -1 || $recomnd_addr_locatable == '') && empty($recomnd_addr_locatable_other)) { $form->setError('is_recomnd_addr_locatable', $this->error['verify_borrower']); } if (($commLead_know_applicant == -1 || $commLead_know_applicant == '') && empty($commLead_know_applicant_other)) { $form->setError('is_commLead_know_applicant', $this->error['verify_borrower']); } if (($commLead_recomnd_sign == -1 || $commLead_recomnd_sign == '') && empty($commLead_recomnd_sign_other)) { $form->setError('is_commLead_recomnd_sign', $this->error['verify_borrower']); } if (($commLead_mediate == -1 || $commLead_mediate == '') && empty($commLead_mediate_other)) { $form->setError('is_commLead_mediate', $this->error['verify_borrower']); } if ($eligible == '') { $form->setError('is_eligible', $this->error['verify_borrower']); } if (empty($verifier_name)) { $form->setError('verifier_name_intrvw', $this->error['empty_name']); } }
<?php $path = getEditablePath('vm_assigned_members.php'); include_once "editables/" . $path; $pending_details = $database->getMentorPendingMembers($session->userid); $vm_member_details = $database->getMentorAssignedmember($session->userid); ?> <div align='left' class='static'><h1><?php echo $lang['vm_assigned_members']['title']; ?> </h1></div> <br/><br/> <h3 class="subhead"><?php echo $lang['vm_assigned_members']['pending']; ?> </h3> <?php echo $lang['vm_assigned_members']['pending_instructions']; ?> <br/><br/> <table class="zebra-striped tablesorter_pending_borrowers"> <tbody> <?php foreach ($pending_details as $row) { $inv_borrowerid = $row['userid']; $inv_details = $database->getBorrowerDetails($inv_borrowerid); $prurl = getUserProfileUrl($inv_borrowerid); $inv_firstname = $inv_details['FirstName']; $inv_lastname = $inv_details['LastName']; $brwrandLoandetail = $database->getBrwrAndLoanStatus($inv_borrowerid);
header("HTTP/1.1 301 Moved Permanently"); header("Location: " . SITE_URL); } RedirectLoanprofileurl(); RedirectUserprofileurl(); $language = ''; if (isset($_GET["language"])) { $language = $_GET["language"]; } $language1 = "English"; if ($language != '') { $language1 = $database->getLanguageByCode($language); } // Grabs translated strings for menu. include_once "./editables/menu.php"; $path = getEditablePath('menu.php'); include_once "./editables/" . $path; $page = 0; if (isset($_GET["p"])) { $page = $_GET["p"]; } if ($page == 1001) { header("location:landing_page/fullyfunded.html"); exit; } if ($page == 2 || $page == 65 || $page == 64 || $page == 26 || $page == 67 || $page == 38 || $page == 6 || $page == 47 || $page == 48 || $page == 3 || $page == 4 || $page == 62 || $page == 69) { if (isset($_SERVER['HTTP_REFERER'])) { $HTTP_REFERER = $_SERVER['HTTP_REFERER']; } else { $HTTP_REFERER = ''; }
function getTranslatedLabels($domain) { global $lang; if (!isset($lang[$domain])) { include_once "./editables/{$domain}.php"; $path = getEditablePath("{$domain}.php"); include_once "./editables/{$path}"; } return $lang; }