$l5 = get_option("leafletmapsmarker_version_pro");
            echo "<div id='message' class='error' style='padding:5px;'><strong>" . __("Warning: your access to updates and support for Maps Marker Pro has expired!", "lmm") . "</strong><br/>";
            if ($lc > $l5) {
                echo __("Latest available version:", "lmm") . " <a href='https://www.mapsmarker.com/v" . $lc . "p' target='_blank' title='" . esc_attr__("click to show release notes", "lmm") . "'>" . $lc . "</a> " . "(<a href='www.mapsmarker.com/changelog/pro/' target='_blank'>" . __("show all available changelogs", "lmm") . "</a>)<br/>";
            }
            echo sprintf(__("You can continue using version %s without any limitations. Nevertheless you will not be able to get updates including bugfixes, new features and optimizations as well as access to our support system. ", "lmm"), $l5) . "</div>";
            if (current_user_can("activate_plugins")) {
                echo "<a href=\"https://www.mapsmarker.com/renew\" target=\"_blank\"  style=\"font-size:125%;font-weight:bold;\">&raquo; " . __("please click here to renew your access to plugin updates and support", "lmm") . " &laquo;</a>";
                echo "<p>" . __("Important: please click the update button next to the license key after purchasing a renewal to finish your order.", "lmm") . "</p>";
            } else {
                echo "<span style=\"font-size:125%;font-weight:bold;\">" . sprintf(__("Please contact your administrator (%1s) to renew your access to plugin updates and support.", "lmm"), "<a href=\"mailto:" . get_bloginfo("admin_email") . "?subject=" . esc_attr__("Maps Marker Pro - renewal for access to plugin updates and support needed", "lmm") . "\">" . get_bloginfo("admin_email") . "</a>") . "</span>";
            }
        }
    }
} else {
    if ($lu->lx && la($Oa = FALSE, $lb = TRUE) === TRUE && la($Oa = l0, $lb = FALSE) === FALSE) {
        if (current_user_can("activate_plugins")) {
            $l23 = "https://www.mapsmarker.com/updates-pro/archive";
            echo "<div id='message' class='error' style='padding:5px;'><strong>" . sprintf(__("Error: This version of the plugin was released after your download access expired. Please <a href=\"%1\$s\" target=\"_blank\">renew your download and support access</a> or <a href=\"%2\$s\" target=\"_blank\">downgrade to your previous valid version</a>.", "lmm"), "https://www.mapsmarker.com/renew", $l23) . "</strong></div>";
        } else {
            echo "<div id='message' class='error' style='padding:5px;'><strong>" . sprintf(__("Error: This version of the plugin was released after your download access expired. Please contact your administrator (%1s) to renew your access to plugin updates and support or to downgrade to your previous valid version.", "lmm"), "<a href=\"mailto:" . get_bloginfo("admin_email") . "?subject=" . esc_attr__("Maps Marker Pro - renewal for access to plugin updates and support needed", "lmm") . "\">" . get_bloginfo("admin_email") . "</a>") . "</strong></div>";
        }
    }
}
echo "\r\n\t</p>\r\n\r\n\t";
if (current_user_can("activate_plugins")) {
    if ($lu->lx && $O1w != "*****@*****.**") {
        echo "<p>" . sprintf(__("Please note that a license is bound to the domain it was activated on! If you want to use your license on another domain, please follow the tutorial at <a href=\"%1\$s\" target=\"_blank\">%2\$s</a>", "lmm"), "https://www.mapsmarker.com/transfer\" style=\"text-decoration:none;", "mapsmarker.com/transfer") . "</p>";
        echo "<p>" . sprintf(__("If you have any issues with your license, <a href=\"%1\$s\" target=\"_blank\">please open a new support ticket</a>!", "lmm"), "https://www.mapsmarker.com/store/customers/index.php?task=login&email_login="******"\" style=\"text-decoration:none;") . "</p>";
    }
}
 function lmm_dashboard_widget()
 {
     global $wpdb;
     $O4 = get_option("leafletmapsmarker_options");
     if ($O4["defaults_marker_custom_icon_url_dir"] == "no") {
         $defaults_marker_icon_dir = l3;
         $defaults_marker_icon_url = O2;
     } else {
         $defaults_marker_icon_dir = htmlspecialchars($O4["defaults_marker_icon_dir"]);
         $defaults_marker_icon_url = htmlspecialchars($O4["defaults_marker_icon_url"]);
     }
     $table_name_markers = $wpdb->prefix . "leafletmapsmarker_markers";
     $widgets = get_option("dashboard_widget_options");
     $widget_id = "lmm-admin-dashboard-widget";
     $number_of_markers = isset($widgets[$widget_id]) && isset($widgets[$widget_id]["items"]) ? absint($widgets[$widget_id]["items"]) : 4;
     if (la($Oa = FALSE, $lb = TRUE) === TRUE && la() === FALSE) {
         $l5 = get_option("leafletmapsmarker_version_pro");
         echo "<div style=\"padding: 3px 5px;background-color: #FFEBE8;border: 1px solid #CC0000;border-radius: 3px;color: #333;\"><strong>" . __("Warning: your access to updates and support for Maps Marker Pro has expired!", "lmm") . "</strong><br/>";
         $lc = get_option("leafletmapsmarker_version_pro_latest");
         if ($lc != NULL && $lc > $l5) {
             echo __("Latest available version:", "lmm") . " <a href='https://www.mapsmarker.com/v" . $lc . "p' target='_blank' title='" . esc_attr__("click to show release notes", "lmm") . "'>" . $lc . "</a> " . "(<a href='www.mapsmarker.com/changelog/pro/' target='_blank'>" . __("show all available changelogs", "lmm") . "</a>)<br/>";
         }
         echo sprintf(__("You can continue using version %s without any limitations. Nevertheless you will not be able to get updates including bugfixes, new features and optimizations as well as access to our support system. ", "lmm"), $l5) . "<br/>" . sprintf(__("<a href=\"%s\">Please renew your access to updates and support to keep your plugin up-to-date and safe</a>.", "lmm"), l1 . "admin.php?page=leafletmapsmarker_license") . "</div>";
         echo "<hr style=\"border:0;height:1px;background-color:#d8d8d8;\"/>";
     }
     $Oe = $wpdb->get_results($wpdb->prepare("SELECT `id`,`markername`,`icon`,`createdon`,`createdby` FROM `{$table_name_markers}` ORDER BY `createdon` desc LIMIT %d", $number_of_markers), ARRAY_A);
     if ($Oe != NULL) {
         echo "<table style=\"margin-bottom:5px;\"><tr>";
         foreach ($Oe as $row) {
             $icon = $row["icon"] == NULL ? O1 . "leaflet-dist/images/marker.png" : $defaults_marker_icon_url . "/" . $row["icon"];
             echo "<td><a href=\"" . l1 . "admin.php?page=leafletmapsmarker_marker&id=" . $row["id"] . "\" title=\"" . esc_attr__("edit marker", "lmm") . "\"><img src=\"" . $icon . "\" style=\"width:80%;\"></a>";
             echo "<td style=\"vertical-align:top;line-height:1.2em;\">";
             echo "<a href=\"" . l1 . "admin.php?page=leafletmapsmarker_marker&id=" . $row["id"] . "\" title=\"" . esc_attr__("edit marker", "lmm") . "\">" . htmlspecialchars(stripslashes($row["markername"])) . "</a><br/>" . __("created on", "lmm") . " " . date("Y-m-d - h:m", strtotime($row["createdon"])) . ", " . __("created by", "lmm") . " " . $row["createdby"];
             echo "</td></tr>";
         }
         echo "</table>";
     } else {
         echo "<p style=\"margin-bottom:5px;\">" . __("No marker created yet", "lmm") . "</p>";
     }
     if (!isset($widgets[$widget_id]["blogposts"])) {
         $lf = 1;
     } else {
         if (isset($widgets[$widget_id]["blogposts"]) && $widgets[$widget_id]["blogposts"] == 1) {
             $lf = 0;
         } else {
             $lf = 1;
         }
     }
     function lmm_spc_custom_name($Of)
     {
         return "mapsmarker-dashboard-widget-rss-item-cache";
     }
     if ($lf == 1 && $O4["misc_whitelabel_backend"] == "disabled") {
         require_once ABSPATH . WPINC . DIRECTORY_SEPARATOR . "class-simplepie.php";
         $lg = new simplepie();
         if (file_exists($defaults_marker_icon_dir . DIRECTORY_SEPARATOR . "readme-icons.txt")) {
             $lg->enable_cache(TRUE);
             $lg->set_cache_location($location = $defaults_marker_icon_dir);
             $lg->set_cache_name_function("lmm_spc_custom_name");
             $lg->set_cache_duration(0250600);
         } else {
             $lg->enable_cache(FALSE);
         }
         $lg->set_feed_url("http://feeds.feedburner.com/MapsMarkerPro");
         $lg->set_stupidly_fast(TRUE);
         $lg->enable_order_by_date(TRUE);
         $lg->init();
         $lg->handle_content_type();
         echo "<hr style=\"border:0;height:1px;background-color:#d8d8d8;\"/><strong><p>" . __("Latest blog posts from www.mapsmarker.com", "lmm") . "</p></strong>";
         if ($lg->get_items() == NULL) {
             $blogpost_url = "<a href=\"https://www.mapsmarker.com/news\" target=\"_blank\">https://www.mapsmarker.com/news</a>";
             echo sprintf(__("Feed could not be retrieved, please try again later or read the latest blog posts at %s", "lmm"), $blogpost_url);
         }
         foreach ($lg->get_items(0, 3) as $item) {
             echo "<p  style=\"margin:0.5em 0;\">" . $item->get_date("j F Y") . ": <strong><a href=\"" . $item->get_permalink() . "?ref=dashboard\">" . $item->get_title() . "</a></strong></p>" . PHP_EOL;
         }
         echo "<p><a style=\"text-decoration:none;\" href=\"https://www.mapsmarker.com\" target=\"_blank\"><img src=\"" . O1 . "inc/img/icon-website-home.png\" width=\"16\" height=\"16\" alt=\"mapsmarker.com\"> MapsMarker.com</a>&nbsp;<a style=\"text-decoration:none;\" title=\"" . esc_attr__("MapsMarker affiliate program - sign up now and receive commissions up to 50%!", "lmm") . "\" href=\"https://www.mapsmarker.com/affiliates\" target=\"_blank\"><img src=\"" . O1 . "inc/img/icon-affiliates.png\" width=\"16\" height=\"16\" alt=\"" . esc_attr__("MapsMarker affiliate program - sign up now and receive commissions up to 50%!", "lmm") . "\"> " . __("Affiliates", "lmm") . "</a>&nbsp;<a style=\"text-decoration:none;\" title=\"" . esc_attr__("MapsMarker reseller program - re-sell with a 20% discount!", "lmm") . "\" href=\"https://www.mapsmarker.com/reseller\" target=\"_blank\"><img src=\"" . O1 . "inc/img/icon-resellers.png\" width=\"16\" height=\"16\" alt=\"" . esc_attr__("MapsMarker reseller program - re-sell with a 20% discount!", "lmm") . "\"> " . __("Resellers", "lmm") . "</a>&nbsp;<a style=\"text-decoration:none;\" href=\"https://www.mapsmarker.com/reviews\" target=\"_blank\" title=\"" . esc_attr__("please rate this plugin on wordpress.org", "lmm") . "\"><img src=\"" . O1 . "inc/img/icon-star.png\" width=\"16\" height=\"16\" alt=\"" . esc_attr__("please rate this plugin on wordpress.org", "lmm") . "\"> " . __("rate plugin", "lmm") . "</a>&nbsp;<a href=\"https://translate.mapsmarker.com/projects/lmm\" target=\"_blank\"><img src=\"" . O1 . "inc/img/icon-translations.png\" width=\"16\" height=\"16\" alt=\"translations\"> " . __("translations", "lmm") . "</a>&nbsp;<a href=\"https://twitter.com/mapsmarker\" target=\"_blank\"><img src=\"" . O1 . "inc/img/icon-twitter.png\" width=\"16\" height=\"16\" alt=\"twitter\"> Twitter</a>&nbsp;<a href=\"https://facebook.com/mapsmarker\" target=\"_blank\"><img src=\"" . O1 . "inc/img/icon-facebook.png\" width=\"16\" height=\"16\" alt=\"facebook\"> Facebook</a>&nbsp;<a href=\"https://www.mapsmarker.com/+\" target=\"_blank\"><img src=\"" . O1 . "inc/img/icon-google-plus.png\" width=\"16\" height=\"16\" alt=\"google+\"> Google+</a>&nbsp;<a style=\"text-decoration:none;\" href=\"https://www.mapsmarker.com/changelog/pro\" target=\"_blank\"><img src=\"" . O1 . "inc/img/icon-changelog-header.png\" width=\"16\" height=\"16\" alt=\"changelog\"> " . __("Changelog", "lmm") . "</a>&nbsp;<a href=\"https://feeds.feedburner.com/MapsMarker\" target=\"_blank\"><img src=\"" . O1 . "inc/img/icon-rss.png\" width=\"16\" height=\"16\" alt=\"rss\"> RSS</a>&nbsp;<a href=\"http://feedburner.google.com/fb/a/mailverify?uri=MapsMarker\" target=\"_blank\"><img src=\"" . O1 . "inc/img/icon-rss-email.png\" width=\"16\" height=\"16\" alt=\"rss-email\"> " . __("E-Mail", "lmm") . "</a></p>";
     }
 }
