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 ionCube Encoder)
- *
- * @ Version : 1.1.3.0
- * @ Author : DeZender
- * @ Release on : 17.05.2011
- * @ Official site : http://DeZender.Net
- *
- */
- $file = 'export_data';
- include( 'config.inc.php' );
- if (!isset( $_COOKIE['inout_admin'] )) {
- header( 'Location:index.php' );
- exit( 0 );
- }
- $inout_username = $_COOKIE['inout_admin'];
- $inout_password = $_COOKIE['inout_pass'];
- if (!( $inout_username == md5( $username ) && $inout_password == md5( $password ) )) {
- header( 'Location:index.php' );
- exit( 0 );
- }
- $lic_data = '';
- $php_self = $_SERVER['HTTP_HOST'];
- if ($fp_license = fopen( 'http://www.inoutscripts.com/validate_license/' . 'adserveradv' . '/' . ( '' . $license_key ) . '/' . ( '' . $php_self ), 'r' )) {
- while (!feof( $fp_license )) {
- $lic_data .= fgetc( $fp_license );
- }
- if ($lic_data != '1') {
- include( 'admin.header.inc.php' );
- echo '<br>Failed to validate the license key. Please verify the license key that you have entered in the config.inc.php file. <br>';
- include( 'admin.footer.inc.php' );
- exit( );
- }
- fclose( $fp_license );
- } else {
- if (function_exists( 'curl_init' )) {
- $ch = curl_init( );
- curl_setopt( $ch, CURLOPT_URL, 'http://www.inoutscripts.com/validate_license/' . 'adserveradv' . '/' . ( '' . $license_key ) . '/' . ( '' . $php_self ) );
- curl_setopt( $ch, CURLOPT_HEADER, 0 );
- curl_setopt( $ch, CURLOPT_RETURNTRANSFER, 1 );
- $content = curl_exec( $ch );
- curl_close( $ch );
- $lic_data = $content;
- if ($lic_data != '1') {
- include( 'admin.header.inc.php' );
- echo '<br>Failed to validate the license key. Please verify the license key that you have entered in the config.inc.php file. <br>';
- include( 'admin.footer.inc.php' );
- exit( );
- }
- } else {
- include( 'admin.header.inc.php' );
- 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>';
- include( 'admin.footer.inc.php' );
- exit( );
- }
- }
- include_once( 'admin.header.inc.php' );
- echo '<s';
- echo 'tyle type="text/css">
- <!--
- .style7 {color: #000000; font-size: 20px; }
- -->
- </style>
- <link href="style.css" rel="stylesheet" type="text/css">
- ';
- echo '<s';
- echo 'cript language="javascript">
- function check_value()
- {
- if(document.getElementById(\'publisher_referral\').value=="")
- {
- //refresh();
- alert("Please enter publisher referral profit percent");
- //document.form1.ppc_engine_name.focus();
- return false;
- }
- if(document.getElementById(\'advertiser_referral\').value=="")
- {
- //refresh();
- aler';
- echo 't("Please enter advertiser referral profit percent");
- //document.form1.ppc_engine_name.focus();
- return false;
- }
- }
- </script>
- ';
- $value1 = $mysql->echo_one( 'select value from ppc_settings where name=\'advertiser_referral_profit\'' );
- $value2 = $mysql->echo_one( 'select value from ppc_settings where name=\'publisher_referral_profit\'' );
- echo '<form name="form1" method="post" action="ppc-setting-action.php" onSubmit="return check_value()">
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr align="center">
- <td height="60" colspan="6" scope="row">';
- echo '<s';
- echo 'pan class="style7"><br>
- <u>Referral Settings </u></span></td>
- </tr>
- <tr>
- <td width="11%" scope="row"> </td>
- <td width="31%"> </td>
- <td width="1%"> </td>
- <td width="9%"> </td>
- <td width="41%"> </td>
- <td width="7%"> </td>
- </tr>
- <tr align="left">
- <td height="25" colspan="6"><div align="left">
- <p class="inserted">';
- 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>
- </div></td>
- </tr>
- <tr>
- <td height="24" scope="row"> </td>
- <td> </td>
- <td> </td>
- <td> </td>
- <td> </td>
- <td> </td>
- </tr>
- <tr>
- <td height="2';
- echo '4" scope="row"> </td>
- <td>Referral system </td>
- <td>';
- echo '<s';
- echo 'pan class="pagetable_activecell">:</span></td>
- <td>';
- echo '<s';
- echo 'elect name="referral" id="referral">
- <option value="1" ';
- if ($referral_system == 1) {
- echo ' selected';
- }
- echo '>Yes</option>
- <option value="0" ';
- if ($referral_system == 0) {
- echo ' selected';
- }
- .....................
- ........
- ...
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement