OverLord Shell

Path : G:/PleskVhosts/jaincensus.com/macciaweb.ultraliant.com/businessforum/
File Upload :
Current File : G:/PleskVhosts/jaincensus.com/macciaweb.ultraliant.com/businessforum/plans2.php

<?php 
session_start();
require_once("db/conn.php");
include_once("header.inc.php");

if(empty($_GET['id']))header("location:404.php");
$company_id=$_SESSION['company_id'];

$loggedin = (!empty($_SESSION['loggedin'])) ? $_SESSION['loggedin'] : null;
$companyid = (!empty($_SESSION['company_id'])) ? $_SESSION['company_id'] : null;
$companyname = (!empty($_SESSION['company_name'])) ? $_SESSION['company_name'] : null;

isAuthorized($companyid ,$companyname,$loggedin);
$listrow=getData("plan_master","companyid",$company_id);

if(count($listrow)==0)header("location:404.php");



?>
<section id="content">
	
    <div class="container">
           
          <div class="table-responsive">
        <div class="membership-pricing-table">
             <table width="100%">
                <tbody>
                <tr>
                    <th width="50%"></th>
                    <th class="plan-header plan-header-free" width="16.66%">
                <div class="pricing-plan-name">Trial</div>
                
                <div class="pricing-plan-period">Free</div>
                <!--<div class="pricing-plan-price">
                    <sup>₹</sup>0<span>.00</span>
                </div>-->
                </th>
                <th class="plan-header plan-header-blue" colspan="2" width="16.66%">
                <div class="pricing-plan-name">Starter</div>
                
                <div class="pricing-plan-period">1 Year</div>
                <div class="pricing-plan-price">
                    <sup>₹</sup>1008<span>.00</span>
                </div>
                </th>
                <th class="plan-header plan-header-standard" colspan="2" width="16.66%">
                <div class="header-plan-inner">
                    <!--<span class="plan-head"> </span>-->
                    <span class="recommended-plan-ribbon">Premium</span>
                    <div class="pricing-plan-name">STANDARD</div>
                    
                    <div class="pricing-plan-period">Life Time</div>
                    <div class="pricing-plan-price">
                        <sup>₹</sup>9999<span>.00</span>
                    </div>
                </div>
                </th>
               
                </tr>
                
                <tr>
                    <td>Listing:</td>
                    <td>Y</td>
                    <td>Y</td>
                    <td>-</td>
                    <td>Y</td>
                    <td>-</td>
                </tr>
                <tr>
                    <td>Own Products / Services:</td>
                   <td>Y</td>
                    <td>Y</td>
                    <td>-</td>
                    <td>Y</td>
                    <td>-</td>
                </tr>
                <tr>
                    <td>Send / Recived Enquiry:</td>
                   <td>Y</td>
                    <td>Y</td>
                    <td>-</td>
                    <td>Y</td>
                    <td>-</td>
                </tr>
                <tr>
                    <td>Search Business:</td>
                    <td>Y</td>
                    <td>Y</td>
                    <td>-</td>
                    <td>Y</td>
                    <td>-</td>
                </tr>
                <tr>
                    <td>Listing in Jai Jinendra App:</td>
                    <td>Y</td>
                    <td>Y</td>
                    <td>-</td>
                    <td>Y</td>
                    <td>-</td>
                </tr>
                <tr>
                    <td>Contact Details :</td>
                    <td>N</td>
                    <td>Y</td>
                    <td>-</td>
                    <td>Y</td>
                    <td>-</td>
                </tr>
                 <tr>
                    <td>Micro Web Site :</td>
                    <td>N</td>
                    <td>Y</td>
                    <td>5000</td>
                    <td>Y</td>
                    <td>5000</td>
                </tr>
                 <tr>
                    <td>Free Hosting Account with 10 GB space and Unlimited Bandwidth:</td>
                    <td>N</td>
                    <td>Y</td>
                    <td>3000</td>
                    <td>Y</td>
                    <td>3000</td>
                </tr>
                
                <tr>
                    <td>Free Advertisement on MBN Portal:</td>
                    <td>N</td>
                    <td>Y</td>
                    <td>2000</td>
                    <td>Y</td>
                    <td>2000</td>
                </tr>
                
                 <tr><td>Free Advertisement On Jai Jinendra App <br>(reach to 5 lac people):</td>
                    <td>N</td>
                    <td>Y</td>
                    <td>1000</td>
                    <td>Y</td>
                    <td>1000</td>
                </tr>
                
                 <tr>
                    <td>Free Web Site with Your Domain:</td>
                    <td>N</td>
                    <td>N</td>
                    <td>-</td>
                    <td>Y</td>
                    <td>10000</td>
                </tr>
                
                 <tr>
                    <td>Premium Listing in Jai Jinendra App:</td>
                    <td>N</td>
                    <td>N</td>
                    <td>-</td>
                    <td>Y</td>
                    <td>1000</td>
                </tr>
                
                 <tr>
                    <td>25% Discount on Any Mobile Application / Software:</td>
                    <td>N</td>
                    <td>N</td>
                    <td>-</td>
                    <td>Y</td>
                    <td>6000*</td>
                </tr>
                
                 <tr>
                    <td>Total Savings:</td>
                    <td>-</td>
                    <td>-</td>
                    <td>11000</td>
                    <td>-</td>
                    <td>27000*</td>
                </tr>
                
                 <tr>
                    <td>* min Savings, can be more:</td>
                    <td>-</td>
                    <td>-</td>
                    <td>-</td>
                    <td>-</td>
                    <td>-</td>
                </tr>
                 <form role="form" id="addform">	
				<tr>
                    <td>Select plan:</td>
                    <td>  
                    <input type="radio" name="plan" id="plan" value="x" onclick="myplan1('x');" selected><h3>Trial</h3></td>
                    <td colspan="2"> 
                    <input type="radio" name="plan" id="plan" value="y" onclick="myplan1('y');"><h3>one year</h3></td>
                    <td colspan="2"> 
                    <input type="radio" name="plan" id="plan" value="z" onclick="myplan1('z');"><h3>Life time</h3></td>
                </tr>
            </tbody></table>
        </div>
    </div>

                        
                           
                             <h2 class="wow fadeInRight animated" data-wow-duration="1s" style="color:red;padding-top:2%"> Add Payment</h2><br>   
                             <div id="me2"><div class="col-sm-6">
                                        <div class="form-group">
                                            <label>	Amount: <span class="require">*</span></label>
                                            <input type="text" class="form-control" name="Amount" id="Amount" value="1008" readonly>
                                        </div>
                                    </div></div>
                                    <div id="me3"><div class="col-sm-6">
                                        <div class="form-group">
                                            <label>	Amount: <span class="require">*</span></label>
                                            <input type="text" class="form-control" name="Amount" id="Amount" value="9999" readonly>
                                        </div>
                                    </div></div>
                               <div id="me1">
                               
                                    <div class="row">
                                     <div class="col-sm-6">
                                        <div class="form-group">
                                            <div class="form-group">
                                            <label>Payment Mode <span class="require">*</span></label>
                                            <select class="form-control" name="paymode" id="paymode" data-validation="number" data-validation-error-msg="Please select" onChange="cashOrBank()">
                                                 <option value="0">select payment Mode</option>
												<option value="1">Cash</option>
                                                <option value="2">Cheque</option>
                                            </select>
                                           </div>
                                        </div>
								    </div>
									</div>
                                    <div class="col-sm-2">
                                        <div class="form-group">
                                            <label>Cheque No.</label>
                                            <input type="text" class="form-control" name="chqno" id="chqno" maxlength="6" data-validation="number length" data-validation-length="6-6" data-validation-error-msg="Invalid Cheque No." disabled>
                                        </div>
                                    </div>
                                    <div class="col-sm-3">
                                        <div class="form-group">
                                            <label>Bank Name</label>
                                            <input type="text" class="form-control" name="bankname" id="bankname" maxlength="50" data-validation="required" data-validation-error-msg="Invalid Bank Name" disabled>
