Ejemplo n.º 1
0
    ?>
    <?php 
}
// end of the loop.
?>
  </div>
  <!-- #contents -->

  <?php 
if (!in_category(array('specials', 'wedding'))) {
    ?>
  <?php 
    //if ( is_single('padma-resort-bali-at-legian') ) :
    ?>
   <?php 
    if (is_single_hotel() || in_category('hotel_price') || get_post_type(get_the_ID()) == 'hotel_price') {
        ?>
  <?php 
    } else {
        ?>
  <?php 
        get_sidebar();
        ?>
  <?php 
    }
    ?>
  <?php 
}
?>
</div>
<!-- #container -->
Ejemplo n.º 2
0
/*?><?php wp_nav_menu( array( 'theme_location' => 'primary' ) ); ?><?php */
?>
<ul>
<li id="gNavi00"><a href="https://www.tabikobo.net/form/bali-girl/order/">オーダーメイド ordermade</a></li>
<li id="gNavi01"><a href="/select/">セレクト select</a></li>
<li id="gNavi02"><a href="/hotels/">ヴィラ・ホテル villa &amp; hotel</a></li>
<li id="gNavi03"><a href="/spa/">スパ SPA</a></li>
<li id="gNavi04"><a href="/optional/">オプショナル optional</a></li>
<li id="gNavi05"><a href="/wedding/">ウェディング wedding</a></li>
<li id="gNavi06"><a href="http://blog.plbali.com/" target="_blank">ブログ blog</a></li>
</ul>
</div>

<?php 
//if( is_home() || is_front_page() || is_single('padma-resort-bali-at-legian')):
if (is_home() || is_front_page() || is_single_hotel() || get_post_type(get_the_ID()) == 'hotel_price') {
    ?>
	
	
<div id="gNaviSp">
<ul>
<li id="gNaviSp00"><a href="https://www.tabikobo.net/form/bali-girl/order/">オーダー<br>メイド<span>ordermade</span></a></li>
<li id="gNaviSp01"><a href="/hotels/">ヴィラ・<br>ホテル<span>villa &amp; hotel</span></a></li>
<li id="gNaviSp02"><a href="/spa/">スパ<span>SPA</span></a></li>
<li id="gNaviSp03"><a href="/optional/">オプショ<br>ナル<span>optional</span></a></li>
<li id="gNaviSp04"><a href="/wedding/">ウェディ<br>ング<span>wedding</span></a></li>
<li id="gNaviSp05"><a href="http://blog.plbali.com/" target="_blank">ブログ<span>blog</span></a></li>
</ul>
</div>
<?php 
}
<div id="tokuten_hidden" style="display:none;"><?php 
            echo $inner_html;
            ?>
</div>
<script type="text/javascript">
$(function(){
  try{
    $("div#rooms_toku table tbody tr td").append($("div#tokuten_hidden").html());
  }catch(e){}
});
</script>
<?php 
        }
    }
    ?>

<?php 
    //if(is_single('padma-resort-bali-at-legian')):
    if (is_single_hotel()) {
    } else {
        ?>
<script type="text/javascript">
$(function(){
  try{
    $("div#rooms div#rooms_txt div.right table tr td a").attr({target: '_blank'});
  }catch(e){}
});
</script>
<?php 
    }
}
Ejemplo n.º 4
0
?>


</div><!-- #wrap -->



<?php 
wp_footer();
?>

<?php 
//if( is_category('villa') || is_single('padma-resort-bali-at-legian')):
$arr_cat = array('list-kuta', 'list-semi', 'list-nusa', 'list-jim', 'list-ubud', 'list-sanur', 'list-canggu', 'list-candidasa', 'list-tanahlot', 'list-menjangan', 'list-lovina', 'list-yogyakarta', 'list-lombok', 'list-lembongan');
$cat =& get_category(get_query_var('cat'));
if (in_category('hotels') || is_single_hotel() || in_array($cat->slug, $arr_cat)) {
    ?>

<?php 
} else {
    ?>
  <!-- UI Calender -->

<script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1/jquery-ui.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1/i18n/jquery.ui.datepicker-ja.min.js"></script>
<script type="text/javascript" src="https://0-oo.googlecode.com/svn/gcalendar-holidays.js"></script>
<script type="text/javascript">
function valid_form(){
  $("#calendarDate,#calendarDate2").css('border-color', 'none');
  var calendarDate = $.trim($("#calendarDate").val());
  if (calendarDate.length > 0) {