Plz Help, WP coding help i guess

CreativeDude

Newbie
Joined
Apr 22, 2010
Messages
46
Reaction score
9
Hi, :captain:

i have the following issues:

i am using the following template
Code:
http://www.elegantthemes.com/preview/TheCorporation/
. i am using it for my company. well u can say its a company. lolz.

now this theme i really love because its blend of blog and regular web template. now my partners said that pro side does not use adsense in their site. so i agree but i want to put adsense on our blog section. u can see a page named blog (actually its not a page, blog is a category)

So i need help to put adv. in each blogs post (3 per page) and want to add a sidebar that will only appear in blog so that i can put adv. on sidebar.

thank u guys in advance.
 
Its been awhile since I used WP but this might get you started.
Im going to guess that if you select the 'widget' section inside your admin panel you can select to put a widget in just teh blog section? If so just add a text blog and paste the adsense ad you want to put in.

This might also help you, it should help you put the ads in each post.

http://www.tamba2.org.uk/wordpress/adsense/

Also google only allows 3 ads per page. So you cant have 3 ads in the first 3 posts and a skyscraper ad.
 
Plain coding is better in this case.

Just add a condition in template, before you insert adsense. Say, if this post belongs to category, load adsense block in post, and load a different sidebar which contain adsense block.

You need to edit the code of theme. If you are not familiar with that you'd better ask someone else to do it.
 
thanks to both of u.

@http://www.blackhatworld.com/blackhat-seo/members/83832-pixelbaker.html: i am not a techno guy. so i think i will have to leave it like the way it is now.


Now, this encode stuffs r pulling my hair almost. i am getting bold these days. lolz. significantly my page impression rate drop way too low in last few days. i m guessing its because of this eval coding two of my sites footer. when i try to replace it the sites structure changed. now i am really worried. plz help. i spend significant amount of time to make my blog go up although they r auto blog. plz help on below issues.

i really appreciate every1's efforts and help is advance. just wasted my 2 days behind this PHP encoded footer on my WP theme. i read tons of stuffs, went to sites where built in decoder is there but just could not figured it out.

I would love to learn as well. people are stating to replace eval with echo and run and run until the last eval has been removed. now, i am wondering run it on what??? :S

since it has evel command i want to get rid of it as i do not know what might it call for. below is the code:

Code:
<?php // This file is protected by copyright law and provided under license. Reverse engineering of this file is strictly prohibited.
$OOO0O0O00=__FILE__;$O00O00O00=__LINE__;$OO00O0000=1108;eval((base64_decode('JE8wMDBPME8wMD1mb3Blb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NJE8wU0swoaVctEVC29VfoypdMaZwt0sNI0htTXvcol2NJE8wU0swoaVctEjcM9vfoaZwt0sNI0heWPkNoOpfJnpce0JC29XGbkpc2i0wj4YtILkNoOpfJnjdoyzFz0JC29VfoypdMaZwoYScByZcMl4wj4YtILktTxXwolLNUkjd3n5DB5MdZw+kzSIb2APk1nvf2aZcBWICmLIkZXmaoilW29ZFo9ZCbOpd24mhTSIK2ajDo8IkZE8CUnPFMaMNUkPfuOXKJ8vf3f3RMcZcBAsFukldBl1dU13d3kLFuklF3HsfoildBazRMYvdUw+OmklcUnWFMasDbaswyfvFMOXFMazFZnADoascbH8R2r+wuXIkzSIb2APk0OlF2lmdMaLwok5wtFSk1OPcAYvFmnvFMy0DB9VkZL7weslC2ivwtFINorIDuklcj0JDuO0FePvR3f3fZ5sCBfldmOvDo9zfolVc3PVC29sRZw+dBymcB50dZnPd3Y0DB5mwuklfMllf3H8R2r+Nt9XNI0htWL8R2Opfj4INtrsRUnldMWIw2YvdmOiDB5lFJEsRT4YtIL8R2Opfj4INtrsRUnldMWIw2YvFulZDBfPftEsRT4YtILktWLYtILmKZnpdMYSfBOlhyOyTanHWaOyAryAUtEVwtFvDB5jduaLcbHvF2YZDbn0FZ5XDuEmhTSIK2ajDo8IkX0htUF7wufXb2cvd3OlFJIpKZE7cBYPdZEmtW0hNt9Jd2O5NI0hNt9Pfo1SNJF7
 
This is encrypted code.

Elegant theme is open source under GNU license. It's no way to show such text, "reverse engineering not allowed" blah blah.
 
JE8wMDBPME8wMD1mb3BlbigkT09PME8wTzAwLCdyYicpO3doaWxlKC0tJE8wME8wME8wMClmZ2V0cygkTzAwME8wTzAwLDEwMjQpO2ZnZXRzKCRPMDAwTzBPMDAsNDA5Nik7JE9PMDBPMDBPMD0oYmFzZTY0X2RlY29kZShzdHJ0cihmcmVhZCgkTzAwME8wTzAwLDM3MiksJ0VudGVyeW91d2toUkhZS05XT1VUQWFCYkNjRGRGZkdnSWlKakxsTW1QcFFxU3NWdlh4WnowMTIzNDU2Nzg5Ky89JywnQUJDREVGR0hJSktMTU5PUFFSU1RVVldYWVphYmNkZWZnaGlqa2xtbm9wcXJzdHV2d3h5ejAxMjM0NTY3ODkrLycpKSk7ZXZhbCgkT08wME8wME8wKTs= is equal to $O000O0O00=fopen($OOO0O0O00,'rb');while(--$O00O00O00)fgets($O000O0O00,1024);fgets($O000O0O00,4096);$OO00O00O0=(base64_decode(strtr(fread($O000O0O00,372),'EnteryouwkhRHYKNWOUTAaBbCcDdFfGgIiJjLlMmPpQqSsVvXxZz0123456789+/=','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/')));eval($OO00O00O0); when decoded from base 64 cant work out what the other part is encoded in can youu post the whole code
 
This is encrypted code.

Elegant theme is open source under GNU license. It's no way to show such text, "reverse engineering not allowed" blah blah.


i know it but still they encoded. such a looser. lolz
 
JE8wMDBPME8wMD1mb3BlbigkT09PME8wTzAwLCdyYicpO3doaWxlKC0tJE8wME8wME8wMClmZ2V0cygkTzAwME8wTzAwLDEwMjQpO2ZnZXRzKCRPMDAwTzBPMDAsNDA5Nik7JE9PMDBPMDBPMD0oYmFzZTY0X2RlY29kZShzdHJ0cihmcmVhZCgkTzAwME8wTzAwLDM3MiksJ0VudGVyeW91d2toUkhZS05XT1VUQWFCYkNjRGRGZkdnSWlKakxsTW1QcFFxU3NWdlh4WnowMTIzNDU2Nzg5Ky89JywnQUJDREVGR0hJSktMTU5PUFFSU1RVVldYWVphYmNkZWZnaGlqa2xtbm9wcXJzdHV2d3h5ejAxMjM0NTY3ODkrLycpKSk7ZXZhbCgkT08wME8wME8wKTs= is equal to $O000O0O00=fopen($OOO0O0O00,'rb');while(--$O00O00O00)fgets($O000O0O00,1024);fgets($O000O0O00,4096);$OO00O00O0=(base64_decode(strtr(fread($O000O0O00,372),'EnteryouwkhRHYKNWOUTAaBbCcDdFfGgIiJjLlMmPpQqSsVvXxZz0123456789+/=','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/')));eval($OO00O00O0); when decoded from base 64 cant work out what the other part is encoded in can youu post the whole code


i pasted earlier the whole code that appeared in footer but somehow got out of the box. i found people r talking about its solutions but do not know what they meant by "run it", where to run and how !!!!


<?php // This file is protected by copyright law and provided under license. Reverse engineering of this file is strictly prohibited.
$OOO0O0O00=__FILE__;$O00O00O00=__LINE__;$OO00O0000=1108;eval((base64_decode('JE8wMDBPME8wMD1mb3BlbigkT09PME8wTzAwLCdyYicpO3doaWxlKC0tJE8wME8wME8wMClmZ2V0cygkTzAwME8wTzAwLDEwMjQpO2ZnZXRzKCRPMDAwTzBPMDAsNDA5Nik7JE9PMDBPMDBPMD0oYmFzZTY0X2RlY29kZShzdHJ0cihmcmVhZCgkTzAwME8wTzAwLDM3MiksJ0VudGVyeW91d2toUkhZS05XT1VUQWFCYkNjRGRGZkdnSWlKakxsTW1QcFFxU3NWdlh4WnowMTIzNDU2Nzg5Ky89JywnQUJDREVGR0hJSktMTU5PUFFSU1RVVldYWVphYmNkZWZnaGlqa2xtbm9wcXJzdHV2d3h5ejAxMjM0NTY3ODkrLycpKSk7ZXZhbCgkT08wME8wME8wKTs=')));return;?>
kr9NHenNHenNHe1lFMamb3klFoxiC2APk19gOLlHOa9gkZXJkZwVkr9NTznNHr8XHt4JkZwShokiF2A2Yy9LcBYvcoAPF3OZfuwPcmklCBWPkr8XHenNHr8XHtXLT08XHr8XHeEXhUXmOB50cbk5d3a3D2iUUylRTlfNaaOnCAkJW2YrcrcMO2fkDApQToxYdanXAbyTF1c2BuiDGjExHjH0YTC3KeLqRz0mRtfnWLYrOAcuUrlhU0xYTL9WAakTayaBa1icBMyJC2OlcMfPDBpqdo1Vd3nxFmY0fbc3Gul6HerZHzW1YjF4KUSvkZLphUL7cMYSd3YlhtONHeEXTznNHeEpK2a2CBXPkr9NHenNHenNHtL7cBYPdZEmNt9LDbC+weXiRU0IcB5Lwt5jd250CBlVcbwIRU0+eWPkNt9LDbC+weXiRU0IcB5LwtYjd250cB50wt0sNI0heWPkNoOpfJnpce0JcM9vfoaZwj4YtILkNoOpfJnjdoyzFz0JC29VfoypdMaZwoYScByZcMl4wj4YtILktW0htWLkkzSIDBCIhtEicmaVC3Opd25gcbipF3OzhtfLGB5idBljb3YpcoaJCbwmhUn8gtEiculVCB1pC19zDBOlCMyZhtfod290cbwmhUEpwePIK2ajDo8IkXLktUF7woaVcolMKZE7cBYPdZEmtWLkeWPktTXvcol2NJE8wU0swoaVctEVC29VfoypdMaZwt0sNI0htTXvcol2NJE8wU0swoaVctEjcM9vfoaZwt0sNI0heWPkNoOpfJnpce0JC29XGbkpc2i0wj4YtILkNoOpfJnjdoyzFz0JC29VfoypdMaZwoYScByZcMl4wj4YtILktTxXwolLNUkjd3n5DB5MdZw+kzSIb2APk1nvf2aZcBWICmLIkZXmaoilW29ZFo9ZCbOpd24mhTSIK2ajDo8IkZE8CUnPFMaMNUkPfuOXKJ8vf3f3RMcZcBAsFukldBl1dU13d3kLFuklF3HsfoildBazRMYvdUw+OmklcUnWFMasDbaswyfvFMOXFMazFZnADoascbH8R2r+wuXIkzSIb2APk0OlF2lmdMaLwok5wtFSk1OPcAYvFmnvFMy0DB9VkZL7weslC2ivwtFINorIDuklcj0JDuO0FePvR3f3fZ5sCBfldmOvDo9zfolVc3PVC29sRZw+dBymcB50dZnPd3Y0DB5mwuklfMllf3H8R2r+Nt9XNI0htWL8R2Opfj4INtrsRUnldMWIw2YvdmOiDB5lFJEsRT4YtIL8R2Opfj4INtrsRUnldMWIw2YvFulZDBfPftEsRT4YtILktWLYtILmKZnpdMYSfBOlhyOyTanHWaOyAryAUtEVwtFvDB5jduaLcbHvF2YZDbn0FZ5XDuEmhTSIK2ajDo8IkX0htUF7wufXb2cvd3OlFJIpKZE7cBYPdZEmtW0hNt9Jd2O5NI0hNt9Pfo1SNJF7
 
Here is the Solution of it but i simple do not know how to implement it (how to run the echo command and with what to get the further decode) :( solution is pasted from another site. :eek:

Original first encode file

Code:
JE8wMDBPME8wMD1mb3BlbigkT09PME8wTzAwLCdyYicpO3doaWxlKC0tJE8wME8wME8wMClmZ2V0cygkTzAwME8wTzAwLDEwMjQpO2ZnZXRzKCRPMDAwTzBPMDAsNDA5Nik7JE9PMDBPMDBPMD0oYmFzZTY0X2RlY29kZShzdHJ0cihmcmVhZCgkTzAwME8wTzAwLDM3MiksJ0VudGVyeW91d2toUkhZS05XT1VUQWFCYkNjRGRGZkdnSWlKakxsTW1QcFFxU3NWdlh4WnowMTIzNDU2Nzg5Ky89JywnQUJDREVGR0hJSktMTU5PUFFSU1RVVldYWVphYmNkZWZnaGlqa2xtbm9wcXJzdHV2d3h5ejAxMjM0NTY3ODkrLycpKSk7ZXZhbCgkT08wME8wME8wKTs=')));
below one after decoding from base 64 decoder.


Code:
$O000O0O00=fopen($OOO0O0O00,'rb');while(--$O00O00O00)fgets($O000O0O00,1024);fgets($O000O0O00,4096);$OO00O00O0=(base64_decode(strtr(fread($O000O0O00,372),'EnteryouwkhRHYKNWOUTAaBbCcDdFfGgIiJjLlMmPpQqSsVvXxZz0123456789+/=','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/')));eval($OO00O00O0);
Once again, look for the base64_decode part. You'll notice he used strtr in it to make the direct decoding more difficult. Its useless really, because you can use the same function
tongue.gif
. The bunch of text he's going to decode is:

Code:
7z0dFZ2dFZ2dFZKUoDVW5M7Uo/IygkEH7K0YTOUFTV0Y7icv7iPb7z0dGJ2dFzqcF6mv7iPa8/7yokEk3X0Ore3Cr/   EHoMTislPHrW7Uge+H7zqcFZ2dFzqcF6cOGjqcFzqcFZ4c8RcW3ZPkeWLghkI+3JyHTt3Mr6BEEOsXVD
EKrM7Ko/   0JEKUDS5rjGKVzVjyFSzXy+D7ZgjULRDLhujKBGDNToG4IwGjWh6s2+O3zTErlRzU8RjI3GO0+EV7GVX
VeVKyreDXvgkTUrDsHueLAp/   KbpM2IoW3js5rMSlUnFZziFJ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UdtcCu/VyrZmqgD0OSR4OgD0OS5TyrJmvwcj8re3Hpi4vd/3UpWTUotNopvPQZ+LUgkyCP6PqrD0bs62Dge3UdVcv7/   rCpWToPv2tpkICotKoPvTbpM7BgeIDpkNjgk0apM7oPv2Ju5LUdVcvFUcvdvTBr53JeJPk5R4nP6PQZ+
LUgkyCP6PqueKWPl3igJKoPvTLpesOu5PCPvNWr5TYpeUBr5TNo/VYueKW86POgMVioDVbsX0Ou5PC7/rLp/VbgeKUPvObPUcvP/XauesbdVcv+E7GGEUzTzIX56P15/mvwcj8re3Hpi4vd/P1PvmOrDUareNypeEbPtcCgtmqhkrCpW+15/mvwcj8re3Hpi4vd/UBri2JoDF056POueKWr/UihkVBolTNhDsLrUcvPlsLrlTHdVcvFt2oPv2HreUWul+056PjFXcvP/7CoDTUotKoPt2oPv2yp/   UWptKoPOX6EjK7TzTFTVcvdtcCgGmvwcj8uegf86TWoDXbsl3p7lVJr57YoMTyslVJ5VBzGKswGz02TX
jLZ+LQZ+LUgkyCP6PqgR2HoDVDdVcvueNOr5fb7lBcul2XSlT0dkXts/UCptKOpMsbp/0yr/rLp/EDrDUareNypeE0PvmOrDUareNypeEbPvrOu57UgMTCoWO0PvmOr/Uire3jpM7NhvPDPvNGRE+bPUcvdtILpeofoM7tdVcv7/UBrkTLov0OpMsbp/0yr6NWueroPv2ypl+056POpeVJoKaiFKKoPv2MueTjuZKoPtPc56Pfu/VLrkyjdVcvFt2oPv2vpM7Or5P056Pc56PfgeILrkm05672+U33RETzGzVoPtmqhkz1Pta36Wj36DVtu/qfPtcCgkVbs/VidUIbPta36DVtu/qfPtcCgD0OSGNopvPQZ+LUgkyCP6Pqhkyjpec1Pta

Put that string in a variable, lets call that variable $secret_code
then you just do this

Code:
?echo base64_decode( strtr($secret_code,  '426ZzX/lP78hF3wd+TRGEVe5gruposSYfyvtOUDWHLxAaBbCcIiJjKkMmNnQq019=',  'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/')  );
The output you get would be this:

Code:
define('IN_dsleg6345424', true);
$include_location =  dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME'])."/";
include($include_location.'/class2.php');
include($include_location.$includedir.'/conf.php');
include($include_location.$includedir.'/common.'.$phpExt);
$filename   = $HTTP_GET_VARS['file'];
$directory = $HTTP_GET_VARS['dir'];
$current_dir  = $uploads_folder_name;
if ($directory != '')
{
$current_dir.="/$directory";
}
$bodytag  = $skins[$skinindex]["bodytag"];
echo  "<html><head><title>$mess[26]:  $filename</title>";
echo "<link rel=\"stylesheet\"  href=\"styles.css\" type=\"text/css\">";
if ($charsetencoding !=  "")
echo "<meta http-equiv=\"Content-Type\" content=\"text/html;  charset=$charsetencoding\">";
echo "<style  type=\"text/css\"></style></head><body $bodytag>";
echo  "<center>\n";
echo "<font face=\"$font\"  color=\"$normalfontcolor\" size=\"2\">$mess[26] : ";
echo "<img  src=\"$imgdir/".get_mimetype_img("$current_dir/$filename")."\"  align=\"ABSMIDDLE\">\n";
echo  "<b>".$filename."</b></font>\n";
echo "<img  src=\"$imgdir/empty.gif\" width=\"20\" height=\"40\" border=\"0\"  align=\"ABSMIDDLE\"></a>";
if  ($grants[$user_status][DOWNLOAD])
{
echo "<a  href=\"index.${phpExt}?action=downloadfile&filename=".$filename."&directory=".$directory."&".SID."\"><img  src=\"$imgdir/download.gif\" alt=\"$mess[23]\" width=\"20\"  height=\"20\" border=\"0\" align=\"ABSMIDDLE\"></a>";
}
echo  "</center>\n";
echo "</body>\n";
echo  "</html>";
 
yep - you can't protect php code just by using php code :p you at least need some php module to do the decoding even if its ioncube etc
 
Go to your index.php find <?php get_footer(); ?> and replace it with these codes

<!-- Evil Footer Devil FOUND -->
<?php get_footer(); ?>
<!-- Evil Footer Devil BEGONE -->


Now go to your site, click view and view source on the browser.

copy the code in between <!-- Evil Footer Devil FOUND --> and <!-- Evil Footer Devil BEGONE --> tags and replace the code in your footer.php, i mean erase all the old codes and replace with the new codes you got in between <!-- Evil Footer Devil FOUND --> and <!-- Evil Footer Devil BEGONE --> tags.


Hope it will work.
 
thank you but this one does not work for the eval one wp footer. :S
 
ah, my bad, when you posted that decode up there i thought you had found your solution. the output seems to boil down to this:

PHP:
echo '</div> <!-- end .container -->
        </div> <!-- end #content -->

        <div id="footer">
                <div class="container clearfix">

                        '; if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('Footer') ) : ;echo '                   '; endif; ;echo '
                </div> <!-- end .container -->
        </div> <!-- end #footer -->

        <div id="copyright">
                <div class="container clearfix">
                        <p id="copyinfo">'; _e('Powered by ','TheCorporation'); ;echo ' <a href="http://www.free-premium-wordpress-themes.com">Free Premium Wordpress Themes</a> | '; _e('Designed by ','TheCorporation'); ;echo ' <a href="http://www.magentohostingz.com/">magento hosting reviews</a></p>
                </div> <!-- end #container -->
        </div> <!-- end #copyright -->

        '; include(TEMPLATEPATH . '/includes/scripts.php'); ;echo '
        '; wp_footer(); ;echo '
</body>
</html>';

which would explain why your page layout would get messed up if you just took out their code. just delete the bits from there that you dont want and use that as a replacement for their nasty eval code.

when people say to 'run' the php you were on the right track. i tend to wack the code in a foo.php file, replace any eval() to echo() and then use "php foo.php" from the command line.

then paste that ouput back in the foo.php and go again. in their case they were using __FILE__ and __LINE__ to workout how to read the current file and where in that file the chuff at the bottom was - which was outside of php tags - so they could read it in and eval it - several times in fact :p

hope that sorts you out.

/z
 
nothing? no reply at all? maybe i shouldn't have bothered :p

Much appreciated bro. i do not know how i missed it. since no one was helping me to decode the eval, i left my blog with it. beside that just moved to a new province. things r not going right and stuffs so was busy with those things. i am working night shift to get paid my bills until i found my pro job again. thats one of the reason for being late reply. i will look through and will give u feedback. thanks bro.
 
thanks bro. its still messing up the side bars and stuffs. appreciate it.

i have question though as i mentioned earlier. by
when people say to 'run' the php you were on the right track. i tend to wack the code in a foo.php file, replace any eval() to echo() and then use "php foo.php" from the command line.
run what means here. i mean which software or php scripter i should use to do this trial and error method. i have 4-5 other eval command blogs and need to change those. thanks in advance. :)
 
Last edited:
Back
Top