{"id":2854,"date":"2011-08-26T11:12:05","date_gmt":"2011-08-26T03:12:05","guid":{"rendered":"http:\/\/www.pwshop.com\/?page_id=2854"},"modified":"2015-03-25T16:27:09","modified_gmt":"2015-03-25T08:27:09","slug":"playing-now","status":"publish","type":"page","link":"https:\/\/www.pwshop.com\/en\/playing-now\/","title":{"rendered":"What's On Now!"},"content":{"rendered":"<h3>Playing Now!<\/h3>\n<h3><div class=\"grid-gallery id-0 top\">\n<div class=\"gallerywrap clearfix\">\n\n<div id=\"cwz-sortable-0\">\n\n<div class=\"panel columns-3 Uncategorized0 Current_Performances0 \" data-id=\"id-1\"   style=\"height: 430px\" >\n\n    \n\n        \n\t\t<div class=\"container   \">\n\t\t\t<h2 class=\"grid-title\"><a href=\"https:\/\/www.pwshop.com\/en\/uncategorized\/secret-love-in-peach-blossom-land\/\" title=\"Secret Love in Peach Blossom Land\">Secret Love in Peach Blossom Land<\/a><\/h2>\t\t\t<div class=\"gridimg-wrap\">\n            \t<div class=\"title-wrap\" style=\"width:400px\">\t\n\t\t\t\t\t\t\t\t<a href=\"https:\/\/www.pwshop.com\/en\/uncategorized\/secret-love-in-peach-blossom-land\/\" title=\"Secret Love in Peach Blossom Land\">               \n                \n\t\t\t\t\t<img loading=\"lazy\" decoding=\"async\"  src=\"https:\/\/www.pwshop.com\/wp-content\/themes\/DynamiX\/lib\/scripts\/timthumb.php?h=266&amp;w=400&amp;zc=1&amp;src=wp-content\/uploads\/2012\/08\/p.jpg\" alt=\"Secret Love in Peach Blossom Land\" width=\"400\" height=\"266\" \/>\n\t\t\t\t\t\t\t\t\t<\/a>\n\t\t\t\t\n                \t\n                <\/div><!-- \/ title-wrap -->\n\t\t\t<\/div><!-- \/ gridimg-wrap -->\n\t\t<\/div><!-- \/ container -->\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\n\t\t<div class=\"panelcontent \">\n\t\t\t\n    \n\n\t\t\t\t\t\t<p>\u201cThe most popular contemporary play in China.\u201d\r\nNew York Times\r\n\r\n\u201cThe play makes many current Broadway productions shrink in stature.\u201d\r\nNew York Press\r\n\r\n\u201cAn important landmark in ...                \n   \t\t\t\t<a href=\"https:\/\/www.pwshop.com\/en\/uncategorized\/secret-love-in-peach-blossom-land\/\">Read More<\/a>\n\t\t\t\t\n\n        \t\t\n\t\t<\/div><!-- \/panelcontent -->  \n\n    \n\n<\/div><!--  \/ panel -->\n\n \n\n\n<div class=\"panel columns-3 Current_Performances0 Theatre_@en0 \" data-id=\"id-2\"   style=\"height: 430px\" >\n\n    \n\n        \n\t\t<div class=\"container   \">\n\t\t\t<h2 class=\"grid-title\"><a href=\"https:\/\/www.pwshop.com\/en\/show\/the-village-%ef%bc%882008%ef%bc%89\/\" title=\"The Village (2008)\">The Village <\/a><\/h2><div class='grid-subtitle'>(2008)<\/div>\t\t\t<div class=\"gridimg-wrap\">\n            \t<div class=\"title-wrap\" style=\"width:400px\">\t\n\t\t\t\t\t\t\t\t<a href=\"https:\/\/www.pwshop.com\/en\/show\/the-village-%ef%bc%882008%ef%bc%89\/\" title=\"The Village (2008)\">               \n                \n\t\t\t\t\t<img loading=\"lazy\" decoding=\"async\"  src=\"https:\/\/www.pwshop.com\/wp-content\/themes\/DynamiX\/lib\/scripts\/timthumb.php?h=266&amp;w=400&amp;zc=1&amp;src=\/wp-content\/uploads\/2012\/04\/2008\u5bf6\u5cf6-.jpg\" alt=\"The Village (2008)\" width=\"400\" height=\"266\" \/>\n\t\t\t\t\t\t\t\t\t<\/a>\n\t\t\t\t\n                \t\n                <\/div><!-- \/ title-wrap -->\n\t\t\t<\/div><!-- \/ gridimg-wrap -->\n\t\t<\/div><!-- \/ container -->\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\n\t\t<div class=\"panelcontent \">\n\t\t\t\n    \n\n\t\t\t\t\t\t<p>\r\n\r\n&nbsp;\r\n\r\nThe Village has electrified audiences since its premiere December 2008 at Taipei's National Theatre, becoming one of the milestone productions in the Chinese language ...                \n   \t\t\t\t<a href=\"https:\/\/www.pwshop.com\/en\/show\/the-village-%ef%bc%882008%ef%bc%89\/\">Read More<\/a>\n\t\t\t\t\n\n        \t\t\n\t\t<\/div><!-- \/panelcontent -->  \n\n    \n\n<\/div><!--  \/ panel -->\n\n \n\n<\/div><!-- \/cwz-sortable -->\n<div class=\"clear\"><\/div>\n\n<\/div><!-- \/gallerywrap -->\n<\/div><!-- \/postslider -->\n<script type=\"text\/javascript\">\n\/\/ Custom sorting plugin\n(function($) {\n  jQuery.fn.sorted = function(customOptions) {\n    var options = {\n      reversed: false,\n      by: function(a) { return a.text(); }\n    };\n    jQuery.extend(options, customOptions);\n    $data = $(this);\n    arr = $data.get();\n    arr.sort(function(a, b) {\n      var valA = options.by(jQuery(a));\n      var valB = options.by(jQuery(b));\n      if (options.reversed) {\n        return (valA < valB) ? 1 : (valA > valB) ? -1 : 0;\t\t\t\t\n      } else {\t\t\n        return (valA < valB) ? -1 : (valA > valB) ? 1 : 0;\t\n      }\n    });\n    return $(arr);\n  };\n})(jQuery);\n\n\n\n(function($) {\n$(document).ready(function() {\n  \n  var read_button = function(class_names) {\n    var r = {\n      selected: false,\n      type: 0\n    };\n    for (var i=0; i < class_names.length; i++) {\n      if (class_names[i].indexOf('selected-') == 0) {\n        r.selected = true;\n      }\n      if (class_names[i].indexOf('segment-') == 0) {\n        r.segment = class_names[i].split('-')[1];\n      }\n    };\n    return r;\n  };\n  \n  var determine_sort = function($buttons) {\n    var $selected = $buttons.parent().filter('[class*=\"selected-\"]');\n    return $selected.find('a').attr('data-value');\n  };\n  \n  var determine_kind = function($buttons) {\n    var $selected = $buttons.parent().filter('[class*=\"selected-\"]');\n    return $selected.find('a').attr('data-value');\n  };\n  \n  var $preferences = {\n    duration: 800,\n    easing: 'easeInOutQuad',\n\t  enhancement: function() {\n\t\t\n\t\t$('.grid-gallery #cwz-sortable-0 .galleryimg').append('<div class=\"hoverimg\" style=\"height:inherit\"><\/div>');\t\n\t\t$('.grid-gallery #cwz-sortable-0 .galleryvid').append('<div class=\"hovervid\" style=\"height:inherit\"><\/div>');\t\n\t\t\n\t\t$('.grid-gallery #cwz-sortable-0 .galleryimg,.grid-gallery #cwz-sortable-0 .galleryvid').hover(\n\t\t\t\t\n\t\t\t\t\/\/Mouseover, fadeIn the hidden hover class\t\n\t\t\t\tfunction() {\n\t\t\t\t$(this).children('div').css('display', 'block'); \/\/ FIX IE BUG\t\n\t\t\t\t$(this).children('div').fadeTo(\"slow\",0.6);\n\t\t\t\t\t\t\n\t\t\t\t}, \n\t\t\t\n\t\t\t\t\/\/Mouseout, fadeOut the hover class\n\t\t\t\tfunction() {\n\t\t\t\t$(this).children('div').fadeTo(\"fast\",0, function() {\n\t\t\t\t});\n\t\t\t\t\n\t\t\t\t\n\t\t\t});\n\t\n\t\t\n\t\t$(\"#cwz-sortable-0 img.reflect\").reflect({height:35,opacity:0.2});\n\t\t\t\t$(\"a[rel^='prettyPhoto']\").prettyPhoto({\n\t\t\t\tkeyboard_shortcuts: false,\n\t\t\t\ttheme: 'light_rounded'\n\t\t\t\t});\n\t\n\t\tif ($.browser.msie && $.browser.version==\"7.0\" && typeof Cufon !== \"undefined\"){\n\t\t\tCufon.replace('#cwz-sortable-0 h2');\n\t\t} else if(typeof Cufon !== \"undefined\") {\n\t\t\tCufon.refresh();\n\t\t}\n\n\t\t$('#cwz-sortable-0 .gridimg-wrap').hover(function(e) {\n\t\t\t\t$(this).find('.title').hoverFlow(e.type, { height: \"show\" }, 400, \"easeInOutCubic\");\n\t\t\t\t}, function(e) {\n\t\t\t\t$(this).find('.title').hoverFlow(e.type, { height: \"hide\" }, 400, \"easeInBack\");\n\t\t});\n\t\t\n\t\t$('#cwz-sortable-0 .jwplayer').each(function(index) {\n\t\t\n\t\t\tstr='';\n\t\t\tstr = $(this).attr(\"id\");\n\t\t\tif(str.search(\"video\")==-1) {\n\t\t\tvideodata = $('.viddata-'+str).attr('value');\n\t\t\t\n\t\t\tvar videodata_array = new Array();\n\t\t\t\n\t\t\tvideodata_array  = videodata.split(',');\n\t\t\t\n\t\t\t\tjwplayer(str).setup({\n\t\t\t\t\t\t'id': 'player_'+str,\n\t\t\t\t\t\t'width': '400',\n\t\t\t\t\t\t'height': '266',\n\t\t\t\t\t\t'file': videodata_array[0],\n\t\t\t\t\t\t'stretching': 'exactfit',\n\t\t\t\t\t\t'image': videodata_array[1],\n\t\t\t\t\t\t'players': [\n\t\t\t\t\t\t\t{type: 'html5'},\n\t\t\t\t\t\t\t{type: 'flash', src: '\/wp-content\/uploads\/2011\/08\/player.swf'},\n\t\t\t\t\t\t\t{type: 'download'}\n\t\t\t\t\t\t]\n\t\t\t\t});\n\t\t\t}\n\t\t});\n\t\t\n\t}\n  };\n  \n  var $list = $('div#cwz-sortable-0');\n  var $data = $list.clone();\n  \n  var $controls = $('ul.splitter.id-0 ul');\n  \n  $controls.each(function(i) {\n    \n    var $control = $(this);\n    var $buttons = $control.find('a');\n    \n    $buttons.bind('click', function(e) {\n      \n      var $button = $(this);\n      var $button_container = $button.parent();\n      var button_properties = read_button($button_container.attr('class').split(' '));      \n      var selected = button_properties.selected;\n      var button_segment = button_properties.segment;\n\n      if (!selected) {\n\t\tvar cnt = $(\".splitter.id-0 ul li\").length+1; \/\/ Cycle through list and remove class\n\t\tfor(var i=1; i<cnt; i++){\n\t\t\t$buttons.parent().removeClass('selected-'+i)\n\t\t}\n\n        $buttons.parent().removeClass('active');\n        $button_container.addClass('selected-' + button_segment).addClass('active');\n        \n        var sorting_type = determine_sort($controls.eq(1).find('a'));\n        var sorting_kind = determine_kind($controls.eq(0).find('a'));\n        \n        if (sorting_kind == 'all') {\n          var $filtered_data = $data.find('.panel');\n        } else {\n          var $filtered_data = $data.find('.panel.' + sorting_kind);\n        }\n        \n        if (sorting_type == 'size') {\n          var $sorted_data = $filtered_data.sorted({\n            by: function(v) {\n              return parseFloat($(v).find('span').text());\n            }\n          });\n        } else {\n          var $sorted_data = $filtered_data.sorted({\n            by: function(v) {\n              return $(v).find('strong').text().toLowerCase();\n            }\n          });\n        }\n        \n        $list.quicksand($sorted_data, $preferences);\n        \n      }\n      \n      e.preventDefault();\n    });\n    \n  }); \n\n\n});\n})(jQuery);\n<\/script>\n<\/h3>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Playing Now! &nbsp;<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":1,"comment_status":"closed","ping_status":"open","template":"","meta":{"jetpack_post_was_ever_published":false,"footnotes":""},"class_list":["post-2854","page","type-page","status-publish","hentry"],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/P2FCzk-K2","_links":{"self":[{"href":"https:\/\/www.pwshop.com\/en\/wp-json\/wp\/v2\/pages\/2854","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.pwshop.com\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.pwshop.com\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.pwshop.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.pwshop.com\/en\/wp-json\/wp\/v2\/comments?post=2854"}],"version-history":[{"count":0,"href":"https:\/\/www.pwshop.com\/en\/wp-json\/wp\/v2\/pages\/2854\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.pwshop.com\/en\/wp-json\/wp\/v2\/media?parent=2854"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}