Current location: Hot Scripts Forums » Programming Languages » PHP » Need help monetizing my site


Need help monetizing my site

Reply
  #1 (permalink)  
Old 11-09-09, 08:25 PM
walterhnry walterhnry is offline
New Member
 
Join Date: Nov 2009
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Need help monetizing my site

I have a small microblogging site and I just setup adbrite account. I tried to include the Java code in my PHP script and its not working...
Can somebody help me with where i would place this in my script?

think it goes somewhere in here. I want to do a right or leftside skyscrapper. Thanks!!!!!
PHP Code:

<script src="'.BASE.'static/js/jquery.js" type="text/javascript"></script>

<script src="'.BASE.'static/js/jsoc.js" type="text/javascript"></script>
<script src="'.BASE.'static/js/tooltip.php" type="text/javascript"></script>
<script type="text/javascript">var timerID = 0;</script>';
    $ajax = defined('AJAX_SECTION');
    if($ajax) {
        $ajax_section = AJAX_SECTION;
        $ajax_page = AJAX_PAGE;
        $tex .= '<script src="'.BASE.'static/js/general.php?section='.$ajax_section.'&amp;page='.$ajax_page.'" type="text/javascript"></script>';    
    } else {
        $tex .= '<script src="'.BASE.'static/js/general.php" type="text/javascript"></script>';
    }

    $tex .= checkBackground();
    $tex .= '</head>';
    $tex .= '<body>';
    if($ajax) $tex .= '<script type="text/javascript">var timerID = setInterval(\'reloadNotes()\', 30000);</script>';
    $tex .= '<div id="loading"><img src="'.BASE.'static/img/smileys/cry.png" alt="cry" /></div>'; // pre-load of icons
    $tex .= '
<div class="web">
<div class="header">
<a href="'.BASE.'" class="logo">
<img src="'.BASE.'static/img/logos/'.$globals['logo'][0].'" alt="'.NAME.'" /> 
<img src="'.BASE.'static/img/logos/logo_jisky.png" alt="Jisky" />
</a>';
    if ($_USER) {
        $tex .= '
<div class="menu">
<a href="'.BASE.'home">'.__('Home').'</a> | <a href="'.BASE.'public">'.__('Public notes').'</a> | ';

    foreach ($globals['menubar_links'] as $key=>$value) {
        $tex .= '<a href="'.$value.'">'.$key.'</a> | ';
    }

    $tex .= '<a href="'.BASE.'settings">'.__('Settings').'</a> | <a href="'.BASE.'logout">'.__('Logout').'</a>';
    } else {
        $tex .= '
<div class="menu_ul">
<a href="'.BASE.'home">'.__('Home').'</a> | <a href="'.BASE.'public">'.__('Public notes').'</a>';

        foreach ($globals['menubar_links'] as $key=>$value) {
            $tex .= ' | <a href="'.$value.'">'.$key.'</a>';
        }

    }
    $tex .= '
</div>
</div>
<div class="border_top"></div>
<div class="content">
<div class="content_top">
<div class="content_left_top"> ';
    $tex = $tex.$page;
    return $tex;
}


function do_side() {
    echo '
</div>
<div class="content_right_top">';
    import('sidebar');
}

function do_footer() {
    global $db;
    global $globals;
    if(defined('NO_GUI')) return;
    
    do_side();
    echo '
</div>
<div class="separator"></div>
</div>
</div> 

Last edited by wirehopper; 11-10-09 at 07:41 AM. Reason: PHP tags
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
IE6 Bug? My center column drops to footer position goatchaps CSS 5 08-31-07 01:15 PM
How to get Indexed in Google Quickly rorycanyon General Advertisements 3 03-21-07 10:11 AM
Help with Google sn0wy The Lounge 6 12-23-06 10:55 AM
Need a gaming site as a partner site TellMe Traffic Exchange 0 07-28-04 08:30 AM


All times are GMT -5. The time now is 05:48 PM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.