hpdl
|
1202
|
1
|
<?php
|
|
2
|
/*
|
|
3
|
$Id: $
|
|
4
|
|
|
5
|
osCommerce, Open Source E-Commerce Solutions
|
|
6
|
http://www.oscommerce.com
|
|
7
|
|
hpdl
|
1453
|
8
|
Copyright (c) 2007 osCommerce
|
hpdl
|
1202
|
9
|
|
hpdl
|
1497
|
10
|
This program is free software; you can redistribute it and/or modify
|
|
11
|
it under the terms of the GNU General Public License v2 (1991)
|
|
12
|
as published by the Free Software Foundation.
|
hpdl
|
1202
|
13
|
*/
|
|
14
|
|
|
15
|
$osC_ObjectInfo = new osC_ObjectInfo(osC_CreditCards_Admin::getData($_GET['ccID']));
|
|
16
|
?>
|
|
17
|
|
hpdl
|
1405
|
18
|
<h1><?php echo osc_link_object(osc_href_link_admin(FILENAME_DEFAULT, $osC_Template->getModule()), $osC_Template->getPageTitle()); ?></h1>
|
hpdl
|
1202
|
19
|
|
|
20
|
<?php
|
|
21
|
if ($osC_MessageStack->size($osC_Template->getModule()) > 0) {
|
hpdl
|
1845
|
22
|
echo $osC_MessageStack->get($osC_Template->getModule());
|
hpdl
|
1202
|
23
|
}
|
|
24
|
?>
|
|
25
|
|
hpdl
|
1475
|
26
|
<div class="infoBoxHeading"><?php echo osc_icon('trash.png') . ' ' . $osC_ObjectInfo->get('credit_card_name'); ?></div>
|
hpdl
|
1202
|
27
|
<div class="infoBoxContent">
|
hpdl
|
1405
|
28
|
<form name="aDelete" action="<?php echo osc_href_link_admin(FILENAME_DEFAULT, $osC_Template->getModule() . '&page=' . $_GET['page'] . '&ccID=' . $osC_ObjectInfo->get('id') . '&action=delete'); ?>" method="post">
|
hpdl
|
1202
|
29
|
|
hpdl
|
1453
|
30
|
<p><?php echo $osC_Language->get('introduction_delete_card'); ?></p>
|
hpdl
|
1202
|
31
|
|
|
32
|
<p><?php echo '<b>' . $osC_ObjectInfo->get('credit_card_name') . '</b>'; ?></p>
|
|
33
|
|
hpdl
|
1475
|
34
|
<p align="center"><?php echo osc_draw_hidden_field('subaction', 'confirm') . '<input type="submit" value="' . $osC_Language->get('button_delete') . '" class="operationButton" /> <input type="button" value="' . $osC_Language->get('button_cancel') . '" onclick="document.location.href=\'' . osc_href_link_admin(FILENAME_DEFAULT, $osC_Template->getModule() . '&page=' . $_GET['page']) . '\';" class="operationButton" />'; ?></p>
|
hpdl
|
1202
|
35
|
|
|
36
|
</form>
|
|
37
|
</div>
|