Exemplo n.º 1
0
}
?>

        <?php 
echo abc_results();
?>

        <?php 
if (is_results()) {
    ?>
    
        <div class="col-md-12 text-center">
          <h1>REPEAT IF NESSASSARY!</h1>
            
          <?php 
    if (is_results()) {
        ?>
          <div class="col-md-12 text-center">
            <form action="#" id="name" name="name" method="POST">
              <input type="text" class="search-input" placeholder="Full Name">
              <input type="submit" class="button button-green" value="Create">
            </form>
          </div>
          <?php 
    }
    ?>
        </div>
        <?php 
}
?>
      </div>
function is_acps()
{
    return is_results() ? true : false;
}
Exemplo n.º 3
0
function social_icons()
{
    global $url;
    $output = '<div class="text-center buttons-socialMedia">';
    $output .= '<a href="https://www.facebook.com/sharer/sharer.php?u=' . urlencode($url) . '" class="button-share fb-share"><i class="fa fa-facebook"></i> Share on Facebook</a>';
    $output .= '<a href="http://twitter.com/share?url=' . $url . '&text=' . urlencode('USE YOUR FULL NAME THAT\'S THE WORKOUT') . '" class="button-tweet twitter"><i class="fa fa-twitter"></i> Tweet This</a>';
    if (is_results()) {
        // $output .='<a href="#" class="button-green"><i class="fa fa-print"></i> Print Workout</a>';
        // $output .='<a href="#" class="button-gray"><i class="fa fa-envelope"></i> Email Workout</a>';
    }
    $output .= '</div>';
    return $output;
}