

<?php 

  

$alignedId=array(10=>"massage",21=>"ganbanyoku" ,32=>"massage-shatin", 11=>"skin-care", 26=>"ear-candling",27=>"eye-treatment",28=>"organic",29=>"skin-treatment",30=>"detoxification",31=>"hot-stone",33=>"skin-scraping",34=>"skin-massage",35=>"facial",14=>"ganbanyoku-spa",36=>"ganbanyoku-review",39=>"skin-doctor",23=>"amigo-ganbanyoku",12=>"lai-chi-kok",13=>"ganbanyoku-contact", 41=>"ganbanyoku-shatin", 44=>"tsim-sha-tsui", 1=>"About-us");


$sql_submenu = mysql_query('SELECT * FROM `album` WHERE `ep_web` = '.$sect_id.' AND `show` = 1  ORDER BY `rank` ASC')or die(mysql_error());
// $sql_submenu = mysql_query('SELECT * FROM `album` WHERE `ep_web` = '.$sect_id.' AND `show` = 1  ORDER BY `rank` DESC')or die(mysql_error());
// $row_submenu = mysql_fetch_assoc($sql_submenu);
$num_row = mysql_num_rows($sql_submenu);

if ($id){
  $sql_content = mysql_query('SELECT * FROM `album` WHERE `ep_id` = '.$id.' AND `show` = 1') or die(mysql_error());
} else {
  $sql_content = mysql_query('SELECT * FROM `album` WHERE `ep_web` = '.$sect_id.' AND `show` = 1 ORDER BY `rank` ASC LIMIT 0, 1 ') or die(mysql_error());
}
// $row_content = mysql_fetch_assoc($sql_content);

//added to add photo list
$photoList=array();
while ($row_submenu = mysql_fetch_assoc($sql_submenu)){
  $photo=$row_submenu['ep_pic'];
  array_push($photoList, $photo);
}

//end added to add photo list


?>


  <!-- Masthead -->
  <header style="position: relative;
    background-color: #343a40;
    background: url(../img/nchmcbanner.png) no-repeat center center;
    background-size: cover;">
    <div style="height: 320px">
    </div>
  </header>
   


  <!-- new content row -->
  <div class="container ">
  <div class="row">
    
    <div class="col-md-12 " style="padding-left: 0px!important;padding-right: 0px!important;text-align: center;" > 
      <!-- content -->
          <!-- <div style="display: block;width: 100%;text-align: left;"> -->
              <!-- <p><span style="color:#2c2c2c;">首頁 > </span><span style="color:#a73745; ">診所環境</span></p> -->
              <?php 
              // if($global_lang=="tc"){
               ?>
                   <!--  <p><span style="color:#2c2c2c;">首頁 > </span><span style="color:#a73745; ">醫療團隊</span></p> -->
              <?php     
                  // }
              ?>
               <?php 
                  // if($global_lang=="sc"){
               ?>
             <!--        <p><span style="color:#2c2c2c;">首页 > </span><span style="color:#a73745; ">医疗团队</span></p> -->
              <?php     
                  // }
              ?>
          <!-- </div> -->
          <?php 
              if($global_lang=="tc"){
           ?>
                <h4 style="color:#a73745;margin-top: 40px; ">查詢預約</h4>
          <?php     
              }
          ?>
           <?php 
              if($global_lang=="sc"){
           ?>
                <h4 style="color:#a73745;margin-top: 40px; ">查询预约</h4>
          <?php     
              }
          ?>
               <!-- horizontal line -->
  <div class="container ">
  <div class="row">
    <div class="col-md-12 " style="padding-left: 0px!important;padding-right: 0px!important;text-align: center;" > 
        <div style="height: 60px ;position: relative;width:100%" >
          <!-- place horizontal line -->
     <!--      <span style="width:10000px;height: 1px;background: #dddddd;position: absolute;display: inline-block;left: 50%;margin-left: -190px;top: 0px;margin-top: 30px;" ></span> -->
        <span style="width:100%;height: 1px;background: #dddddd;display: inline-block;top: 0px;margin-top: 30px;" ></span>
        </div>
    </div>
    </div>
  </div>
  <!-- end horizontal line -->

          <!-- new map content -->
            <div class="container ">
    <div class="row">
      <div class="col-md-8 " style="padding-left: 0px!important;padding-right: 0px!important;" >
  <iframe width='100%' height='auto' style="min-height: 460px;" frameborder='0' scrolling='no' marginheight='0' marginwidth='0' src='https://maps.google.com.tw/maps?f=q&hl=zh-TW&geocode=&q=香港九龍尖沙咀海港城海洋中心&z=18&output=embed&t='></iframe>
          <!-- table -->
          <table width="100%">
            <tr style="background-color: #b9616b;height: 36px;">
              <td style="width: 23%;border:1px solid white; " valign="middle">
                <p style="color: white;margin-left: 25px;margin-bottom: 0rem!important;font-size: 15px;">
                <?php 
                    if($global_lang=="tc"){
                 ?>
                中心
              <?php     
                  }
              ?>
               <?php 
              if($global_lang=="sc"){
           ?>
                中心
             <?php     
                  }
              ?>
                </p>
              </td>

              <td style="width: 35%;border:1px solid white;">
                <p style="color: white;margin-left: 25px;margin-bottom: 0rem!important;font-size: 15px;">
                   <?php 
                    if($global_lang=="tc"){
                 ?>
                營業時間
              <?php     
                  }
              ?>
               <?php 
              if($global_lang=="sc"){
           ?>
                营业时间
             <?php     
                  }
              ?></p>
              </td>
              <td style="width: 42%;border:1px solid white;">
                 <p style="color: white;margin-left: 25px;margin-bottom: 0rem!important;font-size: 15px;">
                     <?php 
                    if($global_lang=="tc"){
                 ?>
                地址
              <?php     
                  }
              ?>
               <?php 
              if($global_lang=="sc"){
           ?>
                地址
             <?php     
                  }
              ?>
                 </p>
              </td>
            </tr>
            <tr style="background-color: #f6f6f6;height: 36px;vertical-align: top;">
              <td style="border:1px solid white;" align="left">
                <p style="margin-left: 25px;margin-bottom: 0rem!important;font-size: 15px;">
                <?php 
                    if($global_lang=="tc"){
                 ?>
                新世紀香港醫療中心
              <?php     
                  }
              ?>
               <?php 
              if($global_lang=="sc"){
           ?>
                新世纪香港医疗中心
             <?php     
                  }
              ?></p>
              </td>
              <td style="border:1px solid white;" align="left">
                <p style="margin-left: 25px;margin-bottom: 0rem!important;font-size: 15px;">
                <?php 
                    if($global_lang=="tc"){
                 ?>
                星期一至五:
              <?php     
                  }
              ?>
               <?php 
              if($global_lang=="sc"){
           ?>
                星期一至五:
             <?php     
                  }
              ?></p>
                <p style="margin-left: 25px;margin-bottom: 0rem!important;font-size: 15px;">
                <?php 
                    if($global_lang=="tc"){
                 ?>
                上午9:00-13:00/下午14:00-18:00
              <?php     
                  }
              ?>
               <?php 
              if($global_lang=="sc"){
           ?>
                上午9:00-13:00/下午14:00-18:00
             <?php     
                  }
              ?></p>
                <p style="margin-left: 25px;margin-bottom: 0rem!important;font-size: 15px;">
                  <?php 
                    if($global_lang=="tc"){
                 ?>
                星期六:
              <?php     
                  }
              ?>
               <?php 
              if($global_lang=="sc"){
           ?>
                星期六:
             <?php     
                  }
              ?>
                </p>
                <p style="margin-left: 25px;margin-bottom: 0rem!important;font-size: 15px;">
                     <?php 
                    if($global_lang=="tc"){
                 ?>
                上午9:00-13:00(下午休息)
              <?php     
                  }
              ?>
               <?php 
              if($global_lang=="sc"){
           ?>
                上午9:00-13:00(下午休息)
             <?php     
                  }
              ?>
                </p>
                <p style="margin-left: 25px;margin-bottom: 1rem!important;font-size: 15px;">
                       <?php 
                    if($global_lang=="tc"){
                 ?>
                星期日及公眾假期:休息
              <?php     
                  }
              ?>
               <?php 
              if($global_lang=="sc"){
           ?>
                星期日及公众假期:休息
             <?php     
                  }
              ?>
                </p>
              </td>
              <td style="border:1px solid white;" align="left">
                 <p style="line-height: 36px;margin-left: 25px;margin-bottom: 0rem!important;font-size: 15px;">
                       <?php 
                    if($global_lang=="tc"){
                 ?>
                香港九龍尖沙咀海港城海洋中心1328-29室
              <?php     
                  }
              ?>
               <?php 
              if($global_lang=="sc"){
           ?>
                香港九龙尖沙咀海港城海洋中心1328-29室
             <?php     
                  }
              ?></p>
              </td>
            </tr>

          </table>
          <!-- end table -->

      </div>
        <div class="col-md-4 " style="padding-left: 30px!important;padding-right: 0px!important;" >
              <!-- right column  -->
                <div style="width: 100%;text-align: center;margin-bottom: 18px;">
                  <h5><span style="color:#a73745; ">
                     <?php 
                    if($global_lang=="tc"){
                 ?>
                新世紀香港醫療中心
              <?php     
                  }
              ?>
               <?php 
              if($global_lang=="sc"){
           ?>
                新世纪香港医疗中心
             <?php     
                  }
              ?>
                  </span></h5>
                </div>

                <div class="row" style="width: 100%;margin-left: 1px;">

                <div style="display: inline-block;width: 49%;background-color: #c38899;float: left;">
                  <a href="tel:+85228860066" style="display: block;width: 100%;height: 100%;text-decoration: none;">
                    <div style="display: inline-block;vertical-align: top;padding-top: 20px;padding-left: 3px;">
                      <img src="./img/telephonesmall2.png">
                    </div>
                    <div style="display: inline-block; margin-left: 5px;padding-top: 20px;padding-bottom:20px;padding-right: 1px;text-align: left;">
                        <p style="margin-bottom: 0rem!important;font-size: 17px;color: white;">
                        <?php 
                    if($global_lang=="tc"){
                 ?>
                電 話 諮 詢
              <?php     
                  }
              ?>
               <?php 
              if($global_lang=="sc"){
           ?>
                电 话 咨 询
             <?php     
                  }
              ?></p>
                         <p style="margin-bottom: 0rem!important;font-size: 17px;color: white;">+852 2886 0066</p>
                    </div>
                  </a>
                </div>
                <div style="display: inline-block;width: 49%;background-color: #88c3bc;float: left;">
                  <a href="https://api.whatsapp.com/send?phone=85267065853" style="display: block;width: 100%;height: 100%;text-decoration: none;">
                    <div style="display: inline-block;vertical-align: top;padding-top: 20px;padding-left: 3px;">
                      <img src="./img/whatappsmall2.png">
                    </div>
                    <div style="display: inline-block; margin-left: 5px;padding-bottom:20px;padding-right: 1px;padding-top: 20px;text-align: left;">
                        <p style="margin-bottom: 0rem!important;font-size: 17px;color: white;">WHATSAPP</p>
                         <p style="margin-bottom: 0rem!important;font-size: 17px;color: white;">+852 6706 5853</p>
                    </div>
                  </a>
                </div>
              </div>

                <div class="row" style="width: 100%;margin-left: 1px;">
                <div style="display: inline-block;width: 49%;background-color: #c5a489;float: left;">
                  <a href="mailto:info@ncich.com.hk" style="display: block;width: 100%;height: 100%;text-decoration: none;">
                    <div style="display: inline-block;vertical-align: top;padding-top: 20px;padding-left: 3px;">
                      <img src="./img/mailsmall2.png">
                    </div>
                    <div style="display: inline-block; margin-left: 5px;padding-bottom:23px;padding-right: 1px;padding-top: 20px;text-align: left;">
                        <p style="margin-bottom: 0rem!important;font-size: 17px;color: white;">
                         <?php 
                    if($global_lang=="tc"){
                 ?>
                電 郵 諮 詢
              <?php     
                  }
              ?>
               <?php 
              if($global_lang=="sc"){
           ?>
                电 邮 咨 询
             <?php     
                  }
              ?>
            </p>
                         <p style="margin-bottom: 0rem!important;font-size: 13px;color: white;">info@ncich.com.hk</p>
                    </div>
                  </a>
                </div>
                <div style="display: inline-block;width: 49%;background-color: #88a0c3;float: left;">
                  <a href="https://www.facebook.com/pages/category/Medical-Service/New-Century-%E6%96%B0%E4%B8%96%E7%B4%80%E9%A6%99%E6%B8%AF%E9%86%AB%E7%99%82%E4%B8%AD%E5%BF%83-102129377831833/" style="display: block;width: 100%;height: 100%;text-decoration: none;">
                    <div style="display: inline-block;vertical-align: top;padding-top: 11px;padding-left: 3px;">
                      <img src="./img/facebooksmall2.png">
                    </div>
                    <div style="display: inline-block; margin-left: 5px;padding-bottom:11px;padding-right: 1px;padding-top: 10px;text-align: left;">
                        <p style="margin-bottom: 0rem!important;font-size: 17px;color: white;">Facebook</p>
                         <p style="margin-bottom: 0rem!important;font-size: 15px;color: white;">New Century</p>
                         <p style="margin-bottom: 0rem!important;font-size: 13px;color: white;">
                          <?php 
                    if($global_lang=="tc"){
                 ?>
                新世紀香港醫療中心
              <?php     
                  }
              ?>
               <?php 
              if($global_lang=="sc"){
           ?>
                新世纪香港医疗中心
             <?php     
                  }
              ?>
                         </p>
                    </div>
                  </a>
                </div>
              </div>

            <div class="container ">
              <div class="row">
               <div class="col-md-12  " style="padding-left: 0px!important;padding-right: 0px!important;" > 
                  

                 <div style="width: 100%;text-align: center;margin-bottom: 0px;margin-top: 16px;">
                  <div style="display: inline-block;">
                  <img src="./img/contactncichqr1.png" style="max-width: 134px;max-height: 139px;">
                  </div>
                  <div style="display: inline-block;">
                    <p style="line-height: 139px;">
                        <?php 
                    if($global_lang=="tc"){
                 ?>
                關注微信及時了解健康資訊
              <?php     
                  }
              ?>
               <?php 
              if($global_lang=="sc"){
           ?>
                关注微信及时了解健康资讯
             <?php     
                  }
              ?>
                    </p>
                  </div>
                </div>

                </div>
              </div>
            </div>

    
             


                 


               
                  <!-- end bottom address -->

              <!-- end right column -->
        </div>  
    </div>
  </div> 

          <!-- end  new map content -->




      
        </div>
        <!-- end team detail -->


         

        <!--    <div style="height: 60px ;position: relative;width:100%" onclick="myFunction('row1')">
          <p>1</p>
        </div> -->
     <!--    <div id="row1">
          This is my DIV element.
        </div> -->
      <!-- end content -->
    </div>
  </div>
</div>
  <!-- end new content row -->


  
  

  
