\n"; echo process_line_output( $bann_arr['Title'] ); echo ""; echo "
". banner_put($bann_arr['ID'], 0) ."

\n"; } ContentBlockFoot(); ContentBlockHead("Banners"); if ( !mysql_num_rows( $banners_res ) ) { echo "
No banners available.
"; } else { echo "\n"; while ( $banns_arr = mysql_fetch_array( $banners_res ) ) { $imp = db_arr("SELECT COUNT(*) FROM `BannersShows` WHERE `ID` = {$banns_arr['ID']}"); $clicks = db_arr("SELECT COUNT(*) FROM `BannersClicks` WHERE `ID` = {$banns_arr['ID']}"); if ( !$banns_arr['Active'] ) $class = 'table_err'; else $class = 'panel'; echo "\n"; echo "\n"; echo "\n"; echo "\n"; if ( $banns_arr['ID'] == $_GET['banner_id'] && !strlen($_GET['action']) ) { $action = "modify"; $Title = $banns_arr['Title']; $Url = $banns_arr['Url']; $Text = $banns_arr['Text']; $Active = $banns_arr['Active']; $Position = $banns_arr['Position']; $lhshift = $banns_arr['lhshift']; $lvshift = $banns_arr['lvshift']; $rhshift = $banns_arr['rhshift']; $rvshift = $banns_arr['rvshift']; $start_date = $banns_arr['campaign_start']; $end_date = $banns_arr['campaign_end']; } } echo "
  • (Preview | "; echo "Modify | "; echo "Delete) "; echo process_line_output( $banns_arr['Title'] ); echo "
  • {$clicks[0]} clicks {$imp[0]} impressions
    \n"; } echo '

    '; if ( !$action ) { $action = "new"; $Title = ""; $Url = ""; $Active = ""; $Text = ""; $Position = ""; $start_date = ''; $end_date = ''; } ContentBlockFoot(); ContentBlockHead("Manage banners"); ?>
    '; ?>
     Banner Title 
     Banner Url 
     Banner Active  >
     *Banner Text (HTML Only) 
     Start Date 
    default:
     End Date 
    default:
     Position on the Page
    0 ) echo "checked";?>>Top
    0 ) echo "checked";?>>Left   0 ) echo "checked";?>>Right
    HShift VShift   HShift VShift
    0 ) echo $lhshift;?>> 0 ) echo $lvshift;?>>   0 ) echo $rhshift;?>> 0 ) echo $rvshift;?>>
    0 ) echo "checked";?>>Bottom
     Insert as new 


    For more information on how to place banners on your pages please read our "How to..."
    www.aewebworks.com/login/howto.php
    * You should write the path to banner image only in this area.
    For exmple: <img src="http://www.some_domain/some_path/some_banner">