OverLord Shell
<?php
session_start();
if(!isset($_SESSION['company_id']) || !isset($_SESSION['company_name'])){session_destroy();header("location:login.php");}
if(!in_array($_SESSION['loggedin_user'],array('admin','company'))){
header("location:login.php");
}
include("db/conn.php");
include("header.inc.php");
$company_id=$_SESSION['company_id'];
$myplan=$_SESSION['plans'];
$compr=getData('busdir_mst_company','company_id', $_SESSION['company_id'],'','') ;
?>
<section id="content">
<div class="container well" style="background-color:#ffffff;">
<div class="container content">
<?php if($_GET['msg']=='send'){?>
<div class="note note-danger note-dismissable " id="msg" style="color: #e42323 !important;
background-color: #d3e6e1; width: 1111px;">Your Plan change request has been Recived. We will reach to you soon. Thank You!!!</div>
<?php }?>
<?php if($_GET['msg']=='reg'){?>
<div class="note note-danger note-dismissable " id="msg" style="color: #e42323 !important;
background-color: #d3e6e1; width: 1111px;">You are already subscribed this plan !!!</div>
<?php }?>
<?php if($_GET['msg']=='upgrade'){?>
<div class="note note-danger note-dismissable " id="msg" style="color: #e42323 !important;
background-color: #d3e6e1;width: 1111px;">Upgrade plan !!!</div>
<?php }?>
<?php if($_GET['msg']=='add_success'){?>
<div class="note note-danger note-dismissable " id="msg" style="color: #e42323 !important;
background-color: #d3e6e1;width: 1111px;">Login Successfully !!!</div>
<?php }?>
<div class="row">
<p style="text-align:center;font-style:italic; font-size:30px;"> Get Registered yourself and avail Pre-launched <span style="color:#3174f1;"><strong> Discount upto 45%</strong></span> </p>
<!-- Pricing -->
<div class="col-md-3">
<div class=" hover-effect">
<div class="pricing-head "><!--pricing-head-active-->
<h3>Plans
</h3>
<h4 style="text-align: left;">
For India
</h4 >
<h4 style="text-align: left;">
Other than India
</h4>
</div>
<ul class="pricing-content list-unstyled" >
<li style="text-align: left;">Listing</li>
<li style="text-align: left;">Own Products / Services</li>
<li style="text-align: left;">Send / Recived Enquiry</li>
<li style="text-align: left;">Search Business</li>
<li style="text-align: left;">Listing in Jai Jinendra App</li>
<li style="text-align: left;">Listing in Jai JBN App</li>
<li style="text-align: left;">Contact Details </li>
<li style="text-align: left;">Micro Web Site</li>
<li style="text-align: left;">Free Hosting Account with 10 GB space and Unlimited Bandwidth</li>
<li style="text-align: left;">Free Advertisement on JBN Portal</li>
<li style="text-align: left;">Free Advertisment on Jai Jinendra App (reach to 5 lac people)</li>
<li style="text-align: left;">Multiple Business</li>
<li style="text-align: left;">Free Static Web Site with Your Domain</li>
<li style="text-align: left;">Premium Listing in Jai Jinendra App</li>
<li style="text-align: left;">Premium Listing in JBN App</li>
<li style="text-align: left;">25% Discount on Any Mobile Application / Software</li>
<li style="text-align: left;"><b>Total Savings</b>
<br/> * min Savings and can be more</li>
</ul>
</div>
</div>
<div class="col-md-3" name="plan" id="plan">
<div id="p1" class="pricing hover-effect<?php //if($myplan=='0'){echo "pricing-active";}?>">
<div class="pricing-head "><!--pricing-head-active-->
<h3 class="<?php if($myplan=='0'){echo " pqr";}?>">Trial
</h3>
<h4>Free
<span>
</span>
</h4>
<h4>Free
<span>
</span>
</h4>
</div>
<ul class="pricing-content list-unstyled">
<li>Y</li>
<li>Y</li>
<li>Y</li>
<li>Y</li>
<li>Y</li>
<li>Y</li>
<li>N</li>
<li>N</li>
<li>N</li>
<li>N</li>
<li>N</li>
<li>N</li>
<li>N</li>
<li>N</li>
<li>N</li>
<li>N</li>
<li> </li>
</ul>
<!-- <div class="pricing-footer">
</div>-->
</div>
</div>
<a href="javascript:void(0);" <?php if($myplan=='0'){ ?> onclick="myclass('2a','<?php echo trim($compr['company_country']);?>');<?php };?>">
<div class="col-md-3" name="plan2" id="plan2">
<div id="p2" class="pricing hover-effect <?php //if($myplan=='2'){echo " pricing-active";}?>">
<div class="pricing-head"><!--pricing-head-active-->
<h3 class="<?php if($myplan=='2'){echo " pqr";}?>">Startup
</h3>
<h4><m>2500</m> <m>INR</m> <del style="font-size: 50%;color: #000000;">4500 INR</del> </h4>
<h4><m>$99</m> <m>USD</m> <del style="font-size: 50%;color: #000000;">$180 USD</del> </h4>
</div>
<ul class="pricing-content list-unstyled">
<li><m class="asd">Y</m><n> </n></li>
<li><m class="asd">Y</m><n> </n></li>
<li><m class="asd">Y</m><n> </n></li>
<li><m class="asd">Y</m><n> </n></li>
<li><m class="asd">Y</m><n> </n></li>
<li><m class="asd">Y</m><n> </n></li>
<li><m class="asd">Y</m><n> </n></li>
<li><m class="asd">Y</m><n>5000</n></li>
<li><m class="asd">Y</m><n>3000</n></li>
<li><m class="asd">Y</m><n>2000</n></li>
<li><m class="asd">Y</m><n>1000</n></li>
<li><m class="asd">N</m><n> </n></li>
<li><m class="asd">N</m><n> </n></li>
<li><m class="asd">N</m><n> </n></li>
<li><m class="asd">N</m><n> </n></li>
<li><m class="asd">N</m><n> </n></li>
<li><h4><b><m class="asd">Savings</m>11000*<n> </n></b></h4></li>
</ul>
</div>
</div>
</a>
<a href="javascript:void(0);" onclick="myclass('3a','<?php echo trim($compr['company_country']);?>')">
<div class="col-md-3"name="plan3" id="plan3">
<div id="p3" class="pricing hover-effect <?php //if($myplan=='3'){echo " pricing-active";}?>">
<div class="pricing-head"><!--pricing-head-active-->
<h3 class=" <?php if($myplan=='3'){echo " pqr";}?>">Premium
</h3>
<h4><m>9900</m> <m>INR</m> <del style="font-size: 50%;color: #000000;">18000 INR</del> </h4>
<h4><m>$349</m> <m>USD</m> <del style="font-size: 50%;color: #000000;">$630 USD</del> </h4>
</div>
<ul class="pricing-content list-unstyled">
<li><m class="asd">Y</m><n> </n></li>
<li><m class="asd">Y</m><n> </n></li>
<li><m class="asd">Y</m><n> </n></li>
<li><m class="asd">Y</m><n> </n></li>
<li><m class="asd">Y</m><n> </n></li>
<li><m class="asd">Y</m><n> </n></li>
<li><m class="asd">Y</m><n></n></li>
<li><m class="asd">Y</m><n>5000</n></li>
<li><m class="asd">Y</m><n>3000</n></li>
<li><m class="asd">Y</m><n>2000</n></li>
<li><m class="asd">Y</m><n>1000</n></li>
<li><m class="asd">Y</m><n>3000*</n></li>
<li><m class="asd">Y</m><n>10000</n></li>
<li><m class="asd">Y</m><n>1500</n></li>
<li><m class="asd">Y</m><n>1500</n></li>
<li><m class="asd">Y</m><n>6000*</n></li>
<li><h4><b><m class="asd">Savings</m><n>33000*</n></b></h4></li>
</ul>
<!--<div class="pricing-footer">
</div>-->
</div>
</div>
</a>
<!--//End Pricing -->
</div>
</div>
</div>
</div>
<div class="sap_tabs container" id="pay_tab" <?php if($_SESSION['plans']!=2 || $_SESSION['plans']!=3){?>style="display:none;"><?php }?>
<form id="addform" method="post" role="form" style="padding-left:5% !important; margin-right:5% !important;">
<!-- <div class="col-md-12 col-sm-6 col-lg-12">-->
<div class="col-sm-6" style="padding-top: 49px;">
<input type="hidden" id="select_plan" name="select_plan" value="<?php echo $compr['select_plan'];?>" />
<div class="row">
<div class="col-md-6 col-sm-6 col-lg-6">
<label>Payment Mode <span class="require">*</span></label>
<select class="form-control" name="paymode" id="paymode" data-validation="required" data-validation-error-msg="Invalid payment mode" onChange="cashOrBank();">
<option value=""> Select</option>
<option value="1">Cash</option>
<option value="2">Cheque</option>
<option value="3">Online</option>
</select>
</div>
<div class="col-md-6 col-sm-6 col-lg-6" >
<label>Plan Amount <span class="require">*</span></label>
<input type="text" class="form-control" name="planamt" id="planamt" readonly="readonly" >
</div>
</div>
<!-- </div>-->
<div class="row">
<div class="col-md-4 col-sm-6 col-lg-4" style="padding-top: 20px;">
<label>Cheeque/Ref No.<span class="require">*</span></label>
<input type="text" class="form-control" name="chqno" id="chqno" maxlength="6" data-validation="required" data-validation-error-msg="Invalid Chaque/Refrence no" disabled="disabled">
</div>
<div class="col-md-4 col-sm-6 col-lg-4" style="padding-top: 20px;">
<label>Bank Name<span class="require">*</span></label>
<input type="text" class="form-control" name="bankname" id="bankname" maxlength="50" data-validation="required" data-validation-error-msg="Invalid Bank Name" disabled >
</div>
<div class="col-md-4 col-sm-6 col-lg-4" style="padding-top: 20px;">
<label>Date <span class="require">*</span></label>
<input type="date" class="form-control" name="chqdate" id="chqdate" maxlength="12" disabled="disabled" data-validation="required" data-validation-error-msg="Invalid chaque date">
</div>
</div>
<div id="sub">
<div class="col-sm-8" style="padding-top:5%;">
<div class="note note-danger displaynone"></div>
<div style="float:right;">
<input type="hidden" id="splan" name="splan" />
<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>
</div>
</div>
<div class="col-sm-6 ">
<p> <pre class="tab">Name : Ultraliant Infotech Pvt. Ltd.<br />
A/C No : 30792392172 <br />
Account Type : CURRENT<br />
Bank Name : State Bank of India<br />
Branch Name : PANCHVATI, NASIK<br />
City : NASIK (Maharashtra, India)<br />
IFS Code : SBIN0006333 <br />
SWIFT Code : SBININBB527 </pre></p>
</div>
</form>
<br />
</div>
</section>
<style>
.sap_tabs {
background: rgb(54, 215, 172);
padding: 20px 0 20px 0;
border-radius: 0px;
/*position: absolute;*/
bottom: 0;
z-index: 999;
max-height: auto;
}
.asd
{
width:50% !important;
float:left !important;
}
.pqr
{
background-color:red !important;
}
</style>
<script type="text/javascript">
$(function() {
// setTimeout() function will be fired after page is loaded
// it will wait for 5 sec. and then will fire
// $("#successMessage").hide() function
setTimeout(function() {
$("#msg").hide('blind', {}, 500)
}, 5000);
});
$('#planamt').val("0");
function myclass(val,val2)
{
if(val=='3a'){
if(val2=='India'){
$('#planamt').val("9900 INR");
}else{
$('#planamt').val("$349 USD");
}
$('#splan').val(val);
$('#pay_tab').css('display','block');
document.getElementById("p3").classList.add('pricing-active');
document.getElementById("p1").classList.remove('pricing-active');
document.getElementById("p2").classList.remove('pricing-active');
}else if(val=='2a'){
if(val2=='India'){
$('#planamt').val("2500 INR");
}else{
$('#planamt').val("$99 USD");
}
$('#splan').val(val);
$('#pay_tab').css('display','block');
document.getElementById("p2").classList.add('pricing-active');
document.getElementById("p1").classList.remove('pricing-active');
document.getElementById("p3").classList.remove('pricing-active');
}else if(val=='1a')
{
$('#splan').val(val);
$('#planamt').val("0");
document.getElementById("p1").classList.add('pricing-active');
document.getElementById("p2").classList.remove('pricing-active');
document.getElementById("p3").classList.remove('pricing-active');
}
else
{
$('#planamt input').val("0");
document.getElementById("p1").classList.remove('pricing-active');
document.getElementById("p2").classList.remove('pricing-active');
document.getElementById("p3").classList.remove('pricing-active');
}
}
function ddlValidate() {
var e = document.getElementById("paymode");
var optionSelIndex = e.options[e.selectedIndex].value;
var optionSelectedText = e.options[e.selectedIndex].text;
if (optionSelIndex == 0) {
alert("Please select a paymode");
}
else {
alert("Success !! You have selected Course : " + optionSelectedText); ;
}
}
function validate1()
{
if(document.getElementById("paymode").value == "")
{
alert("Please select value"); // prompt user
document.getElementById("paymode").focus(); //set focus back to control
return false;
}
}
$(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>
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: 'plansadd_save.php',
data: new FormData($('#addform')[0]),
contentType: false,
processData: false,
success: function(data) {
alert(data);
if (data == 'success') {
$('#addform')[0].reset();
location = 'plansadd.php?msg=add_success';
} else if (data.substr(data.length - 4) == '.php') location = data;
else if (data == 'are') {
location = 'plansadd.php?msg=reg';
}else if (data == 'send') {
location = 'plansadd.php?msg=send';
}else{
$('#addform .alert-danger').show();
// $('.note-danger').html(data).show();
$('#addform button[type=submit]').button('reset');
$('#addform button[type=reset]').removeAttr('disabled');
}
}
});
return false;
}
});
}
valAdd();
</script>
<script>
function cashOrBank() {
if ($('#paymode').val() == 3) {
$('#chqno,#bankname,#chqdate').removeAttr('disabled');}
else
if ($('#paymode').val() == 2) {$('#chqno,#bankname,#chqdate').removeAttr('disabled');
}
else $('#chqno,#bankname,#chqdate').attr('disabled', 'disabled').val('');
}
</script>
<style>
.col-md-3 {
width: 24%;
padding-left: 0%;
padding-right: 0%;
}
/***
User Profile Sidebar by @keenthemes
A component of Metronic Theme - #1 Selling Bootstrap 3 Admin Theme in Themeforest: http://j.mp/metronictheme
Licensed under MIT
***/
/***
Content
***/
.content {
padding: 30px 0;
}
/***
Pricing table
***/
.pricing {
position: relative;
/* margin-bottom: 15px; */
border: 0px solid #eee;
}
.pricing-active {
border: 3px solid #36d7ac;
margin-top: -10px;
box-shadow: 7px 7px rgba(54, 215, 172, 0.2);
}
.pricing:hover {
border: 3px solid #36d7ac;
}
.pricing:hover h4 {
color: #36d7ac;
}
.pricing-head {
text-align: center;
}
.pricing-head h3,
.pricing-head h4 {
margin: 0;
line-height: normal;
}
.pricing-head h3 span,
.pricing-head h4 span {
display: block;
margin-top: 5px;
font-size: 14px;
font-style: italic;
}
.pricing-head h3 {
font-weight: 300;
color: #fafafa;
padding: 12px 0;
font-size: 27px;
background: #36d7ac;
border-bottom: solid 1px #41b91c;
}
.pricing-head h4 {
color: #bac39f;
padding: 5px 0;
height: 47px;
font-size: 26px;
font-weight: 300;
background: #fbfef2;
border-bottom: solid 1px #36d7ac;
}
.pricing-head-active h4 {
color: #36d7ac;
}
.pricing-head h4 i {
top: -8px;
font-size: 28px;
font-style: normal;
position: relative;
}
.pricing-head h4 span {
top: -10px;
font-size: 14px;
font-style: normal;
position: relative;
}
/*Pricing Content*/
.pricing-content li {
text-align:center;
color: #150101;
font-size: 14px;
height: 40px;
padding: 1px 15px;
border-bottom: solid 1px #d9dcd0;
}
/*Pricing Footer*/
.pricing-footer {
color: #777;
font-size: 11px;
line-height: 17px;
text-align: center;
padding: 0 20px 19px;
}
/*Priceing Active*/
.price-active,
.pricing:hover {
z-index: 9;
}
.price-active h4 {
color: #36d7ac;
}
.no-space-pricing .price-active .pricing-head h4,
.no-space-pricing .pricing:hover .pricing-head h4 {
color: #36d7ac;
padding: 15px 0;
font-size: 80px;
transition: color 0.5s ease-in-out;
}
.yellow-crusta.btn {
color: #FFFFFF;
background-color: #f3c200;
}
.yellow-crusta.btn:hover,
.yellow-crusta.btn:focus,
.yellow-crusta.btn:active,
.yellow-crusta.btn.active {
color: #FFFFFF;
background-color: #e0e2da;
}
.li{
text-align: left;
}
</style>
<?php include_once("footer.inc.php");//connClose();?>
xRyukZ - Copyright 2k19