0byt3m1n1
Path:
/
home1
/
aserty
/
public_html
/
appartsoft.info
/
wp-content
/
plugins
/
content-mage
/
[
Home
]
File: adminPanel.php
<?php $lc=(@is_array(get_option("WP\115L\151\143")) === TRUE) ? get_option("\127P\115\114\151\143"): unserialize(get_option("\127P\115\114\151\143")); ?> <div class="wrap"> <?php if ( isset ($O3q)):; ?> <div style="clear:both"></div> <div class="updated fade" id="message" style="background-color: rgb(255, 251, 204);"> <p> <strong><?php echo $O3q; ?></strong> </p> </div> <?php endif; ?> <?php if ($l3r):; ?> <div style="clear:both"></div> <div class="updated fade" id="message" style="background-color: rgb(255, 251, 204);"> <p> <strong><?php echo $l3r; ?></strong> </p> </div> <?php endif; ?> <h2>Content Mage Settings</h2> <!-- <h3><a href="options-general.php?page=content_mage&action=fixyoutubetemplate" class="button">FIX YOUTUBE TEMPLATE</a></h3> <em>(<strong>Note: </strong>If YouTube videos are not displaying in Internet Explorer, click the link above to fix the Content Mage template. Please also note, that this will <strong>not</strong> fix existing posts but will prevent future posts from breaking.)</em> --> <h3>Check DB for empty posts</h3> <p>When a post is "unpacked" Content Mage will automatically detect whether or not it could obtain content. If not, the Post is set to "Draft" status so that it can be checked later. To check <strong>existing published posts</strong> for zero content, click the button below. This will scan the database for published posts, and if any are found to have no <strong>text</strong> content, they will be set to "Draft". A post with only an image and/or youtube video is also considered a zero content post.</p> <h3><a href="options-general.php?page=content_mage&action=checkemptyposts" class="button"> Check Database for Empty Posts</a></h3><br /><strong>Note: </strong>This will only check existing PUBLISHED posts which have been unpacked, I.e. posts which are supposed to have content. This does not load the posts, or unpack them, and will ignore any posts which contain [mage] tags (since these posts have not been unpacked, and don't currently contain any content). <h3><a href="options-general.php?page=content_mage&action=republishdrafts" class="button"> Republish all Draft posts</a></h3><br />(Use this if you would like to set posts in Draft status to Published status en masse). <h3><a href="options-general.php?page=content_mage&action=retrievelostposts" class="button"> Retrieve "Lost" posts</a></h3> <form action="options-general.php?page=content_mage" method="post"> <table class="form-table"> <tbody> <tr> <th><h3>License Key</h3></th> <td> </td> </tr> <tr valign="top"> <th scope="row"> <label for="upload_path">WPMage Licensed To</label> </th> <td> <input type="text" size="40" value="<?php echo $lc['WPMLicID']; ?>" class="code" id="WPMLicID" name="WPMLicID"/> </td> </tr> <tr> <th scope="row"> <label for="upload_path">WPMage License Key</label> </th> <td> <input type="text" size="40" value="<?php echo $lc['WPMLic']; ?>" class="code" id="WPMLic" name="WPMLic"/> </td> </tr> <tr> <th><h3>Application Keys and Passwords</h3></th> <td> </td> </tr> <tr valign="top"> <th scope="row"> <label for="upload_path"><a href="http://paydotcom.net/r/95330/hodge24/26820454/" target="_blank">The Best Spinner Username</a></label> </th> <td> <input type="text" size="40" value="<?php echo htmlentities($O3r->l2f("\142e\163\164\123\160inn\145\162\125\163\145\162nam\145"),ENT_QUOTES,'UTF-8'); ?>" class="code" id="bestSpinnerUsername" name="bestSpinnerUsername"/> </td> </tr> <tr valign="top"> <th scope="row"> <label for="upload_path"><a href="http://paydotcom.net/r/95330/hodge24/26820454/" target="_blank">The Best Spinner Password</a></label> </th> <td> <input type="text" size="40" value="<?php echo htmlentities($O3r->l2f("bes\164\123\160\151\156\156erP\141\163\163\167\157\162d"),ENT_QUOTES,'UTF-8'); ?>" class="code" id="bestSpinnerPassword" name="bestSpinnerPassword"/> </td> </tr> <tr valign="top"> <th scope="row"> <label for="upload_path"><a href="http://developer.yahoo.com/wsregapp/" target="_blank">Yahoo Answers</a></label> </th> <td> <input type="text" size="40" value="<?php echo htmlentities($O3r->l2f("yahooAns\167\145\162s"),ENT_QUOTES,'UTF-8'); ?>" class="code" id="answers" name="answers"/><br /> Note: You will get better results with your own API Key. You can get an API Key <a href="http://developer.yahoo.com/wsregapp/" target="_blank">here</a>. </td> </tr> <tr valign="top"> <th scope="row"> <label for="upload_path"><a href="http://code.google.com/apis/console" target="_blank">Google API Key</a></label> </th> <td> <input type="text" size="40" value="<?php echo htmlentities($O3r->l2f("go\157\147\154\145API"),ENT_QUOTES,'UTF-8'); ?>" class="code" id="googleAPI" name="googleAPI" /> <br /><strong>Note:</strong> Optional, but may reduce the chances of your IP being banned form Google's Translate tool. In order to get a valid API Key, go to <a href="http://code.google.com/apis/console" target="_blank">http://code.google.com/apis/console</a> and activate the "Translate" APIKey request. <br /><strong>IMPORTANT: </strong> Google now charge for using the Translate API. Please see <a href="http://code.google.com/apis/language/translate/v2/pricing.html" target="_blank">http://code.google.com/apis/language/translate/v2/pricing.html</a> for pricing details. </td> </tr> <tr valign="top"> <th scope="row"> <label for="upload_path">Kill the Translator</label> </th> <td> <select name="killTranslator"> <option value="no">No</option> <option value="yes"<?php if ($O3r->l2f("\153illTransla\164\157\162") == "\171\145\163") { echo ' selected="selected"'; } ?>>Yes</option> </select> <br /><strong>Note:</strong> This will turn off the Google Translation feature for all posts if set to "yes" </td> </tr> <tr valign="top"> <th scope="row"> <label for="pubArticlesAnswers">Pub Articles: Include "Answers" in search results?</label> </th> <td> <input type="checkbox" value="1" <?php if ($O3r->l2f("pubArtic\154\145\163Answers")):; ?>checked="checked"<?php endif; ?> id="pubArticlesAnswers" name="pubArticlesAnswers" /> <br />Pub Articles also has an "Answers" section, much like Yahoo Answers. Check this box to include Answers results in content search. This may or may not yield better results depending on your chosen niche. Disabled by default. </td> </tr> <?php /* <tr valign="top"> <th scope="row"> <label for="upload_path">Google Reader Login</label> </th> <td> <input type="text" size="40" value="<?php echo htmlentities($cmo->get("gReaderLogin"), ENT_QUOTES, 'UTF-8'); ?>" class="code" id="gReaderLogin" name="gReaderLogin"/> </td> </tr> <tr valign="top"> <th scope="row"> <label for="upload_path">Google Reader Password</label> </th> <td> <input type="password" size="40" value="<?php echo htmlentities($cmo->get("gReaderPassword"), ENT_QUOTES, 'UTF-8'); ?>" class="code" id="gReaderPassword" name="gReaderPassword"/> </td> </tr> */ ; ?> <tr> <th><h3>Templates</h3></th> <td> </td> </tr> <tr valign="top"> <th scope="row"> <label for="upload_path">Flickr Template</label> </th> <td> Allowed variables:<br /> {$keyword} - Keyword<br/> {$url} - Image URL<br/> <textarea class="code" style="width: 98%; font-size: 12px;" id="flickrTemplate" rows="10" cols="60" name="flickrTemplate"/><?php echo htmlentities($O3r->l2f("f\154\151\143\153rTempla\164\145")); ?></textarea> </td> </tr> <!-- <tr valign="top"> <th scope="row"> <label for="upload_path">Technorati Template</label> </th> <td> Allowed variables:<br /> {$title} - Post title<br/> {$content} - Post content<br/> <textarea class="code" style="width: 98%; font-size: 12px;" id="technoratiTemplate" rows="10" cols="60" name="technoratiTemplate"/><?php echo htmlentities($O3r->l2f("tech\156\157\162atiTempla\164\145")); ?></textarea> </td> </tr> --> <tr valign="top"> <th scope="row"> <label for="upload_path">Yahoo Template</label> </th> <td> Allowed variables:<br /> {$title} - Question title<br/> {$question} - Question content<br/> {$content} - Answer content<br/> <textarea class="code" style="width: 98%; font-size: 12px;" id="yahooAnswersTemplate" rows="10" cols="60" name="yahooAnswersTemplate"/><?php echo htmlentities($O3r->l2f("\171\141\150\157oAn\163\167\145\162\163\124emp\154\141\164\145")); ?></textarea> </td> </tr> <tr valign="top"> <th scope="row"> <label for="upload_path">Yahoo News Template</label> </th> <td> Allowed variables:<br /> {$title} - News title<br/> {$summary} - News content<br/> {$url} - Url<br/> <textarea class="code" style="width: 98%; font-size: 12px;" id="yahooNewsTemplate" rows="10" cols="60" name="yahooNewsTemplate"/><?php echo htmlentities($O3r->l2f("\171ahooNe\167\163\124emplate")); ?></textarea> </td> </tr> <tr valign="top"> <th scope="row"> <label for="upload_path">YouTube Template</label> </th> <td> Allowed variables:<br /> {$title} - Video title<br/> {$video} - Video ID<br/> <textarea class="code" style="width: 98%; font-size: 12px;" id="youtubeTemplate" rows="10" cols="60" name="youtubeTemplate"/><?php echo htmlentities($O3r->l2f("\171outubeTe\155\160\154\141te")); ?></textarea> </td> </tr> </tbody> </table> <h3>Settings</h3> <table class="form-table"> <tbody> <tr valign="top"> <th scope="row"> <label for="upload_path">Template</label> </th> <td> <input type="text" size="40" value="<?php echo htmlentities($O3r->l2f("templat\145"),ENT_QUOTES,'UTF-8'); ?>" class="code" id="template" name="template"/> </td> </tr> <tr valign="top"> <th scope="row"> <label for="upload_path">Show eZine authors box</label> </th> <td> <input type="checkbox" value="1" <?php if ($O3r->l2f("sh\157\167\101uthorBio")):; ?>checked="checked"<?php endif; ?> id="showAuthorBio" name="showAuthorBio"/> </td> </tr> <tr valign="top"> <th scope="row"> <label for="upload_path">Show ArticlesBase authors box</label> </th> <td> <input type="checkbox" value="1" <?php if ($O3r->l2f("aBase\137\163\150owAuthorB\151\157")):; ?>checked="checked"<?php endif; ?> id="aBase_showAuthorBio" name="aBase_showAuthorBio"/> </td> </tr> <tr valign="top"> <th scope="row"> <label for="deleteEmpty">Unpublish posts with "Zero Content"</label> </th> <td> <input type="checkbox" value="1" <?php if ($O3r->l2f("delet\145\105\155pty")):; ?>checked="checked"<?php endif; ?> id="deleteEmpty" name="deleteEmpty" /> <br />This is applied when Content Mage "unpacks" the post. Zero Content can be defined below. If the post is flagged as having "Zero Content", the post's status will be set to Draft, enabling you to review, modify and re-publish the post as necessary. </td> </tr> <tr valign="top"> <th scope="row"> <label for="deleteEmpty">Number of words considered "zero content"</label> </th> <td> <input type="text" value="<?php echo ($O3r->l2f("\156oWordsZe\162\157\103ontent") != NULL) ? $O3r->l2f("noWor\144\163\132\145roCont\145\156\164"): 024; ?>" id="noWordsZeroContent" name="noWordsZeroContent" /> <br />When Content Mage "unpacks" the post, it will strip out all HTML, Affiliate Mage and PHPBay tags, leaving only raw words/text to run the "Zero Content" test. You can define here how many words you consider "Zero Content". The default is 20 - i.e. if an article/post contains less than 20 words, it will be set to Draft Mode. You need to enable "Unpublish posts with "Zero Content" above for this to take effect. </td> </tr> <tr valign="top"> <th scope="row"> <label for="deleteEmpty">IP Address to assign to cURL for obtaining Data</label> </th> <td> <input type="text" value="<?php echo trim($O3r->l2f("\151nterfa\143\145\101\144dress")); ?>" id="interfaceAddress" name="interfaceAddress" /> <br />If you have a <strong>DEDICATED SERVER WITH <em>MULTIPLE IP ADDRESSES</em></strong>, you can choose which IP Address Content Mage will use in its cURL request to obtain data from sources. <strong>Note: </strong>this must be the same IP as this domain, so that the content source can return the requested data. This field is not required in most cases, and if left blank the Server's main IP address will be used. <br /> <strong>WARNING: </strong>DO NOT SET THIS IF YOU DO NOT KNOW WHAT IT MEANS. ENTERING THE WRONG IP WILL RESULT IN CONTENT MAGE BEING UNABLE TO GET ANY CONTENT! </td> </tr> </tbody> </table> <p class="submit"> <input type="submit" class="button" value="Save Changes" name="Submit"/> </p> </form> </div>