本文整理汇总了PHP中getEditablePath函数的典型用法代码示例。如果您正苦于以下问题:PHP getEditablePath函数的具体用法?PHP getEditablePath怎么用?PHP getEditablePath使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了getEditablePath函数的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的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>
开发者ID:mickdane,项目名称:zidisha,代码行数:14,代码来源:why-zidisha.php
示例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
开发者ID:narvee,项目名称:nripl.org,代码行数:31,代码来源:additional_verification.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) {
开发者ID:narvee,项目名称:nripl.org,代码行数:31,代码来源:_login.header.php
示例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;
开发者ID:mickdane,项目名称:zidisha,代码行数:31,代码来源:giftpayment.php
示例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>
开发者ID:xavier-s-a,项目名称:zidisha,代码行数:31,代码来源:faqs.php
示例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"])) {
开发者ID:narvee,项目名称:nripl.org,代码行数:31,代码来源:brwrlist-i.php
示例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>
开发者ID:xavier-s-a,项目名称:zidisha,代码行数:31,代码来源:l_register_redesign.php
示例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 -->
开发者ID:mickdane,项目名称:zidisha,代码行数:13,代码来源:interns.php
示例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'];
}
}
开发者ID:mickdane,项目名称:zidisha,代码行数:31,代码来源:repayschedule.php
示例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'];
开发者ID:xavier-s-a,项目名称:zidisha,代码行数:31,代码来源:newsletter.php
示例11: getTranslatedLabels
function getTranslatedLabels($page)
{
include "./editables/" . $page . ".php";
$path = getEditablePath('".$page.".php');
include "./editables/" . $path;
return $lang;
}
开发者ID:xavier-s-a,项目名称:zidisha,代码行数:7,代码来源:session.php
示例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'];
开发者ID:mickdane,项目名称:zidisha,代码行数:31,代码来源:news.php
示例13: getEditablePath
<?php
require_once "library/session.php";
$path = getEditablePath('getinvolved.php');
include_once "./editables/" . $path;
echo $lang['getinvolved']['desc'];
开发者ID:mickdane,项目名称:zidisha,代码行数:6,代码来源:getinvolved.php
示例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);
开发者ID:xavier-s-a,项目名称:zidisha,代码行数:31,代码来源:statistics.php
示例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);
开发者ID:narvee,项目名称:nripl.org,代码行数:31,代码来源:binvite.php
示例16: getEditablePath
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'];
?>
开发者ID:xavier-s-a,项目名称:zidisha,代码行数:31,代码来源:withdraw.php
示例17: additional_verification
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'];
}
//.........这里部分代码省略.........
开发者ID:mickdane,项目名称:zidisha,代码行数:101,代码来源:updateprocess.php
示例18: rgb
</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 ';
开发者ID:narvee,项目名称:nripl.org,代码行数:31,代码来源:loanapplic_step3.php
示例19: getEditablePath
<?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;
}
开发者ID:mickdane,项目名称:zidisha,代码行数:31,代码来源:forgetPassword.php
示例20: getEditablePath
<?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;
}
开发者ID:mickdane,项目名称:zidisha,代码行数:31,代码来源:home.php
注:本文中的getEditablePath函数示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论