当前位置: 首页>>代码示例>>PHP>>正文


PHP WDWLibrary::ajax_html_frontend_page_nav方法代码示例

本文整理汇总了PHP中WDWLibrary::ajax_html_frontend_page_nav方法的典型用法代码示例。如果您正苦于以下问题:PHP WDWLibrary::ajax_html_frontend_page_nav方法的具体用法?PHP WDWLibrary::ajax_html_frontend_page_nav怎么用?PHP WDWLibrary::ajax_html_frontend_page_nav使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在WDWLibrary的用法示例。


在下文中一共展示了WDWLibrary::ajax_html_frontend_page_nav方法的7个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: display


//.........这里部分代码省略.........
        if (isset($params['show_sort_images']) && $params['show_sort_images'] && $type == 'gallery') {
            WDWLibrary::ajax_html_frontend_sort_box('gal_front_form_' . $bwg, $bwg, $album_gallery_div_id, $params['sort_by'], $params['search_box_width']);
        }
        if (isset($params['show_tag_box']) && $params['show_tag_box'] && $type == 'gallery') {
            WDWLibrary::ajax_html_frontend_search_tags('gal_front_form_' . $bwg, $bwg, $album_gallery_div_id, $images_count, $tags_rows);
        }
        ?>
          <div id="<?php 
        echo $form_child_div_id;
        ?>
" style="<?php 
        echo $form_child_div_style;
        ?>
">
            <div id="ajax_loading_<?php 
        echo $bwg;
        ?>
" style="position:absolute;width: 100%; z-index: 115; text-align: center; height: 100%; vertical-align: middle; display: none;">
              <div style="display: table; vertical-align: middle; width: 100%; height: 100%; background-color:#FFFFFF; opacity:0.7; filter:Alpha(opacity=70);">
                <div style="display: table-cell; text-align: center; position: relative; vertical-align: middle;" >
                  <div id="loading_div_<?php 
        echo $bwg;
        ?>
" class="spider_ajax_loading" style="display: inline-block; text-align:center; position:relative; vertical-align:middle; background-image:url(<?php 
        echo WD_BWG_URL . '/images/ajax_loader.png';
        ?>
); float: none; width:50px;height:50px;background-size:50px 50px;">
                  </div>
                </div>
              </div>
            </div>
            <?php 
        if ($params['extended_album_enable_page'] && $items_per_page && $theme_row->page_nav_position == 'top' && $page_nav['total']) {
            WDWLibrary::ajax_html_frontend_page_nav($theme_row, $page_nav['total'], $page_nav['limit'], 'gal_front_form_' . $bwg, $items_per_page_arr, $bwg, $album_gallery_div_id, $params['album_id'], $type, $options_row->enable_seo, $params['extended_album_enable_page']);
        }
        if ($bwg_previous_album_id != $params['album_id']) {
            ?>
              <a class="bwg_back_<?php 
            echo $bwg;
            ?>
" onclick="spider_frontend_ajax('gal_front_form_<?php 
            echo $bwg;
            ?>
', '<?php 
            echo $bwg;
            ?>
', '<?php 
            echo $album_gallery_div_id;
            ?>
', 'back', '', 'album')"><?php 
            echo __('Back', 'bwg');
            ?>
</a>
              <?php 
        }
        ?>
            <div id="<?php 
        echo $album_gallery_div_id;
        ?>
" class="<?php 
        echo $album_gallery_div_class;
        ?>
">
              <input type="hidden" id="bwg_previous_album_id_<?php 
        echo $bwg;
        ?>
开发者ID:ChibiBeckyG,项目名称:supreme-giggle,代码行数:67,代码来源:BWGViewAlbum_extended_preview.php

示例2: display


//.........这里部分代码省略.........
            WDWLibrary::ajax_html_frontend_search_tags('gal_front_form_' . $bwg, $bwg, 'bwg_standart_thumbnails_' . $bwg, $images_count, $tags_rows);
        }
        ?>
          <div class="bwg_back_<?php 
        echo $bwg;
        ?>
"><?php 
        echo $options_row->showthumbs_name ? $gallery_row->name : '';
        ?>
</div>
          <div style="background-color:rgba(0, 0, 0, 0); text-align: <?php 
        echo $theme_row->thumb_align;
        ?>
; width:100%; position: relative;">
            <div id="ajax_loading_<?php 
        echo $bwg;
        ?>
" style="position:absolute;width: 100%; z-index: 115; text-align: center; height: 100%; vertical-align: middle; display:none;">
              <div style="display: table; vertical-align: middle; width: 100%; height: 100%; background-color: #FFFFFF; opacity: 0.7; filter: Alpha(opacity=70);">
                <div style="display: table-cell; text-align: center; position: relative; vertical-align: middle;" >
                  <div id="loading_div_<?php 
        echo $bwg;
        ?>
" class="spider_ajax_loading" style="display: inline-block; text-align:center; position:relative; vertical-align:middle; background-image:url(<?php 
        echo WD_BWG_URL . '/images/ajax_loader.png';
        ?>
); float: none; width:50px;height:50px;background-size:50px 50px;">
                  </div>
                </div>
              </div>
            </div>
            <?php 
        if ($params['image_enable_page'] && $params['images_per_page'] && $theme_row->page_nav_position == 'top') {
            WDWLibrary::ajax_html_frontend_page_nav($theme_row, $page_nav['total'], $page_nav['limit'], 'gal_front_form_' . $bwg, $items_per_page, $bwg, 'bwg_standart_thumbnails_' . $bwg, 0, 'album', $options_row->enable_seo, $params['image_enable_page']);
        }
        ?>
            <div id="bwg_standart_thumbnails_<?php 
        echo $bwg;
        ?>
" class="bwg_standart_thumbnails_<?php 
        echo $bwg;
        ?>
