| 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> </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--> |