<input type="hidden" name="chqdate" id="chqdate" value="2017-12-04">
                                        </div>
                                    </div>
                                   
                                 </div> 
							 
                             <div class="note note-danger displaynone"></div>
								<div style="float:right;">
								 <button type="submit"  class="btn btn-primary" data-loading-text="Submitting...">Add</button>
                                  <button type="reset" class="btn btn-default" onClick="$('.note-danger').hide()">Reset</button>
								
                               </div>
                               </div>
                            </form>
                            
                            

	</div>

    </div>
    </div>
</section>

<script type="text/javascript">
    function ddlValidate() {
        var e = document.getElementById("ddlView");
        var optionSelIndex = e.options[e.selectedIndex].value;
        var optionSelectedText = e.options[e.selectedIndex].text;
        if (optionSelIndex == 0) {
            alert("Please select a Course");
        }
        else {
            alert("Success !! You have selected Course : " + optionSelectedText); ;
        }
    }
</script>
<script>
$(document).ready(function() {
$(".btn-pref .btn").click(function () {
    $(".btn-pref .btn").removeClass("btn-primary").addClass("btn-default");
    // $(".tab").addClass("active"); // instead of this do the below 
    $(this).removeClass("btn-default").addClass("btn-primary");   
});
});
</script>
<script src="js/jquery.fancybox.pack.js"></script>
<script src="js/validate.js"></script>
<script>
function valAdd() {
    $.validate({
        modules: 'file,security',
        form: '#addform',
        scrollToTopOnError: false,
        onSuccess: function() {
            $('#addform button[type=submit]').button('loading');
            $('#addform button[type=reset]').attr('disabled', 'disabled');
            $('.note-danger').html('').hide();
            $.ajax({
                type: 'POST',
                url: 'plans_save.php',
                data: new FormData($('#addform')[0]),
                contentType: false,
                processData: false,
                success: function(data) {
                    if (data == 'success') {
                        $('#addform')[0].reset();
                        location = 'plans.php?msg=add_success';
                    } else if (data.substr(data.length - 4) == '.php') location = data;
                    else {
                        $('.note-danger').html(data).show();
                        $('#addform button[type=submit]').button('reset');
                        $('#addform button[type=reset]').removeAttr('disabled');
                    }
                }
            });
            return false;
        }
    });
}
valAdd();


