If you still want to use old-style of Adsense Code, this generator will help you.
Old AdSense Code Generator
The AdSense code is generated from within your publisher account. This is the code that you'll need to add to your pages in order to display Google ads or a search box on your webpages.
If implemented correctly, Google ads or a search box will appear immediately. Initially, the ads that appear may be public service ads, for which you will not receive earnings. Once our crawlers have visited your page, however, targeted ads will begin to appear.