Advertisement
Guest User

Untitled

a guest
Jul 13th, 2013
146
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.48 KB | None | 0 0
  1. <?php
  2. /**
  3. *
  4. * @ This file is created by deZender.Net
  5. * @ deZender (PHP5 Decoder for Zend Encoder/SafeGuard & PhpExpress)
  6. *
  7. * @ Version : 1.1.6.0
  8. * @ Author : DeZender
  9. * @ Release on : 02.06.2013
  10. * @ Official site : http://DeZender.Net
  11. *
  12. */
  13.  
  14. if (file_exists( './index2.php' )) {
  15. header( 'location: index2.php' );
  16. }
  17.  
  18. $pagestarttime = microtime( );
  19. include_once( 'inc/auth.php' );
  20. include_once( 'inc/utility_all.php' );
  21. include_once( 'inc/utility_org.php' );
  22. include_once( 'inc/td_core.php' );
  23. ob_end_clean( );
  24. ob_start( );
  25. $POSTFIX = _( '£¬' );
  26. $PARA_ARRAY = get_sys_para( 'DESKTOP_SELF_DEFINE,DESKTOP_LEFT_WIDTH,MYTABLE_BKGROUND,USE_CC' );
  27.  
  28. while (list( $PARA_NAME, $PARA_VALUE ) = each( &$PARA_ARRAY )) {
  29. $$PARA_NAME = $PARA_VALUE;
  30. }
  31.  
  32. $DESKTOP_POS = find_id( $DESKTOP_SELF_DEFINE, 'POS' );
  33. $DESKTOP_WIDTH = find_id( $DESKTOP_SELF_DEFINE, 'WIDTH' );
  34. $DESKTOP_LINES = find_id( $DESKTOP_SELF_DEFINE, 'LINES' );
  35. $DESKTOP_SCROLL = find_id( $DESKTOP_SELF_DEFINE, 'SCROLL' );
  36. $DESKTOP_EXPAND = find_id( $DESKTOP_SELF_DEFINE, 'EXPAND' );
  37.  
  38. if ($DESKTOP_WIDTH) {
  39. (true ? 0 < intval( $_COOKIE['my_width_' . $LOGIN_UID] ) : intval( $_COOKIE['my_width_' . $LOGIN_UID] ));
  40. }
  41.  
  42. $COL_WIDTH_LEFT = $DESKTOP_LEFT_WIDTH;
  43. $DESKTOP_EXPAND_ALL = ( !$DESKTOP_POS || if ($DESKTOP_POS) );
  44. echo '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml10-transitional.dtd">
  45. <html lang="zh-cn" xml:lang="zh-cn" xmlns="http://www.w3.org/1999/xhtml">
  46. <head>
  47. <title>';
  48. echo _( 'Îҵİ칫×À' );
  49. echo '</title>
  50. <meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
  51. <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
  52. <link rel="stylesheet" type="text/css" href="/theme/13/portal.css">
  53. <link rel="stylesheet" type="text/css" href="/theme/';
  54. echo $LOGIN_THEME;
  55. echo '/style.css" />
  56. <link rel="stylesheet" type="text/css" href="/theme/';
  57. echo (find_id( $MYOA_FASHION_THEME, $LOGIN_THEME ) ? 13 : $LOGIN_THEME);
  58. echo '/mytable.css" />
  59. </head>
  60. <script src="/inc/js/ispirit.js"></script>
  61. <script type="text/javascript" src="/inc/js/jquery/jquery.min.js"></script>
  62. <script type="text/javascript" src="/inc/js_lang.php"></script>
  63. <script type="text/javascript" src="/inc/mytable.js"></script>
  64. <script type="text/javascript" src="/inc/js/utility.js"></script>
  65. <script type="text/javascript">
  66. window.setTimeout(\'this.location.reload();\',1200000);
  67. var my_pos=';
  68. echo ($DESKTOP_POS ? 'true' : 'false');
  69. echo ';
  70. var my_width=';
  71. echo $COL_WIDTH_LEFT;
  72. echo ';
  73. var my_expand=';
  74. echo ($DESKTOP_EXPAND_ALL ? 'true' : 'false');
  75. echo ';
  76. function _edit(module_id)
  77. {
  78. show_msg("optionBlock");
  79. $("optionModuleTitle").innerText=$("module_"+module_id+"_text").innerText;
  80. ';
  81.  
  82. if ($DESKTOP_LINES) {
  83. echo ' $(\'display_lines\').focus();
  84. ';
  85. }
  86.  
  87. echo ' $(\'display_lines\').value=lines_per_page(module_id);
  88. $(\'scroll\').checked=getCookie("my_scroll_';
  89. echo $LOGIN_UID;
  90. echo '_"+module_id)=="true";
  91. $(\'col_width\').value=my_width;
  92. $(\'module_id\').value=module_id;
  93. }
  94.  
  95. function call_workflow_user_func(){
  96. window.location.reload();
  97. }
  98. function _resize(module_id)
  99. {
  100. var module_i=$("module_"+module_id);
  101. var head_i=$("module_"+module_id+"_head");
  102. var body_i=$("module_"+module_id+"_body");
  103. var img_i=$("img_resize_"+module_id);
  104. var my_cookie=getCookie("my_expand_';
  105. echo $LOGIN_UID;
  106. echo '");
  107. my_cookie = (my_cookie==null || my_cookie=="undefined") ? "" : my_cookie;//alert(my_cookie)
  108. if(body_i.style.display=="none")
  109. {
  110. module_i.className=module_i.className.substr(0,module_i.className.lastIndexOf(" "));
  111. head_i.className=head_i.className.substr(0,head_i.className.lastIndexOf(" "));
  112. body_i.style.display="block";
  113. if(img_i.className.match("collapse_arrow"))
  114. img_i.className=img_i.className.replace("collapse_arrow","expand_arrow");
  115. img_i.title="';
  116. echo _( 'ÕÛµþ' );
  117. echo '";
  118.  
  119. if(my_cookie.indexOf(module_id+",") == 0)
  120. my_cookie = my_cookie.replace(module_id+",", "");
  121. else if(my_cookie.indexOf(","+module_id+",") > 0)
  122. my_cookie = my_cookie.replace(","+module_id+",", ",");
  123.  
  124. //my_expand=true;
  125. setCookie("my_expand_all_';
  126. echo $LOGIN_UID;
  127. echo '", "");
  128. }
  129. else
  130. {
  131. module_i.className=module_i.className+" listColorCollapsed";
  132. head_i.className=head_i.className+" moduleHeaderCollapsed";
  133. body_i.style.display="none";
  134. if(img_i.className.match("expand_arrow"))
  135. img_i.className=img_i.className.replace("expand_arrow","collapse_arrow");
  136. img_i.title="';
  137. echo _( 'Õ¹¿ª' );
  138. echo '";
  139.  
  140. if(my_cookie.indexOf(module_id+",") != 0 && my_cookie.indexOf(","+module_id+",") <= 0)
  141. my_cookie += module_id+",";
  142. }
  143. setCookie("my_expand_';
  144. echo $LOGIN_UID;
  145. echo '", my_cookie);
  146. }
  147. function resize_all()
  148. {
  149. var img_all_resize=$("img_all_resize");
  150. var imgs=document.getElementsByTagName("a");
  151. var module_id_str="";
  152. for(var i=0;i<imgs.length;i++)
  153. {
  154. if(imgs[i].id.substr(0,11)!="img_resize_")
  155. continue;
  156.  
  157. var module_id=imgs[i].id.substr(11,imgs[i].id.length);
  158. module_id_str+=module_id+",";
  159. if(my_expand && $("module_"+module_id+"_body").style.display!="none" || !my_expand && $("module_"+module_id+"_body").style.display=="none")
  160. _resize(module_id);
  161. }
  162.  
  163. if(my_expand)
  164. {
  165. img_all_resize.className= img_all_resize.className.replace("expand_arrow","collapse_arrow");
  166. setCookie("my_expand_';
  167. echo $LOGIN_UID;
  168. echo '",module_id_str);
  169. }
  170. else
  171. {
  172. img_all_resize.className= img_all_resize.className.replace("collapse_arrow","expand_arrow");
  173. setCookie("my_expand_';
  174. echo $LOGIN_UID;
  175. echo '","");
  176. }
  177.  
  178. my_expand=!my_expand;
  179. setCookie("my_expand_all_';
  180. echo $LOGIN_UID;
  181. echo '", my_expand ? "" : "0");
  182. }
  183. function SetNums()
  184. {
  185. var today_lines=$(\'display_lines\').value;
  186. var col_width=$(\'col_width\').value;
  187. if(today_lines=="" || checkNum(today_lines) || col_width=="" || checkNum(col_width))
  188. {
  189. alert("';
  190. echo _( 'ÏÔʾÌõÊýºÍÀ¸Ä¿¿í¶È±ØÐëÊÇÊý×Ö' );
  191. echo '");
  192. return;
  193. }
  194.  
  195. if(parseInt(today_lines)<=0 || parseInt(today_lines)>=1000)
  196. {
  197. alert("';
  198. echo _( 'ÏÔʾÌõÊý±ØÐëÔÚ1-1000Ö®¼ä' );
  199. echo '");
  200. return;
  201. }
  202. if(parseInt(col_width)<=0 || parseInt(col_width)>100)
  203. {
  204. alert("';
  205. echo _( 'À¸Ä¿¿í¶È±ØÐëÔÚ1-100Ö®¼ä' );
  206. echo '");
  207. return;
  208. }
  209. setCookie("my_nums_';
  210. echo $LOGIN_UID;
  211. echo '_"+$(\'module_id\').value, today_lines);
  212. setCookie("my_scroll_';
  213. echo $LOGIN_UID;
  214. echo '_"+$(\'module_id\').value, $(\'scroll\').checked);
  215. setCookie("my_width_';
  216. echo $LOGIN_UID;
  217. echo '", col_width);
  218.  
  219. my_width=col_width;
  220.  
  221. $("msgBody").style.display = "none";
  222. $("msgCommand").style.display = "none";
  223. $("msgSuccess").style.display = "block";
  224.  
  225. window.location.reload();
  226. }
  227.  
  228. function getId(f)
  229. {
  230. if(!window.top.func_array)
  231. {
  232. if(f=="f17")
  233. window.location="../../info/unit/" ;
  234. else if(f=="f18")
  235. window.location="../../info/dept/" ;
  236. else if(f=="f19")
  237. window.location="../../info/user/" ;
  238. }
  239. else
  240. window.top.openURL(f, window.top.func_array[f][0], window.top.func_array[f][1]);
  241. }
  242. ............................................................................
  243. ..........................................
  244. ...................
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement