当前位置: 首页>>代码示例>>PHP>>正文


PHP phpAds_DelConfirm函数代码示例

本文整理汇总了PHP中phpAds_DelConfirm函数的典型用法代码示例。如果您正苦于以下问题:PHP phpAds_DelConfirm函数的具体用法?PHP phpAds_DelConfirm怎么用?PHP phpAds_DelConfirm使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。


在下文中一共展示了phpAds_DelConfirm函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: phpAds_dbQuery

    $navdirection = '';
}
$res = phpAds_dbQuery("\n\tSELECT\n\t\t*\n\tFROM\n\t\t" . $phpAds_config['tbl_banners'] . "\n\tWHERE\n\t\tcampaignid = '{$campaignid}'\n\t" . phpAds_getBannerListOrder($navorder, $navdirection) . "\n") or phpAds_sqlDie();
while ($row = phpAds_dbFetchArray($res)) {
    phpAds_PageContext(phpAds_buildBannerName($row['bannerid'], $row['description'], $row['alt']), "stats-banner-history.php?clientid=" . $clientid . "&campaignid=" . $campaignid . "&bannerid=" . $row['bannerid'], $bannerid == $row['bannerid']);
}
if (phpAds_isUser(phpAds_Admin) || phpAds_isUser(phpAds_Agency)) {
    phpAds_PageShortcut($strClientProperties, 'advertiser-edit.php?clientid=' . $clientid, 'images/icon-advertiser.gif');
    phpAds_PageShortcut($strCampaignProperties, 'campaign-edit.php?clientid=' . $clientid . '&campaignid=' . $campaignid, 'images/icon-campaign.gif');
    phpAds_PageShortcut($strBannerProperties, 'banner-edit.php?clientid=' . $clientid . '&campaignid=' . $campaignid . '&bannerid=' . $bannerid, 'images/icon-banner-stored.gif');
    phpAds_PageShortcut($strModifyBannerAcl, 'banner-acl.php?clientid=' . $clientid . '&campaignid=' . $campaignid . '&bannerid=' . $bannerid, 'images/icon-acl.gif');
    if (phpAds_isUser(phpAds_Admin)) {
        $extra = "<br><br><br>";
        $extra .= "<b>{$strMaintenance}</b><br>";
        $extra .= "<img src='images/break.gif' height='1' width='160' vspace='4'><br>";
        $extra .= "<a href='stats-reset.php?clientid={$clientid}&campaignid={$campaignid}&bannerid={$bannerid}'" . phpAds_DelConfirm($strConfirmResetBannerStats) . ">";
        $extra .= "<img src='images/" . $phpAds_TextDirection . "/icon-undo.gif' align='absmiddle' border='0'>&nbsp;{$strResetStats}</a>";
        $extra .= "<br><br>";
    }
    phpAds_PageHeader("2.1.2.2.1", $extra);
    echo "<img src='images/icon-advertiser.gif' align='absmiddle'>&nbsp;" . phpAds_getParentClientName($campaignid);
    echo "&nbsp;<img src='images/" . $phpAds_TextDirection . "/caret-rs.gif'>&nbsp;";
    echo "<img src='images/icon-campaign.gif' align='absmiddle'>&nbsp;" . phpAds_getCampaignName($campaignid);
    echo "&nbsp;<img src='images/" . $phpAds_TextDirection . "/caret-rs.gif'>&nbsp;";
    echo "<img src='images/icon-banner-stored.gif' align='absmiddle'>&nbsp;<b>" . phpAds_getBannerName($bannerid) . "</b><br><br>";
    echo phpAds_buildBannerCode($bannerid) . "<br><br><br><br>";
    phpAds_ShowSections(array("2.1.2.2.1", "2.1.2.2.2"));
} elseif (phpAds_isUser(phpAds_Client)) {
    $sections[] = "1.2.2.1";
    if (phpAds_isAllowed(phpAds_ModifyBanner)) {
        $sections[] = "1.2.2.2";
开发者ID:miller-tamil,项目名称:openads-plus,代码行数:31,代码来源:stats-banner-history.php

示例2: phpAds_dbQuery

        $navorder = '';
    }
    if (isset($Session['prefs']['stats-global-client.php']['orderdirection'])) {
        $navdirection = $Session['prefs']['stats-global-client.php']['orderdirection'];
    } else {
        $navdirection = '';
    }
    $res = phpAds_dbQuery("\n\t\tSELECT\n\t\t\t*\n\t\tFROM\n\t\t\t" . $phpAds_config['tbl_clients'] . "\n\t\tWHERE\n\t\t\tparent = 0\n\t\t" . phpAds_getListOrder($navorder, $navdirection) . "\n\t") or phpAds_sqlDie();
    while ($row = phpAds_dbFetchArray($res)) {
        phpAds_PageContext(phpAds_buildClientName($row['clientid'], $row['clientname']), "stats-client-history.php?clientid=" . $row['clientid'], $clientid == $row['clientid']);
    }
    phpAds_PageShortcut($strClientProperties, 'client-edit.php?clientid=' . $clientid, 'images/icon-client.gif');
    $extra = "<br><br><br>";
    $extra .= "<b>{$strMaintenance}</b><br>";
    $extra .= "<img src='images/break.gif' height='1' width='160' vspace='4'><br>";
    $extra .= "<a href='stats-reset.php?clientid={$clientid}'" . phpAds_DelConfirm($strConfirmResetClientStats) . ">";
    $extra .= "<img src='images/" . $phpAds_TextDirection . "/icon-undo.gif' align='absmiddle' border='0'>&nbsp;{$strResetStats}</a>";
    $extra .= "<br><br>";
    phpAds_PageHeader("2.1.1", $extra);
    echo "<img src='images/icon-client.gif' align='absmiddle'>&nbsp;<b>" . phpAds_getClientName($clientid) . "</b><br><br><br>";
    phpAds_ShowSections(array("2.1.1", "2.1.2"));
}
if (phpAds_isUser(phpAds_Client)) {
    phpAds_PageHeader("1.1");
    if ($phpAds_config['client_welcome']) {
        echo "<br><br>";
        // Show welcome message
        if (!empty($phpAds_client_welcome_msg)) {
            echo $phpAds_client_welcome_msg;
        } else {
            include 'templates/welcome-advertiser.html';
开发者ID:henryhe514,项目名称:ChineseCommercial,代码行数:31,代码来源:stats-client-history.php

示例3: urlencode

        // ID
        echo "\t\t\t\t\t<td height='25'>" . $agency['agencyid'] . "</td>\n";
        echo "\t\t\t\t\t<td height='25'>&nbsp;</td>\n";
        echo "\t\t\t\t\t<td height='25'>&nbsp;</td>\n";
        // Button - Channels
        echo "<td height='25'>";
        if (OA_Permission::hasAccess($agency['account_id'])) {
            echo "<a href='account-switch.php?account_id={$agency['account_id']}'>";
            echo $strSwitchAccount . "</a>&nbsp;&nbsp;";
        } else {
            echo "&nbsp;";
        }
        echo "</td>";
        // Delete
        echo "\t\t\t\t\t<td height='25'>";
        echo "<img src='" . OX::assetPath() . "/images/icon-recycle.gif' border='0' align='absmiddle' alt='{$strDelete}'>&nbsp;<a href='agency-delete.php?token=" . urlencode(phpAds_SessionGetToken()) . "&agencyid=" . $agency['agencyid'] . "&returnurl=agency-index.php'" . phpAds_DelConfirm($strConfirmDeleteAgency) . ">{$strDelete}</a>&nbsp;&nbsp;&nbsp;&nbsp;";
        echo "</td>\n";
        echo "\t\t\t\t</tr>\n";
        echo "\t\t\t\t<tr height='1'>\n";
        echo "\t\t\t\t\t<td colspan='6' bgcolor='#888888'><img src='" . OX::assetPath() . "/images/break.gif' height='1' width='100%'></td>\n";
        echo "\t\t\t\t</tr>\n";
        $i++;
    }
}
echo "\t\t\t\t<tr>\n";
echo "\t\t\t\t\t<td height='25' colspan='4' align='" . $phpAds_TextAlignLeft . "' nowrap>";
if ($hideinactive == true) {
    echo "&nbsp;&nbsp;<img src='" . OX::assetPath() . "/images/icon-activate.gif' align='absmiddle' border='0'>";
    echo "&nbsp;<a href='agency-index.php?hideinactive=0'>" . $strShowAll . "</a>";
    echo "&nbsp;&nbsp;|&nbsp;&nbsp;" . $strInactiveAgenciesHidden;
} else {
开发者ID:Spark-Eleven,项目名称:revive-adserver,代码行数:31,代码来源:agency-index.php

示例4: while

while ($row = phpAds_dbFetchArray($res)) {
    $extra .= "<option value='" . $row['campaignid'] . "'>" . phpAds_buildName($row['campaignid'], $row['campaignname']) . "</option>";
}
$extra .= "</select>&nbsp;<input type='image' name='moveto' src='images/" . $phpAds_TextDirection . "/go_blue.gif'><br>";
$extra .= "<img src='images/break.gif' height='1' width='160' vspace='4'><br>";
$extra .= "<img src='images/icon-duplicate-acl.gif' align='absmiddle'>&nbsp;{$strApplyLimitationsTo}<br>";
$extra .= "<img src='images/spacer.gif' height='1' width='160' vspace='2'><br>";
$extra .= "&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;";
$extra .= "<select name='applyto' style='width: 110;'>";
$res = phpAds_dbQuery("SELECT * FROM " . $phpAds_config['tbl_banners'] . " WHERE bannerid != '" . $bannerid . "' AND campaignid = '" . $campaignid . "'") or phpAds_sqlDie();
while ($row = phpAds_dbFetchArray($res)) {
    $extra .= "<option value='" . $row['bannerid'] . "'>" . phpAds_buildBannerName($row['bannerid'], $row['description'], $row['alt']) . "</option>";
}
$extra .= "</select>&nbsp;<input type='image' name='applyto' src='images/" . $phpAds_TextDirection . "/go_blue.gif'><br>";
$extra .= "<img src='images/break.gif' height='1' width='160' vspace='4'><br>";
$extra .= "<img src='images/icon-recycle.gif' align='absmiddle'>&nbsp;<a href='banner-delete.php?clientid=" . $clientid . "&campaignid=" . $campaignid . "&bannerid=" . $bannerid . "&returnurl=campaign-banners.php'" . phpAds_DelConfirm($strConfirmDeleteBanner) . ">{$strDelete}</a><br>";
$extra .= "</form>";
phpAds_PageHeader("4.1.3.3.3", $extra);
echo "<img src='images/icon-advertiser.gif' align='absmiddle'>&nbsp;" . phpAds_getParentClientName($campaignid);
echo "&nbsp;<img src='images/" . $phpAds_TextDirection . "/caret-rs.gif'>&nbsp;";
echo "<img src='images/icon-campaign.gif' align='absmiddle'>&nbsp;" . phpAds_getCampaignName($campaignid);
echo "&nbsp;<img src='images/" . $phpAds_TextDirection . "/caret-rs.gif'>&nbsp;";
echo "<img src='images/icon-banner-stored.gif' align='absmiddle'>&nbsp;<b>" . phpAds_getBannerName($bannerid) . "</b><br><br>";
echo phpAds_buildBannerCode($bannerid) . "<br><br><br><br>";
phpAds_ShowSections(array("4.1.3.3.2", "4.1.3.3.3", "4.1.3.3.6", "4.1.3.3.4"));
/*********************************************************/
/* Main code                                             */
/*********************************************************/
if (!isset($acl) && $phpAds_config['acl']) {
    // Fetch all ACLs from the database
    $res = phpAds_dbQuery("\n\t\tSELECT\n\t\t\t*\n\t\tFROM\n\t\t\t" . $phpAds_config['tbl_acls'] . "\n\t\tWHERE\n\t\t\tbannerid = '" . $bannerid . "'\n\t\tORDER BY\n\t\t\texecutionorder\n\t") or phpAds_sqlDie();
开发者ID:miller-tamil,项目名称:openads-plus,代码行数:31,代码来源:banner-acl.php

示例5: phpAds_buildBannerCode

 echo "<td height='1' width='30'><img src='images/spacer.gif' width='1' height='1'></td>";
 echo "<td colspan='5'>";
 if (ereg("Mozilla/6", $_SERVER['HTTP_USER_AGENT']) || ereg("IE", $_SERVER['HTTP_USER_AGENT'])) {
     echo "<div id='banner" . $row_banners['bannerid'] . "' style='display: none;'>";
     echo "<table width='100%' cellpadding=0 cellspacing=0 border=0><tr><td align='" . $phpAds_TextAlignLeft . "'>";
     echo "<tr><td height='1'><img src='images/break-l.gif' height='1' width='100%' vspace='0'></tr><td>";
     echo "<tr><td height='10'>&nbsp;</tr><td>";
     echo "<tr><td>";
     echo phpAds_buildBannerCode($row_banners['bannerid'], true);
     echo "</tr><td>";
     echo "<tr><td height='10'>&nbsp;</tr><td>";
     echo "<tr><td height='1'><img src='images/break-l.gif' height='1' width='100%' vspace='0'></tr><td>";
     echo "<tr><td height='25'>";
     if ($adclicks > 0 || $adviews > 0) {
         if (phpAds_isUser(phpAds_Admin)) {
             echo "<a href='stats-reset.php?clientid=" . $clientid . "&campaignid=" . $campaignid . "&bannerid=" . $row_banners['bannerid'] . "'" . phpAds_DelConfirm($strConfirmResetBannerStats) . ">";
             echo "<img src='images/" . $phpAds_TextDirection . "/icon-undo.gif' align='absmiddle' border='0'>&nbsp;{$strResetStats}</a>";
             echo "&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;";
         }
     }
     /*
       Deactivated for now because of security reasons -- Niels
       if (phpAds_isUser(phpAds_Admin) || (phpAds_isUser(phpAds_Client) && phpAds_isAllowed(phpAds_ModifyBanner))) // only for the admin
     */
     if (phpAds_isUser(phpAds_Admin)) {
         echo "<a href='banner-edit.php?clientid=" . $clientid . "&campaignid=" . $campaignid . "&bannerid=" . $row_banners['bannerid'] . "'>";
         echo "<img src='images/icon-edit.gif' align='absmiddle' border='0'>&nbsp;" . $strBannerProperties . "</a>";
         echo "&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;";
     }
     if (phpAds_isUser(phpAds_Client) && phpAds_isAllowed(phpAds_DisableBanner) && $row_banners['active'] == 't') {
         echo "<a href='banner-activate.php?clientid=" . $clientid . "&campaignid=" . $campaignid . "&bannerid=" . $row_banners['bannerid'] . "&value=t'>";
开发者ID:henryhe514,项目名称:ChineseCommercial,代码行数:31,代码来源:stats-campaign-banners.php

示例6: phpAds_buildBannerCode

                echo "<tr " . ($i % 2 == 0 ? "bgcolor='#F6F6F6'" : "") . "><td colspan='1'>&nbsp;</td><td colspan='4'>";
            }
            echo "<tr " . ($i % 2 == 0 ? "bgcolor='#F6F6F6'" : "") . "><td colspan='5'>";
            echo "<table width='100%' cellpadding='0' cellspacing='0' border='0'><tr>";
            echo "<td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>";
            echo "<td width='100%'>" . phpAds_buildBannerCode($banners[$bkey]['bannerid'], true) . "</td>";
            echo "</tr></table><br><br>";
            echo "</td></tr>";
        }
        $i++;
    }
}
echo "<tr height='1'><td colspan='5' bgcolor='#888888'><img src='images/break.gif' height='1' width='100%'></td></tr>";
echo "<tr height='25'><td colspan='3' height='25' nowrap>";
if (isset($banners) && count($banners)) {
    echo "<img src='images/icon-recycle.gif' border='0' align='absmiddle'>&nbsp;<a href='banner-delete.php?clientid=" . $clientid . "&campaignid=" . $campaignid . "&returnurl=campaign-banners.php'" . phpAds_DelConfirm($strConfirmDeleteAllBanners) . ">{$strDeleteAllBanners}</a>&nbsp;&nbsp;&nbsp;&nbsp;";
}
if (isset($banners) && $count_active < count($banners)) {
    echo "<img src='images/icon-activate.gif' border='0' align='absmiddle'>&nbsp;<a href='banner-activate.php?clientid=" . $clientid . "&campaignid=" . $campaignid . "&value=f'>{$strActivateAllBanners}</a>&nbsp;&nbsp;&nbsp;&nbsp;";
}
if ($count_active > 0) {
    echo "<img src='images/icon-deactivate.gif' border='0' align='absmiddle'>&nbsp;<a href='banner-activate.php?clientid=" . $clientid . "&campaignid=" . $campaignid . "&value=t'>{$strDeactivateAllBanners}</a>&nbsp;&nbsp;&nbsp;&nbsp;";
}
echo "</td>";
if (!$phpAds_config['gui_show_campaign_preview']) {
    echo "<td colspan='2' align='" . $phpAds_TextAlignRight . "' nowrap>";
    echo "<img src='images/triangle-d.gif' align='absmiddle' border='0'>";
    echo "&nbsp;<a href='campaign-banners.php?clientid=" . $clientid . "&campaignid=" . $campaignid . "&expand=all' accesskey='" . $keyExpandAll . "'>" . $strExpandAll . "</a>";
    echo "&nbsp;&nbsp;|&nbsp;&nbsp;";
    echo "<img src='images/" . $phpAds_TextDirection . "/triangle-l.gif' align='absmiddle' border='0'>";
    echo "&nbsp;<a href='campaign-banners.php?clientid=" . $clientid . "&campaignid=" . $campaignid . "&expand=none' accesskey='" . $keyCollapseAll . "'>" . $strCollapseAll . "</a>";
开发者ID:miller-tamil,项目名称:openads-plus,代码行数:31,代码来源:campaign-banners.php

示例7: elseif

    $extra .= "<img src='images/icon-move-zone.gif' align='absmiddle'>&nbsp;{$strMoveTo}<br>";
    $extra .= "<img src='images/spacer.gif' height='1' width='160' vspace='2'><br>";
    $extra .= "&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;";
    $extra .= "<select name='moveto' style='width: 110;'>";
    if (phpAds_isUser(phpAds_Admin)) {
        $query = "SELECT affiliateid,name" . " FROM " . $phpAds_config['tbl_affiliates'] . " WHERE affiliateid != " . $affiliateid;
    } elseif (phpAds_isUser(phpAds_Agency)) {
        $query = "SELECT affiliateid,name" . " FROM " . $phpAds_config['tbl_affiliates'] . " WHERE affiliateid != " . $affiliateid . " AND agencyid=" . phpAds_getUserID();
    }
    $res = phpAds_dbQuery($query) or phpAds_sqlDie();
    while ($row = phpAds_dbFetchArray($res)) {
        $extra .= "<option value='" . $row['affiliateid'] . "'>" . phpAds_buildAffiliateName($row['affiliateid'], $row['name']) . "</option>";
    }
    $extra .= "</select>&nbsp;<input type='image' src='images/" . $phpAds_TextDirection . "/go_blue.gif'><br>";
    $extra .= "<img src='images/break.gif' height='1' width='160' vspace='4'><br>";
    $extra .= "<img src='images/icon-recycle.gif' align='absmiddle'>&nbsp;<a href='zone-delete.php?affiliateid={$affiliateid}&zoneid={$zoneid}&returnurl=affiliate-zones.php'" . phpAds_DelConfirm($strConfirmDeleteZone) . ">{$strDelete}</a><br>";
    $extra .= "</form>";
    phpAds_PageHeader("4.2.3.6", $extra);
    echo "<img src='images/icon-affiliate.gif' align='absmiddle'>&nbsp;" . phpAds_getAffiliateName($affiliateid);
    echo "&nbsp;<img src='images/" . $phpAds_TextDirection . "/caret-rs.gif'>&nbsp;";
    echo "<img src='images/icon-zone.gif' align='absmiddle'>&nbsp;<b>" . phpAds_getZoneName($zoneid) . "</b><br><br><br>";
    phpAds_ShowSections(array("4.2.3.2", "4.2.3.6", "4.2.3.3", "4.2.3.4", "4.2.3.5"));
} else {
    $sections[] = "2.1.2";
    $sections[] = "2.1.6";
    if (phpAds_isAllowed(phpAds_LinkBanners)) {
        $sections[] = "2.1.3";
    }
    $sections[] = "2.1.4";
    $sections[] = "2.1.5";
    phpAds_PageHeader("2.1.6");
开发者ID:miller-tamil,项目名称:openads-plus,代码行数:31,代码来源:zone-advanced.php

示例8: elseif

    $extra .= "\t\t\t\t&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;" . "\n";
    $extra .= "\t\t\t\t<select name='moveto' style='width: 110;'>" . "\n";
    if (phpAds_isUser(phpAds_Admin)) {
        $query = "SELECT clientid,clientname" . " FROM " . $phpAds_config['tbl_clients'] . " WHERE clientid!=" . $clientid;
    } elseif (phpAds_isUser(phpAds_Agency)) {
        $query = "SELECT clientid,clientname" . " FROM " . $phpAds_config['tbl_clients'] . " WHERE clientid!=" . $clientid . " AND agencyid=" . phpAds_getUserID();
    }
    $res = phpAds_dbQuery($query) or phpAds_sqlDie();
    while ($row = phpAds_dbFetchArray($res)) {
        $extra .= "\t\t\t\t\t<option value='" . $row['clientid'] . "'>" . phpAds_buildName($row['clientid'], $row['clientname']) . "</option>\n";
    }
    $extra .= "\t\t\t\t</select>&nbsp;\n";
    $extra .= "\t\t\t\t<input type='image' src='images/" . $phpAds_TextDirection . "/go_blue.gif'><br>\n";
    $extra .= "\t\t\t\t<img src='images/break.gif' height='1' width='160' vspace='4'><br>\n";
    $extra .= "\t\t\t\t<img src='images/icon-recycle.gif' align='absmiddle'>\n";
    $extra .= "\t\t\t\t<a href='campaign-delete.php?clientid={$clientid}&campaignid={$campaignid}&returnurl=advertiser-campaigns.php'" . phpAds_DelConfirm($strConfirmDeleteTracker) . ">{$strDelete}</a><br>\n";
    $extra .= "\t\t\t\t</form>\n";
    phpAds_PageHeader("4.1.3.5", $extra);
    echo "<img src='images/icon-advertiser.gif' align='absmiddle'>&nbsp;" . phpAds_getParentClientName($campaignid);
    echo "&nbsp;<img src='images/" . $phpAds_TextDirection . "/caret-rs.gif'>&nbsp;";
    echo "<img src='images/icon-campaign.gif' align='absmiddle'>&nbsp;<b>" . phpAds_getCampaignName($campaignid) . "</b><br><br><br>";
    phpAds_ShowSections(array("4.1.3.2", "4.1.3.3", "4.1.3.4", "4.1.3.5"));
}
if (isset($campaignid) && $campaignid != '') {
    $res = phpAds_dbQuery("SELECT *" . " FROM " . $phpAds_config['tbl_campaigns'] . " WHERE campaignid=" . $campaignid) or phpAds_sqlDie();
    if (phpAds_dbNumRows($res)) {
        $campaign = phpAds_dbFetchArray($res);
    }
}
$tabindex = 1;
// Header
开发者ID:miller-tamil,项目名称:openads-plus,代码行数:31,代码来源:campaign-trackers.php

示例9: phpAds_DelConfirm

                     } else {
                         echo "<img src='images/icon-banner-stored-d.gif' align='absmiddle'>";
                     }
                 }
                 echo "&nbsp;<a href='banner-edit.php?clientid=" . $client['clientid'] . "&campaignid=" . $campaigns[$ckey]['clientid'] . "&bannerid=" . $banners[$bkey]['bannerid'] . "'>" . $name . "</a></td>";
                 // ID
                 echo "<td height='25'>" . $banners[$bkey]['bannerid'] . "</td>";
                 // Empty
                 echo "<td>&nbsp;</td>";
                 // Button 2
                 echo "<td height='25'>";
                 echo "<a href='banner-acl.php?clientid=" . $client['clientid'] . "&campaignid=" . $campaigns[$ckey]['clientid'] . "&bannerid=" . $banners[$bkey]['bannerid'] . "'><img src='images/icon-acl.gif' border='0' align='absmiddle' alt='{$strACL}'>&nbsp;{$strACL}</a>&nbsp;&nbsp;&nbsp;&nbsp;";
                 echo "</td>";
                 // Button 1
                 echo "<td height='25'>";
                 echo "<a href='banner-delete.php?clientid=" . $client['clientid'] . "&campaignid=" . $campaigns[$ckey]['clientid'] . "&bannerid=" . $banners[$bkey]['bannerid'] . "&returnurl=client-index.php'" . phpAds_DelConfirm($strConfirmDeleteBanner) . "><img src='images/icon-recycle.gif' border='0' align='absmiddle' alt='{$strDelete}'>&nbsp;{$strDelete}</a>&nbsp;&nbsp;&nbsp;&nbsp;";
                 echo "</td></tr>";
             }
         }
     }
 }
 if ($client['count'] > 0) {
     // Divider
     echo "<tr height='1'>";
     echo "<td " . ($i % 2 == 0 ? "bgcolor='#F6F6F6'" : "") . "><img src='images/spacer.gif' width='1' height='1'></td>";
     echo "<td colspan='5' bgcolor='#888888'><img src='images/break-l.gif' height='1' width='100%'></td>";
     echo "</tr>";
     echo "<tr height='25' " . ($i % 2 == 0 ? "bgcolor='#F6F6F6'" : "") . ">";
     echo "<td height='25'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;";
     echo "<img src='images/icon-campaign.gif' align='absmiddle'>&nbsp;";
     echo "{$strBannersWithoutCampaign}</td>";
开发者ID:henryhe514,项目名称:ChineseCommercial,代码行数:31,代码来源:client-index.php

示例10: addChannelPageTools

function addChannelPageTools($agencyid, $websiteId, $channelid, $channelType)
{
    if ($channelType == 'publisher') {
        $deleteReturlUrl = MAX::constructUrl(MAX_URL_ADMIN, 'affiliate-channels.php');
    } else {
        $deleteReturlUrl = MAX::constructUrl(MAX_URL_ADMIN, 'channel-index.php');
    }
    //duplicate
    addPageLinkTool($GLOBALS["strDuplicate"], MAX::constructUrl(MAX_URL_ADMIN, "channel-modify.php?duplicate=true&agencyid={$agencyid}&affiliateid={$websiteId}&channelid={$channelid}&returnurl=" . urlencode(basename($_SERVER['SCRIPT_NAME']))), "iconTargetingChannelDuplicate");
    //delete
    $deleteConfirm = phpAds_DelConfirm($GLOBALS['strConfirmDeleteChannel']);
    addPageLinkTool($GLOBALS["strDelete"], MAX::constructUrl(MAX_URL_ADMIN, "channel-delete.php?token=" . urlencode(phpAds_SessionGetToken()) . "&agencyid={$agencyid}&affiliateid={$websiteId}&channelid={$channelid}&returnurl={$deleteReturlUrl}"), "iconDelete", null, $deleteConfirm);
}
开发者ID:Spark-Eleven,项目名称:revive-adserver,代码行数:13,代码来源:html.php

示例11: phpAds_DelConfirm

    echo "\t\t\t\t</tr>\n";
    $i++;
}
if (phpAds_dbNumRows($res_trackers) > 0) {
    //	echo "\t\t\t\t<tr height='1'>\n";
    //	echo "\t\t\t\t\t<td colspan='4' bgcolor='#888888'><img src='images/break.gif' height='1' width='100%'></td>\n";
    //	echo "\t\t\t\t</tr>\n";
    //}
    //if (isset($campaigns) && count($campaigns))
    //{
    echo "\t\t\t\t<tr height='1'>\n";
    echo "\t\t\t\t\t<td colspan='4' bgcolor='#888888'><img src='images/break-el.gif' height='1' width='100%'></td>\n";
    echo "\t\t\t\t</tr>\n";
    echo "\t\t\t\t<tr height='25'>\n";
    echo "\t\t\t\t\t<td colspan='4' height='25' align='" . $phpAds_TextAlignRight . "'>";
    echo "<img src='images/icon-recycle.gif' border='0' align='absmiddle'>&nbsp;<a href='tracker-delete.php?clientid=" . $clientid . "&returnurl=advertiser-trackers.php'" . phpAds_DelConfirm($strConfirmDeleteAllTrackers) . ">{$strDeleteAllTrackers}</a>&nbsp;&nbsp;";
    echo "</td>\n";
    echo "\t\t\t\t</tr>\n";
}
echo "\t\t\t\t</table>\n";
echo "\t\t\t\t<br><br>\n";
/*********************************************************/
/* Store preferences                                     */
/*********************************************************/
$Session['prefs']['advertiser-trackers.php']['listorder'] = $listorder;
$Session['prefs']['advertiser-trackers.php']['orderdirection'] = $orderdirection;
phpAds_SessionDataStore();
/*********************************************************/
/* HTML framework                                        */
/*********************************************************/
phpAds_PageFooter();
开发者ID:miller-tamil,项目名称:openads-plus,代码行数:31,代码来源:advertiser-trackers.php

示例12: phpAds_DelConfirm

        echo "<tr height='25' " . ($i % 2 == 0 ? "bgcolor='#F6F6F6'" : "") . ">";
        echo "<td height='25'>";
        echo "&nbsp;&nbsp;";
        echo "<img src='images/icon-zone.gif' align='absmiddle'>&nbsp;";
        echo "<a href='JavaScript:GoOpener(\"zone-edit.php?affiliateid=" . $row_zones['affiliateid'] . "&zoneid=" . $row_zones['zoneid'] . "\")'>" . $name . "</a>";
        echo "</td>";
        echo "<td height='25'>" . $row_zones['zoneid'] . "</td>";
        // Empty
        echo "<td>&nbsp;</td>";
        // Button 1
        echo "<td height='25'>";
        echo "<a href='JavaScript:GoOpener(\"zone-include.php?affiliateid=" . $row_zones['affiliateid'] . "&zoneid=" . $row_zones['zoneid'] . "\")'><img src='images/icon-zone-linked.gif' border='0' align='absmiddle' alt='{$strIncludedBanners}'>&nbsp;{$strIncludedBanners}</a>&nbsp;&nbsp;&nbsp;&nbsp;";
        echo "</td>";
        // Button 2
        echo "<td height='25'>";
        echo "<a href='JavaScript:GoOpener(\"zone-delete.php?affiliateid=" . $row_zones['affiliateid'] . "&zoneid=" . $row_zones['zoneid'] . "\", true)'" . phpAds_DelConfirm($strConfirmDeleteZone) . "><img src='images/icon-recycle.gif' border='0' align='absmiddle' alt='{$strDelete}'>&nbsp;{$strDelete}</a>&nbsp;&nbsp;&nbsp;&nbsp;";
        echo "</td></tr>";
        $i++;
    }
}
if (phpAds_dbNumRows($res_clients) > 0 || phpAds_dbNumRows($res_campaigns) > 0 || phpAds_dbNumRows($res_banners) > 0 || phpAds_dbNumRows($res_affiliates) > 0 || phpAds_dbNumRows($res_zones) > 0) {
    echo "<tr height='1'><td colspan='5' bgcolor='#888888'><img src='images/break.gif' height='1' width='100%'></td></tr>";
} else {
    echo $strNoMatchesFound;
}
?>
</table>

</td><td width='20'>&nbsp;</td></tr>
</table>
开发者ID:miller-tamil,项目名称:openads-plus,代码行数:30,代码来源:admin-search.php

示例13: addChannelPageTools

function addChannelPageTools($agencyid, $websiteId, $channelid, $channelType)
{
    if ($channelType == 'publisher') {
        $deleteReturlUrl = 'affiliate-channels.php';
    } else {
        $deleteReturlUrl = 'channel-index.php';
    }
    //duplicate
    addPageLinkTool($GLOBALS["strDuplicate"], "channel-modify.php?duplicate=true&agencyid={$agencyid}&affiliateid={$websiteId}&channelid={$channelid}&returnurl=" . basename($_SERVER['PHP_SELF']), "iconTargetingChannelDuplicate");
    //delete
    $deleteConfirm = phpAds_DelConfirm($GLOBALS['strConfirmDeleteChannel']);
    addPageLinkTool($GLOBALS["strDelete"], "channel-delete.php?&agencyid={$agencyid}&affiliateid={$websiteId}&channelid={$channelid}&returnurl={$deleteReturlUrl}", "iconDelete", null, $deleteConfirm);
}
开发者ID:villos,项目名称:tree_admin,代码行数:13,代码来源:html.php

示例14: _function_phpAds_DelConfirm

 function _function_phpAds_DelConfirm($aParams, &$smarty)
 {
     return phpAds_DelConfirm($this->_function_t($aParams, $smarty));
 }
