本文整理汇总了PHP中mgm_box_top函数的典型用法代码示例。如果您正苦于以下问题:PHP mgm_box_top函数的具体用法?PHP mgm_box_top怎么用?PHP mgm_box_top使用的例子?那么, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了mgm_box_top函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: mgm_box_top
<!--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']) {
示例2: mgm_box_top
<!--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
示例3: header
<!--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>
示例4: mgm_box_top
<!--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
示例5: _e
_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');
示例6: _e
<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();
?>
示例7: mgm_box_top
<!--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(){
示例8: mgm_get_loading_icon
<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');
示例9: _e
<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>
示例10: mgm_box_bottom
</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">
示例11: mgm_box_top
<!--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')
?>
示例12: mgm_box_bottom
</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');
?>
示例13: projection_report
<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 () {
示例14: mgm_box_bottom
</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>
示例15: mgm_box_bottom
<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');
?>
" />