epaperApikeyConnect(); global $wp_version; $epaper_options = get_option("plugin_epaper_options"); if (!is_array( $epaper_options )) { $epaper_options = array( 'url' => '', 'email' => '', 'wordpressapi' => 'http://epaperplugin.1kcloud.com/api/v2/wordpress-wsdl/', 'text' => '', 'urlapikey' => '', 'apikey' => '', 'code' => '', 'newsletter' => '', ); } if (isset($_POST['on'])) { $email = $_POST['apikey_email']; $wordpress = $_POST['apikey_wordpress']; $text = $_POST['apikey_text']; $wordpresscode = $_POST['apikey_wordpresscode']; $phpupload = $_POST['apikey_phpupload']; $phptime = $_POST['apikey_phptime']; $newsletter = $_POST['newsletter']; $language = __("en",'1000grad-epaper'); $agb = $_POST['agb']; $version_wordpress = $wp_version; $version_php = phpversion(); _e("Acquiring data.",'1000grad-epaper'); _e("
Please have a look into your email inbox for confirmation code.",'1000grad-epaper'); $epaper_options['email'] = $email; $epaper_options['text'] = $text; update_option("plugin_epaper_options", $epaper_options); try { $email=json_decode($testapikey->getRegistrationCodeByEmail( $email,$text,$wordpress,$phpupload,$phptime,$wordpresscode,$agb,$newsletter,$version_wordpress,$version_php,$language)); } catch (SoapFault $e) { echo '
Error '.$e->getMessage().''; if ($e->getMessage()=="(605) no valid email adress") _e("
Email adress is not valid.",'1000grad-epaper'); } } global $wp_version; $max_upload = (int)(ini_get('upload_max_filesize')); $max_post = (int)(ini_get('post_max_size')); $memory_limit = (int)(ini_get('memory_limit')); $max_execution_time= (int)(ini_get('max_execution_time')); $max_input_time= (int)(ini_get('max_input_time')); $upload_mb = min($max_upload, $max_post, $memory_limit); $uptime_mb = min($max_execution_time,$max_input_time); ?>

1000°ePaper

Error, there is NO CURL installed at your wordpress system!",'1000grad-epaper'); _e("
Please install it first!
apt-get install php5-curl",'1000grad-epaper'); exit(); } ?>


terms of use and I agree.",'1000grad-epaper'); ?>

" class="button" />

Confirmation code was entered:",'1000grad-epaper'); echo " "; echo $code; try { $result=json_decode($testapikey->SendCodeGetApikey($email,$code)); } catch (SoapFault $e) {echo '
API-Fehler. '.$e->getMessage().''; return false;} _e("

Your new settings are:

",'1000grad-epaper');
  print_r($result);
  echo "
"; // $epaper_options['code'] = $code; $epaper_options['url']=$result->apiurl; $epaper_options['apikey']=$result->apikey; update_option("plugin_epaper_options", $epaper_options); _e("

Now you can use this ePaper Plugin!.",'1000grad-epaper'); ?>

"")) { ?>



"; echo "
"; echo "
"; ?>

Kontakt

epaperContact(); echo "
"; echo "
"; echo "
"; } echo "
"; echo "
"; echo "
"; }