本文整理汇总了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'> {$strResetStats}</a>";
$extra .= "<br><br>";
}
phpAds_PageHeader("2.1.2.2.1", $extra);
echo "<img src='images/icon-advertiser.gif' align='absmiddle'> " . phpAds_getParentClientName($campaignid);
echo " <img src='images/" . $phpAds_TextDirection . "/caret-rs.gif'> ";
echo "<img src='images/icon-campaign.gif' align='absmiddle'> " . phpAds_getCampaignName($campaignid);
echo " <img src='images/" . $phpAds_TextDirection . "/caret-rs.gif'> ";
echo "<img src='images/icon-banner-stored.gif' align='absmiddle'> <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";
示例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'> {$strResetStats}</a>";
$extra .= "<br><br>";
phpAds_PageHeader("2.1.1", $extra);
echo "<img src='images/icon-client.gif' align='absmiddle'> <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';
示例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'> </td>\n";
echo "\t\t\t\t\t<td height='25'> </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> ";
} else {
echo " ";
}
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}'> <a href='agency-delete.php?token=" . urlencode(phpAds_SessionGetToken()) . "&agencyid=" . $agency['agencyid'] . "&returnurl=agency-index.php'" . phpAds_DelConfirm($strConfirmDeleteAgency) . ">{$strDelete}</a> ";
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 " <img src='" . OX::assetPath() . "/images/icon-activate.gif' align='absmiddle' border='0'>";
echo " <a href='agency-index.php?hideinactive=0'>" . $strShowAll . "</a>";
echo " | " . $strInactiveAgenciesHidden;
} else {
示例4: while
while ($row = phpAds_dbFetchArray($res)) {
$extra .= "<option value='" . $row['campaignid'] . "'>" . phpAds_buildName($row['campaignid'], $row['campaignname']) . "</option>";
}
$extra .= "</select> <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'> {$strApplyLimitationsTo}<br>";
$extra .= "<img src='images/spacer.gif' height='1' width='160' vspace='2'><br>";
$extra .= " ";
$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> <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'> <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'> " . phpAds_getParentClientName($campaignid);
echo " <img src='images/" . $phpAds_TextDirection . "/caret-rs.gif'> ";
echo "<img src='images/icon-campaign.gif' align='absmiddle'> " . phpAds_getCampaignName($campaignid);
echo " <img src='images/" . $phpAds_TextDirection . "/caret-rs.gif'> ";
echo "<img src='images/icon-banner-stored.gif' align='absmiddle'> <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();
示例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'> </tr><td>";
echo "<tr><td>";
echo phpAds_buildBannerCode($row_banners['bannerid'], true);
echo "</tr><td>";
echo "<tr><td height='10'> </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'> {$strResetStats}</a>";
echo " ";
}
}
/*
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'> " . $strBannerProperties . "</a>";
echo " ";
}
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'>";
示例6: phpAds_buildBannerCode
echo "<tr " . ($i % 2 == 0 ? "bgcolor='#F6F6F6'" : "") . "><td colspan='1'> </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> </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'> <a href='banner-delete.php?clientid=" . $clientid . "&campaignid=" . $campaignid . "&returnurl=campaign-banners.php'" . phpAds_DelConfirm($strConfirmDeleteAllBanners) . ">{$strDeleteAllBanners}</a> ";
}
if (isset($banners) && $count_active < count($banners)) {
echo "<img src='images/icon-activate.gif' border='0' align='absmiddle'> <a href='banner-activate.php?clientid=" . $clientid . "&campaignid=" . $campaignid . "&value=f'>{$strActivateAllBanners}</a> ";
}
if ($count_active > 0) {
echo "<img src='images/icon-deactivate.gif' border='0' align='absmiddle'> <a href='banner-activate.php?clientid=" . $clientid . "&campaignid=" . $campaignid . "&value=t'>{$strDeactivateAllBanners}</a> ";
}
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 " <a href='campaign-banners.php?clientid=" . $clientid . "&campaignid=" . $campaignid . "&expand=all' accesskey='" . $keyExpandAll . "'>" . $strExpandAll . "</a>";
echo " | ";
echo "<img src='images/" . $phpAds_TextDirection . "/triangle-l.gif' align='absmiddle' border='0'>";
echo " <a href='campaign-banners.php?clientid=" . $clientid . "&campaignid=" . $campaignid . "&expand=none' accesskey='" . $keyCollapseAll . "'>" . $strCollapseAll . "</a>";
示例7: elseif
$extra .= "<img src='images/icon-move-zone.gif' align='absmiddle'> {$strMoveTo}<br>";
$extra .= "<img src='images/spacer.gif' height='1' width='160' vspace='2'><br>";
$extra .= " ";
$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> <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'> <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'> " . phpAds_getAffiliateName($affiliateid);
echo " <img src='images/" . $phpAds_TextDirection . "/caret-rs.gif'> ";
echo "<img src='images/icon-zone.gif' align='absmiddle'> <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");
示例8: elseif
$extra .= "\t\t\t\t " . "\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> \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'> " . phpAds_getParentClientName($campaignid);
echo " <img src='images/" . $phpAds_TextDirection . "/caret-rs.gif'> ";
echo "<img src='images/icon-campaign.gif' align='absmiddle'> <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
示例9: phpAds_DelConfirm
} else {
echo "<img src='images/icon-banner-stored-d.gif' align='absmiddle'>";
}
}
echo " <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> </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}'> {$strACL}</a> ";
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}'> {$strDelete}</a> ";
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'> ";
echo "<img src='images/icon-campaign.gif' align='absmiddle'> ";
echo "{$strBannersWithoutCampaign}</td>";
示例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);
}
示例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'> <a href='tracker-delete.php?clientid=" . $clientid . "&returnurl=advertiser-trackers.php'" . phpAds_DelConfirm($strConfirmDeleteAllTrackers) . ">{$strDeleteAllTrackers}</a> ";
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();
示例12: phpAds_DelConfirm
echo "<tr height='25' " . ($i % 2 == 0 ? "bgcolor='#F6F6F6'" : "") . ">";
echo "<td height='25'>";
echo " ";
echo "<img src='images/icon-zone.gif' align='absmiddle'> ";
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> </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}'> {$strIncludedBanners}</a> ";
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}'> {$strDelete}</a> ";
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'> </td></tr>
</table>
示例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);
}
示例14: _function_phpAds_DelConfirm
function _function_phpAds_DelConfirm($aParams, &$smarty)
{
return phpAds_DelConfirm($this->_function_t($aParams, $smarty));
}
示例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'> {$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';
}
}