How to put square ads on Mihalism Multi Host

Discussion in 'Site & Server Administration' started by WIZARDIOUS, Apr 16, 2009.

  1. #1
    Hi,
    I own www.hostgfx.com

    How to put square ads on right? Please help.
    Also please move this thread to wherever necessary. I am not sure where to put this thread.
     
    WIZARDIOUS, Apr 16, 2009 IP
  2. CrumX

    CrumX Banned

    Messages:
    326
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #2
    If this is a php script you can edit the php code..
     
    CrumX, Apr 16, 2009 IP
  3. WIZARDIOUS

    WIZARDIOUS Banned

    Messages:
    18
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    i actualy meant to say that I am unable to put it.
    I tried editing index.php but the ad comes below the browse rectangles and not at right of it.
     
    WIZARDIOUS, Apr 16, 2009 IP
  4. Bohra

    Bohra Prominent Member

    Messages:
    12,573
    Likes Received:
    537
    Best Answers:
    0
    Trophy Points:
    310
    #4
    Make it a table the uploading part in one side and the ads on the other
     
    Bohra, Apr 16, 2009 IP
  5. CrumX

    CrumX Banned

    Messages:
    326
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #5
    if you can copy paste the index.php file in here then we can work out a solution for that
     
    CrumX, Apr 16, 2009 IP
  6. GMC

    GMC Member

    Messages:
    99
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    45
    #6
    Add this to your style.css file

    
    #ads{
    float: right;
    width: 400px;
    margin:5px 0 20px 10px;
    padding:10px;
    border:1px solid #c0c0c0;
    background-color:#fafbfc;
    color:#505050;
    line-height:1.5em;
    }
    Code (markup):
    then ad this to top of your home.tpl file under
    <template id="normal_upload_page">
    Code (markup):
    
    <div id="ads"><div align="center"><!-- Begin: your ad code here  -->
    
    <script type="text/javascript">
    
    var _Title_Color = '0000FF';
    
    var AdBrite_Text_Color = '000000';
    
    var AdBrite_Background_Color = 'FFFFFF';
    
    var AdBrite_Border_Color = 'CCCCCC';
    
    var AdBrite_URL_Color = '008000';
    
    </script>
    
    <!-- End: your ad code  --></div></div>
    Code (markup):
    I am no coder - but it works for me

    have a look here - WARNING: its an adult site with adult ads

    www.upit-downit.com
     
    GMC, May 6, 2009 IP