">
              <?php 
        foreach ($image_rows as $image_row) {
            $is_embed = preg_match('/EMBED/', $image_row->filetype) == 1 ? true : false;
            $is_embed_video = preg_match('/VIDEO/', $image_row->filetype) == 1 ? true : false;
            if (!$is_embed) {
                list($image_thumb_width, $image_thumb_height) = getimagesize(htmlspecialchars_decode(ABSPATH . $WD_BWG_UPLOAD_DIR . $image_row->thumb_url, ENT_COMPAT | ENT_QUOTES));
            } else {
                $image_thumb_width = $params['thumb_width'];
                if ($image_row->resolution != '') {
                    $resolution_arr = explode(" ", $image_row->resolution);
                    $resolution_w = intval($resolution_arr[0]);
                    $resolution_h = intval($resolution_arr[2]);
                    if ($resolution_w != 0 && $resolution_h != 0) {
                        $scale = $scale = max($params['thumb_width'] / $resolution_w, $params['thumb_height'] / $resolution_h);
                        $image_thumb_width = $resolution_w * $scale;
                        $image_thumb_height = $resolution_h * $scale;
                    } else {
                        $image_thumb_width = $params['thumb_width'];
                        $image_thumb_height = $params['thumb_height'];
                    }
                } else {
                    $image_thumb_width = $params['thumb_width'];
                    $image_thumb_height = $params['thumb_height'];
开发者ID:antoine2vey,项目名称:grece,代码行数:67,代码来源:BWGViewThumbnails.php

示例3: display


//.........这里部分代码省略.........
            WDWLibrary::ajax_html_frontend_search_box('gal_front_form_' . $bwg, $bwg, 'bwg_standart_thumbnails_' . $bwg, $images_count, $params['search_box_width']);
        }
        ?>
          <div class="image_browser_images_conteiner_<?php 
        echo $bwg;
        ?>
">
            <div id="ajax_loading_<?php 
        echo $bwg;
        ?>
" style="position:absolute;width: 100%; z-index: 115; text-align: center; height: 100%; vertical-align: middle; display:none;">
              <div style="display: table; vertical-align: middle; width: 100%; height: 100%; background-color: #FFFFFF; opacity: 0.7; filter: Alpha(opacity=70);">
                <div style="display: table-cell; text-align: center; position: relative; vertical-align: middle;" >
                  <div id="loading_div_<?php 
        echo $bwg;
        ?>
" class="spider_ajax_loading" style="display: inline-block; text-align:center; position:relative; vertical-align:middle; background-image:url(<?php 
        echo WD_BWG_URL . '/images/ajax_loader.png';
        ?>
); float: none; width:50px;height:50px;background-size:50px 50px;">
                  </div>
                </div>
              </div>
            </div>
            <div class="image_browser_images_<?php 
        echo $bwg;
        ?>
" id="bwg_standart_thumbnails_<?php 
        echo $bwg;
        ?>
" >
              <?php 
        if ($theme_row->page_nav_position == 'top') {
            WDWLibrary::ajax_html_frontend_page_nav($theme_row, $page_nav['total'], $page_nav['limit'], 'gal_front_form_' . $bwg, $items_per_page, $bwg, 'bwg_standart_thumbnails_' . $bwg, 0, 'album', $option_row->enable_seo);
        }
        foreach ($image_rows as $image_row) {
            $params_array['image_id'] = isset($_POST['image_id']) ? esc_html($_POST['image_id']) : $image_row->id;
            $is_embed = preg_match('/EMBED/', $image_row->filetype) == 1 ? true : false;
            $is_embed_16x9 = (preg_match('/EMBED/', $image_row->filetype) == 1 ? true : false) && (preg_match('/VIDEO/', $image_row->filetype) == 1 ? true : false) && !(preg_match('/INSTAGRAM/', $image_row->filetype) == 1 ? true : false);
            $is_embed_instagram_post = preg_match('/INSTAGRAM_POST/', $image_row->filetype) == 1 ? true : false;
            ?>
  
                <div class="image_browser_image_buttons_conteiner_<?php 
            echo $bwg;
            ?>
">
                  <div class="image_browser_image_buttons_<?php 
            echo $bwg;
            ?>
">
                    <div class="bwg_image_browser_image_alt_<?php 
            echo $bwg;
            ?>
">
                      <?php 
            if ($image_title) {
                ?>
                        <div class="bwg_image_alt_<?php 
                echo $bwg;
                ?>
" id="alt<?php 
                echo $image_row->id;
                ?>
">
                          <?php 
                echo html_entity_decode($image_row->alt);
开发者ID:ahmadnaufal,项目名称:iit-webhimpunan,代码行数:67,代码来源:BWGViewImage_browser.php

示例4: display


//.........这里部分代码省略.........
 #spider_popup_overlay_<?php 
        echo $bwg;
        ?>
 {
        background-color: #<?php 
        echo $theme_row->lightbox_overlay_bg_color;
        ?>
;
        opacity: <?php 
        echo $theme_row->lightbox_overlay_bg_transparent / 100;
        ?>
;
        filter: Alpha(opacity=<?php 
        echo $theme_row->lightbox_overlay_bg_transparent;
        ?>
);
      }
    </style>
    <div id="bwg_container1_<?php 
        echo $bwg;
        ?>
">
      <div id="bwg_container2_<?php 
        echo $bwg;
        ?>
">
        <form id="gal_front_form_<?php 
        echo $bwg;
        ?>
" method="post" action="#">
          <div style="background-color:rgba(0, 0, 0, 0); text-align:center; width:100%;">
            <?php 
        if ($params['extended_album_enable_page'] && $items_per_page && $theme_row->page_nav_position == 'top' && $page_nav['total']) {
            WDWLibrary::ajax_html_frontend_page_nav($theme_row, $page_nav['total'], $page_nav['limit'], 'gal_front_form_' . $bwg, $items_per_page, $bwg, $album_gallery_div_id, $params['album_id']);
        }
        ?>
            <div id="bwg_album_extended_<?php 
        echo $bwg;
        ?>
" class="<?php 
        echo $album_gallery_div_class;
        ?>
">
              <div id="ajax_loading_<?php 
        echo $bwg;
        ?>
" style="position:absolute;">
                <div id="opacity_div_<?php 
        echo $bwg;
        ?>
" style="display:none; background-color:#FFFFFF; opacity:0.7; filter:Alpha(opacity=70); position:absolute; z-index:105;"></div>
                <span id="loading_div_<?php 
        echo $bwg;
        ?>
" style="display:none; text-align:center; position:relative; vertical-align:middle; z-index:107">
                  <img src="<?php 
        echo WD_BWG_URL . '/images/ajax_loader.png';
        ?>
" class="spider_ajax_loading" style="float: none; width:50px;">
                </span>
              </div>
              <?php 
        if ($bwg_previous_album_id) {
            ?>
                <a class="bwg_back_<?php 
            echo $bwg;
开发者ID:phuluang,项目名称:rosewellmusic,代码行数:67,代码来源:BWGViewAlbum_extended_preview.php

示例5: display


//.........这里部分代码省略.........
            WDWLibrary::ajax_html_frontend_search_box('gal_front_form_' . $bwg, $bwg, $album_gallery_div_id, $images_count, $params['search_box_width']);
        }
        if (isset($params['show_sort_images']) && $params['show_sort_images'] && $type == 'gallery') {
            WDWLibrary::ajax_html_frontend_sort_box('gal_front_form_' . $bwg, $bwg, $album_gallery_div_id, $params['sort_by'], $params['search_box_width']);
        }
        ?>
          <div id="<?php 
        echo $form_child_div_id;
        ?>
" style="<?php 
        echo $form_child_div_style;
        ?>
">
            <div id="ajax_loading_<?php 
        echo $bwg;
        ?>
" style="position:absolute;width: 100%; z-index: 115; text-align: center; height: 100%; vertical-align: middle; display: none;">
              <div style="display: table; vertical-align: middle; width: 100%; height: 100%; background-color: #FFFFFF; opacity: 0.7; filter: Alpha(opacity=70);">
                <div style="display: table-cell; text-align: center; position: relative; vertical-align: middle;" >
                  <div id="loading_div_<?php 
        echo $bwg;
        ?>
" style="display: inline-block; text-align:center; position:relative; vertical-align:middle;">
                    <img src="<?php 
        echo WD_BWG_URL . '/images/ajax_loader.png';
        ?>
" class="spider_ajax_loading" style="float: none; width:50px;">
                  </div>
                </div>
              </div>
            </div>
            <?php 
        if ($params['compuct_album_enable_page'] && $items_per_page && $theme_row->page_nav_position == 'top' && $page_nav['total']) {
            WDWLibrary::ajax_html_frontend_page_nav($theme_row, $page_nav['total'], $page_nav['limit'], 'gal_front_form_' . $bwg, $items_per_page, $bwg, $album_gallery_div_id, $params['album_id'], $type);
        }
        if ($bwg_previous_album_id) {
            ?>
              <a class="bwg_back_<?php 
            echo $bwg;
            ?>
" onclick="spider_frontend_ajax('gal_front_form_<?php 
            echo $bwg;
            ?>
', '<?php 
            echo $bwg;
            ?>
', '<?php 
            echo $album_gallery_div_id;
            ?>
', 'back')"><?php 
            echo __('Back', 'bwg');
            ?>
</a>
              <?php 
        }
        if ($options_row->show_album_name) {
            if ($type == 'gallery') {
                ?>
              <div class="bwg_back_<?php 
                echo $bwg;
                ?>
" ><?php 
                echo isset($_POST['title_' . $bwg]) ? esc_html($_POST['title_' . $bwg]) : '';
                ?>
</div>
              <?php 
开发者ID:nirav90,项目名称:gharena,代码行数:67,代码来源:BWGViewAlbum_compact_preview.php

示例6: display


//.........这里部分代码省略.........
        echo $bwg;
        ?>
 {
        background-color: #<?php 
        echo $theme_row->lightbox_overlay_bg_color;
        ?>
;
        opacity: <?php 
        echo $theme_row->lightbox_overlay_bg_transparent / 100;
        ?>
;
        filter: Alpha(opacity=<?php 
        echo $theme_row->lightbox_overlay_bg_transparent;
        ?>
);
      }
    </style>

    <div id="bwg_container1_<?php 
        echo $bwg;
        ?>
">
      <div id="bwg_container2_<?php 
        echo $bwg;
        ?>
">
        <form id="gal_front_form_<?php 
        echo $bwg;
        ?>
" method="post" action="#">
          <div style="background-color:rgba(0, 0, 0, 0); text-align:center; width:100%;">
            <?php 
        if ($params['image_enable_page'] && $params['images_per_page'] && $theme_row->page_nav_position == 'top') {
            WDWLibrary::ajax_html_frontend_page_nav($theme_row, $page_nav['total'], $page_nav['limit'], 'gal_front_form_' . $bwg, $params['images_per_page'], $bwg, 'bwg_standart_thumbnails_' . $bwg);
        }
        ?>
            <div id="bwg_standart_thumbnails_<?php 
        echo $bwg;
        ?>
" class="bwg_standart_thumbnails_<?php 
        echo $bwg;
        ?>
">
              <div id="ajax_loading_<?php 
        echo $bwg;
        ?>
" style="position:absolute;">
                <div id="opacity_div_<?php 
        echo $bwg;
        ?>
" style="display:none; background-color:#FFFFFF; opacity:0.7; filter:Alpha(opacity=70); position:absolute; z-index:105;"></div>
                <span id="loading_div_<?php 
        echo $bwg;
        ?>
" style="display:none; text-align:center; position:relative; vertical-align:middle; z-index:107">
                  <img src="<?php 
        echo WD_BWG_URL . '/images/ajax_loader.png';
        ?>
" class="spider_ajax_loading" style="float: none; width:50px;">
                </span>
              </div>
              <?php 
        foreach ($image_rows as $image_row) {
            $params_array = array('tag_id' => isset($params['type']) ? $params['gallery_id'] : 0, 'action' => 'GalleryBox', 'current_view' => $bwg, 'image_id' => isset($_POST['image_id']) ? esc_html($_POST['image_id']) : $image_row->id, 'gallery_id' => $params['gallery_id'], 'theme_id' => $params['theme_id'], 'thumb_width' => $params['thumb_width'], 'thumb_height' => $params['thumb_height'], 'image_width' => $params['popup_width'], 'image_height' => $params['popup_height'], 'image_effect' => $params['popup_effect'], 'sort_by' => isset($params['type']) ? 'order' : ($params['sort_by'] == 'RAND()' ? 'order' : $params['sort_by']), 'enable_image_filmstrip' => $params['popup_enable_filmstrip'], 'image_filmstrip_height' => $params['popup_filmstrip_height'], 'enable_image_ctrl_btn' => $params['popup_enable_ctrl_btn'], 'enable_image_fullscreen' => $params['popup_enable_fullscreen'], 'slideshow_interval' => $params['popup_interval'], 'enable_comment_social' => $params['popup_enable_comment'], 'enable_image_facebook' => $params['popup_enable_facebook'], 'enable_image_twitter' => $params['popup_enable_twitter'], 'enable_image_google' => $params['popup_enable_google'], 'watermark_type' => $params['watermark_type'], 'current_url' => $current_url);
            if ($params['watermark_type'] != 'none') {
                $params_array['watermark_link'] = $params['watermark_link'];
开发者ID:phuluang,项目名称:rosewellmusic,代码行数:67,代码来源:BWGViewThumbnails.php

示例7: display


//.........这里部分代码省略.........
        ?>
" method="post" action="#">
          <div class="image_browser_images_conteiner_<?php 
        echo $bwg;
        ?>
">
            <div class="image_browser_images_<?php 
        echo $bwg;
        ?>
" id="bwg_standart_thumbnails_<?php 
        echo $bwg;
        ?>
" >
              <div id="ajax_loading_<?php 
        echo $bwg;
        ?>
" style="position:absolute;">
                <div id="opacity_div_<?php 
        echo $bwg;
        ?>
" style="display:none; background-color: rgba(255, 255, 255, 0.7); position:absolute; z-index:105;"></div>
                <span id="loading_div_<?php 
        echo $bwg;
        ?>
" style="display:none; text-align:center; position:relative; vertical-align:middle; z-index:107">
                  <img src="<?php 
        echo WD_BWG_URL . '/images/ajax_loader.png';
        ?>
" class="spider_ajax_loading" style="float: none; width:50px;">
                </span>
              </div>
              <?php 
        if ($theme_row->page_nav_position == 'top') {
            WDWLibrary::ajax_html_frontend_page_nav($theme_row, $page_nav['total'], $page_nav['limit'], 'gal_front_form_' . $bwg, 1, $bwg, 'bwg_standart_thumbnails_' . $bwg);
        }
        foreach ($image_rows as $image_row) {
            $params_array['image_id'] = isset($_POST['image_id']) ? esc_html($_POST['image_id']) : $image_row->id;
            $popup_url = add_query_arg(array($params_array), admin_url('admin-ajax.php'));
            ?>
  
                <div class="image_browser_image_buttons_conteiner_<?php 
            echo $bwg;
            ?>
">
                  <div class="image_browser_image_buttons_<?php 
            echo $bwg;
            ?>
">
                    <div class="bwg_image_browser_image_alt_<?php 
            echo $bwg;
            ?>
">
                      <?php 
            if ($image_title) {
                ?>
                        <div class="bwg_image_alt_<?php 
                echo $bwg;
                ?>
" id="alt<?php 
                echo $image_row->id;
                ?>
">
                          <?php 
                echo $image_row->alt;
                ?>
                        </div>
开发者ID:phuluang,项目名称:rosewellmusic,代码行数:67,代码来源:BWGViewImage_browser.php


注:本文中的WDWLibrary::ajax_html_frontend_page_nav方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。