1 2 3let deferredInstallPrompt = null; 4 5window.addEventListener('beforeinstallprompt', function(e) { 6 e.preventDefault(); 7 deferredInstallPrompt = e; 8}); 9 10function sm_install_app() 11{ 12 // Already installed 13 if ( 14 window.matchMedia('(display-mode: standalone)').matches || 15 window.navigator.standalone === true 16 ) 17 { 18 if (typeof toastr !== 'undefined') 19 toastr["info"]("The app is already installed."); 20 21 return; 22 } 23 24 // Android / Chrome / Edge 25 if (deferredInstallPrompt) 26 { 27 deferredInstallPrompt.prompt(); 28 29 deferredInstallPrompt.userChoice.then(function(choiceResult) { 30 31 if (choiceResult.outcome === 'accepted') 32 { 33 if (typeof toastr !== 'undefined') 34 toastr["success"]("App installation started."); 35 } 36 37 deferredInstallPrompt = null; 38 39 }).catch(function() { 40 deferredInstallPrompt = null; 41 }); 42 43 return; 44 } 45 46 // iPhone / iPad 47 if (/iPad|iPhone|iPod/.test(navigator.userAgent)) 48 { 49 if (typeof toastr !== 'undefined') 50 { 51 toastr["info"]( 52 'Tap the Share button and choose "Add to Home Screen".', 53 'Install App', 54 { 55 timeOut: 10000 56 } 57 ); 58 } 59 else 60 { 61 alert('Tap the Share button and choose "Add to Home Screen".'); 62 } 63 64 return; 65 } 66 67 // Fallback 68 if (typeof toastr !== 'undefined') 69 toastr["warning"]("App installation is not available on this device or browser."); 70 else 71 alert("App installation is not available on this device or browser."); 72} 73 74 75 76function sm_share_page() 77{ 78 if (navigator.share) 79 { 80 navigator.share({ 81 title: document.title, 82 url: window.location.href 83 }); 84 } 85 else 86 { 87 navigator.clipboard.writeText(window.location.href); 88 89 if (typeof toastr !== 'undefined') 90 toastr["success"]("Page link copied to clipboard."); 91 } 92} 93 94 95 96 97 98function sm_cart_qty_change(itemid, e){ 99 100 101console.log('itemid:'+itemid); 102console.log('e:'+e); 103 104 105 106// If select 107if (e == '') 108{ 109 var i_e = $("#sm-cart-select-"+itemid).val(); 110 var button_c = $("#sm-button-add-to-cart-"+itemid); 111 q = $('#sm-quantity-'+itemid).val(); 112} 113else 114{ 115 var i_e = itemid+"_"+e; 116 var button_c = $("#sm-button-add-to-cart-"+i_e); 117 q = $('#sm-quantity-'+i_e).val(); 118} 119 120console.log(i_e); 121console.log(q); 122 123 124$.ajax({ 125 126 type:"POST", 127 url:'/cart/process/check_item_in_cart.php', 128 data:{'i_e':i_e, 'q':q }, 129 dataType: 'json', 130 success:function(response){ 131 132 console.log(response); 133 if (response.success) 134 { 135 if (response.qty == q) 136 { 137 console.log('view_cart'); 138 $('#sm-cart-form-'+itemid).attr('action', '/cart/show_cart.php'); 139 button_c.removeClass('btn-3rd'); 140 button_c.addClass('btn-3rd-inv'); 141 button_c.text('View in cart'); 142 } 143 else 144 { 145 console.log('update_cart'); 146 $('#sm-cart-form-'+itemid).attr('action', '/cart/process/update_item_in_cart.php'); 147 button_c.removeClass('btn-3rd'); 148 button_c.addClass('btn-3rd-inv'); 149 button_c.text('Update cart'); 150 } 151 } 152 else 153 { 154 console.log('add_cart'); 155 $('#sm-cart-form-'+itemid).attr('action', '/cart/add_cart.php'); 156 button_c.addClass('btn-3rd'); 157 button_c.removeClass('btn-3rd-inv'); 158 button_c.text('Add to cart'); 159 } 160 161 162 } 163 164 }) 165 166} 167 168 169function sm_cart_select_change(itemid){ 170 171var button_c = $("#sm-button-add-to-cart-"+itemid); 172var i_e = $("#sm-cart-select-"+itemid).val(); 173 174console.log('itemid:'+itemid); 175console.log('button_c:'+button_c); 176console.log('i_e:'+i_e); 177 178$.ajax({ 179 180 type:"POST", 181 url:'/cart/process/check_item_in_cart.php', 182 data:{'i_e':i_e }, 183 dataType: 'json', 184 success:function(response){ 185 186 console.log(response); 187 if (response.success) 188 { 189 console.log('show_cart'); 190 $('#sm-cart-form-'+itemid).attr('action', '/cart/show_cart.php'); 191 button_c.removeClass('btn-3rd'); 192 button_c.addClass('btn-3rd-inv'); 193 button_c.text('View in cart'); 194 } 195 else 196 { 197 console.log('add_cart'); 198 $('#sm-cart-form-'+itemid).attr('action', '/cart/add_cart.php'); 199 button_c.addClass('btn-3rd'); 200 button_c.removeClass('btn-3rd-inv'); 201 button_c.text('Add to cart'); 202 } 203 $("#sm-quantity-"+itemid).val(response.qty); 204 205 $.ajax({ 206 207 type:"POST", 208 url:'/cart/process/get_max_qty.php', 209 data:{'i_e':i_e}, 210 dataType:'json', 211 212 success:function(qty_response){ 213 214 if (qty_response.success) 215 { 216 217 var qty_select = $("#sm-quantity-"+itemid); 218 219 var current_qty = parseInt(qty_select.val()); 220 221 qty_select.empty(); 222 223 for (var i = 0; i <= qty_response.max_qty; i++) 224 { 225 qty_select.append( 226 $('<option>', { 227 value: i, 228 text: i 229 }) 230 ); 231 } 232 233 if (current_qty <= qty_response.max_qty) 234 qty_select.val(current_qty); 235 else 236 qty_select.val(qty_response.max_qty); 237 } 238 239 } 240 241 }); 242 243 } 244 245 }) 246 247} 248 249 250 251function sm_add_to_wishlist(button_id, customerid, itemid, manage_view){ 252 253var button_c = $("#"+button_id); 254 255console.log(manage_view); 256 257$.ajax({ 258 259 type:"POST",
260 url:'/cart/process/add_wishlist.php', 261 data:{'customerid':customerid, 'itemid':itemid }, 262 dataType: 'json', 263 success:function(response){ 264 265 if (response.success) 266 { 267 268 if (manage_view) 269 { 270 $('#sm-ecomm-wishlist-item-card-'+itemid).fadeOut(); 271 } 272 273 button_c.toggleClass('btn-4th'); 274 button_c.toggleClass('btn-4th-inv'); 275 button_c.toggleClass('wishlist_added'); 276 if(button_c.hasClass('wishlist_added')){ 277 button_c.text('Item in wish list'); 278 } else { 279 button_c.text('Add to wish list'); 280 } 281 282 } 283 else 284 { 285 swal({ 286 title: "Add to Wish List", 287 text: "Please create a new account or log in to an existing account in order to add this item to your wish list.<br>"+ 288 "<a href=\"/cart/account_create.php\"><button type=\"button\" class=\"btn btn-primary\">Create</button></a>"+ 289 "<a href=\"/cart/account_login.php\"><button type=\"button\" class=\"btn btn-primary\">Log in</button></a>"+ 290 "<a><button class=\"btn cancel\" tabindex=\"3\"><i class=\"icon-cross2\"></i> Close</button></a>", 291 html: true, 292 allowOutsideClick: true,
293 showConfirmButton: false, 294 }); 295 } 296 297 } 298 299 }) 300 301} 302 303 304 305function sm_add_to_cart_not_available(){ 306 307 swal({ 308 title: "Currently Unavailable", 309 text: "We're sorry but this item is not available at the present time.<br>"+ 310 "", 311 html: true, 312 allowOutsideClick: true, 313 showConfirmButton: true 314 }); 315 316 317} 318 319 320 321 322 323 324 325 326 327function addLoadEvent(func) { 328 var oldonload = window.onload; 329 if (typeof window.onload != 'function') { 330 window.onload = func; 331 } else { 332 window.onload = function() { 333 if (oldonload) { 334 oldonload(); 335 } 336 func(); 337 } 338 } 339} 340 341 342 343function fielderror(fieldname, fieldvalue, message) 344{ 345 if (fieldname.value == fieldvalue) 346 { 347 /* 348 swal({ 349 title: "", 350 text: message, 351 type: "info", 352 showCancelButton: false, 353 confirmButtonColor: "primary", 354 confirmButtonText: "Okay", 355 closeOnConfirm: false, 356 heightAuto: false 357 }); 358 */ 359 fieldname.focus(); 360 toastr.options = { 361 "debug": false, 362 "positionClass": "toast-top-center", 363 "onclick": null, 364 "fadeIn": 300, 365 "fadeOut": 1000, 366 "timeOut": 7000, 367 "extendedTimeOut": 1000 368 } 369 toastr["error"](message); 370 return true; 371 } 372 373 374} 375 376function fielderror_select(fieldname, fieldvalue, message, sectionid) 377{ 378 var num = document.querySelectorAll('input[name=\''+fieldname+'[]\']:checked').length; 379 console.log('fielderror_select: '+fieldname+' '+sectionid); 380 if (num <= 0) 381 { 382 /* 383 swal({ 384 title: "", 385 text: message, 386 type: "info",
387 showCancelButton: false, 388 confirmButtonColor: "primary", 389 confirmButtonText: "Okay", 390 closeOnConfirm: false, 391 heightAuto: false 392 }); 393 */ 394 395 document.getElementById(fieldname+'_div').scrollIntoView(); 396 window.scrollBy(0, -150); 397 398 toastr.options = { 399 "debug": false, 400 "positionClass": "toast-top-center", 401 "onclick": null, 402 "fadeIn": 300, 403 "fadeOut": 1000, 404 "timeOut": 5000, 405 "extendedTimeOut": 1000 406 } 407 toastr["error"](message); 408 return true; 409 } 410 411 412} 413 414 415function breturn(address) 416{ 417 document.location.href=address; 418} 419 420 421 422 423 424 425function cancel(str) 426{ 427//alert(str); 428//alert('http://<? echo str_replace("www.", "", $HTTP_HOST); ?>/admin/editor.php'); 429parent.frames['middle'].location.href = str; 430} 431 432 433 434 435function prompt_confirm(txt) 436{ 437input_box=confirm("Are you sure that you want to delete this "+txt+"?"); 438if (input_box==true) 439{ 440return 1; 441} 442else 443{ 444return 0; 445} 446 447} 448 449 450function prompt_confirm_2(txt) 451{ 452input_box=confirm("Are you sure that you want to delete this "+txt+"?"); 453if (input_box==true) 454{ 455return 0; 456} 457else 458{ 459return 1; 460} 461 462} 463 464 465function prompt_backup_load() 466{ 467input_box=confirm("Loading this backup file will overwrite your existing website. Are you sure that you want to continue?"); 468if (input_box==true) 469{ 470return 1; 471} 472else 473{ 474return 0; 475} 476 477} 478 479 480function submit_window(form_name) 481{ 482var w = 0, h = 0; 483 484if (document.all) { 485 /* the following is only available after onLoad */ 486 w = document.body.clientWidth; 487 h = document.body.clientHeight; 488} 489else if (document.layers) { 490 w = window.innerWidth; 491 h = window.innerHeight; 492} 493 494var popW = 700, popH = 300; 495 496var leftPos = (w-popW)/2, topPos = (h-popH)/2; 497 498 _submit_window = window.open('','_submit_window','width='+popW+',height='+popH+',top='+topPos+',left='+leftPos+',scrollbars=yes,resizable=yes,location=no'); 499 form_name.submit(); 500} 501 502function process_window(address) 503{ 504var w = 0, h = 0; 505 506if (document.all) { 507 /* the following is only available after onLoad */ 508 w = document.body.clientWidth; 509 h = document.body.clientHeight; 510} 511else if (document.layers) { 512 w = window.innerWidth; 513 h = window.innerHeight; 514} 515 516var popW = 300, popH = 200; 517 518var leftPos = (w-popW)/2, topPos = (h-popH)/2; 519 520 _process_window = window.open(address,'_process_window','width='+popW+',height='+popH+',top='+topPos+',left='+leftPos+',scrollbars=no,resizable=yes,location=yes'); 521} 522 523function preview_window(address) 524{ 525var w = 0, h = 0; 526 527if (document.all) { 528 /* the following is only available after onLoad */ 529 w = document.body.clientWidth; 530 h = document.body.clientHeight; 531} 532else if (document.layers) { 533 w = window.innerWidth; 534 h = window.innerHeight; 535} 536 537var popW = 800, popH = 550; 538 539var leftPos = (w-popW)/2, topPos = (h-popH)/2; 540 541 _preview_window = window.open(address,'_preview_window','width='+popW+',height='+popH+',top='+topPos+',left='+leftPos+',scrollbars=yes,resizable=yes,location=yes'); 542} 543 544function preview_site(address) 545{ 546var w = 0, h = 0; 547 548if (document.all) { 549 /* the following is only available after onLoad */ 550 w = document.body.clientWidth; 551 h = document.body.clientHeight; 552} 553else if (document.layers) { 554 w = window.innerWidth; 555 h = window.innerHeight; 556} 557 558var popW = 800, popH = 550; 559 560var leftPos = (w-popW)/2, topPos = (h-popH)/2; 561 562 _preview_site = window.open(address,'_preview_window','width='+popW+',height='+popH+',top='+topPos+',left='+leftPos+',status=yes,menubar=yes,toolbar=yes,scrollbars=yes,resizable=yes,location=yes'); 563} 564 565function bulletin_attach_window(address) 566{ 567var w = 0, h = 0; 568 569if (document.all) { 570 /* the following is only available after onLoad */ 571 w = document.body.clientWidth; 572 h = document.body.clientHeight; 573} 574else if (document.layers) { 575 w = window.innerWidth; 576 h = window.innerHeight; 577} 578 579var popW = 700, popH = 300; 580 581var leftPos = (w-popW)/2, topPos = (h-popH)/2; 582 583 _bulletin_attach_window = window.open(address,'_bulletin_attach_window','width='+popW+',height='+popH+',top='+topPos+',left='+leftPos+',scrollbars=yes,resizable=yes,location=no'); 584} 585 586 587function open_manual(address) 588{ 589var w = 0, h = 0; 590 591if (document.all) { 592 /* the following is only available after onLoad */ 593 w = document.body.clientWidth; 594 h = document.body.clientHeight; 595} 596else if (document.layers) { 597 w = window.innerWidth; 598 h = window.innerHeight; 599} 600 601var popW = 800, popH = 600; 602 603var leftPos = (w-popW)/2, topPos = (h-popH)/2; 604 605 _manual = window.open(address,'_manual','width='+popW+',height='+popH+',top='+topPos+',left='+leftPos+',status=no,menubar=no,toolbar=no,scrollbars=yes,resizable=yes,location=no'); 606} 607 608function editor_window(form_name, str) 609{ 610var w = 0, h = 0; 611 612if (document.all) { 613 /* the following is only available after onLoad */ 614 w = document.body.clientWidth; 615 h = document.body.clientHeight; 616} 617else if (document.layers) { 618 w = window.innerWidth; 619 h = window.innerHeight; 620} 621 622var popW = 800, popH = 600; 623 624var leftPos = (w-popW)/2, topPos = (h-popH)/2; 625 626str2 = str; 627//alert(str2); 628 629 str = window.open('',str2,'width='+popW+',height='+popH+',top='+topPos+',left='+leftPos+',scrollbars=yes,resizable=yes,location=yes,status=yes,menubar=yes'); 630 form_name.submit(); 631} 632 633function view_article(id) 634{ 635 open_article('/article.php?id='+id); 636} 637 638 639 640function open_article(address) 641{ 642var w = 0, h = 0; 643 644if (document.all) { 645 /* the following is only available after onLoad */ 646 w = document.body.clientWidth; 647 h = document.body.clientHeight; 648} 649else if (document.layers) { 650 w = window.innerWidth; 651 h = window.innerHeight; 652} 653 654var popW = 700, popH = 640; 655 656var leftPos = (w-popW)/2, topPos = (h-popH)/2; 657 658 _article = window.open(address,'_article_window','width='+popW+',height='+popH+',top='+topPos+',left='+leftPos+',status=yes,menubar=yes,toolbar=yes,scrollbars=yes,resizable=yes,location=no'); 659} 660 661 662function openWin(img, popW, popH) { 663 664var w = 0, h = 0; 665 666if (document.all) { 667 /* the following is only available after onLoad */ 668 w = document.body.clientWidth; 669 h = document.body.clientHeight; 670} 671else if (document.layers) { 672 w = window.innerWidth; 673 h = window.innerHeight; 674} 675 676popW = parseInt(popW) + 25; 677popH = parseInt(popH) + 25; 678 679 680var leftPos = (w-popW)/2, topPos = (h-popH)/2; 681 682 winId = window.open('','newwin','width='+popW+',height='+popH+',top='+topPos+',left='+leftPos+',scrollbars=yes,resizable=yes'); 683 if (winId) 684 { 685 winId.innerWidth = popW; 686 winId.innerHeight = popH; 687 // winId.resizeTo(popW, popH); 688 } 689// winId = window.open('','newwin','width='+w+',height='+h+'top='+topPos+',left='+leftPos+');
690 winId.document.write('<body topmargin="0" leftmargin="0" bottommargin="0" rightmargin="0" marginwidth="0" marginheight="0" onLoad="if (window.focus) window.focus()"><center>'); 691 winId.document.write('<a href="#" onclick="window.close(); return false"><img border="0" src="' + img + '"></a>'); 692 winId.document.write('</center></body>'); 693 winId.document.close(); 694} 695 696function preview_title_font(fontname, text, shadow) 697{ 698preview_template_font('/admin/font_preview.php?fontname='+fontname); 699 700} 701 702 703function preview_template_font(address) 704{ 705var w = 0, h = 0; 706 707if (document.all) { 708 /* the following is only available after onLoad */ 709 w = document.body.clientWidth; 710 h = document.body.clientHeight; 711} 712else if (document.layers) { 713 w = window.innerWidth; 714 h = window.innerHeight; 715} 716 717var popW = 450, popH = 200; 718 719var leftPos = (w-popW)/2, topPos = (h-popH)/2; 720 721 _preview_template_font_window = window.open(address,'_preview_template_font_window','width='+popW+',height='+popH+',top='+topPos+',left='+leftPos+',scrollbars=no,resizable=no,location=no'); 722} 723 724 725function calendar_window(form_name) 726{ 727var w = 0, h = 0; 728 729if (document.all) { 730 /* the following is only available after onLoad */ 731 w = document.body.clientWidth; 732 h = document.body.clientHeight; 733} 734else if (document.layers) { 735 w = window.innerWidth; 736 h = window.innerHeight; 737} 738 739var popW = 800, popH = (screen.availHeight - 150); 740 741var leftPos = (w-popW)/2, topPos = (h-popH)/2; 742 743 _month_edit = window.open('','_month_edit','width='+popW+',height='+popH+',top='+topPos+',left='+leftPos+',location=yes,toolbar=yes,status=yes,menubar=yes,scrollbars=yes,resizable=yes,location=no'); 744 form_name.submit(); 745} 746 747 748 749 750function printing_instructions_window(address) 751{ 752var w = 0, h = 0; 753 754if (document.all) { 755 /* the following is only available after onLoad */ 756 w = document.body.clientWidth; 757 h = document.body.clientHeight; 758} 759else if (document.layers) { 760 w = window.innerWidth; 761 h = window.innerHeight; 762} 763 764var popW = 400, popH = 300; 765 766var leftPos = (w-popW)/2, topPos = (h-popH)/2; 767 768 _printing_instructions_window = window.open(address,'_printing_instructions_window','width='+popW+',height='+popH+',top='+topPos+',left='+leftPos+',scrollbars=no,resizable=yes,location=no'); 769} 770 771 772 773function download_hash_window(address) 774{ 775var w = 0, h = 0; 776 777if (document.all) { 778 /* the following is only available after onLoad */ 779 w = document.body.clientWidth; 780 h = document.body.clientHeight; 781} 782else if (document.layers) { 783 w = window.innerWidth; 784 h = window.innerHeight; 785} 786 787var popW = 750, popH = 300; 788 789var leftPos = (w-popW)/2, topPos = (h-popH)/2; 790 791 _download_hash_window = window.open(address,'_download_hash_window','width='+popW+',height='+popH+',top='+topPos+',left='+leftPos+',scrollbars=no,resizable=yes,location=no'); 792} 793 794 795 796 797 798function slideshow_window(address) 799{ 800var w = 0, h = 0; 801 802if (document.all) { 803 /* the following is only available after onLoad */ 804 w = document.body.clientWidth; 805 h = document.body.clientHeight; 806} 807else if (document.layers) { 808 w = window.innerWidth; 809 h = window.innerHeight; 810} 811 812var popW = 980, popH = 800; 813 814var leftPos = (w-popW)/2, topPos = (h-popH)/2; 815 816 _slideshow_window = window.open(address,'_sv_window','width='+popW+',height='+popH+',top='+topPos+',left='+leftPos+',scrollbars=yes,resizable=yes,location=no'); 817} 818 819 820 821function open_receipt(address) 822{ 823var w = 0, h = 0; 824 825if (document.all) { 826 /* the following is only available after onLoad */ 827 w = document.body.clientWidth; 828 h = document.body.clientHeight; 829} 830else if (document.layers) { 831 w = window.innerWidth; 832 h = window.innerHeight; 833} 834 835var popW = 800, popH = 600; 836 837var leftPos = (w-popW)/2, topPos = (h-popH)/2; 838 839 _receipt = window.open(address,'_receipt','width='+popW+',height='+popH+',top='+topPos+',left='+leftPos+',status=yes,menubar=yes,toolbar=yes,scrollbars=yes,resizable=yes,location=no'); 840} 841 842 843 844function afr_player_window(address) 845{ 846var w = 0, h = 0; 847 848if (document.all) { 849 /* the following is only available after onLoad */ 850 w = document.body.clientWidth; 851 h = document.body.clientHeight; 852} 853else if (document.layers) { 854 w = window.innerWidth; 855 h = window.innerHeight; 856} 857 858var popW = 300, popH = 300; 859 860var leftPos = (w-popW)/2, topPos = (h-popH)/2; 861 862 _afr_player_window = window.open(address,'_afr_player_window','width='+popW+',height='+popH+',top='+topPos+',left='+leftPos+',location=no,toolbar=no,status=no,menubar=no,scrollbars=no,resizable=no,location=no'); 863 864} 865 866 867 868 869function CheckDecimal_paypal_recurring(inputtxt) 870{ 871var decimal= /^[-+]?[0-9]+\.[0-9]+$/; 872if(inputtxt.value.match(decimal)) 873{ 874return true; 875} 876else 877{ 878alert('Please enter the amount of your recurring donation in the following format: X.XX') 879return false; 880} 881} 882 883 884 885 886 887function process_form_submit_paypal_recurring(f) 888{ 889 890 if (fielderror(f.a3, "", "Please enter the amount of the donation.")) 891 { 892 return false;
893 } 894 895 if (fielderror(f.a3, "0.00", "Please enter the amount of the donation.")) 896 { 897 return false; 898 } 899 900 if (fielderror(f.frequency, "", "Please select the frequency of the donation.")) 901 { 902 return false; 903 } 904 if (fielderror(f.termination, "", "Please select the term in which to continue the donation.")) 905 { 906 return false; 907 } 908 /* 909 if (!CheckDecimal_paypal_recurring(f.a3)) 910 { 911 return false; 912 } 913 */ 914 915 916 if (f.frequency.value == "Once") 917 { 918 f.p3.value = 1; 919 f.t3.value = 'D'; 920 f.src.value = 0; 921 f.item_name.value = "One-time Donation"; 922 } 923 if (f.frequency.value == "Weekly") 924 { 925 f.p3.value = 1; 926 f.t3.value = 'W'; 927 f.src.value = 1; 928 if (f.termination.value == "1-year") 929 f.srt.value = 52; 930 f.item_name.value = "Recurring Weekly Donation"; 931 } 932 if (f.frequency.value == "Monthly") 933 { 934 f.p3.value = 1; 935 f.t3.value = 'M'; 936 f.src.value = 1; 937 if (f.termination.value == "1-year") 938 f.srt.value = 12; 939 f.item_name.value = "Recurring Monthly Donation"; 940 } 941 if (f.frequency.value == "Annually") 942 { 943 f.p3.value = 1; 944 f.t3.value = 'Y'; 945 f.src.value = 1; 946 if (f.termination.value == "1-year") 947 f.srt.value = 1; 948 f.item_name.value = "Recurring Annual Donation"; 949 } 950 951 952} 953 954 955 956 957function load_monthly_calendar_section(my, sectionid) 958{ 959 $.ajax({ 960 url : '/calendar/load_month.php', 961 data:{"my":my, "sectionid":sectionid}, 962 type: 'GET', 963 964 success: function(data){ 965 $('#'+sectionid).html(data); 966 }, 967 cache: false 968 }); 969} 970 971
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.