| 1 |
<?php |
| 2 |
function imh_6310_home() |
| 3 |
{ |
| 4 |
global $wpdb; |
| 5 |
$style_table = $wpdb->prefix . 'imh_6310_style'; |
| 6 |
include imh_6310_plugin_url . 'header.php'; |
| 7 |
wp_enqueue_media(); |
| 8 |
|
| 9 |
if (empty($_GET['action'])) { |
| 10 |
include imh_6310_plugin_url . 'home.php'; |
| 11 |
} else if (!empty($_GET['action'])) { |
| 12 |
$ids = isset($_GET['styleid']) ? (int) ($_GET['styleid']) : 0; |
| 13 |
include imh_6310_plugin_url . "settings/annotation.php"; |
| 14 |
include imh_6310_plugin_url . "settings/add-point-html.php"; |
| 15 |
include imh_6310_plugin_url . "settings/edit-point-html.php"; |
| 16 |
} |
| 17 |
} |
| 18 |
function imh_6310_image_map_hotspot_setting() |
| 19 |
{ |
| 20 |
global $wpdb; |
| 21 |
wp_enqueue_style('imh-6310-style', plugins_url('assets/css/style-pro.css', __FILE__)); |
| 22 |
wp_enqueue_style('imh-color-style', plugins_url('assets/css/jquery.minicolors.css', __FILE__)); |
| 23 |
include imh_6310_plugin_url . 'header.php'; |
| 24 |
include imh_6310_plugin_url . 'settings/plugin-settings.php'; |
| 25 |
} |
| 26 |
function imh_6310_image_map_hotspot_lincense() |
| 27 |
{ |
| 28 |
global $wpdb; |
| 29 |
include imh_6310_plugin_url . 'header.php'; |
| 30 |
include imh_6310_plugin_url . 'license.php'; |
| 31 |
} |
| 32 |
|
| 33 |
function imh_6310_image_map_hotspot_how_to_use() |
| 34 |
{ |
| 35 |
global $wpdb; |
| 36 |
include imh_6310_plugin_url . 'header.php'; |
| 37 |
include imh_6310_plugin_url . 'settings/how-to-use.php'; |
| 38 |
} |
| 39 |
|
| 40 |
function imh_6310_wpmart_plugins() |
| 41 |
{ |
| 42 |
global $wpdb; |
| 43 |
include imh_6310_plugin_url . 'header.php'; |
| 44 |
include imh_6310_plugin_url . 'settings/wpmart-plugins.php'; |
| 45 |
} |
| 46 |
|
| 47 |
function imh_6310_image_map_hotspot_import_export() |
| 48 |
{ |
| 49 |
global $wpdb; |
| 50 |
include imh_6310_plugin_url . 'header.php'; |
| 51 |
include imh_6310_plugin_url . 'settings/import-export-plugins.php'; |
| 52 |
} |
| 53 |
|