예제 #3
0
<div class="food_picture">
    	<img src="<?php 
echo Doo::conf()->APP_URL . $data['book']['img'];
?>
" />
    </div>
    <div class="food_intro">
    	<div class="name">
            <p class="food_name"><?php 
echo $data['book']['name'];
?>
</p>
            <div class="lajiao">
                <?php 
echo la($data['book']['la']);
?>
            </div>
        </div>
		
		<?php 
//门市价 》微信价 则删除线
$msclass = '';
$wxclass = '';
if ($data['book']['price'] >= $data['book']['wxprice']) {
    $msclass = 'ms_price';
} else {
    //$wxclass = 'ms_price';
}
?>
	<?php 
//超出预定结束时间 则删除线
<?php

// Before trying to crack the plugin, please consider buying a pro license at https://www.mapsmarker.com. I have put hundreds of hours into the development of the plugin and without honest customers I will not be able to continue the development and support. Thanks for your understanding and your honesty! Robert
if (basename($_SERVER["SCRIPT_FILENAME"]) == "showmap_prepare.php") {
    exit("Please do not access this file directly. Thanks!<br/><a href='https://www.mapsmarker.com/go'>www.mapsmarker.com</a>");
}
require "showmap.php";
$O23 = "\n<table cellspacing=\"0\" cellpadding=\"0\" style=\"background:red;margin:0;padding:0;line-height:0;border:none;\">\n\t<tr>\n\t\t<td style=\"margin:0;padding:5px;\"><a style=\"color:white;text-decoration:none;\" href=\"https://www.mapsmarker.com/\" target=\"_blank\" title=\"" . esc_attr__("Maps Marker Pro - #1 mapping plugin for WordPress", "lmm") . "\"><img src=\"" . O1 . "inc/img/ios-app-icon-iphone-57x57.png\" alt=\"Maps Marker Pro Logo\" /></a></td>\n\t\t<td style=\"margin:0;padding:5px;vertical-align:middle;font-size:140%;font-weight:bold;text-align:center;\"><a style=\"color:white;text-decoration:none;line-height:1.1em;\" href=\"https://www.mapsmarker.com/expired\" target=\"_blank\" onMouseOver=\"this.style.color='#0000FF'\" onMouseOut=\"this.style.color='#ffffff'\" title=\"" . esc_attr__("click here to order a license key at www.mapsmarker.com", "lmm") . "\">" . __("Error: a valid license key is needed to display maps properly!", "lmm") . "</a></td>\n\t</tr>\n</table>";
$l24 = "<script type='text/javascript'>\nif (typeof jQuery != 'undefined') {\n\tjQuery(document).ready(function(\$) {\n\t\t\$('.leaflet-tile').css('opacity', '0.1');\n\t\t\$('.lmm-loading').css('display', 'none');\n\t});\n}\n</script>";
if (la($Oa = FALSE, $lb = TRUE) === TRUE) {
    if (!l11()) {
        if (la($Oa = FALSE, $lb = FALSE) === FALSE) {
            $Oh = $O23 . $lmm_out . $O23 . $l24;
        } else {
            $Oh = $lmm_out;
        }
    } else {
        $Oh = $lmm_out;
    }
} else {
    $Oh = $O23 . $lmm_out . $O23 . $l24;
}
예제 #5
0
            $l5 = get_option("leafletmapsmarker_version_pro");
            echo "<div id='message' class='error' style='padding:5px;'><strong>" . __("Warning: your access to updates and support for Leaflet Maps Marker Pro has expired!", "lmm") . "</strong><br/>";
            if ($lc > $l5) {
                echo __("Latest available version:", "lmm") . " <a href='https://www.mapsmarker.com/v" . $lc . "p' target='_blank' title='" . esc_attr__("click to show release notes", "lmm") . "'>" . $lc . "</a> " . "(<a href='www.mapsmarker.com/changelog/pro/' target='_blank'>" . __("show all available changelogs", "lmm") . "</a>)<br/>";
            }
            echo sprintf(__("You can continue using version %s without any limitations. Nevertheless you will not be able to get updates including bugfixes, new features and optimizations as well as access to our support system. ", "lmm"), $l5) . "</div>";
            if (current_user_can("activate_plugins")) {
                echo "<a href=\"https://www.mapsmarker.com/renew\" target=\"_blank\"  style=\"font-size:125%;font-weight:bold;\">&raquo; " . __("please click here to renew your access to plugin updates and support", "lmm") . " &laquo;</a>";
                echo "<p>" . __("Important: please click the update button next to the license key after purchasing a renewal to finish your order.", "lmm") . "</p>";
            } else {
                echo "<span style=\"font-size:125%;font-weight:bold;\">" . sprintf(__("Please contact your administrator (%1s) to renew your access to plugin updates and support.", "lmm"), "<a href=\"mailto:" . get_bloginfo("admin_email") . "?subject=" . esc_attr__("Maps Marker Pro - renewal for access to plugin updates and support needed", "lmm") . "\">" . get_bloginfo("admin_email") . "</a>") . "</span>";
            }
        }
    }
} else {
    if ($lt->lw && la($Oa = FALSE, $lb = TRUE) === TRUE && la($Oa = l0, $lb = FALSE) === FALSE) {
        if (extension_loaded("ionCube Loader")) {
            if (function_exists("ioncube_loader_iversion")) {
                $O1s = ioncube_loader_iversion();
                $l1t = (int) substr($O1s, 0, 1);
            } else {
                $O1t = ioncube_loader_version();
                $l1t = (int) substr($O1t, 0, 1);
            }
            if ($l1t >= 4) {
                $O21 = "";
            } else {
                $O21 = strrev("orp-");
            }
        } else {
            $O21 = strrev("orp-");
예제 #6
0
파일: cartlist.php 프로젝트: aising/ding
" method="post">
    <div class="dingdan_list white_bg">
    	<ul>
            <?php 
if (isset($data['list']['data']) && !empty($data['list']['data'])) {
    foreach ($data['list']['data'] as $key => $value) {
        ?>
            	<li>
                	<div class="name" style=" float:left; ">
                        <p class="food_name"><?php 
        echo $value['name'];
        ?>
</p>
                        <div class="lajiao" style="width:55%;">
                            <?php 
        echo la($value['la']);
        ?>
                        </div>
                        <p class="price" style="float:left;"><a class="yd_price">¥<?php 
        echo $value['wxprice'];
        ?>
/份</a></p>
                    </div>
                    <div class="yuding" style="float:right;width:auto; margin-top:6px;">	
                        <div class="choose" >
                            <img id="cuts" src="<?php 
        echo Doo::conf()->global;
        ?>
default/image/sub.png" class="sub" price="<?php 
        echo $value['wxprice'];
        ?>
예제 #7
0
파일: index.php 프로젝트: aising/ding
                            <div class="food_pic">
                                <img src="<?php 
    echo Doo::conf()->APP_URL;
    echo $bvalue['img'];
    ?>
"/>
                            </div>
                        </div>
                       <div class="food_msg">
                            <p class="food_name"><?php 
    echo $bvalue['name'];
    ?>
</p>
                            <div class="lajiao">
                                <?php 
    echo la($bvalue['la']);
    ?>
                            </div>
                            <?php 
    //超出预定结束时间 则删除线
    $msclass = '';
    $wxclass = '';
    if ($bvalue['timeout']) {
        $wxclass = 'ms_price';
    } else {
        $msclass = 'ms_price';
    }
    ?>
                            <div style="clear:both"><p class="price">价格:<a class="<?php 
    echo $msclass;
    ?>