A PHP Error was encountered

Severity: 8192

Message: Function create_function() is deprecated

Filename: geshi/geshi.php

Line Number: 4698

Backtrace:

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/libraries/geshi/geshi.php
Line: 4698
Function: _error_handler

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/libraries/geshi/geshi.php
Line: 4621
Function: _optimize_regexp_list_tokens_to_string

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/libraries/geshi/geshi.php
Line: 1655
Function: optimize_regexp_list

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/libraries/geshi/geshi.php
Line: 2029
Function: optimize_keyword_group

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/libraries/geshi/geshi.php
Line: 2168
Function: build_parse_cache

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/libraries/Process.php
Line: 45
Function: parse_code

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/models/Pastes.php
Line: 517
Function: syntax

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/controllers/Main.php
Line: 693
Function: getPaste

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/index.php
Line: 315
Function: require_once

uih - Stikked
From zuiu, 9 Years ago, written in PHP.
Embed
  1. ddClass("active");
  2.  
  3. //    jQuery("#nav ul.select > li").mouseenter(function () {
  4. //        jQuery(".sub").hide();
  5. //        jQuery(".sub", jQuery(this)).show();
  6. //    });
  7.  
  8.     // Show sub menu on mouseover
  9.     jQuery('#nav .select li.dropdown .dropdown-toggle,#nav .dropdown-menu').mouseover(function () {
  10.         jQuery(this).parents('li.dropdown').find('.dropdown-menu').show();
  11.         jQuery(".sub").hide();
  12.         jQuery('#nav .dropup, #nav .dropdown').css('position', 'relative');
  13.     }).mouseout(function () {
  14.             jQuery(this).parents('li.dropdown').find('.dropdown-menu').hide();
  15.             jQuery('#nav .dropup, #nav .dropdown').css('position', 'static');
  16.         });
  17.     // Hide other open header menu on mouseover
  18.     jQuery('.primary_menu .dropdown').mouseover(function () {
  19.         jQuery(this).siblings().removeClass('open');
  20.     });
  21.  
  22.     jQuery("#nav").on("mouseleave", function (event) {
  23.         if (event.pageY - $(window).scrollTop() <= 1) {
  24.             jQuery(".sub").hide();
  25.             jQuery("li a.active", jQuery(this)).next(".sub").show();
  26.         }
  27.         try {
  28.             var e = event.toElement || event.relatedTarget;
  29.             if (e.parentNode == jQuery(this).find('ul.select') || e == this)
  30.                 return;
  31.             else {
  32.                 jQuery(".sub").hide();
  33.                 jQuery("li a.active", jQuery(this)).next(".sub").show();
  34.             }
  35.         }
  36.         catch (e) {
  37.         }
  38.     });
  39.  
  40.     // toggle page effect by clicking on alpha tag
  41.     jQuery(".logo_tag").click(function () {
  42.         jQuery("#main-container").toggleClass("page-effect");
  43.     }).qtip();
  44.  
  45.     (function ($) {
  46.         $(window).load(function () {
  47.             $(".scrollContainer").mCustomScrollbar({
  48.                 scrollInertia: 150
  49.             });
  50.         });
  51.     })(jQuery);
  52.  
  53.     //jQuery(".revenue_by_client .grid_table table, .payments_collected .grid_table table").tableHover({colClass: 'col_hover', footCols: true, footRows: true, rowClass: 'row_hover'})
  54.  
  55. });
  56.  
  57. window.preventDeletedNavigation = function(){
  58.     var applyPopover;
  59.  
  60.     applyPopover = function(elem, position, corner, message) {
  61.         elem.qtip({
  62.             content: {
  63.                 text: message
  64.             },
  65.             show: {
  66.                 event: false
  67.             },
  68.             hide: {
  69.                 event: false
  70.             },
  71.             position: {
  72.                 at: position
  73.             },
  74.             style: {
  75.                 tip: {
  76.                     corner: corner
  77.                 }
  78.             }
  79.         });
  80.         elem.qtip().show();
  81.         return elem.focus();
  82.     };
  83.  
  84.     bind_deleted_entry = function(){
  85.         $("a.deleted_entry").unbind('click');
  86.         $("a.deleted_entry").click(function(e){
  87.             applyPopover(jQuery(this),"bottomMiddle","topLeft","Please Recover to View Details");
  88.             e.preventDefault();
  89.             return false;
  90.         });
  91.         $("a.deleted_entry").unbind('mouseleave');
  92.         $("a.deleted_entry").mouseleave(function(e){
  93.               $(this).qtip('hide')
  94.               return false;
  95.         });
  96.     }
  97. };
  98. window.preventDeletedNavigation();
  99. $(document).ready(function(){
  100.     bind_deleted_entry();
  101. });