PluginProbe
MBE eShip / trunk
MBE eShip vtrunk
2.8.1 trunk 1.0.0 1.1.0 1.1.3 1.2.1 1.2.2 1.3.0 1.4.0 1.4.1 1.5.0 1.5.1 1.5.2 1.6.0 1.7.0 1.7.1 2.0.0 2.0.1 2.0.2 2.0.3 2.0.4 2.1.0 2.1.1 2.1.2 2.2.1 All 37 releases
mail-boxes-etc / includes / settings-welcome.php

settings-welcome.php in MBE eShip trunk, at includes/settings-welcome.php

123 lines 5.7 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 $language = get_locale();
3 $language = get_bloginfo('language');
4 $firstImg = 'mbe_eship';
5 $secondImg = 'mbe_packing';
6 switch ($language) {
7 case 'it-IT':
8 $mbe_page_link = 'https://www.mbe.it/it/ecommerce';
9 $firstImg = $firstImg . '_it' . '.jpg';
10 $secondImg = $secondImg . '_it' . '.jpg';
11 break;
12 case 'fr-FR':
13 $mbe_page_link = 'https://www.mbefrance.fr/fr/ecommerce';
14 $firstImg = $firstImg . '_fr' . '.jpg';
15 $secondImg = $secondImg . '_fr' . '.jpg';
16 break;
17 case 'es':
18 $mbe_page_link = 'https://www.mbe.es/es/ecommerce';
19 $firstImg = $firstImg . '_es' . '.jpg';
20 $secondImg = $secondImg . '_es' . '.jpg';
21 break;
22 case 'pl-PL':
23 $mbe_page_link = 'https://www.mbe.pl/pl/ecommerce';
24 $firstImg = $firstImg . '_pl' . '.jpg';
25 $secondImg = $secondImg . '_pl' . '.jpg';
26 break;
27 case 'de-DE':
28 $mbe_page_link = 'https://www.mbe.de/de/ecommerce';
29 $firstImg = $firstImg . '_de' . '.jpg';
30 $secondImg = $secondImg . '_de' . '.jpg';
31 break;
32 default:
33 $mbe_page_link = 'https://mbe.it/en/ecommerce';
34 $firstImg = $firstImg . '.jpg';
35 $secondImg = $secondImg . '.jpg';
36 break;
37 }
38
39 $firstImg = MBE_ESHIP_PLUGIN_URL.'lib/images/'.sanitize_file_name($firstImg);
40 $secondImg = MBE_ESHIP_PLUGIN_URL.'lib/images/'.sanitize_file_name($secondImg);
41
42
43 ?>
44 <style>
45 .button-mbe {
46 background-color: #cc2c24 !important;
47 border-color: #cc2c24 !important;
48 }
49
50 .button-mbe:hover {
51 background-color: darkred !important;
52 border-color: darkred !important;
53 }
54 table.welcome-page {
55 width: 100%;
56 border:0;
57 border-collapse: collapse;
58 margin-bottom:30px
59 }
60 table.welcome-page td {
61 padding: 0;
62 width: 50%;
63 text-align: center;
64 background-color: #eaeaea;
65 }
66 table.welcome-page td div.mbe-service-text{
67 text-align: left;
68 padding: 15px;
69 }
70 table.welcome-page td img{
71 width: 100%;
72 }
73 </style>
74
75 <H2 style="color: red"><?php esc_html_e( MBE_ESHIP_PLUGIN_NAME.' Plugin', 'mail-boxes-etc' ) ?></H2>
76 <div>
77 <p><?php esc_html_e( 'Give a new impulse to your e-commerce: with MBE solutions to digitize shipments and logistics, designed for companies, entrepreneurs but also artisans who are looking for a reliable partner who can support them by successfully bringing their business online with complete and flexible solutions, even on large marketplaces such as Amazon and e-Bay and are compatible with Magento CE, PrestaShop, Shopify, WooCommerce as well as the ability to customize them via API.', 'mail-boxes-etc' ) ?></p>
78 </div>
79 <div>
80 <p><?php esc_html_e( 'If yes, start the configuration. If not, Contact us.', 'mail-boxes-etc' ) ?></p>
81 </div>
82 <div style="text-align: center">
83 <a href="<?php esc_attr_e($mbe_page_link) ?>" class="button-mbe button-primary"
84 target="_blank"><?php esc_html_e(mb_strtoupper( __( 'contact us', 'mail-boxes-etc' ) )) ?></a>
85 <a href="<?php esc_attr_e(get_admin_url( get_current_blog_id(),'admin.php?page=' . mbe_e_link_get_settings_url() . '&tab=' . MBE_ESHIP_ID .'&section=mbe_general')) ?>" class="button-mbe button-primary"
86 target="_self"><?php esc_html_e(mb_strtoupper( __( 'start the configuration', 'mail-boxes-etc' ) )) ?></a>
87 </div>
88 <div>
89 <p><?php esc_html_e( 'By connecting MBE platform directly to your e-commerce website, you can automate the management of shipments and facilitate sales process.', 'mail-boxes-etc' ) ?></p>
90 </div>
91 <div>
92 <h2 style="text-align: center"><?php esc_html_e( MBE_ESHIP_PLUGIN_NAME.' Plugin', 'mail-boxes-etc' ) ?></h2>
93 </div>
94 <div>
95 <table class="welcome-page">
96 <tr>
97 <td>
98 <div class="mbe-service-text">
99 <h3><?php esc_html_e('MBE Digital Solutions', 'mail-boxes-etc') ?></h3>
100 <?php esc_html_e( 'Turnkey digital services that help your brand take off. Reach your customers online with digital solutions and web marketing tools that give you more chances to reach your audience by building an effective online presence for your business and being where your customers are. MBE offers you effective solutions to grow your digital channels. Showcase your brand, e-commerce store, or improve your current website to make it more visible on search engines.', 'mail-boxes-etc') ?>
101 </div>
102 </td>
103 <td><img alt="mbe digital solution" src="<?php esc_attr_e($firstImg) ?>"/></td>
104 </tr>
105 <tr>
106 <td><img alt="mbe packing" src="<?php esc_attr_e($secondImg) ?>"/></td>
107 <td>
108 <div class="mbe-service-text">
109 <h3><?php esc_html_e('MBE Packing', 'mail-boxes-etc') ?></h3>
110 <?php esc_html_e('The packaging service that gives your business an edge. Your customers deserve a unique experience: surprise them during unboxing with customized packaging solutions for your products. A highly customized solution that enhances your brand and adds a touch of style based on your specific needs. In addition to optimizing time and resources, you can reduce your environmental impact as MBE uses innovative packaging techniques and materials.', 'mail-boxes-etc') ?>
111 </div>
112 </td>
113 </tr>
114 </table>
115 </div>
116 <div>
117 <h3><?php esc_html_e('Now you know you have a reliable partner by your side!', 'mail-boxes-etc') ?></h3>
118 <p><?php esc_html_e('MBE is the right end-to-end partner that supports all realities in the transition to digital by providing complete and turnkey solutions.', 'mail-boxes-etc') ?></p>
119 </div>
120 <div style="text-align: center">
121 <a href="<?php esc_attr_e($mbe_page_link) ?>" class="button-mbe button-primary"
122 target="_blank"><?php esc_html_e(mb_strtoupper( __( 'Contact your MBE Center', 'mail-boxes-etc' ) )) ?></a>
123 </div>