PluginProbe
Welcart e-Commerce / 1.3.4
Welcart e-Commerce v1.3.4
2.12.4 2.12.3 2.11.35 2.12.2 2.12.1 2.11.34 2.11.33 2.11.32 2.11.31 2.11.30 1.3.16 1.3.17 1.3.2 1.3.3 1.3.4 1.3.5 1.3.6 1.3.7 1.3.8 1.3.9 1.4.0 1.4.1 1.4.10 1.4.11 1.4.12 All 292 releases
usc-e-shop / includes / admin_backup.php

admin_backup.php in Welcart e-Commerce 1.3.4, at includes/admin_backup.php

65 lines 1.9 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 $status = $this->action_status;
3 $message = $this->action_message;
4 $this->action_status = 'none';
5 $this->action_message = '';
6 $mail_datas = $this->options['mail_data'];
7
8 ?>
9 <script type="text/javascript">
10 jQuery(function($){
11 <?php if($status == 'success'){ ?>
12 $("#anibox").animate({ backgroundColor: "#ECFFFF" }, 2000);
13 <?php }else if($status == 'caution'){ ?>
14 $("#anibox").animate({ backgroundColor: "#FFF5CE" }, 2000);
15 <?php }else if($status == 'error'){ ?>
16 $("#anibox").animate({ backgroundColor: "#FFE6E6" }, 2000);
17 <?php } ?>
18
19 $("#aAdditionalURLs").click(function () {
20 $("#AdditionalURLs").toggle();
21 });
22 });
23
24 function toggleVisibility(id) {
25 var e = document.getElementById(id);
26 if(e.style.display == 'block')
27 e.style.display = 'none';
28 else
29 e.style.display = 'block';
30 }
31 </script>
32 <div class="wrap">
33 <div class="usces_admin">
34 <h2>Welcart Shop <?php _e('Backup','usces'); ?></h2>
35 <div id="aniboxStatus" class="<?php echo $status; ?>">
36 <div id="anibox" class="clearfix">
37 <img src="<?php echo USCES_PLUGIN_URL; ?>/images/list_message_<?php echo $status; ?>.gif" />
38 <div class="mes" id="info_massage"><?php echo $message; ?></div>
39 </div>
40 </div>
41
42 <table class="form_table">
43 <tr>
44 <form action="" method="post" name="option_form" id="option_form">
45 <th width="150"><?php _e('Export', 'usces'); ?></th>
46 <td>
47 <input name="usces_export" type="submit" class="button" value="<?php _e('Start Exporting', 'usces'); ?>" />
48 </td>
49 <td>&nbsp;</td>
50 </form>
51 </tr>
52 <tr>
53 <form action="" method="post" enctype="multipart/form-data" name="up_form" id="up_form">
54 <th width="150"><?php _e('Import', 'usces'); ?></th>
55 <td><input name="data" type="file" /></td>
56 <td><input name="usces_import" type="submit" class="button" value="<?php _e('Start importing', 'usces'); ?>" /></td>
57 </form>
58 </tr>
59 </table>
60
61 <div class="chui">
62 <?php _e('Back-up functions is now under testing.', 'usces'); ?>
63 </div>
64 </div><!--usces_admin-->
65 </div><!--wrap-->