uawdijnntqw1x1x1
IP : 3.138.119.136
Hostname : ns1.eurodns.top
Kernel : Linux ns1.eurodns.top 4.18.0-553.5.1.lve.1.el7h.x86_64 #1 SMP Fri Jun 14 14:24:52 UTC 2024 x86_64
Disable Function : mail,sendmail,exec,passthru,shell_exec,system,popen,curl_multi_exec,show_source,eval,open_base
OS : Linux
PATH:
/
home
/
sudancam
/
public_html
/
0d544
/
..
/
wp-content
/
uploads
/
..
/
plugins
/
blog
/
..
/
wp-automatic
/
p_options.php
/
/
<?php function gm_setting() { //license ini $licenseactive=get_option('wp_automatic_license_active',''); $actual_link = (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] === 'on' ? "https" : "http") . "://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]"; $state = base64_encode($actual_link); // Save FB token returned from FB login if(isset($_GET['token'])){ update_option('wp_automatic_fb_token',$_GET['token']); } // save values if post requested $updated = ''; if (isset ( $_POST ['wp_amazonpin_tw'] ) && current_user_can('administrator') ) { //default check if(! isset($_POST['wp_automatic_options'])){ $_POST['wp_automatic_options']=array(); } foreach ( $_POST as $key => $val ) { if(stristr($key, 'content')){ $key = str_replace('content', '', $key); } update_option ( $key, $val ); } $updated = '<div class="updated below-h2" id="message"><p>Settings updated. </p></div>'; } //remove twitter token if(isset($_POST['wp_automatic_opt'])){ if( in_array('wp_automatic_tw_reset', $_POST['wp_automatic_opt']) ){ delete_option('wp_automatic_tw_token'); } if( in_array('wp_automatic_fb_reset', $_POST['wp_automatic_opt']) ){ delete_option('wp_automatic_fb_token'); } } $dir = WP_PLUGIN_URL . '/' . str_replace ( basename ( __FILE__ ), "", plugin_basename ( __FILE__ ) ); $dir = plugins_url( '/', __FILE__ ); // echo dirname(__FILE__); if (! function_exists ( 'cchecked' )) { function cchecked($name, $val) { $arr = get_option ( $name ,array('OPT_CRON') ); if (in_array ( $val, $arr )) { return 'checked="checked"'; } } } ?> <script type="text/javascript" src="<?php echo $dir; ?>js/jquery.tools.js"></script> <script type="text/javascript" src="<?php echo $dir; ?>js/jquery.uniform.min.js"></script> <script type="text/javascript" src="<?php echo $dir; ?>js/main.js?ver=5.0.1"></script> <link href='<?php echo $dir; ?>css/style.css' rel='stylesheet' type='text/css'> <link href='<?php echo $dir; ?>css/uniform.css' rel='stylesheet' type='text/css'> <style> .wp_automatic_box_icon{ width:30px; padding-top: 12px; float: left; } .hndle{ height:50px; } h2 span{ display: block; padding-top: 16px; padding-left: 42px; } .postbox .hndle{ cursor:default !important; } </style> <div> <div class="wrap"> <div style="margin-left: 8px" class="icon32" id="icon-options-general"> <br> </div> <h2>General Settings</h2> <p style="margin-top:0">Set configuration for sources you posts from:</p> <?php echo $updated?> <!--start container--> <div dir="ltr" id="dashboard-widgets-wrap"> <form method="post" novalidate="novalidate"> <div class="metabox-holder columns-2" id="dashboard-widgets"> <!-- General post box --> <div class="postbox-container"> <div style="min-height: 1px;" class="meta-box-sortables ui-sortable" id="normal-sortables"> <div class="postbox " id="dashboard_right_now"> <h2 class="hndle"> <img class="wp_automatic_box_icon" src="<?php echo plugins_url('images/amazon.png',__FILE__)?>" /> <span>Amazon settings</span> </h2> <div class="inside main" style="padding-bottom: 14px"> <!--start container--> <div class="TTWForm"> <input type = "hidden" value="200" name="wp_amazonpin_tw" /> <div id="field285-container" class="field f_100 "> <label for="field285"> Amazon Associate ID* ( required ) <br> ( used for recieving commisions ) <a target="blank" href="https://affiliate-program.amazon.com/gp/advertising/api/detail/main.html">( apply here )</a> </label> <input value="<?php echo get_option( 'wp_amazonpin_aaid' ) ?>" name="wp_amazonpin_aaid" id="field285" type="text"> </div> <div id="field285-container" class="field f_100 "> <label for="field285"> Amazon Access Key ID ( optional ) (API v5) <a target="_blank" href="https://www.youtube.com/watch?v=UtQVQPpjDcM"> ( tutorial ) </a> </label> <input value="<?php echo get_option( 'wp_amazonpin_abk' ) ?>" name="wp_amazonpin_abk" id="field285" type="text"> </div> <div id="field285-container" class="field f_100 "> <label for="field285"> Amazon Secret Access Key ( optional ) (API v5) </label> <input value="<?php echo get_option( 'wp_amazonpin_apvtk' ) ?>" name="wp_amazonpin_apvtk" id="field285" type="text"> </div> <div class="field f_100 "> <label> User agent when scraping ( optional ) </label> <input value="<?php echo get_option( 'wp_automatic_amazon_agent' , 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.163 Safari/537.36' ) ?>" name="wp_automatic_amazon_agent" type="text"> </div> <div class="field f_100"> <div class="option clearfix"> <input name="wp_automatic_options[]" <?php echo cchecked('wp_automatic_options', 'OPT_AMAZON_NOAPI') ?> value="OPT_AMAZON_NOAPI" type="checkbox"> <span class="option-title"> Do not use API and scrape amazon directly</span> </div> </div> <!-- <div class="field f_100"> <div class="option clearfix"> <input name="wp_automatic_options[]" <?php echo cchecked('wp_automatic_options', 'OPT_AMAZON_LOC') ?> value="OPT_AMAZON_LOC" type="checkbox"> <span class="option-title"> Simulate delivery address </span> <div class="description">(If your server country is different than the Amazon site country)</div> </div> </div> --> <div class="field f_100"> <div class="option clearfix"> <input name="wp_automatic_options[]" <?php echo cchecked('wp_automatic_options', 'OPT_AMAZON_PRICE') ?> value="OPT_AMAZON_PRICE" type="checkbox"> <span class="option-title"> Update Amazon product prices daily</span> </div> </div> <div id="form-submit" class="field f_100 clearfix submit" style> <input style="margin-left: 0" value="Save Changes" type="submit"> </div> </div> <!--start container--> <div style="clear: both"></div> </div> </div> <!-- post box --> <div class="postbox " id="dashboard_right_now"> <h2 class="hndle"> <img class="wp_automatic_box_icon" src="<?php echo plugins_url('images/clickbank.png',__FILE__)?>"><span> Clickbank settings</span> </h2> <div class="inside TTWForm main" style="padding-bottom: 14px"> <!--start container--> <div id="field285-container" class="field f_100 "> <label for="field285"> Clickbank username ? </label> <input value="<?php echo get_option( 'wp_wp_automatic_cbu' ) ?>" name="wp_wp_automatic_cbu" id="field285" type="text"> </div> <div id="form-submit" class="field f_100 clearfix submit" style> <input style="margin-left: 0" value="Save Changes" type="submit"> </div> <!--start container--> <div style="clear: both"></div> </div> </div> <div class="postbox " id="dashboard_right_now"> <h2 class="hndle"> <img class="wp_automatic_box_icon" src="<?php echo plugins_url('images/ez.jpg',__FILE__)?>"><span> Ezinearticles settings</span> </h2> <div class="inside TTWForm main" style="padding-bottom: 14px"> <!--start container--> <div id="field285-container" class="field f_100 "> <label for="field285"> Google custom search API key? </label> <input value="<?php echo get_option( 'wp_automatic_search_key' ) ?>" name="wp_automatic_search_key" type="text"> <div class="description"> Visit <a href="http://valvepress.com/how-to-create-a-google-custom-search-api-key/">This tutorial</a> for how to create an api key. <br>*a key gives us 100 request/day <br>*You can add multiple keys and separate them with Comma but every key should be from a different Google account. </div> </div> <div id="form-submit" class="field f_100 clearfix submit" style> <input style="margin-left: 0" value="Save Changes" type="submit"> </div> <!--start container--> <div style="clear: both"></div> </div> </div> <div class="postbox " id="dashboard_right_now"> <h2 class="hndle"> <img class="wp_automatic_box_icon" src="<?php echo plugins_url('images/write.png',__FILE__)?>"><span> The Best Spinner settings</span> </h2> <div class="inside TTWForm main" style="padding-bottom: 14px"> <!--start container--> <div id="field285-container" class="field f_100 "> <label for="field285"> <b><a target="blank" href="https://paykstrt.com/10313/57123"> The best spinner </a></b> user name <i>(optional)</i> </label> <input value="<?php echo get_option( 'wp_automatic_tbs' ) ?>" name="wp_automatic_tbs" id="field285" type="text"> </div> <div id="field485-container" class="field f_100 "> <label for="field485"> <b>The best spinner password</b> </label> <input name="wp_automatic_tbs_p" id="field485" type="text" value="<?php echo get_option( 'wp_automatic_tbs_p' ) ?>"> </div> <div class="field f_100"> <label> Protected terms <i>(one/line)(optional)</i> </label> <textarea rows="5" cols="20" name="wp_automatic_tbs_protected" ><?php echo stripslashes( get_option('wp_automatic_tbs_protected') )?></textarea> <br> <p>Note: you can always skip spinning parts of the content by wrapping it with the [nospin]part not to spin[/nospin] tags at the post template</p> </div> <div id="form-submit" class="field f_100 clearfix submit" style> <input style="margin-left: 0" value="Save Changes" type="submit"> </div> <!--start container--> <div style="clear: both"></div> </div> </div> <div class="postbox " id="dashboard_right_now"> <h2 class="hndle"> <img class="wp_automatic_box_icon" src="<?php echo plugins_url('images/flicker.png',__FILE__)?>"><span> Flicker settings</span> </h2> <div class="inside TTWForm main" style="padding-bottom: 14px"> <!--start container--> <div id="field285-container" class="field f_100 "> <label for="field285"> <b><a target="blank" href="http://www.flickr.com/services/api/misc.api_keys.html"> Flicker Api key </a></b> <i>(click the link to get your's)</i> </label> <input value="<?php echo get_option( 'wp_automatic_flicker' ) ?>" name="wp_automatic_flicker" id="field285" type="text"> </div> <div id="form-submit" class="field f_100 clearfix submit" style> <input style="margin-left: 0" value="Save Changes" type="submit"> </div> <!--start container--> <div style="clear: both"></div> </div> </div> <div class="postbox " id="dashboard_right_now"> <h2 class="hndle"> <img class="wp_automatic_box_icon" src="<?php echo plugins_url('images/ebay.png',__FILE__)?>"><span> eBay settings</span> </h2> <div class="inside TTWForm main" style="padding-bottom: 14px"> <!--start container--> <div class="field f_100 "> <label>API APP ID (Used to make use of the API)</label> <input value="<?php echo get_option( 'wp_automatic_ebay_app' ) ?>" name="wp_automatic_ebay_app" type="text"> <div class="description">Check <a target="_blank" href="http://valvepress.com/how-to-get-ebay-api-app-key/">this tutorial</a> on how to get it</div> </div> <div class="field f_100 "> <label>Cert ID (Client Secret)</label> <input value="<?php echo get_option( 'wp_automatic_ebay_app_secret' ) ?>" name="wp_automatic_ebay_app_secret" type="text"> </div> <div class="field f_100 "> <label> Campaign ID (Used for affiliate link generation)</label> <input value="<?php echo get_option( 'wp_automatic_ebay_camp' ) ?>" name="wp_automatic_ebay_camp" type="text"> <div class="description">Check <a target="_blank" href="http://valvepress.com/how-to-get-ebay-campaign-id-for-affiliate-earnings-from-ebay/">this tutorial</a> on how to get it</div> </div> <div class="field f_100 "> <label> affiliate Reference Id (Optional) (Used to track sales)</label> <input value="<?php echo get_option( 'wp_automatic_ebay_refid' ) ?>" name="wp_automatic_ebay_refid" type="text"> </div> <div class="field f_100 "> <label>Marketplace account deletion notification endpoint</label> <input disabled="disabled" value="<?php $ebay_endpoint = plugins_url( 'ebay_clo.php' , __FILE__ ) ; $ebay_endpoint = str_replace('http:/' , 'https:/', $ebay_endpoint); echo $ebay_endpoint ?>" name="wp_automatic_ebay_camp_delete" type="text"> <div class="description">Check <a target="_blank" href="http://valvepress.com/how-to-setup-ebay-marketplace-account-deletion-closure-for-wp-automatic/">this tutorial</a> on how to setup Marketplace account deletion/closure notification</div> </div> <div class="field f_100 "> <label> Verification token </label> <input disabled="disabled" value="<?php $ebay_endpoint_md5 = md5($ebay_endpoint) ; echo $ebay_endpoint_md5 ?>" name="wp_automatic_ebay_camp_delete_verification" type="text"> <div class="description">*Your site must be in https if it is in http, you must set it up for HTTPS</div> </div> <div id="form-submit" class="field f_100 clearfix submit" style> <input style="margin-left: 0" value="Save Changes" type="submit"> </div> <!--start container--> <div style="clear: both"></div> </div> </div> <div class="postbox " id="dashboard_right_now"> <h2 class="hndle"> <img class="wp_automatic_box_icon" src="<?php echo plugins_url('images/ig.png',__FILE__)?>"><span> Instagram settings</span> </h2> <div class="inside TTWForm main" style="padding-bottom: 14px"> <!--start container--> <div class="field f_100 "> <label>Session ID</label> <input value="<?php echo get_option( 'wp_automatic_ig_sess' ) ?>" name="wp_automatic_ig_sess" type="text"> <div class="description">Check <a target="_blank" href="http://valvepress.com/how-to-get-instagram-session-cookie/">this tutorial</a> on how to get it.</div> </div> <div id="form-submit" class="field f_100 clearfix submit" style> <input style="margin-left: 0" value="Save Changes" type="submit"> </div> <!--start container--> <div style="clear: both"></div> </div> </div> <div class="postbox " > <h2 class="hndle"> <img class="wp_automatic_box_icon" src="<?php echo plugins_url('images/yt.png',__FILE__)?>"><span> Youtube settings</span> </h2> <div class="inside TTWForm main" style="padding-bottom: 14px"> <!--start container--> <div class="field f_100 "> <label>Youtube API Key</label><textarea name="wp_automatic_yt_tocken"><?php echo get_option( 'wp_automatic_yt_tocken' ) ?></textarea> <div class="description">*Check <a href="http://valvepress.com/how-to-get-a-youtube-api-key-to-post-from-youtube-to-wordpress/" target="_blank">this tutorial</a> on how to get your youtube api key<br><br>*You can create multiple projects from different Google accounts (one project per Google account) and add multiple keys (one per line), each key gives 100 daily searches </div> </div> <div id="form-submit" class="field f_100 clearfix submit" style> <input style="margin-left: 0" value="Save Changes" type="submit"> </div> <!--start container--> <div style="clear: both"></div> </div> </div> <div class="postbox " id="dashboard_right_now"> <h2 class="hndle"> <img class="wp_automatic_box_icon" src="<?php echo plugins_url('images/vimeo.png',__FILE__)?>"><span> Vimeo settings</span> </h2> <div class="inside TTWForm main" style="padding-bottom: 14px"> <!--start container--> <div class="field f_100 "> <label> Access Token</label> <input value="<?php echo get_option( 'wp_automatic_vm_tocken' ) ?>" name="wp_automatic_vm_tocken" type="text"> <div class="description">Check <a href="http://valvepress.com/how-to-generate-a-vimeo-access-token-to-post-from-vimeo-to-wordpress/" target="_blank">this tutorial</a> on how to get your vimeo access token </div> </div> <div id="form-submit" class="field f_100 clearfix submit" style> <input style="margin-left: 0" value="Save Changes" type="submit"> </div> <!--start container--> <div style="clear: both"></div> </div> </div> <div class="postbox " id="dashboard_right_now"> <h2 class="hndle"> <img class="wp_automatic_box_icon" src="<?php echo plugins_url('images/itunes.png',__FILE__)?>"><span> Itunes settings</span> </h2> <div class="inside TTWForm main" style="padding-bottom: 14px"> <!--start container--> <div class="field f_100 "> <label>Affiliate ID (Token)</label> <input value="<?php echo get_option( 'wp_automatic_iu_id' ) ?>" name="wp_automatic_iu_id" type="text"> <div class="description">Apply <a href="http://www.apple.com/itunes/affiliates/" target="_blank">Here</a> for an ID </div> </div> <div id="form-submit" class="field f_100 clearfix submit" style> <input style="margin-left: 0" value="Save Changes" type="submit"> </div> <!--start container--> <div style="clear: both"></div> </div> </div> <div class="postbox " id="dashboard_right_now"> <h2 class="hndle"> <img class="wp_automatic_box_icon" src="<?php echo plugins_url('images/envato.png',__FILE__)?>"><span>Envato settings</span> </h2> <div class="inside TTWForm main" style="padding-bottom: 14px"> <!--start container--> <div class="field f_100 "> <label>Envato Authorization token</label> <input value="<?php echo get_option( 'wp_automatic_envato_token' ) ?>" name="wp_automatic_envato_token" type="text"> <div class="description">Get your token <a href="https://build.envato.com/create-token/" target="_blank">Here</a> just choose the name and click "Create token" </div> </div> <div class="field f_100 "> <label>Impact Radius affiliate URL</label> <input value="<?php echo get_option( 'wp_automatic_envato_ir' ) ?>" name="wp_automatic_envato_ir" type="text"> <div class="description">Check <a href="http://valvepress.com/how-to-get-envato-impact-radium-affiliate-url/">this tutorial</a> on how to get it</div> </div> <div id="form-submit" class="field f_100 clearfix submit" style> <input style="margin-left: 0" value="Save Changes" type="submit"> </div> <!--start container--> <div style="clear: both"></div> </div> </div> <div class="postbox " id="dashboard_right_now"> <h2 class="hndle"> <img class="wp_automatic_box_icon" src="<?php echo plugins_url('images/fb.png',__FILE__)?>"><span> Facebook settings</span> </h2> <div class="inside TTWForm main" style="padding-bottom: 14px"> <!--start container--> <div class="field f_100 "> <label>c_user cookie value</label> <input value="<?php echo get_option( 'wp_automatic_fb_cuser' ) ?>" name="wp_automatic_fb_cuser" type="text"> <div class="description">Check this tutorial <a href="http://valvepress.com/how-to-config-wp-automatic-for-fb/" target="_blank">Here</a> to know how to get these values </div> </div> <div class="field f_100 "> <label>xs cookie value</label> <input value="<?php echo get_option( 'wp_automatic_fb_xs' ) ?>" name="wp_automatic_fb_xs" type="text"> </div> <div class="field f_100 "> <label>If session cookie expired, send an email notification to this email address</label> <input value="<?php echo get_option( 'wp_automatic_fb_email' ) ?>" name="wp_automatic_fb_email" type="text"> <div class="description">You can insert your email address here for the plugin to send an email notification if the session expires or get invalid</div> </div> <div class="field f_100 "> <label>"Watch" text in your language?</label> <input value="<?php echo get_option( 'wp_automatic_fb_w' ) ?>" name="wp_automatic_fb_w" type="text"> <div class="description">FB appends the word "Watch" before the video title. The plugin removes this word so If your account is not in English, add the equivelant word in your language </div> </div> <div class="field f_100 "> <label>"Watch video" text in your language?</label> <input value="<?php echo get_option( 'wp_automatic_fb_wv' ) ?>" name="wp_automatic_fb_wv" type="text"> </div> <div id="form-submit" class="field f_100 clearfix submit" style> <input style="margin-left: 0" value="Save Changes" type="submit"> </div> <!--start container--> <div style="clear: both"></div> </div> </div> <div class="postbox " id="dashboard_right_now"> <h2 class="hndle"> <img class="wp_automatic_box_icon" src="<?php echo plugins_url('images/tw.png',__FILE__)?>"><span> Twitter settings</span> </h2> <div class="inside TTWForm main" style="padding-bottom: 14px"> <!--start container--> <div class="field f_100 "> <label>API Key</label> <input value="<?php echo get_option( 'wp_automatic_tw_consumer' ) ?>" name="wp_automatic_tw_consumer" type="text"> <div class="description">Check <a href="http://valvepress.com/how-to-post-from-twitter-to-wordpress-using-wordpress-automatic/" target="_blank">this tutorial</a> on how to get your Key and secret </div> </div> <div class="field f_100 "> <label>API Key Secret</label> <input value="<?php echo get_option( 'wp_automatic_tw_secret' ) ?>" name="wp_automatic_tw_secret" type="text"> </div> <div class="field f_100 "> <label>Clean any generated twitter tokens (Tick this if you want to regenerate)</label> <input type="checkbox" name= "wp_automatic_opt[]" value= "wp_automatic_tw_reset" /> </div> <?php ?> <div id="form-submit" class="field f_100 clearfix submit" style> <input style="margin-left: 0" value="Save Changes" type="submit"> </div> <!--start container--> <div style="clear: both"></div> </div> </div> <div class="postbox " id="dashboard_right_now"> <h2 class="hndle"> <img class="wp_automatic_box_icon" src="<?php echo plugins_url('images/walmart.png',__FILE__)?>"><span> Walmart Settings</span> </h2> <div class="inside TTWForm main" style="padding-bottom: 14px"> <!--start container--> <div class="field f_100 "> <label>API key</label> <input value="<?php echo get_option( 'wp_automatic_wm_api' ) ?>" name="wp_automatic_wm_api" type="text"> <div class="description">Apply <a href="https://developer.walmartlabs.com/member" target="_blank">here</a></div> </div> <div class="field f_100 "> <label>Impact Radius Publisher ID (optional)</label> <input value="<?php echo get_option( 'wp_automatic_wm_ir_publisher' ) ?>" name="wp_automatic_wm_ir_publisher" type="text"> <div class="description">Apply <a href="https://affiliates.walmart.com/" target="_blank">here</a> for recieving affiliate commisions. and check <a target="_blank" href="http://valvepress.com/how-to-get-your-walmart-publisher-id/">this tutorial</a> on how to find your publisher ID</div> </div> <div id="form-submit" class="field f_100 clearfix submit" style> <input style="margin-left: 0" value="Save Changes" type="submit"> </div> <!--start container--> <div style="clear: both"></div> </div> </div> <div class="postbox " id="dashboard_right_now"> <h2 class="hndle"> <img class="wp_automatic_box_icon" src="<?php echo plugins_url('images/cj.png',__FILE__)?>"><span>Careerjet Settings</span> </h2> <div class="inside TTWForm main" style="padding-bottom: 14px"> <!--start container--> <div class="field f_100 "> <label>Affiliate ID</label> <input value="<?php echo get_option( 'wp_automatic_cj_id' ) ?>" name="wp_automatic_cj_id" type="text"> <div class="description">Apply <a href="http://www.careerjet.com/partners/?ak=a551ffb1b11a967e629c447bc929c067" target="_blank">here</a>. ex: a551ffb1b11a967e629c447bc929c067</div> </div> <div id="form-submit" class="field f_100 clearfix submit" style> <input style="margin-left: 0" value="Save Changes" type="submit"> </div> <!--start container--> <div style="clear: both"></div> </div> </div> <div class="postbox " id="dashboard_right_now"> <h2 class="hndle"> <img class="wp_automatic_box_icon" src="<?php echo plugins_url('images/translator.microsoft.png',__FILE__)?>"><span> Microsoft Translator Settings</span> </h2> <div class="inside TTWForm main" style="padding-bottom: 14px"> <!--start container--> <div class="field f_100 "> <label>Microsoft Access Key</label> <input value="<?php echo get_option( 'wp_automatic_mt_key' ) ?>" name="wp_automatic_mt_key" type="text"> <div class="description">Check <a href="http://valvepress.com/how-to-get-microfost-translator-access-key-from-azure/" target="_blank">this tutorial</a> on how to get this access key. </div> </div> <div class="field f_100 "> <label>Region</label> <input value="<?php echo get_option( 'wp_automatic_mt_region' ) ?>" name="wp_automatic_mt_region" type="text"> <div class="description">Optional: default region is "global", If you have set your app on a different region, add it here<br>e.g: eastasia</div> </div> <div id="form-submit" class="field f_100 clearfix submit" style> <input style="margin-left: 0" value="Save Changes" type="submit"> </div> <!--start container--> <div style="clear: both"></div> </div> </div> <div class="postbox " id="dashboard_right_now"> <h2 class="hndle"> <img class="wp_automatic_box_icon" src="<?php echo plugins_url('images/yandex.png',__FILE__)?>"><span> Yandex Translator Settings</span> </h2> <div class="inside TTWForm main" style="padding-bottom: 14px"> <!--start container--> <div class="field f_100 "> <label>Yandex Translate API Key</label> <input value="<?php echo get_option( 'wp_automatic_yt_key' ) ?>" name="wp_automatic_yt_key" type="text"> <div class="description">Check <a href="http://valvepress.com/how-to-get-a-yandex-translate-api-key/" target="_blank">this tutorial</a> on how to get your API key </div> </div> <div id="form-submit" class="field f_100 clearfix submit" style> <input style="margin-left: 0" value="Save Changes" type="submit"> </div> <!--start container--> <div style="clear: both"></div> </div> </div> <div class="postbox " id="dashboard_right_now"> <h2 class="hndle"> <img class="wp_automatic_box_icon" src="<?php echo plugins_url('images/deepl.svg',__FILE__)?>"><span> Deepl PRO API Settings</span> </h2> <div class="inside TTWForm main" style="padding-bottom: 14px"> <!--start container--> <div class="field f_100 "> <label>Authentication Key for DeepL API</label> <input value="<?php echo get_option( 'wp_automatic_dl_key' ) ?>" name="wp_automatic_dl_key" type="text"> <div class="description">Check <a href="http://valvepress.com/how-to-get-a-deepl-api-authentication-key/" target="_blank">this tutorial</a> on how to get your API key</div> </div> <div class="field f_100"> <div class="option clearfix"> <input name="wp_automatic_options[]" <?php echo cchecked('wp_automatic_options', 'OPT_DEEPL_FREE') ?> value="OPT_DEEPL_FREE" type="checkbox"> <span class="option-title"> Use the free API endpoint (If your subscription kind is free)</span> </div> <div class="option clearfix"> <input name="wp_automatic_options[]" <?php echo cchecked('wp_automatic_options', 'OPT_DEEPL_FORMAL') ?> value="OPT_DEEPL_FORMAL" type="checkbox"> <span class="option-title"> Set formality to more formal</span> </div> <div class="option clearfix"> <input name="wp_automatic_options[]" <?php echo cchecked('wp_automatic_options', 'OPT_DEEPL_NFORMAL') ?> value="OPT_DEEPL_NFORMAL" type="checkbox"> <span class="option-title"> Set formality to less formal</span> </div> </div> <div id="form-submit" class="field f_100 clearfix submit" style> <input style="margin-left: 0" value="Save Changes" type="submit"> </div> <!--start container--> <div style="clear: both"></div> </div> </div> <div class="postbox " id="dashboard_right_now"> <h2 class="hndle"> <img class="wp_automatic_box_icon" src="<?php echo plugins_url('images/apify.svg',__FILE__)?>"><span> APIFY API Settings</span> </h2> <div class="inside TTWForm main" style="padding-bottom: 14px"> <!--start container--> <div class="field f_100 "> <label><a href="https://www.apify.com?fpr=htjt0">APIFY</a> API token</label> <input value="<?php echo get_option( 'wp_automatic_apify_key' ) ?>" name="wp_automatic_apify_key" type="text"> <div class="description">Check <a href="http://valvepress.com/how-to-get-apify-token-to-import-from-sites-that-depends-on-javascript/" target="_blank">this tutorial</a> on how to get your API token</div> </div> <div id="form-submit" class="field f_100 clearfix submit" style> <input style="margin-left: 0" value="Save Changes" type="submit"> </div> <!--start container--> <div style="clear: both"></div> </div> </div> </div> </div> <!-- End post box --> <!-- General post box --> <div class="postbox-container"> <div style="min-height: 1px;" class="meta-box-sortables ui-sortable" id="normal-sortables"> <div class="postbox " id="dashboard_right_now"> <h2 class="hndle"> <img class="wp_automatic_box_icon" src="<?php echo plugins_url('images/search.png',__FILE__)?>"><span> Search and Replace</span> </h2> <div class="inside main TTWForm" style="padding-bottom: 14px"> <!--start container--> <div class="field f_100 "> <p style="margin-bottom: 10px;"> Search for words in the article and replace it (one set per line) <br>like <strong>word1|word2|word3</strong> . if the post contains <strong>word1</strong> it will be replaced by <strong>word2</strong> or <strong>word3</strong> </p> <textarea name="wp_automatic_replace"><?php echo stripslashes( get_option('wp_automatic_replace') )?></textarea> </div> <div class="field f_100"> <div class="option clearfix"> <input name="wp_automatic_options[]" <?php echo cchecked('wp_automatic_options', 'OPT_REPLACE_NO_REGEX') ?> value="OPT_REPLACE_NO_REGEX" type="checkbox"> <span class="option-title">Replace literally. </span> <br> </div> <div class="description"><small><i>By default, The plugin expects that you have inserted words above so for example if you added "fox" it will not replace it at the word "firefox" but will replace only if "fox" is a word. Tick this if you want to disable this behaviour and replace anywhere.</i></small></div> </div> <div class="field f_100"> <div class="option clearfix"> <input name="wp_automatic_options[]" <?php echo cchecked('wp_automatic_options', 'OPT_REPLACE_NO_PROTECT') ?> value="OPT_REPLACE_NO_PROTECT" type="checkbox"> <span class="option-title">Do not protect HTML tags. </span> <br> </div> <div class="description"><small><i>By default, The plugin mask HTML tags before doing the search and replace. </i></small></div> </div> <div id="form-submit" class="field f_100 clearfix submit" style> <input style="margin-left: 0" value="Save Changes" type="submit"> </div> <!--start container--> <div style="clear: both"></div> </div> </div> <div class="postbox " id="dashboard_right_now"> <h2 class="hndle"> <img class="wp_automatic_box_icon" src="<?php echo plugins_url('images/money.png',__FILE__)?>"`><span>Ads settings</span> </h2> <div class="inside main TTWForm" style="padding-bottom: 14px"> <!--start container--> <div id="field11-container" class="field f_100"> <label for="field11"> Top Ad Code <i>(optional)</i> </label> <textarea rows="5" cols="20" name="wp_automatic_ad1content" id="field11"><?php echo stripslashes( get_option('wp_automatic_ad1') )?></textarea> </div> <div id="field11-container" class="field f_100"> <label for="field11"> Bottom Ad Code <i>(optional)</i> </label> <textarea rows="5" cols="20" name="wp_automatic_ad2content" id="field11"><?php echo stripslashes( get_option('wp_automatic_ad2') )?></textarea> </div> <div id="form-submit" class="field f_100 clearfix submit" style> <input style="margin-left: 0" value="Save Changes" type="submit"> </div> <!--start container--> <div style="clear: both"></div> </div> </div> <div class="postbox " id="dashboard_right_now"> <h2 class="hndle"> <img class="wp_automatic_box_icon" src="<?php echo plugins_url('images/proxy.png',__FILE__)?>"><span> Proxy settings</span> </h2> <div class="inside main TTWForm" style="padding-bottom: 14px"> <!--start container--> <div id="field11-container" class="field f_100"> <label for="field11"> Use this proxy list <i>(one/line)(optional)</i> </label> <textarea rows="5" cols="20" name="wp_automatic_proxy" id="field11"><?php echo stripslashes( get_option('wp_automatic_proxy') )?></textarea> <div class="description"> *Make sure your proxies are with port 80 (always open) or 8080 (sometimes open) which are open for connection with most servers or use any port that is open to connect on your server <br> *Format:<strong>ip:port</strong> <br> *Another Format : <strong>IP:port:username:password</strong> for proxies with authentication <br> *one proxy per line <br> *Some proxy services require server IP for authentication <a target="_blank" href="<?php echo site_url('/?wp_automatic=show_ip') ?>"><strong>Click here</strong></a> to know your server IP to use <br> *Check <a href="http://valvepress.com/use-private-proxies-pinterest-automatic/" target="_blank"><strong>this tutorial</strong></a> showing a tested service named <a href="https://instantproxies.com/billing/aff.php?aff=762">InstantProxies</a> you can use. <br> *Don't use public proxies used by thousands of pepole, it may get you into zillion troubles. </div> </div> <div id="form-submit" class="field f_100 clearfix submit" style> <input style="margin-left: 0" value="Save Changes" type="submit"> </div> <!--start container--> <div style="clear: both"></div> </div> </div> <div class="postbox " id="dashboard_right_now"> <h2 class="hndle"> <img class="wp_automatic_box_icon" src="<?php echo plugins_url('images/settings.png',__FILE__)?>"><span> General settings</span> </h2> <div class="inside main TTWForm" style="padding-bottom: 14px"> <!--start container--> <div class="field f_100"> <label> Title to tags/hashtags stop words <i>(in lower case)(one/line)(optional)</i></label> <textarea rows="5" cols="20" name="wp_automatic_ttt_stop" ><?php echo stripslashes( get_option('wp_automatic_ttt_stop') )?></textarea> </div> <div class="field f_100"> <label>Additional Banned words (Skip posting the post if it contains any of these)(one/line)(optional)</i></label> <textarea rows="5" cols="20" name="wp_automatic_ccc_stop" ><?php echo stripslashes( get_option('wp_automatic_ccc_stop') )?></textarea> <div class="description">list get added to banned words only if the option is active at the campaign page</div> </div> <div class="field f_100"> <label>Translation protected keywords (Protect these <strong>words</strong> when translating)(one/line)(optional)</i></label> <textarea rows="5" cols="20" name="wp_automatic_tra_stop" ><?php echo stripslashes( get_option('wp_automatic_tra_stop') )?></textarea> <div class="description">keywords list get protected when the translation option is active in the campaign page</div> </div> <div class="field f_100 "> <label> Google translate char limit</label> <input value="<?php echo get_option( 'wp_automatic_gtranslate_limit' ) ?>" name="wp_automatic_gtranslate_limit" type="text"> <div class="description">Default: 13000, set to higher if needed and at your own peril, higher limit may cause performance and server load issues (NOT RECOMMENDED)(DANGER)</div> </div> <div class="field f_100 "> <label> Woo-Commerce Amazon product buy now text (optional)</label> <input value="<?php echo get_option( 'wp_automatic_woo_buy' ) ?>" name="wp_automatic_woo_buy" type="text"> </div> <div class="field f_100 "> <label> Woo-Commerce eBay product buy now text (optional)</label> <input value="<?php echo get_option( 'wp_automatic_woo_buy2' ) ?>" name="wp_automatic_woo_buy2" type="text"> </div> <div class="field f_100 "> <label>Maximum number of feeds to process per campaign on single run</label> <input value="<?php echo get_option( 'wp_automatic_feed_max' ) ?>" name="wp_automatic_feed_max" type="text"> </div> <?php if( function_exists('td_bbp_change_avatar_size') ){ ?> <div class="field f_100"> <div class="option clearfix"> <input name="wp_automatic_options[]" <?php echo cchecked('wp_automatic_options', 'OPT_NO_NEWSPAPER') ?> value="OPT_NO_NEWSPAPER" type="checkbox"> <span class="option-title">Disable Newspaper theme video integration</span> </div> </div> <?php }?> <div class="field f_100"> <div class="option clearfix"> <input name="wp_automatic_options[]" <?php echo cchecked('wp_automatic_options', 'OPT_NO_FATAL') ?> value="OPT_NO_FATAL" type="checkbox"> <span class="option-title">Disable register_shutdown_function (If you click the run now button and always get nothing )</span> </div> </div> <div id="form-submit" class="field f_100 clearfix submit" style> <input style="margin-left: 0" value="Save Changes" type="submit"> </div> <!--start container--> <div style="clear: both"></div> </div> </div> <div class="postbox " id="dashboard_right_now"> <h2 class="hndle"> <img class="wp_automatic_box_icon" src="<?php echo plugins_url('images/cron.png',__FILE__)?>"><span> Cron settings</span> </h2> <div class="inside main TTWForm" style="padding-bottom: 14px"> <!--start container--> <label> Cron Secret word [optional]</label> <input placeholder="cron" value="<?php echo get_option( 'wp_automatic_cron_secret' ) ?>" name="wp_automatic_cron_secret" type="text"> <div class="description">Your cron link will be <strong>example.com/?wp_automatic=YOUR_SECRET_WORD</strong> and if you setup your cron job you will need to use the new cron link appears below after clicking save.</div> <br><br> <?php $wp_automatic_secret = trim(get_option('wp_automatic_cron_secret')); if(trim($wp_automatic_secret) == '') $wp_automatic_secret = 'cron'; $cronurl= home_url('?wp_automatic='.$wp_automatic_secret )?> Cron Command - ( <a target="blank" href="<?php echo $cronurl ?>">Start now </a>) <div style="background-color: #FFFBCC; border: 1px solid #E6DB55; color: #555555; padding: 5px; width: 97%; margin-top: 10px"> <?php echo 'curl ' . $cronurl; ?> </div> <br> <p>if the above command didn't work, use the one bleow</p> <div style="background-color: #FFFBCC; border: 1px solid #E6DB55; color: #555555; padding: 5px; width: 97%; margin-top: 10px"> <?php //$cronpath = dirname ( __FILE__ ) . '/cron.php'; echo 'wget -O /dev/null ' . $cronurl; ?> </div> <br> <p>if both commands above didn't work, use the one bleow</p> <div style="background-color: #FFFBCC; border: 1px solid #E6DB55; color: #555555; padding: 5px; width: 97%; margin-top: 10px"> <?php $cronpath = dirname ( __FILE__ ) . '/php_cron.php'; echo 'php ' . $cronpath; ?> </div> <div class="field f_100"> <div class="option clearfix"> <input name="wp_automatic_options[]" <?php echo cchecked('wp_automatic_options', 'OPT_CRON') ?> value="OPT_CRON" type="checkbox"> <span class="option-title"> Use <abbr title="Tick this option to use wordpress built-in cron ">Built in cron</abbr> instead </span> </div> </div> <div class="field f_100"> <div class="option clearfix"> <input name="wp_automatic_options[]" <?php echo cchecked('wp_automatic_options', 'OPT_PREVIEW_EDIT') ?> value="OPT_PREVIEW_EDIT" type="checkbox"> <span class="option-title">Preview posts in edit screen not via front end</span> </div> </div> <div class="field f_100"> <div class="option clearfix"> <input name="wp_automatic_options[]" <?php echo cchecked('wp_automatic_options', 'OPT_ADMIN_ONLY') ?> value="OPT_ADMIN_ONLY" type="checkbox"> <span class="option-title">Show menu to admins only</span> </div> </div> <div id="form-submit" class="field f_100 clearfix submit" style> <input style="margin-left: 0" value="Save Changes" type="submit"> </div> <!--start container--> <div style="clear: both"></div> </div> </div> <div class="postbox " id="dashboard_right_now"> <h2 class="hndle"> <img class="wp_automatic_box_icon" src="<?php echo plugins_url('images/key.png',__FILE__)?>"><span> License</span> </h2> <div class="inside main TTWForm" style="padding-bottom: 14px"> <!--start container--> <?php $the_license = get_option( 'wp_automatic_license' , '' ); if(trim($licenseactive) =='' || isset($_GET['show_license']) || trim($the_license) == '' ){ ?> <div class="field f_100 "> <label> Purchase code</label> <input placeholder="Ex: 4308eedb-1add-43a9-bbba-6f5d5aa6b8ee" value="<?php echo $the_license ?>" name="wp_automatic_license" type="text"> <div class="description">Your plugin purchase code</div> </div> <?php } ?> <?php if( isset($wp_automatic_active_error) && stristr($wp_automatic_active_error, 'another') ) {?> <div class="field f_100 "> <label> Change domain </label> <input name="wp_automatic_options[]" value="OPT_CHANGE_DOMAIN" type="checkbox"> <div class="description"> Disable license at the other domain and use it with this domain </div> </div> <?php } ?> <div class="field f_100 "> <label> License status:</label> <div class="description"> <?php if(trim($licenseactive) !='' ){ echo 'Active'; }else{ echo '<span style="color:red">Inactive</span> '; if(isset($wp_automatic_active_error)) echo '<p><span style="color:red">'.$wp_automatic_active_error.'</span></p>'; } ?> </div> </div> <div id="form-submit" class="field f_100 clearfix submit" style> <input style="margin-left: 0" value="Save Changes" type="submit"> </div> <!--start container--> <div style="clear: both"></div> </div> </div> </div> </div> <!-- End post box --> </div> <!-- dashboard widgets --> </form> </div> <!-- dashboard widgets wrap --> <!--start container--> </div> </div> <!-- Panels --> <script type="text/javascript"> var pluginDir=''; jQuery('.postbox h3').click( function() { jQuery(jQuery(this).parent().get(0)).toggleClass(''); } ); </script> <?php } ?>
/home/sudancam/public_html/0d544/../wp-content/uploads/../plugins/blog/../wp-automatic/p_options.php