开发者ID:hostinger,项目名称:revive-adserver,代码行数:4,代码来源:Template.php

示例15: phpAds_registerGlobal

phpAds_registerGlobal('collapse', 'expand', 'hideinactive', 'listorder', 'orderdirection', 'period');
// Security check
phpAds_checkAccess(phpAds_Admin + phpAds_Agency);
// Set default values
if (!isset($period)) {
    $period = '';
}
$tabindex = 1;
/*********************************************************/
/* HTML framework                                        */
/*********************************************************/
if (phpAds_isUser(phpAds_Admin)) {
    $extra = "<br><br><br>";
    $extra .= "<b>{$strMaintenance}</b><br>";
    $extra .= "<img src='images/break.gif' height='1' width='160' vspace='4'><br>";
    $extra .= "<a href='stats-reset.php?all=true'" . phpAds_DelConfirm($strConfirmResetStats) . ">";
    $extra .= "<img src='images/" . $phpAds_TextDirection . "/icon-undo.gif' align='absmiddle' border='0'>&nbsp;{$strResetStats}</a>";
    $extra .= "<br><br>";
}
phpAds_PageHeader("2.1", $extra);
phpAds_ShowSections(array("2.1", "2.4", "2.2", "2.5"));
/*********************************************************/
/* Get preferences                                       */
/*********************************************************/
if (!isset($hideinactive)) {
    if (isset($Session['prefs']['stats-global-advertiser.php']['hideinactive'])) {
        $hideinactive = $Session['prefs']['stats-global-advertiser.php']['hideinactive'];
    } else {
        $hideinactive = $phpAds_config['gui_hide_inactive'] == 't';
    }
}
开发者ID:miller-tamil,项目名称:openads-plus,代码行数:31,代码来源:stats-global-advertiser.php


注:本文中的phpAds_DelConfirm函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。