| Server IP : 162.214.74.102 / Your IP : 216.73.216.139 Web Server : Apache System : Linux dedi-4363141.lrsys.com.br 3.10.0-1160.119.1.el7.tuxcare.els25.x86_64 #1 SMP Wed Oct 1 17:37:27 UTC 2025 x86_64 User : lrsys ( 1015) PHP Version : 5.6.40 Disable Function : exec,passthru,shell_exec,system MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /home/lrsys/public_html/lrsys_projetos/sopizzas/application/views/superadmin/ |
Upload File : |
<!-- /.content-wrapper -->
<div class="clearfix"></div>
<footer class="main-footer mvnone text-center">
<strong>Copyright © 2016-2017 <a href="#">orderingsystemonline.com</a></strong> All rights reserved.
</footer>
</div>
<!-- ./wrapper -->
<!-- Bootstrap 3.3.5 -->
<script src="<?php echo base_url(); ?>assets/js/bootstrap.min.js"></script>
<!-- Style App -->
<script src="<?php echo base_url(); ?>assets/js/app.min.js"></script>
<script src="http://cdnjs.cloudflare.com/ajax/libs/waypoints/2.0.3/waypoints.min.js"></script>
<script src="<?php echo base_url(); ?>assets/js/jquery.counterup.min.js"></script>
<script src="<?php echo base_url(); ?>assets/plugins/select2/select2.full.min.js"></script>
<script src="<?php echo base_url(); ?>assets/plugins/iCheck/icheck.min.js"></script>
<script src="https://cdn.ckeditor.com/4.4.3/standard/ckeditor.js"></script>
<script src="<?php echo base_url(); ?>assets/js/timeslider.js"></script>
<script src="<?php echo base_url(); ?>assets/js/validator.js"></script>
<script src="<?php echo base_url(); ?>assets/js/jquery.datetimepicker.full.js"></script>
<script src="<?php echo base_url(); ?>assets/plugins/timepicker/bootstrap-timepicker.min.js"></script>
<script src="<?php echo base_url(); ?>assets/js/fosci.js"></script>
<script type="text/javascript">
var page = '<?php echo $page; ?>';
$(function() {
eWallet();
$('.counter').counterUp({
delay: 10,
separator: ',',
decimal: '.',
prefix: '',
suffix: '',
time: 1000
});
$('input[type="checkbox"].minimal, input[type="radio"].minimal').iCheck({
checkboxClass: 'icheckbox_minimal-blue',
radioClass: 'iradio_minimal-blue'
});
$('.select2').select2();
var drawerTop = '0px';
var documentHeight = 0;
documentHeight = $(document).height();
$("#testPopupBottom").css({
'top': documentHeight,
'display': 'block'
});
$("#testPopupBottom1").css({
'top': documentHeight,
'display': 'block'
});
$('.view').click(function(e) {
$("input[type!='hidden']").val('');
$('select').val('');
$('textarea').val('');
$('.photoContainer').hide();
if(page=='cuisine') {
$('#CuisineEditId').val('');
}
if(page=='customer_list') {
$('#CustomerEditId').val('');
}
if(page=='drivermanagement') {
$('#DriverEditId').val('');
}
if(page=='addons_list') {
$('#AddOnEditId').val('');
}
if(page=='menu_list') {
$('#MenuEditId').val('');
}
$('body').css('overflow', 'hidden');
e.preventDefault();
$("#testPopupBottom").animate({
'top': drawerTop
}, 1000);
})
$('.hideMe').click(function() {
$("#testPopupBottom").animate({
'top': documentHeight
}, 1000);
$('body').css('overflow', 'auto');
});
$('#addcbutton').on('click', function(event) {
$("input[type!='hidden']").val('');
$('select').val('');
$('textarea').val('');
$('.photoContainer').hide();
if(page=='cuisine') {
$('#CuisineEditId').val('');
}
if(page=='customer_list') {
$('#CustomerEditId').val('');
}
if(page=='drivermanagement') {
$('#DriverEditId').val('');
}
if(page=='addons_list') {
$('#AddOnEditId').val('');
}
$('#addCopen').show("slow");
if(page=='state') {
$('#StateEditId').val('');
}
if(page=='city') {
$('#CityEditId').val('');
}
if(page=='offer_list') {
$('#OfferEditId').val('');
}
if(page=='zipcode') {
$('#ZipcodeEditId').val('');
}
})
$('#addclose').on('click', function(event) {
$('#addCopen').hide("slow");
})
//CKEDITOR.replace('cuisine_description');
if(page=='dashboard'){ LiveFeed(); }
if(page=='content'){ CKEDITOR.replace('editor2'); }
});
if(page=='addnewrestaurant' || page=='managerestaurant'){
$(function() {
documentHeight = $(document).height();
$("#testPopupBottom").css({
'top': documentHeight,
'display': 'block'
});
$('.view').click(function(e) {
$('body').css('overflow', 'hidden');
e.preventDefault();
$("#testPopupBottom").animate({
'top': drawerTop
}, 1000);
});
$("#testPopupBottom1").css({
'top': documentHeight,
'display': 'block'
});
$('.view1').click(function(e) {
$("input[type!='hidden']").val('');
$('select').val('');
$('textarea').val('');
$('.photoContainer').hide();
if(page=='cuisine') {
$('#CuisineEditId').val('');
}
if(page=='customer_list') {
$('#CustomerEditId').val('');
}
if(page=='drivermanagement') {
$('#DriverEditId').val('');
}
if(page=='addons_list') {
$('#AddOnEditId').val('');
}
$('.photoContainer').hide();
$('body').css('overflow', 'hidden');
e.preventDefault();
$("#testPopupBottom1").animate({
'top': drawerTop
}, 1000);
});
$('.hideMe').click(function() {
$("#testPopupBottom").animate({
'top': documentHeight
}, 1000);
$('body').css('overflow', 'auto');
});
$('.hideMe').click(function() {
$("#testPopupBottom1").animate({
'top': documentHeight
}, 1000);
$('body').css('overflow', 'auto');
});
// timeslider open Close script
$('#xyzs1').on('ifChanged', function(event) {
$('.go1').toggle("fadeOut");
$('#textClose1').toggle("slow");
$('.slider-time').html('00:00');
$('.slider-time2').html('00:00');
$('#restaurant_delivery_sun_opentime').val('');
$('#restaurant_delivery_sun_closetime').val('');
});
$('#xyzs2').on('ifChanged', function(event) {
$('.go2').toggle("fadeOut");
$('#textClose2').toggle("slow");
$('.slider-time1').html('00:00');
$('.slider-time21').html('00:00');
$('#restaurant_delivery_mon_opentime').val('');
$('#restaurant_delivery_mon_closetime').val('');
});
$('#xyzs3').on('ifChanged', function(event) {
$('.go3').toggle("fadeOut");
$('#textClose3').toggle("slow");
$('.slider-time2a').html('00:00');
$('.slider-time22').html('00:00');
$('#restaurant_delivery_tue_opentime').val('');
$('#restaurant_delivery_tue_closetime').val('');
});
$('#xyzs4').on('ifChanged', function(event) {
$('.go4').toggle("fadeOut");
$('#textClose4').toggle("slow");
$('.slider-time3').html('00:00');
$('.slider-time23').html('00:00');
$('#restaurant_delivery_wed_opentime').val('');
$('#restaurant_delivery_wed_closetime').val('');
});
$('#xyzs5').on('ifChanged', function(event) {
$('.go5').toggle("fadeOut");
$('#textClose5').toggle("slow");
$('.slider-time4').html('00:00');
$('.slider-time24').html('00:00');
$('#restaurant_delivery_thu_opentime').val('');
$('#restaurant_delivery_thu_closetime').val('');
});
$('#xyzs6').on('ifChanged', function(event) {
$('.go6').toggle("fadeOut");
$('#textClose6').toggle("slow");
$('.slider-time5').html('00:00');
$('.slider-time25').html('00:00');
$('#restaurant_delivery_fri_opentime').val('');
$('#restaurant_delivery_fri_closetime').val('');
});
$('#xyzs7').on('ifChanged', function(event) {
$('.go7').toggle("fadeOut");
$('#textClose7').toggle("slow");
$('.slider-time6').html('00:00');
$('.slider-time26').html('00:00');
$('#restaurant_delivery_sat_opentime').val('');
$('#restaurant_delivery_sat_closetime').val('');
});
/*$('#zip_click').on('ifChanged', function(event) {
$('#zip_form').show();
$('#map_shw').hide();
});
$('#map_click').on('ifChanged', function(event) {
$('#map_shw').toggle();
//initMap3();
$('#zip_form').hide();
});*/
/*$('#map_click').on('ifClicked', function(event) {
initMap3();
})*/
$('.delivery_time_to').datetimepicker({
datepicker:false,
formatTime:'g:i A',
format: 'g:i A',
step:15
});
/* $('#restaurant_delivery_sun_opentime1').datetimepicker({
formatTime:'g:i A',
format : 'g:i A',
step:15,
onShow:function( ct ){
this.setOptions({
maxTime:jQuery('#restaurant_delivery_sun_closetime1').val()?jQuery('#restaurant_delivery_sun_closetime1').val():false
})
},
datepicker:false
});
$('#restaurant_delivery_sun_closetime1').datetimepicker({
formatTime:'g:i A',
format : 'g:i A',
step:15,
onShow:function( ct ){
this.setOptions({
minTime:jQuery('#restaurant_delivery_sun_opentime1').val()?jQuery('#restaurant_delivery_sun_opentime1').val():false
})
},
datepicker:false
});*/
})
}
if (page == 'offer_list') {
$(function() {
$('#datepickerFrom').datetimepicker({
timepicker:false,
format:'Y/m/d',
minDate: 0,
onShow:function( ct ){
this.setOptions({
maxDate:jQuery('#datepickerTo').val()?jQuery('#datepickerTo').val():false
})
},
onSelectDate: function(ct, $i) {
var dateAr = $('#datepickerFrom').val().split('/');
var newDate = dateAr[1] + '/' + dateAr[2] + '/20' + dateAr[0].slice(-2);
$('#offer_valid_from').val(newDate);
}
});
$('#datepickerTo').datetimepicker({
timepicker:false,
format:'Y/m/d',
minDate: 0,
onShow:function( ct ){
this.setOptions({
minDate:jQuery('#datepickerFrom').val()?jQuery('#datepickerFrom').val():false
})
},
onSelectDate: function(ct, $i) {
var dateAr = $('#datepickerTo').val().split('/');
var newDate = dateAr[1] + '/' + dateAr[2] + '/20' + dateAr[0].slice(-2);
$('#offer_valid_to').val(newDate);
}
});
$('#my_offer_per').on('ifClicked', function(event){
$('#my_offer_type').val('per');
})
$('#my_offer_fix').on('ifClicked', function(event){
$('#my_offer_type').val('fix');
})
})
}
if (page == 'customer_list') {
$(function() {
$('#adrsHome').on('ifClicked', function(event){
$('#customer_addresslabel').val('home');
})
$('#adrsOffice').on('ifClicked', function(event){
$('#customer_addresslabel').val('office');
})
$('#adrsOther').on('ifClicked', function(event){
$('#customer_addresslabel').val('other');
})
})
}
if(page == 'deliverysettings'){
$('.delivery_timepicker').datetimepicker({
datepicker:false,
formatTime:'g:i A',
format: 'g:i A',
step:15
});
}
if (page == 'content') {
var documentHeight = $(document).height();
$('.hideMe').click(function() {
$("#testPopupBottom1").animate({
'top': documentHeight
}, 1000);
$('body').css('overflow', 'auto');
});
}
if (page == 'drivermanagement') {
$(function() {
var drawerTop = '0px';
var documentHeight = 0;
documentHeight = $(document).height();
$("#testPopupBottom").css({'top': documentHeight,'display': 'block'});
$('.view').click(function(e){
$('body').css('overflow', 'hidden');
e.preventDefault();
$("#testPopupBottom").animate({'top': drawerTop},1000);
})
$("#testPopupBottom1").css({'top': documentHeight,'display': 'block'});
$('.view1').click(function(e){
$('input').val('');
$('select').val('');
$('textarea').val('');
$('.photoContainer').hide();
$('body').css('overflow', 'hidden');
e.preventDefault();
$("#testPopupBottom1").animate({'top': drawerTop},1000);
})
$('.hideMe').click(function(){
$("#testPopupBottom").animate({'top': documentHeight},1000);
$('body').css('overflow', 'auto');
});
$('.hideMe').click(function(){
$("#testPopupBottom1").animate({'top': documentHeight},1000);
$('body').css('overflow', 'auto');
});
$('.mydatetimepicker').datetimepicker({
timepicker: false,
format: 'm/d/Y',
maxDate: 0
});
$('.mydatetimepickerexp').datetimepicker({
timepicker: false,
format: 'm/d/Y'
});
})
}
if (page == "driver_schedule") {
$(function() {
$('.reservation').datetimepicker({
timepicker: false,
format: 'm/d/Y',
minDate: 0
});
})
$('#driver_schedule').validator();
}
if (page == "menu_list") {
$(function() {
$('#AddMenuForm').validator();
//CKEDITOR.replace('menu_description');
$('#menu_type_veg').on('ifClicked', function() {
$('#menu_type').val('veg');
})
$('#menu_type_non_veg').on('ifClicked', function() {
$('#menu_type').val('nonveg');
})
$('#menu_populer_grp').on('ifChecked', function() {
$('#menu_popular_dish').val('Yes');
})
$('#menu_populer_grp').on('ifUnchecked', function() {
$('#menu_popular_dish').val('No');
})
$('#menu_nut_grp').on('ifChecked', function() {
$('#menu_nut').val('Yes');
})
$('#menu_nut_grp').on('ifUnchecked', function() {
$('#menu_nut').val('No');
})
$('#hot_grp_medium').on('ifClicked', function() {
$('#menu_hot').val('medium');
})
$('#hot_grp_fair').on('ifClicked', function() {
$('#menu_hot').val('fair');
})
$('#hot_grp_very').on('ifClicked', function() {
$('#menu_hot').val('very');
})
$('#hot_grp_extreme').on('ifClicked', function() {
$('#menu_hot').val('extreme');
})
$('#gluten_grp_yes').on('ifClicked', function() {
$('#menu_gluten').val('yes');
})
$('#gluten_grp_no').on('ifClicked', function() {
$('#menu_gluten').val('no');
})
$('#normalprice').on('ifClicked', function() {
$('#sizeoption').val('fixed');
})
$('#normalslice').on('ifClicked', function() {
$('#sizeoption').val('size');
})
//Global
$('.minimal').on('ifClicked', function() {
if ($("#sizeoption").val() == "fixed") {
$('#menu_price').attr('required', true);
$('#sizename').attr('required', false);
$('#sizevalue').attr('required', false);
$('#AddMenuForm').validator('update');
}
else if ($("#sizeoption").val() == "size") {
$('#menu_price').attr('required', false);
$('#sizename').attr('required', true);
$('#sizevalue').attr('required', true);
$('#AddMenuForm').validator('update');
}
})
$('#closeMenuEdit').click(function() {
$('#MenuEditId').val('');
window.location.href = "<? echo base_url(); ?>superadmin/menumanagement";
})
})
function menuSplIns(myVal, myThis) {
$(myThis).closest('div').find('button').removeClass('active');
$(myThis).addClass('active');
$('#menu_spl_instruction').val(myVal);
}
function menuAddOn(myVal, myThis) {
$(myThis).closest('div').find('button').removeClass('active');
$(myThis).addClass('active');
$('#menu_addons').val(myVal);
}
}
if (page == 'faq') {
$(function() {
CKEDITOR.replace('answer');
$('.view1').click(function(e){
$('input').val('');
$('select').val('');
$('textarea').val('');
$('.photoContainer').hide();
CKEDITOR.instances.answer.setData('');
$('body').css('overflow', 'hidden');
e.preventDefault();
$("#testPopupBottom1").animate({'top': 0},1000);
})
var documentHeight = $(document).height();
$('.hideMe').click(function() {
$("#testPopupBottom1").animate({
'top': documentHeight
}, 1000);
$('body').css('overflow', 'auto');
});
})
}
$(function() {
//$('.select2').select2();
$('.optradiotype').on('click',function(event){
//alert('hide');
if($(this).is(':checked'))
{
var dataAttr = $(this).attr('data-attr');
if(dataAttr == 'restaurant')
{
$('.type-restaurant').removeClass('hide');
$('.type-driver').addClass('hide');
}else if(dataAttr == 'driver')
{
$('.type-driver').removeClass('hide');
$('.type-restaurant').addClass('hide');
}
$(".data-result").addClass('hide');
}
});
$('.type-driver select, .type-restaurant select').change(function(){
$(".data-result").removeClass('hide');
})
// iCheckbox
$('input[type="checkbox"].minimal, input[type="radio"].minimal').iCheck({
checkboxClass: 'icheckbox_minimal-blue',
radioClass: 'iradio_minimal-blue'
});
// end script for iCheck
})
</script>
<style type="text/css">
.has-error.has-danger input, .has-error input, .has-danger input, .has-error.has-danger textarea, .has-error textarea, .has-danger textarea, .has-error.has-danger select, .has-error select, .has-danger select {
border-color: #a94442 !important;
box-shadow: 0px 0px 0px #fff !important;
}
.alert {
margin-top: 10px;
margin-bottom: 10px;
}
.admin_image {
width: 210px;
height: 191px;
z-index: 99;
top: 5px;
left: 5px;
right: 0px;
position: absolute;
opacity: 0;
cursor: pointer;
}
.admin_image_wrap img {
border-radius: 50%;
}
</style>
</body>
</html>