$title, ); $mainclass = 'maxbuttons-social-editor'; $admin = mbSocial()->admin(); $admin->header($header); $collection_ids = collections::getCollections(); $number_of_collections = count($collection_ids); $the_collection_id = isset($_GET['social_id']) ? intval($_GET['social_id']) : false; if ($the_collection_id === false && $number_of_collections > 0 ) { $the_collection_id = $collection_ids[0]; // load the first one } else { $collection_id = 0; } ?>
0) : ?>

Your Social Groups

getBlock('generalBlock'); $name = $genBlock->getValue('name'); $nwBlock = $collection->getBlock('networkBlock'); $networks_number = count($nwBlock->getValue('network_active')); // ) $name = ( strlen($name) > 0) ? $name : '#' . $id; $active = ($id == $the_collection_id) ? 'active' : ''; if ( Install::isPRO() ) $link = '' . $name . ''; else { $link = '' . $name . ''; } echo '
'; echo $link; echo ' [' . $networks_number . ' buttons] '; echo ' [maxsocial id="' . $id . '"] '; echo '
'; } if ( Install::isPRO() ) { $link = ' + ' . __('Add', 'mbsocial') . ''; } else { $link = '+ ' . __('Add', 'mbsocial') . ''; } echo '' . $link . ''; if (! Install::isPro() ) { ?>
getProMessage(); ?>
0): $collection_id = $the_collection_id; ?>
0 && Install::isPro()): ?>
footer(); ?>