include("include_breadcrumb.php"); ?>
$ad_sql = "SELECT io_campaign.campaign_id AS campaign_id, io_campaign.campaign_name AS campaign_name, io_campaign.campaign_date AS campaign_date, io_campaign.campaign_date_repeat AS campaign_date_repeat, io_campaign.campaign_account_id_fk AS campaign_account_id_fk, io_account.account_advertiser AS campaign_advertiser FROM io_campaign INNER JOIN io_account ON io_campaign.campaign_account_id_fk=io_account.account_id"; $ad_results = mysql_query($ad_sql) OR die(mysql_error()); while ($ad_row = mysql_fetch_array($ad_results)) { include("include_campaign.php"); } ?>
include("include_sidebar.php"); ?>
Admin: Current Ad Campaigns
/**if (is_logged_in($user)) { ?> Request IO }**/ ?>Active Campaigns
$ad_sql = "SELECT io_campaign.campaign_id AS campaign_id, io_campaign.campaign_name AS campaign_name, io_campaign.campaign_date AS campaign_date, io_campaign.campaign_date_repeat AS campaign_date_repeat, io_campaign.campaign_account_id_fk AS campaign_account_id_fk, io_account.account_advertiser AS campaign_advertiser FROM io_campaign INNER JOIN io_account ON io_campaign.campaign_account_id_fk=io_account.account_id"; $ad_results = mysql_query($ad_sql) OR die(mysql_error()); while ($ad_row = mysql_fetch_array($ad_results)) { include("include_campaign.php"); } ?>