Пример #1
0
    ?>



<!-- 이부분만 바꿔서 수정하면 됩니다. -->
<?php 
    startblock('content');
    ?>

        <div class="secondTab">
          <p class="left"  style="background-color:#DF314D">CrossFit</p>
          <a href="todaysExercise_weight.php"><p class="right">Weight</p></a>
        </div>

        <?php 
    $crossfit_url = showTODAYex(date("Y-m-d"));
    $crossfit_url = $crossfit_url[0][2];
    ?>
        <div class="container-fluid">
          <div style="margin:10px;">
            <?php 
    echo $crossfit_url;
    ?>
          </div>
          <div class="well">
            <?php 
    $a = showToDAYex(date("Y-m-d"));
    if (isset($a[0][1])) {
        $aa = explode(",", $a[0][1]);
        echo "<ul>";
        foreach ($aa as $value) {
Пример #2
0
<?php

include_once './admin_base.php';
?>

<?php 
startblock('content');
$a = showTODAYex(date("Y-m-d"));
foreach ($a as $var) {
    $data = array($var[0], $var[1], $var[2], $var[3], $var[4]);
}
$crossfit = str_replace('<iframe width="300" height="150" src="https://www.youtube.com/embed/', "", $var[2]);
$crossfit = str_replace('" frameborder="0" allowfullscreen></iframe>', "", $crossfit);
$crossfit = "https://www.youtube.com/watch?v=" . $crossfit;
$weight = str_replace('<iframe width="300" height="150" src="https://www.youtube.com/embed/', "", $var[4]);
$weight = str_replace('" frameborder="0" allowfullscreen></iframe>', "", $weight);
$weight = "https://www.youtube.com/watch?v=" . $weight;
?>
<form action="menu3.php" method="GET">
  <div class="row" style="margin-left: auto; margin-right: auto;">
    <div class="container-fluid col-md-4">
      <h2>오늘의운동 수정하기 <br />  <?php 
echo $data[0];
?>
</h2>
      <div class="panel panel-default">
        <div class="panel-heading">크로스핏</div>
        <div class="panel-body">    
          <div class="embed-responsive embed-responsive-16by9">
            <textarea name="crossfitContents2" class="embed-responsive embed-responsive-16by9" style="width:100%;"><?php 
echo $data[1];
Пример #3
0
    ?>



<!-- 이부분만 바꿔서 수정하면 됩니다. -->
<?php 
    startblock('content');
    ?>

        <div class="secondTab">
          <a href="todaysExercise.php"><p class="left">CrossFit</p></a>
          <p class="right" style="background-color:#DF314D">Weight</p>
        </div>

        <?php 
    $weight_url = showTODAYex(date("Y-m-d"));
    $weight_url = $weight_url[0][4];
    ?>
        <div class="container-fluid">
          <div style="margin:10px;">
          <?php 
    echo $weight_url;
    ?>
          </div>
          <div class="well">
            <?php 
    $a = showToDAYex(date("Y-m-d"));
    if (isset($a[0][3])) {
        $aa = explode(",", $a[0][3]);
        echo "<ul>";
        foreach ($aa as $value) {