| 1 |
<?php |
| 2 |
|
| 3 |
/* |
| 4 |
* @Author ParaTheme |
| 5 |
* Copyright: 2015 ParaTheme |
| 6 |
*/ |
| 7 |
|
| 8 |
if ( ! defined('ABSPATH')) exit; // if direct access |
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
if(empty($_POST['team_hidden'])){ |
| 13 |
$team_member_slug = get_option( 'team_member_slug' ); |
| 14 |
$team_member_meta_fields = get_option( 'team_member_meta_fields' ); |
| 15 |
$team_member_social_field = get_option( 'team_member_social_field' ); |
| 16 |
|
| 17 |
} |
| 18 |
else{ |
| 19 |
if($_POST['team_hidden'] == 'Y') { |
| 20 |
//Form data sent |
| 21 |
|
| 22 |
$team_member_slug = sanitize_text_field($_POST['team_member_slug']); |
| 23 |
update_option('team_member_slug', $team_member_slug); |
| 24 |
|
| 25 |
if(empty($_POST['team_member_meta_fields'])){ |
| 26 |
|
| 27 |
$_POST['team_member_meta_fields'] = array(); |
| 28 |
} |
| 29 |
$team_member_meta_fields = stripslashes_deep($_POST['team_member_meta_fields']); |
| 30 |
update_option('team_member_meta_fields', $team_member_meta_fields); |
| 31 |
|
| 32 |
$team_member_social_field = stripslashes_deep($_POST['team_member_social_field']); |
| 33 |
update_option('team_member_social_field', $team_member_social_field); |
| 34 |
|
| 35 |
?> |
| 36 |
<div class="updated"><p><strong><?php _e('Changes Saved.', 'team' ); ?></strong></p></div> |
| 37 |
|
| 38 |
<?php |
| 39 |
} |
| 40 |
} |
| 41 |
|
| 42 |
|
| 43 |
|
| 44 |
|
| 45 |
$class_team_functions = new class_team_functions(); |
| 46 |
$default_social_field = $class_team_functions->team_member_social_field(); |
| 47 |
|
| 48 |
?> |
| 49 |
|
| 50 |
|
| 51 |
<div class="wrap"> |
| 52 |
|
| 53 |
<div id="icon-tools" class="icon32"><br></div><?php echo "<h2>".__(team_plugin_name.' Settings', 'team')."</h2>";?> |
| 54 |
|
| 55 |
<div class="para-settings team-settings"> |
| 56 |
|
| 57 |
<ul class="tab-nav"> |
| 58 |
|
| 59 |
<li nav="1" class="nav1 active"><i class="fa fa-hand-o-right"></i> Help & Support</li> |
| 60 |
</ul> <!-- tab-nav end --> |
| 61 |
<ul class="box"> |
| 62 |
|
| 63 |
|
| 64 |
<li style="display: block;" class="box1 tab-box active"> |
| 65 |
|
| 66 |
<div class="option-box"> |
| 67 |
<p class="option-title">Buy premium</p> |
| 68 |
<p class="option-info"> |
| 69 |
<?php |
| 70 |
|
| 71 |
if(team_customer_type=="free") |
| 72 |
{ |
| 73 |
|
| 74 |
echo 'You are using <strong> '.team_customer_type.' version '.team_plugin_version.'</strong> of <strong>'.team_plugin_name.'</strong>, To get more feature you could try our premium version. '; |
| 75 |
echo '<br /><a href="'.team_pro_url.'">'.team_pro_url.'</a>'; |
| 76 |
|
| 77 |
} |
| 78 |
else |
| 79 |
{ |
| 80 |
|
| 81 |
echo 'Thanks for using <strong> premium version '.team_plugin_version.'</strong> of <strong>'.team_plugin_name.'</strong> '; |
| 82 |
|
| 83 |
|
| 84 |
} |
| 85 |
|
| 86 |
?> |
| 87 |
|
| 88 |
|
| 89 |
</p> |
| 90 |
|
| 91 |
</div> |
| 92 |
<div class="option-box"> |
| 93 |
<p class="option-title">Documentation</p> |
| 94 |
<p class="option-info"> Please see following link for the documentation <a href="http://pickplugins.com/docs/documentation/team/">http://pickplugins.com/docs/documentation/team/</a> |
| 95 |
</p> |
| 96 |
|
| 97 |
</div> |
| 98 |
|
| 99 |
|
| 100 |
<div class="option-box"> |
| 101 |
<p class="option-title">Need Help ?</p> |
| 102 |
<p class="option-info">Feel free to contact with any issue for this plugin, Ask any question via forum <a href="<?php echo team_qa_url; ?>"><?php echo team_qa_url; ?></a> <strong style="color:#139b50;">(free)</strong><br /> |
| 103 |
|
| 104 |
</p> |
| 105 |
|
| 106 |
</div> |
| 107 |
|
| 108 |
|
| 109 |
|
| 110 |
|
| 111 |
<div class="option-box"> |
| 112 |
<p class="option-title">Submit Reviews...</p> |
| 113 |
<p class="option-info">We are working hard to build some awesome plugins for you and spend thousand hour for plugins. we wish your three(3) minute by submitting five star reviews at wordpress.org. if you have any issue please submit at forum.</p> |
| 114 |
<img class="team-pro-pricing" src="<?php echo team_plugin_url."css/five-star.png";?>" /><br /> |
| 115 |
<a target="_blank" href="<?php echo team_wp_reviews; ?>"> |
| 116 |
<?php echo team_wp_reviews; ?> |
| 117 |
</a> |
| 118 |
|
| 119 |
</div> |
| 120 |
|
| 121 |
<div class="option-box"> |
| 122 |
<p class="option-title">Please Share</p> |
| 123 |
<p class="option-info">If you like this plugin please share with your social share network.</p> |
| 124 |
<?php |
| 125 |
$class_team_functions = new class_team_functions(); |
| 126 |
echo $class_team_functions->team_share_plugin(); |
| 127 |
?> |
| 128 |
</div> |
| 129 |
|
| 130 |
<div class="option-box"> |
| 131 |
<p class="option-title">Video Tutorial</p> |
| 132 |
<p class="option-info">Please watch this video tutorial.</p> |
| 133 |
<iframe width="640" height="480" src="<?php echo team_tutorial_video_url; ?>" frameborder="0" allowfullscreen></iframe> |
| 134 |
</div> |
| 135 |
|
| 136 |
|
| 137 |
|
| 138 |
|
| 139 |
</li> |
| 140 |
</ul> |
| 141 |
|
| 142 |
|
| 143 |
|
| 144 |
|
| 145 |
|
| 146 |
</div> |
| 147 |
|
| 148 |
|
| 149 |
|
| 150 |
</div> |
| 151 |
|