本文整理汇总了PHP中getEditablePath函数的典型用法代码示例。如果您正苦于以下问题:PHP getEditablePath函数的具体用法?PHP getEditablePath怎么用?PHP getEditablePath使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了getEditablePath函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: getEditablePath
<?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>
示例2: getEditablePath
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
示例3: getEditablePath
<?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) {
示例4: getEditablePath
<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;
示例5: getEditablePath
// --- 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>
示例6: resetStatus
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"])) {
示例7: recaptcha_get_html
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>
示例8: getEditablePath
<?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 -->
示例9: getEditablePath
<?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'];
}
}
示例10: getEditablePath
<?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'];
示例11: getTranslatedLabels
function getTranslatedLabels($page)
{
include "./editables/" . $page . ".php";
$path = getEditablePath('".$page.".php');
include "./editables/" . $path;
return $lang;
}
示例12: getEditablePath
<?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'];
示例13: getEditablePath
<?php
require_once "library/session.php";
$path = getEditablePath('getinvolved.php');
include_once "./editables/" . $path;
echo $lang['getinvolved']['desc'];
示例14: getEditablePath
<?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);
示例15: getEditablePath
<?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);