コード例 #1
0
                echo "checked";
            }
            ?>
 value="<?php 
            echo $plan_option->id;
            ?>
" />
                  <input type="hidden" value="<?php 
            echo $plan_option->machine_name;
            ?>
" />
                  <label for="<?php 
            echo $plan_option->machine_name;
            ?>
"><?php 
            echo build_option_string($plan_option);
            ?>
</label>
                </div>
              <?php 
        }
        ?>
            </div>
          <?php 
    }
    ?>

          <?php 
    if ($plan->name == "30 Day Turn the Tide") {
        ?>
            <span class="pure-button button rounded green plan-buy disabled">Coming Soon</span>
コード例 #2
0
" type="radio"
                                               name="membersify-option"
                                               class="form-radio" <?php 
            if (!$checked && $check) {
                echo "checked";
            }
            ?>
 value="<?php 
            print $option_plan->id;
            ?>
"/>
                                        <?php 
            if ($check) {
                $checked = true;
            }
            echo build_option_string($option_plan);
            ?>
                                    </label>
                                <?php 
        }
        ?>
                            </div>
                        <?php 
    }
    ?>
                    </label>
                </li>

            <?php 
}
?>