<!--autoresponders lists--> <?php mgm_box_top('Autoresponder List/Group Settings', 'autoresponder-lists-settings'); ?> <div id="autoresponders_list" class="mgm_font_size12px"> <div class="table"> <div class="row`"> <div class="cell"> <b><?php _e('Autoresponder Lists/Groups', 'mgm'); ?> </b> </div> </div> <div class="row"> <div class="cell"> <div class='mgm'> <div id="autoresponders_lists_panel"> <?php foreach ($data['modules'] as $module) { ?> <h3><a href="#" id="armod_form_tab_<?php echo $module['code']; ?> "><b><?php echo $module['name']; ?> </b> <?php if ($module['code'] == $data['active_module']) {
<!--custom_fields--> <div id="custom_fields"> <?php mgm_box_top('Custom Fields'); ?> <div id="custom_field_list"></div> <?php mgm_box_bottom(); ?> <p> </p> <?php mgm_box_top('Manage Custom Field'); ?> <div id="custom_field_manage"></div> <?php mgm_box_bottom(); ?> </div> <script language="javascript"> <!-- // onready jQuery(document).ready(function(){ // load list mgm_custom_field_list=function(){ jQuery('#custom_field_list').load('admin-ajax.php?action=mgm_admin_ajax_action&page=mgm/admin/custom_fields&method=lists'); } // load add
<!--ogone main settings--> <?php header('Content-Type: text/html; charset=UTF-8'); ?> <div id="module_settings_<?php echo $data['module']->code; ?> "> <?php mgm_box_top($data['module']->name . ' Settings'); ?> <form name="frmmod_<?php echo $data['module']->code; ?> " id="frmmod_<?php echo $data['module']->code; ?> " action="admin-ajax.php?action=mgm_admin_ajax_action&page=mgm/admin/payments&method=module_settings&module=<?php echo $data['module']->code; ?> "> <div class="table"> <div class="row"> <div class="cell"> <p><b><?php _e('Ogone PSPID', 'mgm'); ?> :</b></p> </div>
<!--activate--> <?php mgm_box_top('Magic Members Activation'); ?> <form name="frmactivate" id="frmactivate" method="POST" action="admin-ajax.php?action=mgm_admin_ajax_action&page=mgm/admin&method=activation_activate"> <div id="activate"> <div class="tab-error fade" style="line-height:20px"> <p><?php _e('Magic Members will not function until a valid license key has been entered. Please enter the email address used to purchase the plugin in the box below to activate your product. Please contact Magic Members if you need help with this.', 'mgm'); ?> </p> <p><?php echo sprintf(__("If you don't have a key then please visit %s to purchase one.", 'mgm'), "<a href='http://www.magicmembers.com'>http://www.magicmembers.com</a>"); ?> </p> </div> <div style="padding:10px 10px 10px 20px"> <b><?php _e('Registration Email', 'mgm'); ?> :</b> <input type="text" name="email" size="50"/> <input class="button" type="submit" name="btn_activate" value="<?php _e('Activate', 'mgm'); ?> " /> <label id="email-error"></label> </div> </div> </form> <?php
_e('To connect your site to Facebook, you need a Facebook Application. If you have already created one, please insert your API & Secret key above.<br>Already registered? Find your keys in your <a href="http://www.facebook.com/developers/apps.php" target="_blank">Facebook Application List</a><br>Need to register?<br><ul><li>Visit the <a href="http://www.facebook.com/developers/createapp.php" target="_blank">Facebook Application Setup</a> page</li><li>Get the API information from the <a href="http://www.facebook.com/developers/apps.php" target="_blank">Facebook Application List</a></li><li>Select the application you created, then copy and paste the API key & Application Secret from there.</li></ul>', 'mgm'); ?> </div></p> </div> </div> </div> </div> <?php mgm_box_bottom(); ?> <?php mgm_box_top('Extend Directory Settings'); ?> <div class="table"> <div class="row"> <div class="cell"> <p><b><?php _e('Directory'); ?> :</b></p> <input type="text" name="extend_dir" value="<?php echo get_option('mgm_extend_dir'); ?> " size="100" /> <div class="tips width90"><?php _e('Extend Directory path for extended modules', 'mgm');
<div> <p class="submit floatleft"> <input type="button" name="add_level_btn" id="add_level_btn" value="<?php _e('Add Level', 'mgm'); ?> " onclick="mgm_api_level_add()" /> </p> </div> <div class="clearfix"></div> <?php mgm_box_bottom(); ?> <?php mgm_box_top('API Access Keys'); ?> <div id="restapi_access_keys"></div> <div> <p class="submit floatleft"> <input type="button" name="add_key_btn" id="add_key_btn" value="<?php _e('Add Key', 'mgm'); ?> " onclick="mgm_api_key_add()"/> </p> </div> <div class="clearfix"></div> <?php mgm_box_bottom(); ?>
<!--autoresponders--> <form name="frmaresp" id="frmaresp" method="post" action="admin-ajax.php?action=mgm_admin_ajax_action&page=mgm/admin/settings&method=autoresponders"> <?php mgm_box_top('Auto Responders'); ?> <?php foreach ($data['module'] as $module_name) { echo $module_name['html']; } ?> <div class="clearfix"></div> <p class="submit"> <input class="button" type="submit" name="update" value="<?php _e('Save', 'mgm'); ?> " /> </p> <?php mgm_box_bottom(); ?> </form> <script language="javascript"> <!-- jQuery(document).ready(function(){ // ie style jQuery('.module_settings_box').corner("5px"); // select jQuery("div[id^='module_settings_box_']").find(":input[@type=text]").focus(function(){
<form name="frmsubspkgs" id="frmsubspkgs" action="admin-ajax.php?action=mgm_admin_ajax_action&page=mgm/admin/members&method=subscription_packages_update" method="post"> <div id="subscription_packages_list"> <?php echo mgm_get_loading_icon(); ?> </div> </form> <?php mgm_box_bottom(); ?> <?php mgm_box_top('Membership Types', 'magicmembershiptypes'); ?> <form name="frmmshiptypes" id="frmmshiptypes" action="admin-ajax.php?action=mgm_admin_ajax_action&page=mgm/admin/members&method=membership_type_update" method="post"> <div class="table widefatDiv width100"> <div class="row headrow"> <div class="cell theadDivCell width40 textalignleft"> <b><?php _e('Membership Type', 'mgm'); ?> </b> </div> <div class="cell theadDivCell width60 textalignleft"> <b><?php _e('Options', 'mgm');
<div id="dashboard_widget_posts_purchased"><img src="<?php echo MGM_ASSETS_URL; ?> images/ajax/fb-loader.gif" align="absmiddle" /> <?php _e('Loading...', 'mgm'); ?> </div> <?php mgm_box_bottom(); ?> </div> <div class="col"> <?php mgm_box_top('Member Statistics', '', false, array('width' => 410)); ?> <div id="dashboard_widget_member_statistics"><img src="<?php echo MGM_ASSETS_URL; ?> images/ajax/fb-loader.gif" align="absmiddle" /> <?php _e('Loading...', 'mgm'); ?> </div> <?php mgm_box_bottom(); ?> </div> </div>
</div> <div class="row"> <div class="cell"> </div> </div> </div> <input type="hidden" name="core_setup_execute" value="core_switch" /> </form> <?php mgm_box_bottom(); ?> <?php mgm_box_top('Setup Environment for Magic Members'); ?> <form name="frmcoreenv" id="frmcoreenv" action="admin-ajax.php?action=mgm_admin_ajax_action&page=mgm/admin/tools&method=core_setup" method="post"> <div class="table form-table"> <div class="row"> <div class="cell"> <b><?php _e('Please Select a jQueryUI version :', 'mgm'); ?> </b> </div> </div> <div class="row"> <div class="cell"> <select name="jqueryui_version" class="width150px">
<!--addons--> <div id="addons"> <?php mgm_box_top('Addons'); ?> <div id="addon_list"></div> <?php mgm_box_bottom(); ?> <p> </p> <?php mgm_box_top('Manage Addons'); ?> <div id="addon_manage"></div> <?php mgm_box_bottom(); ?> </div> <div id="addon_options"></div> <script language="javascript"> <!-- // onready jQuery(document).ready(function(){ // list mgm_addon_list=function(){
<!--upgrade : time to time upgrader, internal system, modules, code, database etc.--> <!--core_setup--> <?php mgm_box_top('Upgrade Magic Members'); ?> <form name="frmmgmupgrade" id="frmmgmupgrade" action="admin-ajax.php?action=mgm_admin_ajax_action&page=mgm/admin/tools&method=upgrade" method="post"> <div class="table form-table width100"> <div class="row"> <div class="cell"> <?php // _e('No Upgrade available','mgm') ?> <div id="update_data"> <?php // load remote data $upgrade_url = MGM_SERVICE_SITE . 'upgrade_screen' . MGM_INFORMATION; //.'&new_version='.$_REQUEST['new_version']; echo mgm_remote_get($upgrade_url, NULL, NULL, 'Could not connect'); ?> </div> </div> </div> <!--<div class="row"> <div class="cell"> <p> <input type="button" class="button" onclick="core_setup()" value="<?php //_e('UPGRADE','mgm') ?>
</div> </div> <?php } ?> </div> <?php mgm_box_bottom(); ?> <?php mgm_box_top('Rest API Access Logs'); ?> <div class="table widefatDiv form-table"> <div class="row headrow"> <div class="cell theadDivCell width75px"> <b><?php _e('API Key#', 'mgm'); ?> </b> </div> <div class="cell theadDivCell width120px"> <b><?php _e('URI', 'mgm'); ?>
<script type="text/javascript"> function projection_report(){ document.forms["projectionFrm"].submit(); } </script> <center> <a href="javascript: projection_report()"><span class="pngfix"><?php echo __('[ Download PDF ]', 'mgm'); ?> </span></a> </center> <?php mgm_box_top('Projection Chart', '', false); ?> <div class="table"> <div class="row"> <div class="cell" > <div id="placeholder_projection" class="width700px height300px"></div> </div> </div> </div> <?php mgm_box_bottom(); ?> <br/> <script language="javascript" type="text/javascript"> jQuery(function () {
</div> <div class="row"> <div class="cell"> </div> </div> </div> <input type="hidden" name="migrate_execute" value="true" /> </form> <iframe id="ifrm_export" src="#" allowtransparency="true" width="0" height="0" frameborder="0"></iframe> <?php mgm_box_bottom(); ?> <?php mgm_box_top('Import User Data'); ?> <form name="frmimportusers" id="frmimportusers" action="admin-ajax.php?action=mgm_admin_ajax_action&page=mgm/admin/tools&method=data_migrate" method="post"> <div class="table form-table"> <div class="row"> <div class="cell"> <b><?php _e('Please Select File:', 'mgm'); ?> </b> </div> <div class="cell"> </select> <span id="userimport_container"><input type="file" name="import_users" id="import_users"/></span> </div> </div>
<!--downloads--> <div id="downloads"> <?php mgm_box_top('Downloads'); ?> <div id="download_list"></div> <?php mgm_box_bottom(); ?> <p> </p> <?php mgm_box_top('Manage Downloads'); ?> <div id="download_manage"></div> <?php mgm_box_bottom(); ?> </div> <script language="javascript"> // onready jQuery(document).ready(function(){ // list mgm_download_list = function(){ // hide old message mgm_hide_message('#downloads');
<div class="tbodyDiv" id="direct_urls_access_list"> <?php include 'posts/direct_urls_access.php'; ?> </div> </div> </form> <?php mgm_box_bottom(); ?> <?php mgm_box_top('Add/Edit Post/Page(s) Access & Protection Settings'); ?> <form name="frmsetupposts" id="frmsetupposts" method="post" action="admin-ajax.php?action=mgm_admin_ajax_action&page=mgm/admin/settings&method=posts"> <div class="table"> <div class="row"> <?php if (count($data['posts']) > 0) { ?> <div class="cell mgm_add_edit_post"> <input type="checkbox" name="check_all" value="access_membership_types[]" title="<?php _e('Select all', 'mgm'); ?> " />
?> : <select name="page_limit" id="page_limit" class="width50px"> <?php echo mgm_make_combo_options(array(20, 40, 50, 100), $data['page_limit'], MGM_VALUE_ONLY); ?> </select> <input type="hidden" name="export_format" value="xls" /> </div> </div> </div> <?php mgm_box_bottom(); mgm_box_top('Payment History.'); ?> <div class="table widefatDiv form-table"> <div class="row headrow"> <div class="cell theadDivCell width125px textalignleft maxwidth125px"> <b><?php _e('User', 'mgm'); ?> </b> </div> <div class="cell theadDivCell width125px textalignleft maxwidth125px"> <b><?php _e('Type', 'mgm'); ?> </b> </div>
<!--coupons--> <div id="coupons"> <?php mgm_box_top('Coupons'); ?> <div id="coupon_list"></div> <?php mgm_box_bottom(); ?> <p> </p> <?php mgm_box_top('Manage Coupons'); ?> <div id="coupon_manage"></div> <?php mgm_box_bottom(); ?> <div id="coupon_migrate"></div> </div> <div id="coupon_users"></div> <script language="javascript"> <!-- // onready jQuery(document).ready(function(){ // list
<!--page page_access--> <div id="content_page_access"> <form name="frmpageaccss" id="frmpageaccss" action="admin-ajax.php?action=mgm_admin_ajax_action&page=mgm/admin/contents&method=pages" method="post"> <?php mgm_box_top('Page Exclusion Settings'); ?> <div class="table"> <div class="row"> <?php if (count($data['pages']) > 0) { ?> <div class="cell mgm_page_check_all width20px"> <input type="checkbox" name="check_all" value="excluded_pages[]" title="<?php _e('Select all', 'mgm'); ?> " /> <b><?php _e('Please select one or more PAGES to hide from site/menu', 'mgm'); ?> :</b> </div> <?php } ?> <?php if (count($data['pages']) == 0) { ?>
<!--postpacks--> <div id="postpacks"> <?php mgm_box_top('Post Packs'); ?> <div id="postpack_list"></div> <?php mgm_box_bottom(); ?> <p> </p> <?php mgm_box_top('Post Pack Manage'); ?> <div id="postpack_manage"></div> <?php mgm_box_bottom(); ?> </div> <div id="postpack_posts"></div> <script language="javascript"> <!-- // onready jQuery(document).ready(function(){ // load list mgm_postpack_list=function(){
<!--addon purchases--> <div id="addon_purchases"> <?php mgm_box_top('Addon Purchases'); ?> <div id="addon_purchase_manage"><?php echo mgm_get_loading_icon(); ?> </div> <?php mgm_box_bottom(); ?> </div> <script language="javascript"> <!-- // onready jQuery(document).ready(function(){ // load purchase manage mgm_addon_purchase_manage=function(){ // waiting waiting = jQuery('#addon_purchases #addon_purchase_manage #waiting').show(); // load jQuery('#addon_purchase_manage').load('admin-ajax.php?action=mgm_admin_ajax_action&page=mgm/admin/addons&method=purchase_manage',function(){ mgm_addon_purchase_list(); }); } // load purchase list mgm_addon_purchase_list=function(is_post){
</form> <script type="text/javascript"> function sales_report(){ document.forms["salesFrm"].submit(); } </script> <center> <a href="javascript: sales_report()"><span class="pngfix"><?php echo __('[ Download PDF ]', 'mgm'); ?> </span></a> </center> <?php mgm_box_top('Sales Chart', '', false); ?> <div class="table"> <div class="row"> <div class="cell" ><div id="placeholder_one" class="width700px height300px"></div></div> </div> <div class="row"> <div class="cell" > </div> </div> <div class="row"> <div class="cell" ><div id="placeholder_two" class="width700px height300px"></div></div> </div> </div> <?php mgm_box_bottom(); ?>
<?php mgm_box_top('Coupons Import/Export'); ?> <form name="frmmanagecoupons" id="frmmanagecoupons" action="admin-ajax.php?action=mgm_admin_ajax_action&page=mgm/admin/coupons&method=manage_coupons" method="post"> <div class="table form-table"> <div class="row"> <div class="cell mgm_migrate_type"> <input type="radio" name="coupon_action" value="export" checked="checked"/> <span><?php _e('Export', 'mgm'); ?> </span> <input type="radio" name="coupon_action" value="import" /> <span><?php _e('Import', 'mgm'); ?> </span> <div class="table form-table displaynone widefatDiv" id="import_file_box"> <div class="row"> <div class="cell"> <b id="select_lable"><?php _e('Please Select File:', 'mgm'); ?> </b> </div> <div class="cell"> <span id="couponimport_container"><input type="file" name="import_file" id="import_file"/></span> </div> </div> <div class="row"> <div class="cell">
<!--subscription_options--> <?php mgm_box_top('Roles & Capabilities', 'Magic Members Roles'); ?> <div id="roles_capabilities_list_message_mgm"></div> <div id="roles_capabilities_list_mgm"> </div> <div id="roles_capabilities_list_message_default"></div> <div id="roles_capabilities_list_default"> </div> <div id="roles_capabilities_list_message_others"></div> <div id="roles_capabilities_list_others"> </div> <div id="roles_capabilities_add_message"></div> <div id="roles_capabilities_add"></div> <?php mgm_box_bottom(); ?> <script language="javascript"> <!-- jQuery(document).ready(function(){ load_roles_capabilities_mgm=function(){ jQuery('#roles_capabilities_list_mgm').load('admin-ajax.php?action=mgm_admin_ajax_action&page=mgm/admin/members&method=roles_capabilities_list', function(data){ // set up accordian jQuery("#roles_list_div_mgm").accordion({ collapsible: true, active: false, <?php
<?php mgm_box_top('Post Purchase Statistics'); ?> <div id="post_purchase_statistics"><?php echo mgm_get_loading_icon(); ?> </div> <?php mgm_box_bottom(); ?> <?php mgm_box_top('Gift a Post/Page'); ?> <div id="post_purchase_gift"><?php echo mgm_get_loading_icon(); ?> </div> <?php mgm_box_bottom(); ?> </div> <script language="javascript"> <!-- // onready
<script type="text/javascript"> function earnings_report(){ document.forms["earningsFrm"].submit(); } </script> <center> <a href="javascript: earnings_report()"><span class="pngfix"><?php echo __('[ Download PDF ]', 'mgm'); ?> </span></a> </center> <?php mgm_box_top('Earnings Chart', '', false); ?> <table class="width100" border="0"> <tr> <td><div id="placeholder_earnings" class="width700px height300px"></div></td> </tr> </table> <?php mgm_box_bottom(); ?> <br/> <script language="javascript" type="text/javascript"> jQuery(function () {
mgm_box_top('Members'); ?> <div id="member_manage"><?php echo mgm_get_loading_icon(); ?> </div> <?php mgm_box_bottom(); ?> <p> </p> <?php mgm_box_top('Export Members'); ?> <div id="member_export"></div> <?php mgm_box_bottom(); ?> </div> <script language="javascript"> <!-- // onready jQuery(document).ready(function(){ // load manage mgm_member_manage=function(){ // waiting - issue #1297
<!--reset--> <?php mgm_box_top('Reset Magic Members'); ?> <form name="frmresetmgm" id="frmresetmgm" action="admin-ajax.php?action=mgm_admin_ajax_action&page=mgm/admin/tools&method=system_reset" method="post"> <div class="table form-table"> <div class="row"> <div class="cell"> <b><?php _e('Please Select a reset type :', 'mgm'); ?> </b> </div> </div> <div class="row"> <div class="cell"> <select name="reset_type" id="reset_type"> <?php echo mgm_make_select_options($data['reset_opts'], 'settonly', MGM_KEY_VALUE); ?> </select> </div> </div> <div class="row"> <div class="cell"> <p> <input type="button" class="button" onclick="system_reset()" value="<?php _e('RESET', 'mgm'); ?>
?> </textarea> <p><div class="tips width95"><?php _e('Body for subscription cancelled email.', 'mgm'); ?> </div></p> </div> </div> </div> <?php mgm_box_bottom(); ?> <?php mgm_box_top('Retrieve Password Email Templates'); ?> <div class="table"> <div class="row"> <div class="cell"> <p><b><?php _e('Password Link Template', 'mgm'); ?> :</b></p> </div> </div> <div class="row"> <div class="cell"> <b><?php _e('Subject', 'mgm');