Simple Machines Community Forum

Customizing SMF => SMF Coding Discussion => Aiheen aloitti: rendi - helmikuu 06, 2006, 06:55:37 AP

Otsikko: need help about google adsense colour
Kirjoitti: rendi - helmikuu 06, 2006, 06:55:37 AP
here the code i'm need help cause the color not same with first post, need help

Lainaa

Display.template.php

<?php
// Version: 1.1 RC2; Display
.
.
.

if ($message['id'] == $context['first_message'])
   echo '
      <tr><td class="windowbg1">
      <table width="100%" cellpadding="5" cellspacing="0" style="table-layout: fixed;">
               <tr><td valign="top" width="16%" rowspan="2" style="overflow: hidden;">
                     <b><a href="', $scripturl, '">by Google</a></b>
                     <div class="smalltext">
                        Member<br />
                        <img src="' . $settings['images_url'] . '/star.gif" alt="*" border="0" /><img src="' . $settings['images_url'] . '/star.gif" alt="*" border="0" /><img src="' . $settings['images_url'] . '/star.gif" alt="*" border="0" /><img src="' . $settings['images_url'] . '/star.gif" alt="*" border="0" /><img src="' . $settings['images_url'] . '/star.gif" alt="*" border="0" /><br />
                        <img src="' . $settings['images_url'] . '/useroff.gif" alt="Offline" border="0" align="middle" /><span class="smalltext"> Online</span><br /><br />
                        Posts: 35<br />
                        <br />
                        <br />
                        <a href="', $scripturl, '"><img src="' . $settings['images_url'] . '/icons/profile_sm.gif" alt="View Profile" title="View Profile" border="0" /></a>
                     </div>
                  </td>
                  <td valign="top" width="85%" height="100%">
                     <table width="100%" border="0"><tr>
                        <td align="left" valign="middle" width="25"><img src="' . $settings['images_url'] . '/post/xx.gif" alt="" border="0" /></td>
                        <td align="left" valign="middle"><b><a href="', $scripturl, '">Re: ', $context['subject'], '</a></b><div class="smalltext">« <b> Posted on:</b> ', $context['current_time'], ' »</div></td>
                        <td align="right" valign="bottom" height="20" nowrap="nowrap" style="font-size: smaller;"></td>
                     </tr></table>
                  <hr width="100%" size="1" class="hrcolor" />
                     <div style="overflow: auto; width: 100%;">
                     <script type="text/javascript"><!--
                     google_ad_client = "pub-4690319344882078";
                     google_ad_width = 728;
                     google_ad_height = 90;
                     google_ad_format = "728x90_as";
                     google_ad_type = "text";
                     google_ad_channel ="6462229641";
                     google_color_border = "ADADAD";
                     google_color_bg = "ADADAD";
                     google_color_link = "226C22";
                     google_color_url = "ADADAD";
                     google_color_text = "333333";
                     //--></script>
                     <script type="text/javascript"
                       src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
                     </script>
                     </div>
      </td></tr>
      <tr>
         <td valign="bottom" class="smalltext" width="85%">
            <table width="100%" border="0" style="table-layout: fixed;">
               <tr><td align="left" colspan="2" class="smalltext" width="100%"></td></tr>
               <tr><td align="left" valign="bottom" class="smalltext"></td>
                  <td align="right" valign="bottom" class="smalltext"><img src="' . $settings['images_url'] . '/ip.gif" alt="" border="0" />
                     127.0.0.1
                  </td>
               </tr>
            </table>
         </td>
      </tr>
   </table>
   </td></tr>';



here i'm attach the picture

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg148.imageshack.us%2Fimg148%2F7081%2Fsample3nd9xw.th.jpg&hash=ae6c6867b6f215cb8ef0892899eda00741bc75fe) (http://img148.imageshack.us/my.php?image=sample3nd9xw.jpg)