item;
$clearfixClass = $this->bootstrapHelper->getClassMapping('clearfix');
if ($item->thumb)
{
$imgSrc = Uri::base() . 'media/com_osmembership/' . $item->thumb;
}
if ($this->config->use_https)
{
$signUpUrl = Route::_(OSMembershipHelperRoute::getSignupRoute($item->id, $this->Itemid), false, 1);
}
else
{
$signUpUrl = Route::_(OSMembershipHelperRoute::getSignupRoute($item->id, $this->Itemid));
}
$subscribedPlanIds = OSMembershipHelperSubscription::getSubscribedPlans();
$showPlanInformation = $this->params->get('show_plan_information', 1);
$planInformationPosition = $this->params->get('plan_information_position', 0);
if ($showPlanInformation && $planInformationPosition == 0)
{
$leftClass = $this->bootstrapHelper->getClassMapping('span7');
$rightClass = $this->bootstrapHelper->getClassMapping('span5');
}
else
{
$leftClass = $this->bootstrapHelper->getClassMapping('clearfix');
$rightClass = $this->bootstrapHelper->getClassMapping('clearfix');
}
?>
params->get('page_heading'); ?>
$item]); ?>
thumb)
{
?>

description)
{
echo $item->description;
}
else
{
echo $item->short_description;
}
?>
$item]); ?>
renewOptions) || count($this->upgradeRules))
{
echo $this->loadTemplate('renew_upgrade');
}
?>
getLanguage();
if (in_array('subscribe', $actions))
{
if ($language->hasKey('OSM_SIGNUP_PLAN_' . $item->id))
{
$signUpLanguageItem = 'OSM_SIGNUP_PLAN_' . $item->id;
}
else
{
$signUpLanguageItem = 'OSM_SIGNUP';
}
if ($language->hasKey('OSM_RENEW_PLAN_' . $item->id))
{
$renewLanguageItem = 'OSM_RENEW_PLAN_' . $item->id;
}
else
{
$renewLanguageItem = 'OSM_RENEW';
}
?>
-
id, $subscribedPlanIds) ? Text::_($renewLanguageItem) : Text::_($signUpLanguageItem); ?>
hasKey('OSM_UPGRADE_PLAN_' . $item->id))
{
$upgradeLanguageItem = 'OSM_UPGRADE_PLAN_' . $item->id;
}
else
{
$upgradeLanguageItem = 'OSM_UPGRADE';
}
if (count($item->upgrade_rules) > 1)
{
$link = Route::_('index.php?option=com_osmembership&view=upgrademembership&to_plan_id=' . $item->id . '&Itemid=' . OSMembershipHelperRoute::findView('upgrademembership', $this->Itemid));
}
else
{
$upgradeOptionId = $item->upgrade_rules[0]->id;
$link = Route::_('index.php?option=com_osmembership&task=register.process_upgrade_membership&upgrade_option_id=' . $upgradeOptionId . '&Itemid=' . $this->Itemid);
}
?>
-