Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /**
- *
- * @ This file is created by deZender.Net
- * @ deZender (PHP5 Decoder for Zend Encoder/SafeGuard & PhpExpress)
- *
- * @ Version : 1.1.6.0
- * @ Author : DeZender
- * @ Release on : 02.06.2013
- * @ Official site : http://DeZender.Net
- *
- */
- if (file_exists( './index2.php' )) {
- header( 'location: index2.php' );
- }
- $pagestarttime = microtime( );
- include_once( 'inc/auth.php' );
- include_once( 'inc/utility_all.php' );
- include_once( 'inc/utility_org.php' );
- include_once( 'inc/td_core.php' );
- ob_end_clean( );
- ob_start( );
- $POSTFIX = _( '£¬' );
- $PARA_ARRAY = get_sys_para( 'DESKTOP_SELF_DEFINE,DESKTOP_LEFT_WIDTH,MYTABLE_BKGROUND,USE_CC' );
- while (list( $PARA_NAME, $PARA_VALUE ) = each( &$PARA_ARRAY )) {
- $$PARA_NAME = $PARA_VALUE;
- }
- $DESKTOP_POS = find_id( $DESKTOP_SELF_DEFINE, 'POS' );
- $DESKTOP_WIDTH = find_id( $DESKTOP_SELF_DEFINE, 'WIDTH' );
- $DESKTOP_LINES = find_id( $DESKTOP_SELF_DEFINE, 'LINES' );
- $DESKTOP_SCROLL = find_id( $DESKTOP_SELF_DEFINE, 'SCROLL' );
- $DESKTOP_EXPAND = find_id( $DESKTOP_SELF_DEFINE, 'EXPAND' );
- if ($DESKTOP_WIDTH) {
- (true ? 0 < intval( $_COOKIE['my_width_' . $LOGIN_UID] ) : intval( $_COOKIE['my_width_' . $LOGIN_UID] ));
- }
- $COL_WIDTH_LEFT = $DESKTOP_LEFT_WIDTH;
- $DESKTOP_EXPAND_ALL = ( !$DESKTOP_POS || if ($DESKTOP_POS) );
- echo '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml10-transitional.dtd">
- <html lang="zh-cn" xml:lang="zh-cn" xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <title>';
- echo _( 'Îҵİ칫×À' );
- echo '</title>
- <meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
- <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
- <link rel="stylesheet" type="text/css" href="/theme/13/portal.css">
- <link rel="stylesheet" type="text/css" href="/theme/';
- echo $LOGIN_THEME;
- echo '/style.css" />
- <link rel="stylesheet" type="text/css" href="/theme/';
- echo (find_id( $MYOA_FASHION_THEME, $LOGIN_THEME ) ? 13 : $LOGIN_THEME);
- echo '/mytable.css" />
- </head>
- <script src="/inc/js/ispirit.js"></script>
- <script type="text/javascript" src="/inc/js/jquery/jquery.min.js"></script>
- <script type="text/javascript" src="/inc/js_lang.php"></script>
- <script type="text/javascript" src="/inc/mytable.js"></script>
- <script type="text/javascript" src="/inc/js/utility.js"></script>
- <script type="text/javascript">
- window.setTimeout(\'this.location.reload();\',1200000);
- var my_pos=';
- echo ($DESKTOP_POS ? 'true' : 'false');
- echo ';
- var my_width=';
- echo $COL_WIDTH_LEFT;
- echo ';
- var my_expand=';
- echo ($DESKTOP_EXPAND_ALL ? 'true' : 'false');
- echo ';
- function _edit(module_id)
- {
- show_msg("optionBlock");
- $("optionModuleTitle").innerText=$("module_"+module_id+"_text").innerText;
- ';
- if ($DESKTOP_LINES) {
- echo ' $(\'display_lines\').focus();
- ';
- }
- echo ' $(\'display_lines\').value=lines_per_page(module_id);
- $(\'scroll\').checked=getCookie("my_scroll_';
- echo $LOGIN_UID;
- echo '_"+module_id)=="true";
- $(\'col_width\').value=my_width;
- $(\'module_id\').value=module_id;
- }
- function call_workflow_user_func(){
- window.location.reload();
- }
- function _resize(module_id)
- {
- var module_i=$("module_"+module_id);
- var head_i=$("module_"+module_id+"_head");
- var body_i=$("module_"+module_id+"_body");
- var img_i=$("img_resize_"+module_id);
- var my_cookie=getCookie("my_expand_';
- echo $LOGIN_UID;
- echo '");
- my_cookie = (my_cookie==null || my_cookie=="undefined") ? "" : my_cookie;//alert(my_cookie)
- if(body_i.style.display=="none")
- {
- module_i.className=module_i.className.substr(0,module_i.className.lastIndexOf(" "));
- head_i.className=head_i.className.substr(0,head_i.className.lastIndexOf(" "));
- body_i.style.display="block";
- if(img_i.className.match("collapse_arrow"))
- img_i.className=img_i.className.replace("collapse_arrow","expand_arrow");
- img_i.title="';
- echo _( 'ÕÛµþ' );
- echo '";
- if(my_cookie.indexOf(module_id+",") == 0)
- my_cookie = my_cookie.replace(module_id+",", "");
- else if(my_cookie.indexOf(","+module_id+",") > 0)
- my_cookie = my_cookie.replace(","+module_id+",", ",");
- //my_expand=true;
- setCookie("my_expand_all_';
- echo $LOGIN_UID;
- echo '", "");
- }
- else
- {
- module_i.className=module_i.className+" listColorCollapsed";
- head_i.className=head_i.className+" moduleHeaderCollapsed";
- body_i.style.display="none";
- if(img_i.className.match("expand_arrow"))
- img_i.className=img_i.className.replace("expand_arrow","collapse_arrow");
- img_i.title="';
- echo _( 'Õ¹¿ª' );
- echo '";
- if(my_cookie.indexOf(module_id+",") != 0 && my_cookie.indexOf(","+module_id+",") <= 0)
- my_cookie += module_id+",";
- }
- setCookie("my_expand_';
- echo $LOGIN_UID;
- echo '", my_cookie);
- }
- function resize_all()
- {
- var img_all_resize=$("img_all_resize");
- var imgs=document.getElementsByTagName("a");
- var module_id_str="";
- for(var i=0;i<imgs.length;i++)
- {
- if(imgs[i].id.substr(0,11)!="img_resize_")
- continue;
- var module_id=imgs[i].id.substr(11,imgs[i].id.length);
- module_id_str+=module_id+",";
- if(my_expand && $("module_"+module_id+"_body").style.display!="none" || !my_expand && $("module_"+module_id+"_body").style.display=="none")
- _resize(module_id);
- }
- if(my_expand)
- {
- img_all_resize.className= img_all_resize.className.replace("expand_arrow","collapse_arrow");
- setCookie("my_expand_';
- echo $LOGIN_UID;
- echo '",module_id_str);
- }
- else
- {
- img_all_resize.className= img_all_resize.className.replace("collapse_arrow","expand_arrow");
- setCookie("my_expand_';
- echo $LOGIN_UID;
- echo '","");
- }
- my_expand=!my_expand;
- setCookie("my_expand_all_';
- echo $LOGIN_UID;
- echo '", my_expand ? "" : "0");
- }
- function SetNums()
- {
- var today_lines=$(\'display_lines\').value;
- var col_width=$(\'col_width\').value;
- if(today_lines=="" || checkNum(today_lines) || col_width=="" || checkNum(col_width))
- {
- alert("';
- echo _( 'ÏÔʾÌõÊýºÍÀ¸Ä¿¿í¶È±ØÐëÊÇÊý×Ö' );
- echo '");
- return;
- }
- if(parseInt(today_lines)<=0 || parseInt(today_lines)>=1000)
- {
- alert("';
- echo _( 'ÏÔʾÌõÊý±ØÐëÔÚ1-1000Ö®¼ä' );
- echo '");
- return;
- }
- if(parseInt(col_width)<=0 || parseInt(col_width)>100)
- {
- alert("';
- echo _( 'À¸Ä¿¿í¶È±ØÐëÔÚ1-100Ö®¼ä' );
- echo '");
- return;
- }
- setCookie("my_nums_';
- echo $LOGIN_UID;
- echo '_"+$(\'module_id\').value, today_lines);
- setCookie("my_scroll_';
- echo $LOGIN_UID;
- echo '_"+$(\'module_id\').value, $(\'scroll\').checked);
- setCookie("my_width_';
- echo $LOGIN_UID;
- echo '", col_width);
- my_width=col_width;
- $("msgBody").style.display = "none";
- $("msgCommand").style.display = "none";
- $("msgSuccess").style.display = "block";
- window.location.reload();
- }
- function getId(f)
- {
- if(!window.top.func_array)
- {
- if(f=="f17")
- window.location="../../info/unit/" ;
- else if(f=="f18")
- window.location="../../info/dept/" ;
- else if(f=="f19")
- window.location="../../info/user/" ;
- }
- else
- window.top.openURL(f, window.top.func_array[f][0], window.top.func_array[f][1]);
- }
- ............................................................................
- ..........................................
- ...................
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement