Page 343 - MDP2022-2
P. 343

else  if  ($row['bookmark']  ==  0)  {
                                                            $star  =  "☆";
                                                            $state  =  "off";
                                                    }
                                                            echo  '<div  class="card">
                                                                    <div  class="card-wrapper">
                                                                            <div  class="row  align-items-center">
                                                                                    <div  class="col-12  col-md-4">
                                                                                            <div  class="image-wrapper">
                                                                                                    <img  src="assets/images/'  .  $row['name']  .  '.jpg"
            alt="Mobirise  Website  Builder"  style="width:200px;  height:200px;">
                                                                                            </div>
                                                                                    </div>
                                                                                    <div  class="col-12  col-md">
                                                                                            <div  class="card-box">
                                                                                                    <h5  class="card-title  mbr-fonts-style  m-0  mb-3
            display-5">
                                                                                                    <form  action="bm_button.php"  method="post">
                                                                                                    <input  type="hidden"  name="bookmark_name"
            value="'  .  $row['name']  .  '">
                                                                                                    <input  type="hidden"  name="bookmark_state"
            value="'.  $state  .'">
                                                                                                    <input  type="submit"  value="'.$star.'"
            style="border:none;  background-color:#ffffff;"  id="'  .  $row['name']  .  '">
                                                                                                    <strong>'  .  $row['name']  .  '</strong></form></h5>
                                                                                                    <p  class="mbr-text  mbr-fonts-style  display-7">재료  :
            '  .  $row['material']  .  '</p>
                                                                                                    <a  href="http://'  .  $row['link']  .  '"  title="추천  레시피"
            target="_">추천  레시피  연결</a>
                                                                                            </div>
                                                                                    </div>
                                                                            </div>
                                                                    </div>
                                                            </div>
                                                            <hr>'
                                                            ;
                                            }
                                    }
                                    ?>
                            </div>
                    </section>
                                                    .
                                                    .
                                                    .
            </body>
            </html>
   338   339   340   341   342   343   344   345   346   347   348