</script>
<script>  

function abc(){
	 $('#me1').hide(); 
     $('#me2').hide(); 
	  $('#me3').hide(); 
	 
}

function myplan1(val){
	 $('#me1').hide(); 
     $('#me2').hide(); 
	 $('#me3').hide(); 
	
	if(val=='x'){
	 $('#me1').hide(); 
	 $('#me2').hide(); 
	}else if(val=='y')
{
	$('#me1').show(); 
	$('#me2').show(); 
	 $('#me3').hide(); 
	
}else if(val=='z'){
	$('#me1').show(); 
	$('#me2').hide();
	 $('#me3').show(); 
}
}
function cashOrBank(){if($('#paymode').val()==2)$('#chqno,#bankname,#chqdate').removeAttr('disabled');else $('#chqno,#bankname,#chqdate').attr('disabled','disabled').val('');}
  
    </script>            
<style>

.membership-pricing-table {
    width: 920px
}

.membership-pricing-table table .icon-no,.membership-pricing-table table .icon-yes {
    font-size: 22px
}

.membership-pricing-table table .icon-no {
    color: #a93717
}

.membership-pricing-table table .icon-yes {
    color: #209e61
}

.membership-pricing-table table .plan-header {
    text-align: center;
    font-size: 48px;
    border: 1px solid #e2e2e2;
    padding: 25px 0
}

.membership-pricing-table table .plan-header-free {
    background-color: #eee;
    color: #555
}

.membership-pricing-table table .plan-header-blue {
    color: #fff;
    background-color: #61a1d1;
    border-color: #3989c6
}

.membership-pricing-table table .plan-header-standard {
    color: #fff;
    background-color: #ff9317;
    border-color: #e37900
}

.membership-pricing-table table td {
    text-align: center;
    width: 15%;
    padding: 7px 10px;
    background-color: #fafafa;
    font-size: 14px;
    -webkit-box-shadow: 0 1px 0 #fff inset;
    box-shadow: 0 1px 0 #fff inset
}

.membership-pricing-table table,.membership-pricing-table table td {
    border: 1px solid #ebebeb
}

.membership-pricing-table table tr td:first-child {
    background-color: transparent;
    text-align: right;
    width: 24%
}

.membership-pricing-table table tr td:nth-child(5) {
    background-color: #FFF
}

.membership-pricing-table table tr:first-child td,.membership-pricing-table table tr:nth-child(2) td {
    -webkit-box-shadow: none;
    box-shadow: none
}

.membership-pricing-table table tr:first-child th:first-child {
    border-top-color: transparent;
    border-left-color: transparent;
    border-right-color: #e2e2e2
}

.membership-pricing-table table tr:first-child th .pricing-plan-name {
    font-size: 22px
}

.membership-pricing-table table tr:first-child th .pricing-plan-price {
    line-height: 35px
}

.membership-pricing-table table tr:first-child th .pricing-plan-price>sup {
    font-size: 45%
}

.membership-pricing-table table tr:first-child th .pricing-plan-price>span {
    font-size: 30%
}

.membership-pricing-table table tr:first-child th .pricing-plan-period {
    margin-top: -7px;
    font-size: 25%
}

.membership-pricing-table table .header-plan-inner {
    position: relative
}

.membership-pricing-table table .recommended-plan-ribbon {
    box-sizing: content-box;
    background-color: #dc3b5d;
    color: #FFF;
    position: absolute;
    padding: 3px 6px;
    font-size: 11px!important;
    font-weight: 500;
    left: -6px;
    top: -22px;
    z-index: 99;
    width: 100%;
    -webkit-box-shadow: 0 -1px #c2284c inset;
    box-shadow: 0 -1px #c2284c inset;
    text-shadow: 0 -1px #c2284c
}

.membership-pricing-table table .recommended-plan-ribbon:before {
    border: solid;
    border-color: #c2284c transparent;
    border-width: 6px 0 0 6px;
    bottom: -5px;
    content: "";
    left: 0;
    position: absolute;
    z-index: 90
}

.membership-pricing-table table .recommended-plan-ribbon:after {
    border: solid;
    border-color: #c2284c transparent;
    border-width: 6px 6px 0 0;
    bottom: -5px;
    content: "";
    right: 0;
    position: absolute;
    z-index: 90
}

.membership-pricing-table table .plan-head {
    box-sizing: content-box;
    background-color: #ff9c00;
    border: 1px solid #cf7300;
    position: absolute;
    top: -33px;
    left: -1px;
    height: 30px;
    width: 100%;
    border-bottom: none
}
</style>

<?php include_once("footer.inc.php");//connClose();?>

xRyukZ - Copyright 2k19