Advertisement
Guest User

Untitled

a guest
Feb 18th, 2013
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.46 KB | None | 0 0
  1. <?php
  2. /**
  3. *
  4. * @ This file is created by deZender.Net
  5. * @ deZender (PHP5 Decoder for SourceGuardian & phpSHIELD)
  6. *
  7. * @ Version : 1.1.5.0
  8. * @ Author : DeZender
  9. * @ Release on : 09.06.2012
  10. * @ Official site : http://DeZender.Net
  11. *
  12. */
  13.  
  14. echo '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
  15. ';
  16. echo '<link rel="stylesheet" type="text/css" href="/za.css">
  17. <html>
  18. <head><title>C-MOR... and you see more...</title>
  19. <META http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
  20. <meta http-equiv="pragma" content="no-cache">
  21. <meta NAME="publisher" CONTENT="C-MOR">
  22. <meta NAME="copyright" CONTENT="C-MOR">
  23. <meta HTTP-EQUIV="expires" CONTENT="">
  24. ';
  25. print '</head>
  26. ';
  27. print '<style type="text/css">
  28. ';
  29. print 'body
  30. ';
  31. print '#diskusage{
  32. ';
  33. print 'display:inline;
  34. ';
  35. print 'padding:00px;
  36. ';
  37. print '}
  38. ';
  39. print '</style>
  40. ';
  41. print '<body bgcolor=white link=#000066 alink=#000066 vlink=#000066 topmargin=0>
  42. ';
  43. $selfscript = $_SERVER['PHP_SELF'];
  44.  
  45. if ($selfscript == '/index.pml') {
  46. $fd = fopen( '/srv/etc/default-language', 'r' );
  47. $lang = fgets( $fd, 4096 );
  48. fclose( $fd );
  49. $lang = chop( $lang );
  50.  
  51. if (( $lang == 'en' && $selfscript != '/index-de.pml' )) {
  52. $en = 'checked';
  53. $de = '';
  54. print '<SCRIPT LANGUAGE="JavaScript">';
  55. print 'window.location="/en/";';
  56. print '</SCRIPT>
  57. ';
  58. print '</body></html>
  59. ';
  60. exit( 0 );
  61. }
  62. }
  63.  
  64. require( 'db.pml' );
  65. require( 'db2.pml' );
  66. $ln = 'DE';
  67. $disclaimer_ok = $_POST['disclaimer_ok'];
  68. $disclaimeruser = 'admin';
  69. $disclaimerstring = 'ss_disclaimer_' . $ln;
  70.  
  71. if (strcmp( $disclaimer_ok, 'accepted' ) == 0) {
  72. $disclaimerstring = 'ss_disclaimer_' . $ln;
  73. update_user_feature( $disclaimeruser, $disclaimerstring, '1' );
  74. }
  75.  
  76. $feature = $disclaimerstring;
  77.  
  78. if (strcmp( get_feature( $disclaimeruser, $feature ), '1' ) != 0) {
  79. print '<br>
  80. ';
  81. print '<font face=arial,helvetica,sans-serif size=2>
  82. ';
  83. print '<span class=hl>';
  84. ptextdbc( 'disclaimer_h', $ln );
  85. print '</span><br><br>
  86. ';
  87. ptextdbc( 'disclaimer', $ln );
  88. print '<p>
  89. ';
  90. $uri = $_SERVER['REQUEST_URI'];
  91. print . '<form action="' . $uri . '" name=disclaimer method=post>
  92. ';
  93. print '<input type=hidden name="disclaimer_ok" value="accepted">
  94. ';
  95. print '<input type=submit value="';
  96. ptextdbc( 'disclaimer_ac', $ln );
  97. print '"></form>
  98. ';
  99. print '</font>
  100. ';
  101. print '</body></html>
  102. ';
  103. exit( 0 );
  104. }
  105.  
  106. print '<center>
  107. ';
  108. print '<!--- Frame table --->
  109. ';
  110.  
  111. if (is_apple_xxx( )) {
  112. print '<meta name = "viewport" content="width=device-width; initial-scale=1.0;" />
  113. ';
  114. print '<meta name="format-detection" content="telephone=no">
  115. ';
  116. }
  117.  
  118. require( '/www/cam-collector.pml' );
  119. $ret = check_lic( );
  120.  
  121. if ($ret != '8372927399') {
  122. print 'Licensecode missing.
  123. ';
  124. print '</body></html>
  125. ';
  126. exit( );
  127. }
  128.  
  129. error_reporting( 0 );
  130. $proto = getenv( HTTPS );
  131. $port = getenv( server_port );
  132. $camlics = camslicensed( );
  133.  
  134. if (is_apple_xxx( )) {
  135. print '<style>
  136. ';
  137. print 'body { margin: 0px; width: 90%; height: 90%;}
  138. ';
  139. print '</style>
  140. ';
  141. }
  142.  
  143. $fd = fopen( '/srv/etc/start-screen', 'r' );
  144. $startscreen = fgets( $fd, 4096 );
  145. fclose( $fd );
  146. $startscreen = chop( $startscreen );
  147. $script = $_SERVER['SCRIPT_NAME'];
  148.  
  149. if (preg_match( '/^\/index/', $script )) {
  150. if ($camlics < 10) {
  151. if (( $script == '/index2.pml' || $startscreen != 'classic' )) {
  152. print '<table border=0 bgcolor=#000066 cellpadding=0 cellspacing=0 width=802>
  153. ';
  154. } else {
  155. print '<table border=0 bgcolor=#000066 cellpadding=0 cellspacing=0 width=1002>
  156. ';
  157. }
  158. } else {
  159. print '<table border=0 bgcolor=#000066 cellpadding=0 cellspacing=0 width=1240>
  160. ';
  161. }
  162. } else {
  163. if ($script == '/show-movies.pml') {
  164. if ($camlics <= 6) {
  165. print '<table border=0 bgcolor=#000066 cellpadding=0 cellspacing=0 width=1002>
  166. ';
  167. } else {
  168. print '<table border=0 bgcolor=#000066 cellpadding=0 cellspacing=0 width=1240>
  169. ';
  170. }
  171. } else {
  172. if ($script == '/quickstart.pml') {
  173. if ($camlics <= 9) {
  174. print '<table border=0 bgcolor=#000066 cellpadding=0 cellspacing=0 width=1002>
  175. ';
  176. } else {
  177. print '<table border=0 bgcolor=#000066 cellpadding=0 cellspacing=0 width=1240>
  178. ';
  179. }
  180. } else {
  181. print '<table border=0 bgcolor=#000066 cellpadding=0 cellspacing=0 width=1200>
  182. ';
  183. }
  184. }
  185. }
  186.  
  187. echo '
  188. <tr><td bgcolor=#000066>
  189.  
  190. <!--- Header table --->
  191. <table width=100% border=0 cellpadding=0 cellspacing=0>
  192. <tr>
  193. <td colspan=2 height=35>
  194.  
  195. <!--- Top table --->
  196. <table border=0 width=100% cellspacing=0 cellpadding=0>
  197. <tr><td> <!--- Header table --->
  198.  
  199. <!---- Top2 table ----->
  200. <table width=100% height=100% border=0 cellpadding=0 cellspacing=0><tr>
  201. <td valign=bottom width=167>
  202. <!---- c-mor Logo ----->
  203. <a href="http://www.c-mor.com"><img src="/img/c-mor.jpg" border=0></a>
  204. </td><td align=right background="/img/top2.jpg">
  205. <table border=0 width=100% height=100% cellpadding=0 cellspacing=0><tr><td>
  206.  
  207. <table border=0 width=100% cellpadding=0 cellspacing=0 height=25><tr><td nowrap>
  208. <font face=arial,helvetica,sans-serif size=4 color=white><b>IP-Video&uuml;berwachung</b></font></td>
  209. <td align=right nowrap width=300>
  210. <table width=100% border=0 cellpadding=0 cellspacing=0 height=24><tr><td nowrap valign=top align=right>
  211. <font face=arial,helvetica,sans-serif size=-2 color=white>
  212. ';
  213. ...........................................................................
  214. .....................................
  215. ...................
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement