CINXE.COM

Event selection

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <!-- Favicon --> <link rel="icon" href="/_media/img/favicon.ico"> <script> // Set the CSS API Endpoint Domain var CSS_API_ENDPOINT = "https://api.ohlonecollege.csstix.com"; var _rollbarConfig = { accessToken: "f0883660c4a640e5b0021c8f6950b8a3", captureUncaught: true, captureUnhandledRejections: true, payload: { environment: 'ohlone6', session_id: '7847df147a5dbefdfe89fa8617076b0716bbc5ff' } }; // Rollbar Snippet // !function(r){var e={};function o(n){if(e[n])return e[n].exports;var t=e[n]={i:n,l:!1,exports:{}};return r[n].call(t.exports,t,t.exports,o),t.l=!0,t.exports}o.m=r,o.c=e,o.d=function(r,e,n){o.o(r,e)||Object.defineProperty(r,e,{enumerable:!0,get:n})},o.r=function(r){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(r,"__esModule",{value:!0})},o.t=function(r,e){if(1&e&&(r=o(r)),8&e)return r;if(4&e&&"object"==typeof r&&r&&r.__esModule)return r;var n=Object.create(null);if(o.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:r}),2&e&&"string"!=typeof r)for(var t in r)o.d(n,t,function(e){return r[e]}.bind(null,t));return n},o.n=function(r){var e=r&&r.__esModule?function(){return r.default}:function(){return r};return o.d(e,"a",e),e},o.o=function(r,e){return Object.prototype.hasOwnProperty.call(r,e)},o.p="",o(o.s=0)}([function(r,e,o){"use strict";var n=o(1),t=o(5);_rollbarConfig=_rollbarConfig||{},_rollbarConfig.rollbarJsUrl=_rollbarConfig.rollbarJsUrl||"https://cdn.rollbar.com/rollbarjs/refs/tags/v2.22.0/rollbar.min.js",_rollbarConfig.async=void 0===_rollbarConfig.async||_rollbarConfig.async;var a=n.setupShim(window,_rollbarConfig),l=t(_rollbarConfig);window.rollbar=n.Rollbar,a.loadFull(window,document,!_rollbarConfig.async,_rollbarConfig,l)},function(r,e,o){"use strict";var n=o(2),t=o(3);function a(r){return function(){try{return r.apply(this,arguments)}catch(r){try{console.error("[Rollbar]: Internal error",r)}catch(r){}}}}var l=0;function i(r,e){this.options=r,this._rollbarOldOnError=null;var o=l++;this.shimId=function(){return o},"undefined"!=typeof window&&window._rollbarShims&&(window._rollbarShims[o]={handler:e,messages:[]})}var s=o(4),d=function(r,e){return new i(r,e)},c=function(r){return new s(d,r)};function u(r){return a((function(){var e=this,o=Array.prototype.slice.call(arguments,0),n={shim:e,method:r,args:o,ts:new Date};window._rollbarShims[this.shimId()].messages.push(n)}))}i.prototype.loadFull=function(r,e,o,n,t){var l=!1,i=e.createElement("script"),s=e.getElementsByTagName("script")[0],d=s.parentNode;i.crossOrigin="",i.src=n.rollbarJsUrl,o||(i.async=!0),i.onload=i.onreadystatechange=a((function(){if(!(l||this.readyState&&"loaded"!==this.readyState&&"complete"!==this.readyState)){i.onload=i.onreadystatechange=null;try{d.removeChild(i)}catch(r){}l=!0,function(){var e;if(void 0===r._rollbarDidLoad){e=new Error("rollbar.js did not load");for(var o,n,a,l,i=0;o=r._rollbarShims[i++];)for(o=o.messages||[];n=o.shift();)for(a=n.args||[],i=0;i<a.length;++i)if("function"==typeof(l=a[i])){l(e);break}}"function"==typeof t&&t(e)}()}})),d.insertBefore(i,s)},i.prototype.wrap=function(r,e,o){try{var n;if(n="function"==typeof e?e:function(){return e||{}},"function"!=typeof r)return r;if(r._isWrap)return r;if(!r._rollbar_wrapped&&(r._rollbar_wrapped=function(){o&&"function"==typeof o&&o.apply(this,arguments);try{return r.apply(this,arguments)}catch(o){var e=o;throw e&&("string"==typeof e&&(e=new String(e)),e._rollbarContext=n()||{},e._rollbarContext._wrappedSource=r.toString(),window._rollbarWrappedError=e),e}},r._rollbar_wrapped._isWrap=!0,r.hasOwnProperty))for(var t in r)r.hasOwnProperty(t)&&(r._rollbar_wrapped[t]=r[t]);return r._rollbar_wrapped}catch(e){return r}};for(var p="log,debug,info,warn,warning,error,critical,global,configure,handleUncaughtException,handleAnonymousErrors,handleUnhandledRejection,captureEvent,captureDomContentLoaded,captureLoad".split(","),f=0;f<p.length;++f)i.prototype[p[f]]=u(p[f]);r.exports={setupShim:function(r,e){if(r){var o=e.globalAlias||"Rollbar";if("object"==typeof r[o])return r[o];r._rollbarShims={},r._rollbarWrappedError=null;var l=new c(e);return a((function(){e.captureUncaught&&(l._rollbarOldOnError=r.onerror,n.captureUncaughtExceptions(r,l,!0),e.wrapGlobalEventHandlers&&t(r,l,!0)),e.captureUnhandledRejections&&n.captureUnhandledRejections(r,l,!0);var a=e.autoInstrument;return!1!==e.enabled&&(void 0===a||!0===a||"object"==typeof a&&a.network)&&r.addEventListener&&(r.addEventListener("load",l.captureLoad.bind(l)),r.addEventListener("DOMContentLoaded",l.captureDomContentLoaded.bind(l))),r[o]=l,l}))()}},Rollbar:c}},function(r,e,o){"use strict";function n(r,e,o,n){r._rollbarWrappedError&&(n[4]||(n[4]=r._rollbarWrappedError),n[5]||(n[5]=r._rollbarWrappedError._rollbarContext),r._rollbarWrappedError=null);var t=e.handleUncaughtException.apply(e,n);o&&o.apply(r,n),"anonymous"===t&&(e.anonymousErrorsPending+=1)}r.exports={captureUncaughtExceptions:function(r,e,o){if(r){var t;if("function"==typeof e._rollbarOldOnError)t=e._rollbarOldOnError;else if(r.onerror){for(t=r.onerror;t._rollbarOldOnError;)t=t._rollbarOldOnError;e._rollbarOldOnError=t}e.handleAnonymousErrors();var a=function(){var o=Array.prototype.slice.call(arguments,0);n(r,e,t,o)};o&&(a._rollbarOldOnError=t),r.onerror=a}},captureUnhandledRejections:function(r,e,o){if(r){"function"==typeof r._rollbarURH&&r._rollbarURH.belongsToShim&&r.removeEventListener("unhandledrejection",r._rollbarURH);var n=function(r){var o,n,t;try{o=r.reason}catch(r){o=void 0}try{n=r.promise}catch(r){n="[unhandledrejection] error getting `promise` from event"}try{t=r.detail,!o&&t&&(o=t.reason,n=t.promise)}catch(r){}o||(o="[unhandledrejection] error getting `reason` from event"),e&&e.handleUnhandledRejection&&e.handleUnhandledRejection(o,n)};n.belongsToShim=o,r._rollbarURH=n,r.addEventListener("unhandledrejection",n)}}}},function(r,e,o){"use strict";function n(r,e,o){if(e.hasOwnProperty&&e.hasOwnProperty("addEventListener")){for(var n=e.addEventListener;n._rollbarOldAdd&&n.belongsToShim;)n=n._rollbarOldAdd;var t=function(e,o,t){n.call(this,e,r.wrap(o),t)};t._rollbarOldAdd=n,t.belongsToShim=o,e.addEventListener=t;for(var a=e.removeEventListener;a._rollbarOldRemove&&a.belongsToShim;)a=a._rollbarOldRemove;var l=function(r,e,o){a.call(this,r,e&&e._rollbar_wrapped||e,o)};l._rollbarOldRemove=a,l.belongsToShim=o,e.removeEventListener=l}}r.exports=function(r,e,o){if(r){var t,a,l="EventTarget,Window,Node,ApplicationCache,AudioTrackList,ChannelMergerNode,CryptoOperation,EventSource,FileReader,HTMLUnknownElement,IDBDatabase,IDBRequest,IDBTransaction,KeyOperation,MediaController,MessagePort,ModalWindow,Notification,SVGElementInstance,Screen,TextTrack,TextTrackCue,TextTrackList,WebSocket,WebSocketWorker,Worker,XMLHttpRequest,XMLHttpRequestEventTarget,XMLHttpRequestUpload".split(",");for(t=0;t<l.length;++t)r[a=l[t]]&&r[a].prototype&&n(e,r[a].prototype,o)}}},function(r,e,o){"use strict";function n(r,e){this.impl=r(e,this),this.options=e,function(r){for(var e=function(r){return function(){var e=Array.prototype.slice.call(arguments,0);if(this.impl[r])return this.impl[r].apply(this.impl,e)}},o="log,debug,info,warn,warning,error,critical,global,configure,handleUncaughtException,handleAnonymousErrors,handleUnhandledRejection,_createItem,wrap,loadFull,shimId,captureEvent,captureDomContentLoaded,captureLoad".split(","),n=0;n<o.length;n++)r[o[n]]=e(o[n])}(n.prototype)}n.prototype._swapAndProcessMessages=function(r,e){var o,n,t;for(this.impl=r(this.options);o=e.shift();)n=o.method,t=o.args,this[n]&&"function"==typeof this[n]&&("captureDomContentLoaded"===n||"captureLoad"===n?this[n].apply(this,[t[0],o.ts]):this[n].apply(this,t));return this},r.exports=n},function(r,e,o){"use strict";r.exports=function(r){return function(e){if(!e&&!window._rollbarInitialized){for(var o,n,t=(r=r||{}).globalAlias||"Rollbar",a=window.rollbar,l=function(r){return new a(r)},i=0;o=window._rollbarShims[i++];)n||(n=o.handler),o.handler._swapAndProcessMessages(l,o.messages);window[t]=n,window._rollbarInitialized=!0}}}}]); // End Rollbar Snippet </script> <!-- <meta http-equiv="content-type" content="text/html; charset=utf-8" /> --> <meta http-equiv="Expires: 0" content="" /> <meta http-equiv="Pragma: no-cache" content="" /> <meta http-equiv="Cache-Control: no-store,no-cache,must-revalidate,post-check=0,pre-check=0" content="" /> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> <title>Event selection</title> <link href="_media/css/bootstrap.css" rel="stylesheet" type="text/css" /> <link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet" type="text/css" /> <link href="https://cdn.jsdelivr.net/npm/select2@4.1.0-rc.0/dist/css/select2.min.css" rel="stylesheet" /> <link href="https://cdnjs.cloudflare.com/ajax/libs/select2-bootstrap-theme/0.1.0-beta.10/select2-bootstrap.min.css" rel="stylesheet" /> <!-- Ionicons --> <link href="https://code.ionicframework.com/ionicons/1.5.2/css/ionicons.min.css" rel="stylesheet" type="text/css" /> <!-- Theme style --> <link href="_media/css/AdminLTE.css" rel="stylesheet" type="text/css" /> <link href="_media/css/skins/skin-blue.css" rel="stylesheet" type="text/css" /> <script src="https://code.jquery.com/jquery-3.7.1.js"></script> <script src="https://code.jquery.com/jquery-migrate-3.4.1.js"></script> <script src="_media/js/plugins/slimScroll/jquery.slimscroll.js" crossorigin="anonymous"></script> <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries --> <!-- WARNING: Respond.js doesn't work if you view the page via file:// --> <!--[if lt IE 9]> <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js" crossorigin="anonymous"></script> <script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js" crossorigin="anonymous"></script> <![endif]--> <link href="_media/css/AdminLTE_Custom.css" rel="stylesheet" type="text/css" /> <link href="_media/css/custom/filmstrip.css" rel="stylesheet" type="text/css" /> <link href="_media/css/custom/ticket.css" rel="stylesheet" type="text/css" /> <link href="_media/js/plugins/datepicker/datepicker3.css" rel="stylesheet" type="text/css" /> <script src="https://printjs-4de6.kxcdn.com/print.min.js" crossorigin="anonymous"></script> <link href="https://printjs-4de6.kxcdn.com/print.min.css" rel="stylesheet" type="text/css" /> <link href="https://cdn.datatables.net/v/bs/jszip-3.10.1/dt-2.0.7/af-2.7.0/b-3.0.2/b-colvis-3.0.2/b-html5-3.0.2/b-print-3.0.2/cr-2.0.2/date-1.5.2/fc-5.0.0/fh-4.0.1/kt-2.12.0/r-3.0.2/rg-1.5.0/rr-1.5.0/sc-2.4.2/sb-1.7.1/sp-2.3.1/sl-2.0.1/sr-1.4.1/datatables.min.css" rel="stylesheet"> <link href="_media/js/plugins/fullcalendar-3.0.0/fullcalendar.min.css" rel="stylesheet" type="text/css" /> <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script> <link href="_media/css/custom/public.css" rel="stylesheet" type="text/css"> <link href="_media/css/custom/page_header.css" rel="stylesheet" type="text/css"> <link href="_media/css/custom/purchase_stage.css" rel="stylesheet" type="text/css"> <link href="_media/css/custom/page_footer.css" rel="stylesheet" type="text/css"> <link href="_media/css/custom/error_message.css" rel="stylesheet" type="text/css"> <link href="_media/css/custom/events.css" rel="stylesheet" type="text/css"> <link href="_media/css/client_custom_styles.css" rel="stylesheet" type="text/css"> </head> <body class="skin-blue layout-boxed layout-top-nav"> <div class="wrapper"> <div class='content-wrapper' style="background-color: inherit"> <div class="container" style="margin-right: 0px; max-width: 900px"> <section class="content-header"> <div class="row"> <div class="col-xs-12"> <center> <a href="http://SmithCenter.com/"> <img src="_media/ohlone.jpg" style="padding-top: 10px; max-width: 100%"> </a> </center> </div> </div> </section> <div class="row text-center hidden-xs"> <div class="col-xs-12"> <div class="breadcrumb flat"> <a href="#" class="active">Select event</a> <a href="#" >Performance</a> <a href="#" >Select tickets</a> <a href="#" >Patron information</a> <a href="#" >Payment</a> <a href="#" >Receipt</a> </div> </div> </div> <div class='row'><div class='col-xs-12'> <div class="row"> <div class="col-xs-12"> <div class="box box-solid box-danger"> <div class="box-header"> <h4 class="box-title"><i class="fa fa-ban"></i> Unsupported Browser</h4> </div> <div class="box-body"> Using Internet Explorer?<br>Consider using the latest version of Microsoft Edge or another browser for the best shopping experience. </div> </div> </div> </div> </div></div><noscript> <div class="row"> <div class="col-xs-12"> <div class="box box-solid box-danger"> <div class="box-header"> <h4 class="box-title"><i class="fa fa-ban"></i> BROWSER ERROR</h4> </div> <div class="box-body"> Your browser either has Javascript turned off or is unable to run Javascript code.<br /><strong>Javascript needs to be turned on.</strong> </div> </div> </div> </div> </noscript> <section class="content"> <!--<div class="row">--> <!-- <div class="col-xs-12 event-box">--> <div class="row event_row" style="height: 70px; padding-top: 10px"> <div class="col-md-10 col-xs-8"> <!-- <h3 style="font-size: 16px; font-weight: bold; margin-top: 10px;">--><!--.</h3>--> <!-- --> <h3 style="font-size: 16px; font-weight: bold; margin-top: 10px;">Already have an account?<br>Please login.</h3> </div> <div class="col-md-2 col-xs-4 pull-right" style="margin-top: auto; margin-bottom: auto;"> <a class="btn btn-block btn-primary btn-flat" href="customer.php"> Login </a> </div> </div> <!-- </div>--> <!--</div>--> <div class="row" style="padding-bottom: 10px"> <div class="col-xs-12"> <div class="btn-group pull-right"> <a type="button" class="btn btn-default" title="Show Event list View" href="#eventlist" data-toggle="tab"><i class="fa fa-lg fa-list"></i></a> <a type="button" class="btn btn-default" title="Show Calendar View" href="#calendar" data-toggle="tab" onclick="reloadCalendar();" ><i class="fa fa-lg fa-calendar"></i></a> </div> </div> </div> <div class="row"> <div class="col-xs-12"> <!-- <div class="nav-tabs-custom" style="background-color: transparent">--> <div class="tab-content" style="background-color: transparent"> <div class="tab-pane " id="calendar" style="background: white"> <div id="cswt6_calendar"></div><script> var cswt6_events='[]';</script> </div> <div class="tab-pane active event-list" id="eventlist"> <div class="row"> <div class="col-xs-12"> <div class="row event_row" style="height: 70px; padding-top: 10px"> <div class="col-md-10 col-xs-8"> There are no events on sale at this time. Thank you! </div> </div> </div> </div> </tbody></table> </div> <!-- /.tab-pane --> </div> <!-- </div>--> </div> </div> </section> <!-- End of Wrapper --> </div><br> <!-- Wrapper to contain footer and keep appearance --> <div class="wrapper"> <footer class="footer"> <div class="row text-center"> <div class="col-xs-12"><font size="2"> <a href="http://www.SmithCenter.com/" target="_blank">Smith Center at Ohlone College</a><br> (510) 659-6031<br>All sales are final. No refunds. </div></font> </div> </footer> </div> <div id="cswt6_modal" class="modal fade bs-example-modal-lg" tabindex="-1" role="dialog" aria-labelledby="myLargeModalLabel"> </div> <script src="_media/javascript.js" crossorigin="anonymous"></script> <script src="_media/js/plugins/moment.2.14.1/moment.2.14.1.js" crossorigin="anonymous"></script> <script src="_media/js/plugins/fullcalendar-3.0.0/fullcalendar.min.js" crossorigin="anonymous"></script> <script src="_media/js/plugins/ImageMapResizer/js/imageMapResizer.js?1743853587.8935" crossorigin="anonymous"></script> <script src="https://cdn.jsdelivr.net/npm/select2@4.1.0-rc.0/dist/js/select2.min.js" crossorigin="anonymous"></script> <!-- <script src="_media/js/plugins/input-mask/jquery.inputmask.js" crossorigin="anonymous"></script>--> <!-- <script src="_media/js/plugins/input-mask/jquery.inputmask.phone.extensions.js" crossorigin="anonymous"></script>--> <!-- <script src="_media/js/plugins/input-mask/jquery.inputmask.date.extensions.js" crossorigin="anonymous"></script>--> <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery.inputmask/5.0.8/jquery.inputmask.min.js" crossorigin="anonymous"></script> <script src="_media/js/plugins/datepicker/bootstrap-datepicker.js" crossorigin="anonymous"></script> <script src="_media/js/webtix/events.js" crossorigin="anonymous"></script> <script src="_media/js/plugins/cleave/dist/cleave.min.js" crossorigin="anonymous"></script> <script src="_media/js/plugins/creditcardvalidator/jquery.creditCardValidator.js" crossorigin="anonymous"></script> <script type="text/javascript"> new Cleave("#css_creditCardEntry", { creditCard: true}); </script> <script src="_media/js/webtix/customer.js" crossorigin="anonymous"></script> <script> function reloadCalendar() { } $(document).ready(function() { let o_start_date = new Date(); let i_arb_start_date = $("input[data-datepicker][name='arbStartDate']"); let i_arb_end_date = $("input[data-datepicker][name='arbEndDate']"); if (i_arb_start_date.length > 0 && i_arb_end_date.length > 0) { let o_arb_start_date = { autoclose: true, startDate: o_start_date }; let dp_arb_start_date = i_arb_start_date.datepicker(o_arb_start_date); let start_date_value = i_arb_start_date.attr('data-value'); if (start_date_value.length > 0) dp_arb_start_date.datepicker('setDate', start_date_value); dp_arb_start_date.on('changeDate', function(e) { processDatePickerSelection('start', dp_arb_start_date, dp_arb_end_date); }); let o_arb_end_date = { autoclose: true, startDate: o_start_date }; let dp_arb_end_date = i_arb_end_date.datepicker(o_arb_end_date); let end_date_value = i_arb_end_date.attr('data-value'); if (end_date_value.length > 0) dp_arb_end_date.datepicker('setDate', end_date_value); dp_arb_end_date.on('changeDate', function(e) { processDatePickerSelection('end', dp_arb_start_date, dp_arb_end_date); }); } function processDatePickerSelection(trigger, dp_start, dp_end) { let dp_start_date = dp_start.datepicker('getDate'); let dp_end_date = dp_end.datepicker('getDate'); let start_p_form_group = dp_start.closest('div.form-group'); let start_label_invalid_entry = $(start_p_form_group).find("label[data-info='invalid_date_entry']"); let end_p_form_group = dp_end.closest('div.form-group'); let end_label_invalid_entry = $(end_p_form_group).find("label[data-info='invalid_date_entry']"); if (dp_start_date > dp_end_date) { if (trigger === 'start') { $(start_p_form_group).addClass('has-error'); $(start_label_invalid_entry).show(); } else { $(end_p_form_group).addClass('has-error'); $(end_label_invalid_entry).show(); } } else { $(start_p_form_group).removeClass('has-error'); $(start_label_invalid_entry).hide(); $(end_p_form_group).removeClass('has-error'); $(end_label_invalid_entry).hide(); } } // $("[data-datepicker]").each(function() { // // let dp_input_element = this; // // let value = $(this).val(); // // let options = { // autoclose: true // }; // // if (value !== undefined) // options.startDate = value; // // let minDateControl = $(this).attr('data-min-date'); // let maxDateControl = $(this).attr('data-max-date'); // // // // let dp = $(this).datepicker(options) // // if (minDateControl !== undefined) // { // dp.on('changeDate', function(e) { // // let i_dp = $("input[data-datepicker][name='" + minDateControl + "']"); // // let dp_start_date = i_dp.datepicker('getDate'); // let dp_end_date = e.date; // // let p_form_group = dp_input_element.closest('div.form-group'); // let label_invalid_entry = $(p_form_group).find("label[data-info='invalid_date_entry']"); // // if (dp_start_date > dp_end_date) // { // $(p_form_group).addClass('has-error'); // $(label_invalid_entry).show(); // } // else // { // $(p_form_group).removeClass('has-error'); // $(label_invalid_entry).hide(); // } // }); // } // // if (maxDateControl !== undefined) // { // dp.on('changeDate', function(e) { // // let i_dp = $("input[data-datepicker][name='" + maxDateControl + "']"); // // let dp_start_date = e.date; // let dp_end_date = i_dp.datepicker('getDate'); // // let p_form_group = dp_input_element.closest('div.form-group'); // let label_invalid_entry = $(p_form_group).find("label[data-info='invalid_date_entry']"); // // if (dp_start_date > dp_end_date) // { // $(p_form_group).addClass('has-error'); // $(label_invalid_entry).show(); // } // else // { // $(p_form_group).removeClass('has-error'); // $(label_invalid_entry).hide(); // } // }); // } // }); $.each($(".select-control"), function() { $(this).select2({ theme: "bootstrap" }); }); if ($("#cswt6_calendar").length > 0) { $('a[data-toggle="tab"]').on('shown.bs.tab', function (e) { // TODO: check href of e.target to detect your tab $('#cswt6_calendar').fullCalendar('render'); if ($(this).attr("href") == "#eventlist") { $("div.nav-tabs-custom").css('background', 'transparent'); } else { $("div.nav-tabs-custom").css('background', ''); } }); $("#cswt6_calendar").fullCalendar({ events: JSON.parse(cswt6_events), editable: true, displayEventTime: false, eventClick: function(event, jsEvent, view) { var purbtn = "<a class='btn btn-info' href='" + event.evturl + "'>" + "Purchase" + "</a>"; var onsaleNotice = ""; if (event.isOnSale === false) { purbtn = ""; var osd = moment(event.onSaleDate); onsaleNotice = "<div class='row'>" + "<div class='col-xs-12'>" + "This event goes on sale " + osd.format("dddd, MMMM Do, YYYY h:mm a") + "</div>" + "</div>"; } else if (event.isSoldOut === true) { purbtn = ""; onsaleNotice = "<div class='row'>" + "<div class='col-xs-12'>" + "This event is sold out. Please check back later for any possible changes" + "</div>" + "</div>"; } var content = "<div class='modal-dialog' role='document'>" + "<div class='modal-content'>" + "<div class='modal-header'>" + "<button type='button' class='close' data-dismiss='modal' aria-label='Close'><span aria-hidden='true'>&times;</span></button>" + "<h4 class='modal-title' id='myModalLabel'>" + event.title + "</h4>" + "</div>" + "<div class='modal-body'>" + "<div class='row event_row'>" + "<div class='event_ImageFrame hidden-xs'>" + "<img class='event_Image' src='image.php?type=show1&amp;id=" + event.master_id + "'>" + "</div>" + "<div class='event_ContentFrame'>" + "<div class='row'>" + "<div class='col-xs-12'>" + "Theatre: " + event.theatre + "<br>" + "Location: " + event.location + "<br>" + "Date: " + event.formattedDate + "<br>" + "</div>" + "</div>" + "</div>" + "</div>" + onsaleNotice + "</div>" + "<div class='modal-footer'>" + "<button type='button' class='btn btn-default' data-dismiss='modal'>Close</button>" + purbtn + "</div>" + "</div>" + "</div>" // Load the content into the modal $("#cswt6_modal").html(content); $('#cswt6_modal').modal({ keyboard: false }); //window.location.href = "event-details.php?e=" + event.master_id; } }); } }); function showinfo(element) { var event = $(element).closest(".row").find("#showinfo").html(); event = JSON.parse(event); var btn = "<a class='btn btn-info' href='" + event.evturl + "'>" + "Purchase" + "</a>"; var content = "<div class='modal-dialog' role='document'>" + "<div class='modal-content'>" + "<div class='modal-header'>" + "<button type='button' class='close' data-dismiss='modal' aria-label='Close'><span aria-hidden='true'>&times;</span></button>" + "<h4 class='modal-title' id='myModalLabel'>" + event.title + "</h4>" + "</div>" + "<div class='modal-body'>" + "<div class='row event_row'>" + "<div class='event_ImageFrame hidden-xs'>" + "<img class='event_Image' src='image.php?type=show1&amp;id=" + event.master_id + "'>" + "</div>" + "<div class='event_ContentFrame'>" + "<div class='row'>" + "<div class='col-xs-12'>" + "Theatre: " + event.theatre + "<br>" + "Location: " + event.location + "<br>" + "Date: " + event.formattedDate + "<br>" + "</div>" + "</div>" + "<br>" + "<div class='row'>" + "<div class='col-xs-12'>" + event.showinfo + "</div>" + "</div>" + "</div>" + "</div>" + "</div>" + "<div class='modal-footer'>" + "<button type='button' class='btn btn-default' data-dismiss='modal'>Close</button>" + btn + "</div>" + "</div>" + "</div>" // Load the content into the modal $("#cswt6_modal").html(content); $('#cswt6_modal').modal({ keyboard: false }); } </script> <script type='text/javascript'> function validatePriceInput(element) { var val = $(element).val(); var parent = $(element).closest("div"); if (val.charAt(0) === '-' && (val < 0 || !$.isNumeric(val))) { parent.closest("td").addClass("has-error"); if ($("[entry-error]").length == 0) { parent.before($("<label>").attr("entry-error", 1).addClass("has-error").html("Error: Amount must be greater than 0")); } } else { parent.closest("td").removeClass("has-error"); if ($("[entry-error]").length > 0) { $("[entry-error]").remove(); } } } function customPriceChange(element) { var e = $(element); var v = e.val(); var td = e.closest("tr").find("td:last"); var sel = e.closest('tr').find("td:first select"); if (v == 1) { td.attr("default-text", td.html()); var inptgroup = $("<div>").addClass("input-group"); inptgroup.append($("<span>").addClass('input-group-addon').html("$")); inptgroup.append($("<input name='customAmount_" + sel.attr('name') + "'>").attr('id', 'customAmount').attr("type", "number").attr("min", 0).attr('step', '.01').addClass('form-control').attr("placeholder", "Custom Amount").on('change keyup', function() { validatePriceInput(this); })); td.empty().append(inptgroup); } else { td.empty().append(td.attr("default-text")); } } function updatePayWhatYouCan(source, priceid) { let qty = $(source).val(); var input = $("input[name='customAmount_priceQty" + priceid + "']"); if (qty > 0) { input.attr('min', input.attr('css-data-min')); input.val(input.attr('css-data-min')); input.parent().show(); } else { input.removeAttr('min'); input.val(0); input.parent().hide(); } } </script> </body> </html> </body> </html>

Pages: 1 2 3 4 5 6 7 8 9 10