1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

[Help Needed]Skyscraper Ad On The Side Of My site?

Discussion in 'Web Design' started by Francis1717, Mar 13, 2013.

  1. Francis1717

    Francis1717 Newbie

    Joined:
    Jan 16, 2013
    Messages:
    5
    Likes Received:
    0
    hi BHW folks, im having hard time putting the skyscraper ad code in my website. googled a lot but did not find any clue, please help, im a newbie girl.


    how do i put the skyscraper on both sides of my site? where shoud i place the code?


    here is the html layout of my site and the ad codes


    thanks in advance, any help would be really appreciated.



    ad codes:




    <iframe border=0 frameborder=0 marginheight=0 marginwidth=0 width=168 height=608 scrolling=no allowtransparency=true rc=ht can't post link></iframe>



    HTML:


    Code:
    <!DOCTYPE html>
    Code:
    [FONT=Verdana]<html>[/FONT]
    [FONT=Verdana]<head>[/FONT]
    [FONT=Verdana]    <title><?php echo $site_title; ?></title>[/FONT]
    [FONT=Verdana]    <meta http-equiv="content-type" content="text/html;charset=UTF-8" />[/FONT]
    [FONT=Verdana]    <meta name="description" content="<?php echo $site_meta_description; ?>" />[/FONT]
    [FONT=Verdana]    <meta name="keywords" content="<?php echo $site_meta_keywords; ?>" />[/FONT]
    [FONT=Verdana]    <meta name="author" content="<?php echo $site_meta_author; ?>" />[/FONT]
    [FONT=Verdana]    <link rel="stylesheet" type="text/css" href="css/styles.css" />[/FONT]
    [FONT=Verdana]    <script type="text/javascript" src="js/jquery-1.7.1.min.js"></script>[/FONT]
    [FONT=Verdana]    <script type="text/javascript" src="js/jquery-ui-1.8.18.custom.min.js"></script>[/FONT]
    [FONT=Verdana]    <link type="text/css" href="css/smoothness/jquery-ui-1.8.18.custom.css" rel="stylesheet" />[/FONT]
    [FONT=Verdana]    <!-- POPUP BOX CLICK IMAGE START -->[/FONT]
    [FONT=Verdana]    <script type="text/javascript">[/FONT]
    [FONT=Verdana]        <!--[/FONT]
    [FONT=Verdana]        function popitup(url) {[/FONT]
    [FONT=Verdana]            newwindow=window.open(url,'name','height=800,width=1024');[/FONT]
    [FONT=Verdana]            if (window.focus) {newwindow.focus()}[/FONT]
    [FONT=Verdana]            return false;[/FONT]
    [FONT=Verdana]        }[/FONT]
    
    
    [FONT=Verdana]        // -->[/FONT]
    
    
    [FONT=Verdana]    </script>[/FONT]
    
    
    [FONT=Verdana]    <script>[/FONT]
    [FONT=Verdana]        $(function() {[/FONT]
    [FONT=Verdana]            $( ".downloadimg button" ).button({[/FONT]
    [FONT=Verdana]                icons: {[/FONT]
    [FONT=Verdana]                    primary: "ui-icon-image"[/FONT]
    [FONT=Verdana]                }[/FONT]
    [FONT=Verdana]            })[/FONT]
    [FONT=Verdana]        });[/FONT]
    [FONT=Verdana]    </script>[/FONT]
    
    
    [FONT=Verdana]    <!-- POPUP BOX CLICK IMAGE END -->[/FONT]
    [FONT=Verdana]</head>[/FONT]
    [FONT=Verdana]<body>[/FONT]
    
    
    [FONT=Verdana]<?php include("inc/menu.php"); ?>[/FONT]
    
    
    [FONT=Verdana]<div id="container">[/FONT]
    [FONT=Verdana]    <div id="logo">[/FONT]
    [FONT=Verdana]        <a href="index.php"><img alt="logo" src="<?php echo $logo_location; ?>" /></a>[/FONT]
    [FONT=Verdana]    </div>[/FONT]
    
    
    [FONT=Verdana]    <div class="top_ads">[/FONT]
    [FONT=Verdana]        <?php[/FONT]
    
    
    
    
    
    
    [FONT=Verdana]    if($configs->isPremium($rowImage['id_user'])) {[/FONT]
    [FONT=Verdana]        echo stripslashes($configsarr['premium_ads_top']);[/FONT]
    [FONT=Verdana]    } else {[/FONT]
    [FONT=Verdana]        switch($rowImage['adult']) {[/FONT]
    [FONT=Verdana]            case 0:[/FONT]
    [FONT=Verdana]                echo stripslashes($configsarr['clean_top_ads']);[/FONT]
    [FONT=Verdana]                break;[/FONT]
    [FONT=Verdana]            case 1:[/FONT]
    [FONT=Verdana]                echo stripslashes($configsarr['adult_top_ads']);[/FONT]
    [FONT=Verdana]                break;[/FONT]
    [FONT=Verdana]        }[/FONT]
    [FONT=Verdana]        }[/FONT]
    [FONT=Verdana]        ?>[/FONT]
    [FONT=Verdana]    </div>[/FONT]
    
    
    [FONT=Verdana]<?php if(CONTINUE_TO_IMAGE == 1 && !isset($_POST['imgContinue'])) {[/FONT]
    
    
    [FONT=Verdana]    echo "[/FONT]
    [FONT=Verdana]    <div id='continuetoimage'>[/FONT]
    [FONT=Verdana]        <form action='' method='POST'>[/FONT]
    [FONT=Verdana]            <p>[/FONT]
    [FONT=Verdana]                <input class='button white bigwidth' type='submit' name='imgContinue' value='Continue to image ... ' />[/FONT]
    [FONT=Verdana]            </p>[/FONT]
    [FONT=Verdana]        </form>[/FONT]
    [FONT=Verdana]    </div>[/FONT]
    [FONT=Verdana]    ";[/FONT]
    
    
    [FONT=Verdana]} else { ?>[/FONT]
    [FONT=Verdana]    <div id="image_details">[/FONT]
    [FONT=Verdana]        <?php[/FONT]
    [FONT=Verdana]        list($width, $height) = getimagesize($dirImg);[/FONT]
    [FONT=Verdana]        echo "<p><strong>Date added:</strong> {$rowImage['date_added']}</p>";[/FONT]
    [FONT=Verdana]        echo "<p><strong>Views:</strong> {$viewsupdate} </p>";[/FONT]
    [FONT=Verdana]        echo "<p><strong>Width:</strong> {$width}px</p>";[/FONT]
    [FONT=Verdana]        echo "<p><strong>Height:</strong> {$height}px</p>";[/FONT]
    [FONT=Verdana]            if($width > 1000) {[/FONT]
    [FONT=Verdana]                echo "<br /><br /><p><i>This image was resized. Click to view full size</i></p>";[/FONT]
    [FONT=Verdana]            }[/FONT]
    [FONT=Verdana]        ?>[/FONT]
    [FONT=Verdana]    </div>[/FONT]
    
    
    [FONT=Verdana]<?php[/FONT]
    
    
    [FONT=Verdana]if($width > 1000) {[/FONT]
    [FONT=Verdana]//echo "<p>This image was resized. Click to view full size</p>";[/FONT]
    [FONT=Verdana]echo "<a href='{$dirImg}' onclick=\"return popitup('{$dirImg}')\"><img class='centred_resized' src='{$dirImg}' alt='image' /></a>";[/FONT]
    [FONT=Verdana]} else {[/FONT]
    [FONT=Verdana]echo "<img class='centred' src='{$dirImg}' alt='image' />";[/FONT]
    [FONT=Verdana]}[/FONT]
    [FONT=Verdana]?>[/FONT]
    [FONT=Verdana]<div class="downloadimg">[/FONT]
    [FONT=Verdana]    <button onclick="return popitup('dlimg.php?id=<?php echo $id; ?>')">Download Image</button>[/FONT]
    [FONT=Verdana]</div>[/FONT]
    [FONT=Verdana]    <?php[/FONT]
    [FONT=Verdana]    $q = "SELECT download_links FROM images_opt WHERE id_img = '$rowImage[id]'";[/FONT]
    [FONT=Verdana]    $result = mysql_query($q);[/FONT]
    [FONT=Verdana]    if(mysql_num_rows($result) > 0) {[/FONT]
    [FONT=Verdana]        $rowImgOpt = mysql_fetch_assoc($result);[/FONT]
    [FONT=Verdana]    echo "[/FONT]
    
    
    [FONT=Verdana]    <textarea id='download_links'>{$rowImgOpt['download_links']}</textarea>[/FONT]
    
    
    [FONT=Verdana]    ";[/FONT]
    [FONT=Verdana]    }[/FONT]
    
    
    [FONT=Verdana]    ?>[/FONT]
    [FONT=Verdana]    <script type="text/javascript">[/FONT]
    [FONT=Verdana]        $(function() {[/FONT]
    [FONT=Verdana]            $( "#accordion" ).accordion();[/FONT]
    [FONT=Verdana]        });[/FONT]
    [FONT=Verdana]    </script>[/FONT]
    
    
    
    
    [FONT=Verdana]    <div style="width:600px; margin:auto; margin-top:50px; margin-bottom:20px;">[/FONT]
    
    
    [FONT=Verdana]        <div id="accordion">[/FONT]
    [FONT=Verdana]            <h3><a href="#">Codes</a></h3>[/FONT]
    [FONT=Verdana]            <div>[/FONT]
    [FONT=Verdana]                <div id="imagecodes">[/FONT]
    [FONT=Verdana]                    <label>BB Code:</label><br />[/FONT]
    [FONT=Verdana]                    <input type='text' onclick="this.select();" value="<?php echo "[/FONT][FONT=Verdana]"; ?>">[/FONT]
    [FONT=Verdana]                    <br /> <br />[/FONT]
    [FONT=Verdana]                    <label>HTML:</label><br />[/FONT]
    [FONT=Verdana]                    <input type='text' onclick="this.select();" value="<?php echo "<a href='{$real_site_*****/img-{$id}.html'><img src='{$dirThumb}' alt='image' /></a>"; ?>">[/FONT]
    [FONT=Verdana]                    <br /> <br />[/FONT]
    [FONT=Verdana]                    <label>Link:</label><br />[/FONT]
    [FONT=Verdana]                    <input type='text' onclick="this.select();" value="<?php echo "{$real_site_*****/img-{$id}.html"; ?>">[/FONT]
    [FONT=Verdana]                    <?php[/FONT]
    [FONT=Verdana]                    if(DIRECT_LINK_SHOW == 1) {[/FONT]
    [FONT=Verdana]                        echo "[/FONT]
    [FONT=Verdana]                        <br /> <br />[/FONT]
    [FONT=Verdana]                        <label>Direct Link to image:</label><br />[/FONT]
    [FONT=Verdana]                        <input type='text' onclick='this.select();' value='{$dirImg}'>[/FONT]
    [FONT=Verdana]                        ";[/FONT]
    [FONT=Verdana]                    }[/FONT]
    [FONT=Verdana]                    ?>[/FONT]
    [FONT=Verdana]                </div>[/FONT]
    [FONT=Verdana]            </div>[/FONT]
    
    
    [FONT=Verdana]            <?php[/FONT]
    [FONT=Verdana]            if($rowImage['gallery'] > 0) {[/FONT]
    [FONT=Verdana]            echo "[/FONT]
    [FONT=Verdana]            <h3><a href='#'>More from this gallery</a></h3>[/FONT]
    [FONT=Verdana]            <div>[/FONT]
    [FONT=Verdana]            ";[/FONT]
    [FONT=Verdana]                $galleries->moreFromThisGallery($rowImage['gallery']);[/FONT]
    
    
    [FONT=Verdana]            echo "</div>";[/FONT]
    [FONT=Verdana]            }[/FONT]
    [FONT=Verdana]            ?>[/FONT]
    
    
    [FONT=Verdana]            <h3><a href="#">Share</a></h3>[/FONT]
    [FONT=Verdana]            <div>[/FONT]
    [FONT=Verdana]               <?php echo stripslashes($configsarr['share_plugins']); ?>[/FONT]
    [FONT=Verdana]            </div>[/FONT]
    [FONT=Verdana]        </div>[/FONT]
    [FONT=Verdana]    </div>[/FONT]
    
    
    [FONT=Verdana]<?php[/FONT]
    [FONT=Verdana]} // END ELSE CONTINUE TO IMAGE[/FONT]
    [FONT=Verdana]?>[/FONT]
    
    
    [FONT=Verdana]<div class="bottom_ads">[/FONT]
    [FONT=Verdana]<?php[/FONT]
    [FONT=Verdana]    if($configs->isPremium($rowImage['id_user'])) {[/FONT]
    [FONT=Verdana]        echo stripslashes($configsarr['premium_ads_bottom']);[/FONT]
    [FONT=Verdana]    } else {[/FONT]
    [FONT=Verdana]    switch($rowImage['adult']) {[/FONT]
    [FONT=Verdana]        case 0:[/FONT]
    [FONT=Verdana]            echo stripslashes($configsarr['clean_bottom_ads']);[/FONT]
    [FONT=Verdana]            break;[/FONT]
    [FONT=Verdana]        case 1:[/FONT]
    [FONT=Verdana]            echo stripslashes($configsarr['adult_bottom_ads']);[/FONT]
    [FONT=Verdana]            break;[/FONT]
    [FONT=Verdana]    }[/FONT]
    [FONT=Verdana]    }[/FONT]
    
    
    [FONT=Verdana]?>[/FONT]
    [FONT=Verdana]</div>[/FONT]
    
    
    
    
    [FONT=Verdana]</div>[/FONT]
    
    
    [FONT=Verdana]<?php[/FONT]
    [FONT=Verdana]include('inc/footer.php');[/FONT]
    [FONT=Verdana]echo stripslashes($configsarr['analytics']);[/FONT]
    
    
    [FONT=Verdana]switch($rowImage['adult']) {[/FONT]
    [FONT=Verdana]    case 0:[/FONT]
    [FONT=Verdana]        echo stripslashes($configsarr['popup_clean']);[/FONT]
    [FONT=Verdana]        break;[/FONT]
    [FONT=Verdana]    case 1:[/FONT]
    [FONT=Verdana]        echo stripslashes($configsarr['popup_adult']);[/FONT]
    [FONT=Verdana]        break;[/FONT]
    [FONT=Verdana]}[/FONT]
    [FONT=Verdana]?>[/FONT]
    
    
    
    
    [FONT=Verdana]</body>[/FONT]
    [FONT=Verdana]</html>[/FONT]
    

    after deleted one sentence in the HTML finally i can post the code
     
    Last edited: Mar 13, 2013
  2. partymarty4870

    partymarty4870 Elite Member

    Joined:
    Jul 7, 2010
    Messages:
    2,034
    Likes Received:
    1,690
    Location:
    I come from a land downunder
    to post the html you probably need to use code tags

    click on the 'Go Advanced" button between post quick reply and cancel and the code botton is the #. just paste your html between code and /code



    then maybe I'll have a look for you
     
  3. partymarty4870

    partymarty4870 Elite Member

    Joined:
    Jul 7, 2010
    Messages:
    2,034
    Likes Received:
    1,690
    Location:
    I come from a land downunder
    And I don't believe ur a girl - all the guys say that online when they want help
     
  4. Francis1717

    Francis1717 Newbie

    Joined:
    Jan 16, 2013
    Messages:
    5
    Likes Received:
    0
    thanks partymarty4870, im sure i did exactly as you said, but still it doesnt work, always tell me the same thing

     
  5. Francis1717

    Francis1717 Newbie

    Joined:
    Jan 16, 2013
    Messages:
    5
    Likes Received:
    0
    IM girl, a Chinese girl