Advertisement
Guest User

Untitled

a guest
Oct 17th, 2011
151
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.72 KB | None | 0 0
  1. <?php
  2. /**
  3. *
  4. * @ This file is created by deZender.Net
  5. * @ deZender (PHP5 Decoder for ionCube Encoder)
  6. *
  7. * @ Version : 1.1.3.0
  8. * @ Author : DeZender
  9. * @ Release on : 17.05.2011
  10. * @ Official site : http://DeZender.Net
  11. *
  12. */
  13.  
  14. $file = 'export_data';
  15. include( 'config.inc.php' );
  16.  
  17. if (!isset( $_COOKIE['inout_admin'] )) {
  18. header( 'Location:index.php' );
  19. exit( 0 );
  20. }
  21.  
  22. $inout_username = $_COOKIE['inout_admin'];
  23. $inout_password = $_COOKIE['inout_pass'];
  24.  
  25. if (!( $inout_username == md5( $username ) && $inout_password == md5( $password ) )) {
  26. header( 'Location:index.php' );
  27. exit( 0 );
  28. }
  29.  
  30. $lic_data = '';
  31. $php_self = $_SERVER['HTTP_HOST'];
  32.  
  33. if ($fp_license = fopen( 'http://www.inoutscripts.com/validate_license/' . 'adserveradv' . '/' . ( '' . $license_key ) . '/' . ( '' . $php_self ), 'r' )) {
  34. while (!feof( $fp_license )) {
  35. $lic_data .= fgetc( $fp_license );
  36. }
  37.  
  38.  
  39. if ($lic_data != '1') {
  40. include( 'admin.header.inc.php' );
  41. echo '<br>Failed to validate the license key. Please verify the license key that you have entered in the config.inc.php file. <br>';
  42. include( 'admin.footer.inc.php' );
  43. exit( );
  44. }
  45.  
  46. fclose( $fp_license );
  47. } else {
  48. if (function_exists( 'curl_init' )) {
  49. $ch = curl_init( );
  50. curl_setopt( $ch, CURLOPT_URL, 'http://www.inoutscripts.com/validate_license/' . 'adserveradv' . '/' . ( '' . $license_key ) . '/' . ( '' . $php_self ) );
  51. curl_setopt( $ch, CURLOPT_HEADER, 0 );
  52. curl_setopt( $ch, CURLOPT_RETURNTRANSFER, 1 );
  53. $content = curl_exec( $ch );
  54. curl_close( $ch );
  55. $lic_data = $content;
  56.  
  57. if ($lic_data != '1') {
  58. include( 'admin.header.inc.php' );
  59. echo '<br>Failed to validate the license key. Please verify the license key that you have entered in the config.inc.php file. <br>';
  60. include( 'admin.footer.inc.php' );
  61. exit( );
  62. }
  63. } else {
  64. include( 'admin.header.inc.php' );
  65. echo '<br>An error has occurred while validating your license. Please click the refresh button of your browser and try again. If you repeatedly getting the error please contact inoutscripts support desk.<br>';
  66. include( 'admin.footer.inc.php' );
  67. exit( );
  68. }
  69. }
  70.  
  71. include_once( 'admin.header.inc.php' );
  72. echo '<s';
  73. echo 'tyle type="text/css">
  74. <!--
  75. .style7 {color: #000000; font-size: 20px; }
  76. -->
  77. </style>
  78. <link href="style.css" rel="stylesheet" type="text/css">
  79. ';
  80. echo '<s';
  81. echo 'cript language="javascript">
  82. function check_value()
  83. {
  84. if(document.getElementById(\'publisher_referral\').value=="")
  85. {
  86. //refresh();
  87. alert("Please enter publisher referral profit percent");
  88. //document.form1.ppc_engine_name.focus();
  89. return false;
  90. }
  91. if(document.getElementById(\'advertiser_referral\').value=="")
  92. {
  93. //refresh();
  94. aler';
  95. echo 't("Please enter advertiser referral profit percent");
  96. //document.form1.ppc_engine_name.focus();
  97. return false;
  98. }
  99. }
  100. </script>
  101.  
  102. ';
  103. $value1 = $mysql->echo_one( 'select value from ppc_settings where name=\'advertiser_referral_profit\'' );
  104. $value2 = $mysql->echo_one( 'select value from ppc_settings where name=\'publisher_referral_profit\'' );
  105. echo '<form name="form1" method="post" action="ppc-setting-action.php" onSubmit="return check_value()">
  106. <table width="100%" border="0" cellspacing="0" cellpadding="0">
  107. <tr align="center">
  108. <td height="60" colspan="6" scope="row">';
  109. echo '<s';
  110. echo 'pan class="style7"><br>
  111. <u>Referral Settings </u></span></td>
  112. </tr>
  113. <tr>
  114. <td width="11%" scope="row">&nbsp;</td>
  115. <td width="31%">&nbsp;</td>
  116. <td width="1%">&nbsp;</td>
  117. <td width="9%">&nbsp;</td>
  118. <td width="41%">&nbsp;</td>
  119. <td width="7%">&nbsp;</td>
  120. </tr>
  121. <tr align="left">
  122. <td height="25" colspan="6"><div align="left">
  123. <p class="inserted">';
  124. echo ' Specify the percentage of profit for advertiser and publisher referrals. The referral payment is based on clicks recieved by the referred advertisers and publishers. </p>
  125. </div></td>
  126. </tr>
  127. <tr>
  128. <td height="24" scope="row">&nbsp;</td>
  129. <td>&nbsp;</td>
  130. <td>&nbsp;</td>
  131. <td>&nbsp;</td>
  132. <td>&nbsp;</td>
  133. <td>&nbsp;</td>
  134. </tr>
  135. <tr>
  136. <td height="2';
  137. echo '4" scope="row">&nbsp;</td>
  138. <td>Referral system </td>
  139. <td>';
  140. echo '<s';
  141. echo 'pan class="pagetable_activecell">:</span></td>
  142. <td>';
  143. echo '<s';
  144. echo 'elect name="referral" id="referral">
  145. <option value="1" ';
  146.  
  147. if ($referral_system == 1) {
  148. echo ' selected';
  149. }
  150.  
  151. echo '>Yes</option>
  152. <option value="0" ';
  153.  
  154. if ($referral_system == 0) {
  155. echo ' selected';
  156. }
  157. .....................
  158. ........
  159. ...
  160.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement