email-templates
5 months ago
ui-blocks
9 months ago
clean-template.php
5 years ago
generate-password.php
5 years ago
message.php
5 months ago
template-preview.php
1 year ago
message.php
90 lines
| 1 | <?php |
| 2 | if (!defined('ABSPATH')) die(); |
| 3 | /** |
| 4 | * User: shahnuralam |
| 5 | * Date: 1/26/18 |
| 6 | * Time: 12:33 AM |
| 7 | */ |
| 8 | |
| 9 | |
| 10 | ?><!DOCTYPE html> |
| 11 | <html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>> |
| 12 | <head> |
| 13 | <meta http-equiv="Content-Type" |
| 14 | content="<?php bloginfo( 'html_type' ); ?>; charset=<?php bloginfo( 'charset' ); ?>"/> |
| 15 | <meta name="viewport" content="width=device-width, initial-scale=1.0"> |
| 16 | <link rel="stylesheet" href="<?php echo WPDM_ASSET_URL.'css/front.min.css'; ?>" /> |
| 17 | <?php $color_scheme = get_option('__wpdm_color_scheme', 'system'); if ($color_scheme !== 'light') { ?> |
| 18 | <link rel="stylesheet" href="<?php echo WPDM_ASSET_URL.'css/front-dark.min.css'; ?>" /> |
| 19 | <?php } ?> |
| 20 | <?php |
| 21 | $_font = get_option('__wpdm_google_font', 'Sen'); |
| 22 | $font = explode(":", $_font); |
| 23 | $font = $font[0]; |
| 24 | $font = $font ? $font . ',' : ''; |
| 25 | if($_font) { |
| 26 | ?> |
| 27 | <link href="https://fonts.googleapis.com/css2?family=<?php echo str_replace("regular", 400, $_font); ?>" rel="stylesheet"> |
| 28 | <?php } ?> |
| 29 | <?php WPDM()->apply::uiColors(); ?> |
| 30 | <style> |
| 31 | body{ |
| 32 | font-family: var(--wpdm-font); |
| 33 | background: #ffffff url("<?php echo get_the_post_thumbnail_url(); ?>") no-repeat; |
| 34 | background-size: cover; |
| 35 | } |
| 36 | .outer { |
| 37 | display: table; |
| 38 | position: absolute; |
| 39 | top: 0; |
| 40 | left: 0; |
| 41 | height: 100%; |
| 42 | width: 100%; |
| 43 | } |
| 44 | |
| 45 | .middle { |
| 46 | display: table-cell; |
| 47 | vertical-align: middle; |
| 48 | text-align: center; |
| 49 | } |
| 50 | |
| 51 | |
| 52 | .w3eden .panel .panel-heading{ |
| 53 | font-size: 10px; |
| 54 | } |
| 55 | .w3eden p{ |
| 56 | margin: 15px 0 !important; |
| 57 | } |
| 58 | |
| 59 | .w3eden .inner { |
| 60 | letter-spacing: 0.3px; |
| 61 | } |
| 62 | .w3eden .inner .card-header strong, |
| 63 | .w3eden .inner .card-header { |
| 64 | font-weight: 600; |
| 65 | font-size: 16px !important; |
| 66 | } |
| 67 | .w3eden .inner .card { |
| 68 | width: 500px; |
| 69 | margin: 0 auto; |
| 70 | } |
| 71 | |
| 72 | </style> |
| 73 | |
| 74 | </head> |
| 75 | <body class="w3eden"> |
| 76 | <div class="outer"> |
| 77 | <div class="middle"> |
| 78 | <div class="inner"> |
| 79 | <?php |
| 80 | echo do_shortcode($msg); |
| 81 | ?> |
| 82 | </div> |
| 83 | </div> |
| 84 | </div> |
| 85 | |
| 86 | </body> |
| 87 | |
| 88 | |
| 89 | </html> |
| 90 |