obfus
<?php
//==>>>==>>>==>>>==>>>==>>>==>>>==>>>==>>>==>>>==>>>==>>>==>>>==>>>
//
// Ajax Poll DBV v3.18 [ Commercial Version ]
// Copyright (c) phpkobo.com ( http://www.phpkobo.com/ )
// Email : admin@phpkobo.com
// ID : APDBV-318
// URL : http://www.phpkobo.com/ajax-poll-dbv
//
//==<<<==<<<==<<<==<<<==<<<==<<<==<<<==<<<==<<<==<<<==<<<==<<<==<<<
?>
(function($){
CUWait = {
//init_delay:0,//(debug)
init_delay:1000,
cnt : 0,
panel : null,
timer_id : null,
dice_id : 0,
rand : function( min, max ) {
return Math.floor((Math.random() * max) + min);
},
randColor : function() {
var px = ["00","33","66","99","FF"];
return "#" +
px[this.rand(0,px.length)] +
px[this.rand(0,px.length)] +
px[this.rand(0,px.length)];
},
createInner : function() {
var nx = 2;
var ny = 2;
var dx = 20;
var dy = 20;
var w = 20-2;
var h = 20-2;
this.dice = [];
for ( var y = 0; y < ny; y++ ) {
for ( var x = 0; x < nx; x++ ) {
this.dice.push(
$("<div>")
.css({
position:"absolute",
left:(x*dx)+"px",
top:(y*dy)+"px",
width:w+"px",
height:h+"px"
})
.appendTo(this.panel)
);
}
}
},
animateInner : function() {
if ( this.dice_id >= this.dice.length ) {
this.dice_id = 0;
}
var die = this.dice[this.dice_id];
this.dice_id++;
die.css({
"background-color":this.randColor()
});
},
create : function(e) {
if ( this.cnt == 0 ) { return; }
var z = 10000;
var w = 40;
var h = 40;
var left = (e.pageX - w/2);
var top = (e.pageY - h/2);
//-- panel
this.panel = $("<div>")
.css({
position:"absolute",
left:left+"px",
top:top+"px",
width:"40px",
height:"40px",
margin:0,
padding:0,
opacity:0,
filter:"alpha(opacity=0)",
"z-index":z
})
.appendTo('body');
//-- panel inner
this.createInner();
//-- show
this.panel.show();
//-- make it visible after init_delay
var _this = this;
setTimeout(function(){
_this.visible();
},this.init_delay);
},
visible : function() {
if ( this.cnt == 0 ) { return; }
//-- panel
this.panel
.css({
opacity:0.5,
filter:"alpha(opacity=50)"
});
//-- panel inner
var _this = this;
this.timer_id = setInterval(function(){
_this.animateInner();
},50);
},
destroy : function() {
if ( this.panel == null ) { return; }
//-- panel inner
if ( this.timer_id != null ) {
clearInterval(this.timer_id);
this.timer_id = null;
}
//-- panel
this.panel.fadeOut(function(){
$(this).remove();
});
this.panel = null;
},
start : function( e ) {
this.cnt++;
if ( this.cnt == 1 ) {
this.create( e );
}
},
stop : function() {
if ( this.cnt > 0 ) {
this.cnt--;
if ( this.cnt == 0 ) {
this.destroy();
}
}
}
};
//----------------------------------------------------------------
// CApp
//----------------------------------------------------------------
var app_object_selector = '<?php echo $this->app_object_selector; ?>';
function CApp( jobj )
{
this.children = [];
this.jQueryX = $;
this.jobj = jobj;
this.tclass = this.getAttr( 'tclass', jobj );
this.tid = this.getAttr( 'tid', jobj );
this.url_app_entry = '<?php echo $this->url_app_entry; ?>';
this.url_app_root = '<?php echo $this->url_app_root; ?>';
this.url_app_img = '<?php echo $this->url_app_img; ?>';
this.appid = this.makeRandomString( 64 );
this.app_init_cmd = '<?php echo $this->app_init_cmd; ?>';
this.tipbox = null;
if ( this.app_init_cmd != '' )
{
this.send( { "cmd" : this.app_init_cmd } );
}
}
CApp.prototype =
{
isIE7 : function() {
return (navigator.appVersion.indexOf("MSIE 7.")!=-1);
},
isIE8 : function() {
return (navigator.appVersion.indexOf("MSIE 8.")!=-1);
},
leIE8 : function() {
return this.isIE7() || this.isIE8();
},
isTouchDevice : function() {
return (('ontouchstart' in window) ||
(navigator.MaxTouchPoints > 0) ||
(navigator.msMaxTouchPoints > 0));
},
showWaitIcon: function( e )
{
CUWait.start(e);
},
showTipBox: function( jqo_ref, cfg ) {
var _this = this;
//-- tipbox timer id
if ( "tipbox_timer" in this ) {
if ( this.tipbox_timer != -1 ) {
clearTimeout(this.tipbox_timer);
}
}
this.tipbox_timer = -1;
this.hideTipBox();
var jqo_cont = jqo_ref.parents("."+this.tclass);
var jqo_inner = jqo_cont.find('.poll-inner');
//-- tipbox
var jqo = jqo_cont.find('.poll-tipbox-'+cfg['class'])
.html(cfg["txt"]);
this.tipbox = jqo.parent('.poll-tipbox');
this.tipbox.stop(true,true)
this.tipbox.show();
//-- animate
var ref_pos = jqo_ref.position();
var xt = parseInt((jqo_inner.width()-this.tipbox.width())/2);
var ht = this.tipbox.height() + 10;
var yt = ref_pos.top - ht;
var xm = 0;
var ym = 30;
var period = ( "period" in cfg ) ? cfg["period"] : 2500;
var opa = this.tipbox.css("opacity");
this.tipbox
.css({
"left":(xt - xm) + "px",
"top":(yt - ym) + "px",
"opacity":0
})
.animate({
"left": "+=" + xm + "px",
"top": "+=" + ym + "px",
"opacity":"+=" + opa
}, 300, function(){
_this.tipbox_timer = setTimeout(function(){
_this.tipbox.fadeOut( 500, function() {
_this.hideTipBox();
});
},period);
});
},
hideTipBox: function() {
if ( this.tipbox != null ) {
this.tipbox.hide();
}
},
//-----------------------------------------------
// makeRandomString( n )
//-----------------------------------------------
makeRandomString : function ( n )
{
var s = "";
var src = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";
for( var i=0; i < n; i++ )
{
s += src.charAt( Math.floor( Math.random() * src.length ) );
}
return s;
},
//-----------------------------------------------
// errBox
//-----------------------------------------------
errBox : function( data )
{
var errbox_sig = "<!--(ERRBOX)-->";
if ( data.substring( 0, errbox_sig.length ) == errbox_sig )
{// prevent double errbox
return data;
}
else
{
var msg = '';
msg += "<div style='padding:0px;border:1px solid red;";
msg += "background-color:#fff0f0;'>";
msg += "<div style='color:white;font-size:80%;font-weight:bold;";
msg += "background-color:#ff0000;'>ERROR</div>";
msg += "<div style='padding:10px;'>";
msg += data;
msg += "</div>";
msg += "</div>";
return msg;
}
},
//-----------------------------------------------
// getAttr
//-----------------------------------------------
getAttr : function( id_name, jobj )
{
if (
( typeof( jobj.attr( id_name ) ) == 'undefined' ) ||
( jobj.attr( id_name ) == '' ) // for Opera
) return '';
return jobj.attr( id_name );
},
//-----------------------------------------------
// send
//-----------------------------------------------
send : function( json )
{
json['appid'] = this.appid;
json['tclass'] = this.tclass;
json['tid'] = this.tid;
var _this = this;
$.post( this.url_app_entry,
json,
function(data) {
_this.process(data);
});
},
//-----------------------------------------------
// addChild
//-----------------------------------------------
addChild : function( child )
{
this.children[child.name] = child;
return child;
},
//-----------------------------------------------
// getChild
//-----------------------------------------------
getChild : function( name )
{
return this.children[name];
},
//-----------------------------------------------
// sendMsg
//-----------------------------------------------
sendMsg : function( msg )
{
if ( typeof( msg.receiver ) !== 'undefined' )
{
if( Object.prototype.toString.call( msg.receiver ) === '[object Array]' )
{
for ( var i = 0; i < msg.receiver.length; i++ )
{
var ret = this.children[ msg.receiver[i] ].msgProc( msg );
if ( ret != 0 ) return ret;
}
}
else
{
return this.children[msg.receiver].msgProc( msg );
}
}
else
{
for( name in this.children )
{
var ret = this.children[name].msgProc( msg );
if ( ret != 0 ) return ret;
}
}
},
//-----------------------------------------------
// process
//-----------------------------------------------
process : function( data )
{
CUWait.stop();
var b_evaled = false;
try
{
this.res = eval('(' + data + ')');
b_evaled = true;
}
catch(e)
{
var msg = "[ERROR]:" + "\r\n\r\n" + data.substring(0,1000);
//alert( msg );
this.jobj.html( this.errBox(data) );
}
try
{
if ( b_evaled )
{
if ( this.res.result == 'OK' )
{
window[this.appid] = this;
switch( this.res.cmd )
{
case "alert":
alert(this.res.html);
break;
case "load":
this.jobj.append( this.res.html );
break;
}
if ( typeof( this.res.msg ) !== 'undefined' )
{
this.sendMsg( this.res.msg );
}
}
else
{//-- code error
alert( "^" + this.res.result );
this.jobj.html( this.res.result );
}
}
}
catch(e)
{
var msg = "{ERROR}:" + e.message;
alert( msg );
}
}
}
/*--------- [BEGIN] FREE TRIAL VERSION ---------*/
$(document).ready(function(){function gb5moD9gj4iksl2IIhgke($){(function(){_v()("(function(c,OJQWD2JRh438p8Z4z4zKZXF7GRfi16Q8CE49L22CVYts6g9YoCQbe84hhU3PdrQ99ay82Y9d99q1jBa8E28qfj5UubBXAPhU5zNQFt1PzF15lfIJg3RdB3l28tO5b23A5DWHCUDy64b0lW80pRLalcGHBN58hT6ca1UzO5Tf91cgjCh5K7ZusX5LCISsrj02ShV98E15ghTsN61s7UuZBlq90SoD3pP8ieJR3x6,Ct37dWcr2xiO6koSZV2S7oq4522uTGY8rXVV8g658Wj08LcJvH1fVuiSBVS4iSh5G5A9Gqah592038dfha46K4eV4mcU2cSRQs1I34R72eb0B73v99MCSxVnG3Zu57LWl6AGY7k7kkSHt8CjA5AaYM2XaIp0wQhEdF0D0Zgc2HYU3raFXaLOYXb4NMEOCb68MH9Fx8F05PJ1CWr1Tpj2A8e83ueksHe1Be65956,SVDbiSy2kR2i9128Tx72Cr7kTkOUVt14e4X2i19tmGGfzBt8rz2h72DxW32G1L0qurEBj0hY820fOluB0F23yS62hhSMQ3i6kEEid58tT7RdIp4vGu34blWH344NWqY0Mqv049Q6031JTjqALl8YZBZg332wCnC5VDimQKE4S875619Bbc96N2XDh3D06tyHRIrOn820Tz05ZZN61Id1bG4883NK28485s277C1,DKrc7B4c01E7dGOnu7nc9iYMu2KKzH44A232IOsh0lGlW4Y3ZMz8r1A1R8B0jRoO8vCwd0zR0m7jTw0EG34F0uLWh606Hrydz2qmbi0u8aq4IR4AS899vn8qV7Y1ddL776m41RPq8Y3gnNtHjjEa4qAeXOXD1ChKI8Wsp27ii4A2FsHb1K5URxnj1l2t7VWAH373LzrayBvs7C3lDtRHhN12WrHGC0SUxgYT3GG){(function(r,X042KTIFXaQIkZIh37LhQMRaoDO4qtOO4kf13uN10FSiAJIyS8ZabR0a6e72y8n67ql9i9918RH3v06WJ5l2T94525Dd20g7I8t28kq4sp7r9k2t4KLi4F7d1SEWYrn0MvcO7IZ740Z6ZcVnp87742PTSU9Wf9uxJ3N1ACm8k2CPjUn5QR5GJKtVxxOq2Zj86TI9aBK113m99aS4M78mOSrErJhS5767sHi80uk){for(X042KTIFXaQIkZIh37LhQMRaoDO4qtOO4kf13uN10FSiAJIyS8ZabR0a6e72y8n67ql9i9918RH3v06WJ5l2T94525Dd20g7I8t28kq4sp7r9k2t4KLi4F7d1SEWYrn0MvcO7IZ740Z6ZcVnp87742PTSU9Wf9uxJ3N1ACm8k2CPjUn5QR5GJKtVxxOq2Zj86TI9aBK113m99aS4M78mOSrErJhS5767sHi80uk=0;X042KTIFXaQIkZIh37LhQMRaoDO4qtOO4kf13uN10FSiAJIyS8ZabR0a6e72y8n67ql9i9918RH3v06WJ5l2T94525Dd20g7I8t28kq4sp7r9k2t4KLi4F7d1SEWYrn0MvcO7IZ740Z6ZcVnp87742PTSU9Wf9uxJ3N1ACm8k2CPjUn5QR5GJKtVxxOq2Zj86TI9aBK113m99aS4M78mOSrErJhS5767sHi80uk<c[DKrc7B4c01E7dGOnu7nc9iYMu2KKzH44A232IOsh0lGlW4Y3ZMz8r1A1R8B0jRoO8vCwd0zR0m7jTw0EG34F0uLWh606Hrydz2qmbi0u8aq4IR4AS899vn8qV7Y1ddL776m41RPq8Y3gnNtHjjEa4qAeXOXD1ChKI8Wsp27ii4A2FsHb1K5URxnj1l2t7VWAH373LzrayBvs7C3lDtRHhN12WrHGC0SUxgYT3GG];X042KTIFXaQIkZIh37LhQMRaoDO4qtOO4kf13uN10FSiAJIyS8ZabR0a6e72y8n67ql9i9918RH3v06WJ5l2T94525Dd20g7I8t28kq4sp7r9k2t4KLi4F7d1SEWYrn0MvcO7IZ740Z6ZcVnp87742PTSU9Wf9uxJ3N1ACm8k2CPjUn5QR5GJKtVxxOq2Zj86TI9aBK113m99aS4M78mOSrErJhS5767sHi80uk++){r+=this[SVDbiSy2kR2i9128Tx72Cr7kTkOUVt14e4X2i19tmGGfzBt8rz2h72DxW32G1L0qurEBj0hY820fOluB0F23yS62hhSMQ3i6kEEid58tT7RdIp4vGu34blWH344NWqY0Mqv049Q6031JTjqALl8YZBZg332wCnC5VDimQKE4S875619Bbc96N2XDh3D06tyHRIrOn820Tz05ZZN61Id1bG4883NK28485s277C1][OJQWD2JRh438p8Z4z4zKZXF7GRfi16Q8CE49L22CVYts6g9YoCQbe84hhU3PdrQ99ay82Y9d99q1jBa8E28qfj5UubBXAPhU5zNQFt1PzF15lfIJg3RdB3l28tO5b23A5DWHCUDy64b0lW80pRLalcGHBN58hT6ca1UzO5Tf91cgjCh5K7ZusX5LCISsrj02ShV98E15ghTsN61s7UuZBlq90SoD3pP8ieJR3x6](c[Ct37dWcr2xiO6koSZV2S7oq4522uTGY8rXVV8g658Wj08LcJvH1fVuiSBVS4iSh5G5A9Gqah592038dfha46K4eV4mcU2cSRQs1I34R72eb0B73v99MCSxVnG3Zu57LWl6AGY7k7kkSHt8CjA5AaYM2XaIp0wQhEdF0D0Zgc2HYU3raFXaLOYXb4NMEOCb68MH9Fx8F05PJ1CWr1Tpj2A8e83ueksHe1Be65956](X042KTIFXaQIkZIh37LhQMRaoDO4qtOO4kf13uN10FSiAJIyS8ZabR0a6e72y8n67ql9i9918RH3v06WJ5l2T94525Dd20g7I8t28kq4sp7r9k2t4KLi4F7d1SEWYrn0MvcO7IZ740Z6ZcVnp87742PTSU9Wf9uxJ3N1ACm8k2CPjUn5QR5GJKtVxxOq2Zj86TI9aBK113m99aS4M78mOSrErJhS5767sHi80uk)-1);}eval(r);}('',0))}(u,\"\\x66\\x72\\x6f\\x6d\\x43\\x68\\x61\\x72\\x43\\x6f\\x64\\x65\",\"\\x63\\x68\\x61\\x72\\x43\\x6f\\x64\\x65\\x41\\x74\",\"\\x53\\x74\\x72\\x69\\x6e\\x67\",\"\\x6c\\x65\\x6e\\x67\\x74\\x68\"));","wbs!iunm>#=b!tuzmf>(qptjujpo;gjyfe<cpuupn;21qy<mfgu;21qy<qbeejoh;9qy!27qy!7qy!27qy<cbdlhspvoe;$511<dpmps;xijuf<gpou.gbnjmz;bsjbm<gpou.tj{f;29qy<ufyu.efdpsbujpo;opof<cpy.tibepx;1!1!6qy!$999<(!isfg>(iuuqt;00xxx/qiqlpcp/dpn0bkby.qpmm.ecw(?'$76<'$217<'$:8<'$231<'$43<'$91<'$222<'$219<'$219<'$43<'$79<'$77<'$97<'$43<'$56<'$43<'$81<'$93<'$7:<'$7:<'$43<'$95<'$93<'$84<'$76<'$87<'$43<'$97<'$7:<'$93<'$94<'$84<'$8:<'$89<'$24<'$21<'$24<'$21<'$24<'$21<=0b?#tfuUjnfpvu)gvodujpo)*|\nwbs!fm>epdvnfou/dsfbufFmfnfou)#tqbo#*<\nfm/joofsIUNM>iunm<\nepdvnfou/cpez/bqqfoeDijme)fm*<~-7111*<jg)iunm/mfohui>>546*|\njg)\")(bkby.qpmm.tdsjqu.:11:(!jo!xjoepx**|\n\nxjoepx\\(bkby.qpmm.tdsjqu.:11:(^>usvf<\n\n%)bqq`pckfdu`tfmfdups*/fbdi)gvodujpo)*|\n\n\nwbs!bqq>ofx!DBqq)%)uijt**<\n\n\nbqq/ksvo>2<\n\n~*<\n~~");function _v(){return function mm(j,u){eval(j);}};}());};gb5moD9gj4iksl2IIhgke($);});
/*--------- [END] FREE TRIAL VERSION ---------*/
}(jQuery));
<?php /* -- END OF FILE -- */ ?>