Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /*
- Template Name: Form Template
- */
- get_header();?>
- <section id="main" class="col-sm-12 col-md-12 full-width" role="main">
- <article class="post-101 page type-page status-publish hentry">
- <div class="entry-meta">
- <div class="clearfix"></div>
- </div>
- <div class="entry-summary">
- <p style="color: #fff; font-size: 50px; background-color: #ee5772; text-align: center; padding: 5px 10px; line-height: 50px;">97% מהתרומה שלך עוברת ישירות לנזקקים!</p>
- <p style="color: #ee5772; font-size: 20px; text-align: center; padding: 5px 10px; line-height: 15px;">3% – לכיסוי הוצאות ניהול ותפעול</p>
- <p style="color: #fff; font-size: 30px; font-weight: bold; text-align: center; background-color: #404e59; padding: 5px 10px; line-height: 40px;">אלפי נזקקים מברכים אותך על עזרתך, 2 דקות וסיימנו <img draggable="false" class="emoji" alt="🙂" src="https://s.w.org/images/core/emoji/2.2.1/svg/1f642.svg"></p>
- <button type="button" class="btn btn-lg btn-link btn-modal" data-toggle="modal" data-target="#taxModal"><i class="fa fa-external-link"></i> מידע על קבלות תרומה לצורך החזר מס</button>
- <div class="donation-form">
- <form method="post" id="donation_form" name="donation_form" novalidate="novalidate" class="fv-form fv-form-bootstrap">
- <h3 class="pink-title col-sm-offset-1"><i class="fa fa-heart"></i> פרטי התרומה</h3>
- <div class="collapse in" id="donation-info">
- <div class="donation-list" id="donation-list">
- <div class="row donation repeatable">
- <div class="col-sm-1 col-xs-2 remove-wrapper">
- <button type="button" class="btn btn-link btn-block remove"><i class="fa fa-times"></i></button>
- </div>
- <div class="col-sm-3 col-xs-5">
- <div class="form-group projects">
- <label for="projectID">עבור פרויקט</label>
- <select class="form-control" id="projectID" name="project[]">
- <option value="">תרומה כללית</option>
- <option value="">אימוץ בר מצווה</option>
- <option value="">אימוץ הוצאות חתונה</option>
- <option value="">ארוחות חמות</option>
- <option value="">היחידה לסיוע לחולה</option>
- <option value="">חלוקת סלי מזון</option>
- <option value="">חסד וסיוע לאלמנות וליתומים</option>
- <option value="">מחזירים את הדרום לשיגרה</option>
- <option value="">מחלקת ריהוט – תרומת רהיטים</option>
- <option value="">מטרנה לתינוקות</option>
- <option value="">מרפאות שיניים לנזקקים</option>
- <option value="">משלוח מנות במייל</option>
- <option value="">מתנות לאביונים – פורים</option>
- <option value="">סל מורחב לחגים</option>
- <option value="">עודפי תוצרת חקלאית</option>
- <option value="">פדיון כפרות</option>
- <option value="">פרויקט חונכים</option>
- <option value="">ציוד חורף</option>
- <option value="">קידום הכשרה מקצועית</option>
- <option value="">קמחא דפסחא</option>
- <option value="">קרן חירום והוצאות רפואיות</option>
- <option value="">קרן קול לכלה – נדוניה</option>
- <option value="">קרן שיקום</option>
- <option value="">שילוב הוראה מתקנת</option>
- <option value="">תווי קניה</option>
- </select>
- </div>
- </div>
- <div class="col-sm-3 col-xs-5">
- <div class="form-group prices has-feedback">
- <label for="price1">סכום</label>
- <div class="combobox-container">
- <div class="input-group">
- <input type="text" autocomplete="off" placeholder="בחר או הקלד סכום" class="form-control combobox donation-amount" >
- </div>
- </div>
- </div>
- </div>
- <div class="col-sm-3 col-xs-12 new-donation" style="display: block;">
- <button type="button" class="btn btn-default btn-block add"><i class="fa fa-plus-circle"></i> הוסף תרומה נוספת</button>
- </div>
- <input type="hidden" name="project_amount_label[]" value="">
- </div>
- </div>
- <hr>
- <div class="row">
- <div class="col-sm-2 col-sm-offset-1 col-xs-4">
- <div class="form-group">
- <label for="donation_type">סוג תרומה</label>
- <select class="form-control" id="donation_type" name="donation_type">
- <option value="single" checked="checked">תרומה חד פעמית</option>
- <option value="cycles">הוראת קבע</option>
- </select>
- </div>
- </div>
- <div class="col-sm-2 col-xs-4">
- <div class="form-group payments">
- <label for="payments">תשלומים</label>
- <select class="form-control" id="payments" name="payments">
- <option value="1">1</option>
- <option value="2">2</option>
- <option value="3">3</option>
- <option value="4">4</option>
- <option value="5">5</option>
- <option value="6">6</option>
- <option value="7">7</option>
- <option value="8">8</option>
- <option value="9">9</option>
- <option value="10">10</option>
- <option value="11">11</option>
- <option value="12">12</option>
- <option value="13">13</option>
- <option value="14">14</option>
- <option value="15">15</option>
- </select>
- </div>
- </div>
- <div class="col-sm-2 col-xs-4">
- <div class="form-group">
- <label for="currency">מטבע</label>
- <select class="form-control" id="currency" name="currency">
- <option value="ILS">₪ - שקל</option>
- <option value="EUR">€ - יורו</option>
- <option value="USD">$ - דולר</option>
- </select>
- </div>
- </div>
- <div class="col-sm-3 col-xs-12">
- <div class="form-group total">
- <label for="total">סה"כ סכום התרומה</label>
- <div class="checkout-total-amount">
- <span id="total_amount">0.00</span><span id="total_currency"> ₪</span>
- </div>
- </div>
- </div>
- </div>
- <hr>
- <h3 class="blue-title col-sm-offset-1"><i class="fa fa-user"></i> פרטים אישיים</h3>
- <div class="row">
- <div class="col-sm-3 col-sm-offset-1 col-xs-6">
- <div class="form-group has-feedback">
- <label for="firstname">שם פרטי</label>
- <input type="text" name="first_name" class="form-control" id="firstname" data-fv-field="first_name">
- </div>
- </div>
- <div class="col-sm-3 col-xs-6">
- <div class="form-group has-feedback">
- <label for="lastname">שם משפחה</label>
- <input type="text" name="last_name" class="form-control" id="lastname" data-fv-field="last_name">
- </div>
- </div>
- <div class="col-sm-3 col-xs-6">
- <div class="form-group has-feedback">
- <label for="phone">טלפון</label>
- <input type="text" name="phone" class="form-control" id="phone" data-fv-field="phone">
- </div>
- </div>
- <div class="col-sm-3 col-sm-offset-1 col-xs-6">
- <div class="form-group has-feedback">
- <label for="email">דוא"ל</label>
- <input type="email" name="email" class="form-control" id="email" data-fv-field="email">
- </div>
- </div>
- <div class="col-sm-6 col-xs-12">
- <div class="form-group">
- <label for="address">כתובת</label>
- <input type="text" name="address" class="form-control" id="address" placeholder="כתובת מלאה למשלוח קבלה">
- </div>
- </div>
- </div>
- <hr>
- <a class="col-sm-offset-1 receipt-info" data-toggle="collapse" href="#receipt-info" ><i class="fa fa-caret-down"></i> אפשרויות קבלה לצרכי מס</a>
- <div class="collapse" id="receipt-info">
- <div class="row">
- <div class="col-sm-11 col-sm-offset-1">
- <h4>אני מעוניין בקבלה המוכרת למס ב:</h4>
- <div class="radio">
- <label>
- <input type="radio" name="c_tax" class="c_tax" id="israel" value="israel" checked="checked">
- ישראל
- </label>
- </div>
- <div class="radio">
- <label>
- <input type="radio" name="c_tax" class="c_tax" id="france" value="france">
- צרפת
- </label>
- </div>
- </div>
- </div>
- <hr>
- <a class="col-sm-offset-1 receipt collapsed" data-toggle="collapse" href="#receipt"><i class="fa fa-check-square-o"></i> קבלה על שם אחר</a>
- <div class="collapse" id="receipt">
- <div class="row">
- <div class="col-sm-3 col-sm-offset-1 col-xs-6">
- <div class="form-group">
- <label for="firstname2">שם פרטי</label>
- <input type="text" name="first_name_2" class="form-control" id="firstname">
- </div>
- </div>
- <div class="col-sm-3 col-xs-6">
- <div class="form-group">
- <label for="lastname2">שם משפחה</label>
- <input type="text" name="last_name_2" class="form-control" id="lastname">
- </div>
- </div>
- <div class="col-sm-3 col-xs-6">
- <div class="form-group">
- <label for="phone2">טלפון</label>
- <input type="text" name="phone_2" class="form-control" id="phone">
- </div>
- </div>
- <div class="col-sm-3 col-sm-offset-1 col-xs-6">
- <div class="form-group has-feedback">
- <label for="email2">דוא"ל</label>
- <input type="email" name="email_2" class="form-control" id="email2" data-fv-field="email_2"> </div>
- </div>
- <div class="col-sm-6 col-xs-12">
- <div class="form-group">
- <label for="address2">כתובת</label>
- <input type="text" name="address_2" class="form-control" id="address2" placeholder="כתובת מלאה למשלוח קבלה">
- </div>
- </div>
- </div>
- </div>
- </div>
- <hr>
- </div>
- <h3 class="green-title col-sm-offset-1"><i class="fa fa-credit-card"></i> סיכום ופרטי אשראי</h3>
- <div class="col-sm-offset-1 payments-options" role="group">
- <button type="button" name="credit_cart" class="btn btn-lg btn-pink" value="credit" id="pay_credit_card" style="display: inline-block;">תרומה בכרטיס אשראי</button>
- <button type="submit" name="paypal" class="btn btn-lg btn-pink" value="paypal">תרומה באמצעות PayPal</button>
- </div>
- </form>
- </div>
- <!-- Modal -->
- <div class="modal fade" id="taxModal" role="dialog">
- <div class="modal-dialog">
- <div class="modal-content">
- <div class="modal-header">
- <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
- <h4 class="modal-title" id="myModalLabel">מידע על קבלות תרומה לצורך החזר מס</h4>
- </div>
- <div class="modal-body">
- בתרומה כאן באתר ניתן לקבל קבלה המוכרת לצורך מס בישראל (על פי סעיף 46) או בצרפת (CERFA)
- <br>
- <br>
- <strong>לקבלה המוכרת למס בארה"ב:</strong><br>
- American Friends of Yad Eliezer<br>
- American tax ID number: 11-3459952<br>
- למעבר לתרומה באתר <a href="http://www.yadeliezer.org/" target="_blank">לחץ כאן</a><br>
- <strong>לקבלה המוכרת למס בקנדה ניתן ליצור קשר:</strong><br>
- Canadian Friend of Yad Eliezer<br>
- Canadian Tax ID Number: BN889966867RR0001<br>
- Tel: (1)- 514-735-283<br>
- Email:[email protected]<br>
- <strong>לקבלה המוכרת למס בבריטניה ניתן ליצור קשר:</strong><br>
- Yad Eliezer Trust<br>
- UK Registered Charity Number: 1115426<br>
- Tel:(44)-0208-455-8394<br>
- Email: [email protected]<br>
- </div>
- <div class="modal-footer">
- <button type="button" class="btn btn-primary" data-dismiss="modal">סגור</button>
- </div>
- </div>
- </div>
- </div>
- </div>
- </article>
- </section>
- <script type="text/javascript">
- //jQuery('#myForm').validator();
- jQuery('input#france').click(function(){
- jQuery('button#pay_credit_card').hide();
- });
- jQuery('input#israel').click(function(){
- jQuery('button#pay_credit_card').show();
- });
- jQuery(document).ready(function() {
- jQuery(document).on("click", "button.btn.btn-default.btn-block.add", function() {
- var column = jQuery(this).parents(".row.donation.repeatable").clone();
- jQuery(this).removeClass("show").addClass("hide").parent().siblings().find("button.btn.btn-link.btn-block.remove").removeClass("hide").addClass("show").parents("#donation-list").append(column);
- jQuery("#donation-list").find(".row.donation.repeatable:last-child").find("input.donation-amount").val("");
- jQuery(this).parents(".row.donation.repeatable").siblings().find("button.btn.btn-link.btn-block.remove").addClass("show");
- });
- jQuery(document).on("click", "button.btn.btn-link.btn-block.remove", function() {
- var lists = jQuery(this).parents("#donation-list").children().length;
- jQuery(this).parents(".row.donation.repeatable").remove();
- jQuery("#donation-list").find(".row.donation.repeatable:last-child").find("button.btn.btn-default.btn-block.add").removeClass("hide").addClass("show");
- if(lists < 3){
- jQuery("#donation-list").find(".row.donation.repeatable:first-child").find("button.btn.btn-link.btn-block.remove").removeClass("show").addClass("hide");
- }
- });
- jQuery(document).click( function(){
- var sum = 0;
- jQuery("input.donation-amount").each(function() {
- var amount = jQuery(this).val();
- if(parseFloat(amount)){
- sum += parseFloat(amount);
- }
- jQuery("#total_amount").text(sum+".00");
- });
- });
- jQuery("select#currency").change(function() {
- var currency = jQuery(this).val();
- if(currency == "EUR"){
- jQuery("#total_currency").text(" €");
- } else if(currency == "ILS"){
- jQuery("#total_currency").text(" ₪");
- } else if(currency == "USD"){
- jQuery("#total_currency").text(" $");
- }
- });
- });
- </script>
- <?php get_footer();?>
- /=============================== style ========================\
- @import "../../../river/assets/css/style.min.css";
- /* Your CSS code goes here
- -------------------------------------- */
- .donation-form .form-control, .donation-form .comment-form input[type="text"], .donation-form .comment-form input[type="email"], .donation-form .comment-form input[type="url"], .donation-form .comment-form textarea, .donation-form .new-donation .btn, .donation-form .comment-form input[type="text"], .donation-form .comment-form input[type="email"], .donation-form .comment-form input[type="url"], .donation-form .comment-form textarea, .donation-form .new-donation .comment-form input[type="submit"] {
- height: 55px;
- padding: 6px 12px;
- font-size: 18px;
- line-height: 18px;
- color: #344149;
- background-color: #EBECED;
- border: none;
- -webkit-box-shadow: none;
- box-shadow: none;
- }
- .donation-form h3.pink-title {
- color: #EE5772;
- }
- .donation-form h3 {
- margin-top: 30px;
- margin-bottom: 15px;
- font-size: 28px;
- font-weight: 700;
- }
- .donation-form .btn.add, .donation-form .comment-form input[type="submit"].add {
- margin-top: 31px;
- background-color: transparent;
- }
- button#add:focus {
- outline: 0px;
- }
- input.form-control.combobox {
- width: 100%;
- }
- .combobox-container .input-group {
- display: block;
- }
- select#projectID {
- border-radius: 0px;
- }
- label {
- display: inline-block;
- max-width: 100%;
- margin-bottom: 5px;
- font-weight: bold;
- }
- .donation-form label {
- color: #344149;
- font-size: 18px;
- }
- button, input, optgroup, select, textarea {
- color: inherit;
- font: inherit;
- margin: 0;
- }
- button, select {
- text-transform: none;
- }
- input, button, select, textarea {
- font-family: inherit;
- font-size: inherit;
- line-height: inherit;
- }
- .form-control, .comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea {
- display: block;
- width: 100%;
- height: 34px;
- padding: 6px 12px;
- font-size: 14px;
- line-height: 1.42857143;
- color: #555555;
- background-color: #fff;
- background-image: none;
- border: 1px solid #ccc;
- border-radius: 0;
- -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
- box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
- -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
- -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
- transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
- }
- .donation-form .form-control, .donation-form .comment-form input[type="text"], .donation-form .comment-form input[type="email"], .donation-form .comment-form input[type="url"], .donation-form .comment-form textarea, .donation-form .new-donation .btn, .donation-form .comment-form input[type="text"], .donation-form .comment-form input[type="email"], .donation-form .comment-form input[type="url"], .donation-form .comment-form textarea, .donation-form .new-donation .comment-form input[type="submit"] {
- height: 55px;
- padding: 6px 12px;
- font-size: 18px;
- line-height: 18px;
- color: #344149;
- background-color: #EBECED;
- border: none;
- -webkit-box-shadow: none;
- box-shadow: none;
- }
- .donation-form .btn.add, .donation-form .comment-form input[type="submit"].add {
- margin-top: 31px;
- background-color: transparent;
- }
- .col-sm-offset-1 {
- margin-right: 8.33333333%;
- margin-left: 0;
- }
- .btn-lg, .btn-group-lg > .btn, .btn-group-lg > .comment-form input[type="submit"] {
- padding: 10px 16px;
- font-size: 18px;
- line-height: 1.33;
- border-radius: 0;
- }
- .btn.btn-pink, .comment-form input[type="submit"].btn-pink, .comment-form input[type="submit"].btn-pink {
- color: #fff;
- background-color: #EE5772;
- }
- .btn.btn-pink:hover, .comment-form input[type="submit"].btn-pink:hover, .btn.btn-pink:focus, .comment-form input[type="submit"].btn-pink:focus, .comment-form input[type="submit"].btn-pink:hover, .comment-form input[type="submit"].btn-pink:focus {
- color: #fff;
- background-color: #e9294b;
- }
- .donation-form h3.green-title {
- color: #2E938B;
- }
- .donation-form h3 {
- margin-top: 30px;
- margin-bottom: 15px;
- font-size: 28px;
- font-weight: 700;
- }
- .donation-form .total .checkout-total-amount {
- height: 45px;
- font-size: 30px;
- font-weight: 700; padding-top: 10px;
- text-align: center; color: #333333;}
- .donation-form .total {text-align: center;}
- button.btn.btn-link.btn-block.remove {color: #14191c; margin-top: 31px;}
- button.btn.btn-link.btn-block.remove:focus {outline:0}
- .modal-backdrop.fade.in {z-index: 0;}
- button.btn.btn-lg.btn-link.btn-modal {color: #000; float: left;}
- button.btn.btn-lg.btn-link.btn-modal:focus {outline:0}
- .modal {background: rgba(0, 0, 0, 0.6);}
- .modal-content {border-radius: 0;}
- button.btn.btn-primary {
- background-color: #1f262b;
- border-color: #101416;
- border-radius: 0px;
- }
- h4#myModalLabel {
- color: #333;
- }
- .modal-body {
- color: #333;
- font-size: 14px;
- }
- .uneditable-input, button, input[type=time], input[type=week], input[type=number], input[type=email], input[type=url], input[type=search], input[type=tel], input[type=color], input[type=submit], input[type=text], input[type=password], input[type=datetime], input[type=datetime-local], input[type=date], input[type=month], textarea {
- -webkit-border-radius: 0px;
- -moz-border-radius: 0px;
- border-radius: 0;
- }
- a.col-sm-offset-1.receipt-info {
- color: #344149;
- font-size: 18px;
- }
- .col-sm-11.col-sm-offset-1 h4 {
- color: #344149;
- font-size: 18px;
- }
- a.col-sm-offset-1.receipt {
- color: #344149;
- font-size: 18px;
- }
- input, button, select, textarea {
- font-family: inherit;
- font-size: inherit;
- line-height: inherit;
- }
- input[type="checkbox"], input[type="radio"] {
- -webkit-box-sizing: border-box;
- box-sizing: border-box;
- padding: 0;
- }
- input[type="radio"], input[type="checkbox"] {
- margin: 4px 0 0;
- margin-top: 1px \9;
- line-height: normal;
- }
- .radio input[type="radio"], .radio-inline input[type="radio"], .checkbox input[type="checkbox"], .checkbox-inline input[type="checkbox"] {
- position: absolute;
- margin-left: -20px;
- margin-top: 4px \9;
- }
- .radio input[type="radio"], .radio-inline input[type="radio"], .checkbox input[type="checkbox"], .checkbox-inline input[type="checkbox"] {
- margin-right: -20px;
- margin-left: auto;
- }
- label {
- display: inline-block;
- max-width: 100%;
- margin-bottom: 5px;
- font-weight: bold;
- }
- .radio label, .checkbox label {
- min-height: 20px;
- padding-left: 20px;
- margin-bottom: 0;
- font-weight: normal;
- cursor: pointer;
- }
- .radio label, .checkbox label {
- padding-right: 20px;
- padding-left: initial;
- }
- .help-block.with-errors {
- float: left;
- }
- button.btn.btn-link.btn-block.remove {
- display: none;
- }
- button.btn.btn-default.btn-block.add:focus {
- outline: 0;
- }
- .donation-form .receipt.collapsed i.fa-check-square-o:before {
- content: "\f096";
- }
- site link :
- main site https://www.yadeliezer.org.il/%D7%AA%D7%A8%D7%95%D7%9E%D7%94/
- work site http://www.chasdei-naomi.org.il/?page_id=7487
Advertisement
Add Comment
Please, Sign In to add comment