SpiritSoft Software Code HAcks


SUBMITTED BY: xththx

DATE: Sept. 26, 2017, 3:54 p.m.

FORMAT: HTML+PHP

SIZE: 9.5 kB

HITS: 1209

  1. <td style="width:1000px;">
  2. <table style="height:100%;" cellspacing="0" cellpadding="0">
  3. <tbody><tr>
  4. <td style="width:323px;"><img src="images/logo.jpg"></td>
  5. <td style="width:100%;">
  6. <table style="height:100%;" cellspacing="0" cellpadding="0">
  7. <tbody><tr>
  8. <td style="width:100%;height:0px;"></td>
  9. <td style="width:100px;"></td>
  10. <td style="width:100px;"></td>
  11. <td style="width:100px;"></td>
  12. <td style="width:100px;"></td>
  13. <td style="width:100px;"></td>
  14. <td style="width:100px;"></td>
  15. <td style="width:50px;"></td>
  16. </tr>
  17. <tr>
  18. <td colspan="8" style="height:47px;">
  19. <table style="widht:100%;height:100%;" cellspacing="0" cellpadding="0">
  20. <tbody><tr>
  21. <td style="width:100%;height:100%;text-align:right;padding-top:0px;"></td>
  22. <td style="width:133;text-align:right;padding-top:2px;"></td>
  23. <td style="width:30px;text-align:right;padding-top:0px;"><img src="images/service.png"></td>
  24. <td style="width:133;text-align:right;padding-top:2px;"><a href="http://service.spiritsoft.cn" target="_blank">精灵软件在线服务中心</a></td>
  25. </tr>
  26. </tbody></table>
  27. </td>
  28. </tr>
  29. <tr class="menu">
  30. <td style="height:44px;"></td>
  31. <td style="text-align:center;background-image:url('images/menu_focus.png');background-repeat:no-repeat;background-position:center;"><a target="_self" href="#">首页</a></td>
  32. <td style="text-align:center;"><a target="_self" href="product.php">产品介绍</a></td>
  33. <td style="text-align:center;"><a target="_self" href="optimize.php">流量优化</a></td>
  34. <td style="text-align:center;"><a target="_self" href="useit.php">使用帮助</a></td>
  35. <td style="text-align:center;"><a target="_self" href="aq.php">常见问题</a></td>
  36. <td style="text-align:center;"><a target="_self" href="blog.php">升级日志</a></td>
  37. <td></td>
  38. </tr>
  39. <tr>
  40. <td colspan="8" style="height:100%;"></td>
  41. </tr>
  42. </tbody></table>
  43. </td>
  44. </tr>
  45. </tbody></table>
  46. <div id="Div_Back" style="z-index: 101; position: absolute; top: 0px; left: 0px; width: 100%; height: 100%; background-color: rgb(0, 0, 0); opacity: 0.6; display: none;"></div>
  47. <div id="Div_NewVersion" style="display:none;width:520px;height:520px;background-color:#FFFFFF;z-index:201;position:absolute;top:0px;left:0px;border:solid 2px #D5D5D5;">
  48. <table style="width:100%;" cellspacing="0" cellpadding="0">
  49. <tbody><tr>
  50. <td style="height:70px;text-align:center;">
  51. <table style="width:100%;" cellspacing="0" cellpadding="0">
  52. <tbody><tr>
  53. <td style="width:30%;height:70px;text-align:right;"><img src="images/face.gif" style="width:70px;height:70px;"></td>
  54. <td style="width:70%;font-size:30px;font-weight:bolder;padding-left:10px;padding-top:20px;color:red;">哇,有新版本了!</td>
  55. </tr>
  56. </tbody></table>
  57. </td>
  58. </tr>
  59. <tr>
  60. <td style="height:40px;text-align:center;"><a target="_self" href="http://www.ipjingling.com" style="font-size:20px;color:green;">立即使用新版本</a></td>
  61. </tr>
  62. <tr>
  63. <td style="height:20px;text-align:center;"><a target="_self" href="javascript:void(0)" onclick="CloseBack()" style="font-size:14px;color:gray;">暂时使用旧版本</a></td>
  64. </tr>
  65. <tr>
  66. <td style="height:390px;text-align:center;vertical-align:middle;"><img src="images/new_ui.png"></td>
  67. </tr>
  68. </tbody></table>
  69. </div>
  70. <div id="Div_NewVersion2" style="width: 520px; height: 520px; background-color: rgb(255, 255, 255); z-index: 201; position: absolute; top: 125.667px; left: 378px; border: 2px solid rgb(213, 213, 213); display: none;">
  71. <table style="width:100%;" cellspacing="0" cellpadding="0">
  72. <tbody><tr>
  73. <td style="height:70px;text-align:center;">
  74. <table style="width:100%;" cellspacing="0" cellpadding="0">
  75. <tbody><tr>
  76. <td style="width:25%;height:70px;text-align:right;"><img src="images/face.gif" style="width:70px;height:70px;"></td>
  77. <td style="width:75%;font-size:20px;font-weight:bolder;padding-left:10px;padding-top:20px;color:red;">Wow,english version is coming!</td>
  78. </tr>
  79. </tbody></table>
  80. </td>
  81. </tr>
  82. <tr>
  83. <td style="height:40px;text-align:center;"><a target="_self" href="http://www.ipts.com" style="font-size:20px;color:green;">English version now</a></td>
  84. </tr>
  85. <tr>
  86. <td style="height:20px;text-align:center;"><a target="_self" href="javascript:void(0)" onclick="CloseBack()" style="font-size:14px;color:gray;">Stay Here</a></td>
  87. </tr>
  88. <tr>
  89. <td style="height:390px;text-align:center;vertical-align:middle;"><img src="images/new_ui2.png"></td>
  90. </tr>
  91. </tbody></table>
  92. </div>
  93. <script language="JavaScript" type="text/javascript">
  94. var Cookies = {};
  95. Cookies.set = function(name, value){
  96. var dTime = new Date();
  97. dTime.setYear(dTime.getFullYear() + 1);
  98. var argv = arguments;
  99. var argc = arguments.length;
  100. var expires = (argc > 2) ? argv[2] : dTime;
  101. var path = (argc > 3) ? argv[3] : '/';
  102. var domain = (argc > 4) ? argv[4] : null;
  103. var secure = (argc > 5) ? argv[5] : false;
  104. document.cookie = name + "=" + escape (value) +
  105. ((expires == null) ? "" : ("; expires=" + expires.toGMTString())) +
  106. ((path == null) ? "" : ("; path=" + path)) +
  107. ((domain == null) ? "" : ("; domain=" + domain)) +
  108. ((secure == true) ? "; secure" : "");
  109. };
  110. Cookies.get = function(name){
  111. var arg = name + "=";
  112. var alen = arg.length;
  113. var clen = document.cookie.length;
  114. var i = 0;
  115. var j = 0;
  116. while(i < clen){
  117. j = i + alen;
  118. if (document.cookie.substring(i, j) == arg)
  119. return Cookies.getCookieVal(j);
  120. i = document.cookie.indexOf(" ", i) + 1;
  121. if(i == 0)
  122. break;
  123. }
  124. return null;
  125. };
  126. Cookies.clear = function(name) {
  127. if(Cookies.get(name)){
  128. var expdate = new Date();
  129. expdate.setTime(expdate.getTime() - (86400 * 1000 * 1));
  130. Cookies.set(name, "", expdate);
  131. }
  132. };
  133. Cookies.getCookieVal = function(offset){
  134. var endstr = document.cookie.indexOf(";", offset);
  135. if(endstr == -1){
  136. endstr = document.cookie.length;
  137. }
  138. return unescape(document.cookie.substring(offset, endstr));
  139. };
  140. function OpenBack()
  141. {
  142. var strLanguage = "";
  143. if (navigator.systemLanguage == undefined)
  144. {
  145. strLanguage = navigator.language;
  146. }
  147. else
  148. {
  149. strLanguage = navigator.systemLanguage;
  150. }
  151. if (!(strLanguage.indexOf('zh') > -1))
  152. {
  153. if (!(parseInt(Math.random() * 100 + 1) <= 100))
  154. {
  155. return;
  156. }
  157. }
  158. else
  159. {
  160. if (!(parseInt(Math.random() * 100 + 1) <= 0))
  161. {
  162. return;
  163. }
  164. }
  165. var nTimes = Cookies.get("nowtime");
  166. var nowDate = new Date();
  167. if ((null != nTimes) && ((nowDate.getTime() - parseInt(nTimes)) < 86400000 * 1))
  168. {
  169. return;
  170. }
  171. var nHeight = document.body.scrollHeight - document.body.clientHeight;
  172. var nWidth = document.body.scrollWidth;
  173. var objBack = document.getElementById("Div_Back");
  174. if (nHeight >= 0)
  175. {
  176. objBack.style.Height = document.body.scrollHeight;
  177. }
  178. else
  179. {
  180. objBack.style.Height = document.body.clientHeight;
  181. }
  182. objBack.style.Width = nWidth;
  183. objBack.style.display = "";
  184. var objNewVersion = {};
  185. if (!(strLanguage.indexOf('zh') > -1))
  186. {
  187. objNewVersion = document.getElementById("Div_NewVersion2");
  188. }
  189. else
  190. {
  191. objNewVersion = document.getElementById("Div_NewVersion");
  192. }
  193. objNewVersion.style.display = "";
  194. if (navigator.userAgent.indexOf("MSIE") == -1)
  195. {
  196. nHeight = parseInt(objNewVersion.offsetHeight);
  197. nWidth = parseInt(objNewVersion.offsetWidth);
  198. }
  199. else
  200. {
  201. nHeight = parseInt(objNewVersion.style.Height);
  202. nWidth = parseInt(objNewVersion.style.Width);
  203. }
  204. nHeight = (document.body.clientHeight - nHeight) / 3;
  205. nWidth = (document.body.clientWidth - nWidth) / 2;
  206. nWidth = (nWidth > 0) ? nWidth : 0;
  207. if (navigator.userAgent.indexOf("MSIE") == -1)
  208. {
  209. objNewVersion.style.top = document.body.scrollTop + nHeight;
  210. objNewVersion.style.left = nWidth;
  211. }
  212. else
  213. {
  214. objNewVersion.style.Top = document.body.scrollTop + nHeight;
  215. objNewVersion.style.Left = nWidth;
  216. }
  217. }
  218. function CloseBack()
  219. {
  220. var objBack = document.getElementById("Div_Back");
  221. objBack.style.display = "none";
  222. objBack = null;
  223. var objNewVersion = document.getElementById("Div_NewVersion");
  224. var objNewVersion2 = document.getElementById("Div_NewVersion2");
  225. objNewVersion.style.display = "none";
  226. objNewVersion2.style.display = "none";
  227. objNewVersion = null;
  228. objNewVersion2 = null;
  229. var nowDate = new Date();
  230. Cookies.set("nowtime", nowDate.getTime());
  231. }
  232. OpenBack();
  233. </script>
  234. </td>

comments powered by Disqus