	<div class="ihc-stuffbox">
		<h3>
			<label style="text-transform: uppercase; font-size:16px;">
				<?php _e('Main ShortCodes', 'ihc');?>
			</label>
		</h3>
		<div class="inside">
			<div class="ihc-popup-content help-shortcodes" style="text-align: center;">
        	<div style="margin: 0 auto; display: inline-block;">
	            <div class="ihc-popup-shortcodevalue"> <i class="fa-ihc fa-user-plus-ihc"></i><?php _e('Register Form', 'ihc');?><span>[ihc-register]</span></div>
	            <div class="ihc-popup-shortcodevalue"> <i class="fa-ihc fa-sign-in-ihc"></i><?php _e('Login Form', 'ihc');?><span>[ihc-login-form]</span></div>
	            <div class="ihc-popup-shortcodevalue"> <i class="fa-ihc fa-sign-out-ihc"></i><?php _e('Logout Button', 'ihc');?><span>[ihc-logout-link]</span></div>
	            <div class="ihc-popup-shortcodevalue"> <i class="fa-ihc fa-unlock-ihc"></i><?php _e('Password Recovery', 'ihc');?><span>[ihc-pass-reset]</span></div>
	            <div class="ihc-popup-shortcodevalue"> <i class="fa-ihc fa-user-ihc"></i><?php _e('Account Page', 'ihc');?><span>[ihc-user-page]</span></div>
	            <div class="ihc-popup-shortcodevalue"> <i class="fa-ihc fa-user-plus-ihc"></i><?php _e('Subscription Plan', 'ihc');?><span>[ihc-select-level]</span></div>
	            <div class="ihc-popup-shortcodevalue"> <i class="fa-ihc fa-user-ihc"></i><?php _e('Visitor Inside User Page', 'ihc');?><span style="line-height: 23px;">[ihc-visitor-inside-user-page]</span></div>
				<div class="ihc-clear"></div>
        	</div>
    	</div>
			<div class="clear"></div>
		</div>
	</div>
<div class="ihc-stuffbox">
	<h3>
		<label style="text-transform: uppercase; font-size:16px;"><?php _e('User ShortCodes', 'ihc');?></label>
	</h3>
	<div class="inside">
		<div class="ihc-popup-content help-shortcodes" style="">
			<table class="wp-list-table widefat fixed tags ihc-manage-user-expire">
			<thead>
				<tr>
					<th>Field</th>
					<th>Shortcode</th>
				</tr>
			</thead>
			<tbody>
	       	<?php
	       	$data = ihc_get_user_reg_fields();
	       	$constants = array('username'=>'', 'user_email'=>'', 'first_name'=>'', 'last_name'=>'', 'account_page'=>'',
	       			'login_page'=>'', 'level_list'=>'',// 'current_level'=>'', 'current_level_expire_date'=>'',
	       			'blogname'=>'', 'blogurl'=>'', 'verify_email_address_link'=>'', 'level_name'=>'', 'ihc_avatar' => '' );
	       	foreach ($constants as $k=>$v){
	       		?>
				<tr>
					<td><?php echo $k;?></td>
					<td>[ihc-user field="<?php echo $k;?>"]</td>
				</tr>
	       		<?php
	       	}
	       	$custom_fields = ihc_get_custom_constant_fields();
	       	foreach ($custom_fields as $k=>$v){
	       		$k = str_replace('{', '', $k);
	       		$k = str_replace('}', '', $k);
	       		?>
	       			<tr>
	       				<td><?php echo $v;?></td>
	       				<td>[ihc-user field="<?php echo $k;?>"]</td>
	       			</tr>
	       		<?php
	       	}
	       	//ihc_get_custom_constant_fields();
	       	?>
	       	</tbody></table>
    	</div>
		<div class="ihc-clear"></div>
	</div>
</div>
<div class="ihc-stuffbox">
	<h3>
		<label style="text-transform: uppercase; font-size:16px;"><?php _e('Levels', 'ihc');?></label>
	</h3>
	<div class="inside">
		<?php
		$levels = get_option('ihc_levels');
		$levels = ihc_reorder_arr($levels);
		if ($levels && count($levels)){
			?>
			<table class="wp-list-table widefat fixed tags ihc-manage-user-expire">
			<thead>
				<tr>
					<th>Name</th>
					<th>Link</th>
				</tr>
			</thead>
			<tbody>
	       	<?php
				foreach ($levels as $k=>$v){
					?>
						<tr>
							<td><?php echo $v['name'];?></td>
							<td>
								[ihc-level-link id=<?php echo $k;?>]<span style="font-size: 10px; font-style: italic;"><?php _e('Your Content Here', 'ihc');?></span>[/ihc-level-link]
							</td>
						</tr>
					<?php
				}
	       	?>
	       	</tbody></table>
			<?php
		}
		?>

	</div>
</div>

<?php
$additional_shortcodes['[ihc-suspend-account]'] = __('Suspend Account Button', 'ihc');
if (ihc_is_magic_feat_active('membership_card')){
	$additional_shortcodes['[ihc-membership-card]'] = __('Membership Card', 'ihc');
}
if (ihc_is_magic_feat_active('register_lite')){
	$additional_shortcodes['[ihc-register-lite]'] = __('Register Lite', 'ihc');
}
if (ihc_is_magic_feat_active('gifts')){
	$additional_shortcodes['[ihc-list-gifts]'] = __('View Gift', 'ihc');
}
if (ihc_is_magic_feat_active('individual_page')){
	$additional_shortcodes['[ihc-individual-page-link]'] = __('Individual Page Link', 'ihc');
}
if (ihc_is_magic_feat_active('badges')){
	$additional_shortcodes['[ihc-list-user-levels badges=0 exclude_expire=0]'] = __('Listing User Levels', 'ihc');
}
$additional_shortcodes['[ihc-login-popup] ... [/ihc-login-popup]'] = __( 'Login form inside a modal', 'ihc' );
$additional_shortcodes['[ihc-register-popup] ... [/ihc-register-popup]'] = __( 'Register lite inside a modal', 'ihc' );

?>

<?php if (!empty($additional_shortcodes)):?>

<div class="ihc-stuffbox">
	<h3>
		<label style="text-transform: uppercase; font-size:16px;"><?php _e('Additional ShortCodes', 'ihc');?></label>
	</h3>
	<div class="inside">
		<table class="wp-list-table widefat fixed tags ihc-manage-user-expire">
			<thead>
				<tr>
					<th><?php _e('Type', 'ihc');?></th>
					<th><?php _e('Shortcode', 'ihc');?></th>
				</tr>
			</thead>
			<tbody>
				<?php foreach ($additional_shortcodes as $code=>$label):?>
				<tr>
					<td><?php echo $label;?></td>
					<td><?php echo $code;?></td>
				</tr>
				<?php endforeach;?>
			</tbody>
		</table>
	</div>
</div>

<?php endif;?>
