コード例 #1
0
ファイル: archive.php プロジェクト: rasyidmujahid/scalar-web
    if (isset($_GET['event-category'])) {
        $qrystr .= "&event-category=" . $_GET['event-category'];
    }
    if (isset($_GET['cs_cause-category'])) {
        $qrystr .= "&cs_cause-category=" . $_GET['cs_cause-category'];
    }
    if (isset($_GET['event-tag'])) {
        $qrystr .= "&event-tag=" . $_GET['event-tag'];
    }
    if (isset($_GET['cs_cause-tag'])) {
        $qrystr .= "&cs_cause-tag=" . $_GET['cs_cause-tag'];
    }
    if (isset($_GET['m'])) {
        $qrystr .= "&m=" . $_GET['m'];
    }
    echo cs_pagination($custom_query->found_posts, get_option('posts_per_page'), $qrystr);
}
// pagination end
?>
        </div>  
		<?php 
if ($cs_layout != '' and $cs_layout != "none" and $cs_layout == 'right') {
    ?>
				<aside class="left-content col-md-3">
					<?php 
    if (!function_exists('dynamic_sidebar') || !dynamic_sidebar($cs_theme_option['cs_sidebar_left'])) {
    }
    ?>
				</aside>
		<?php 
}
コード例 #2
0
                echo '<p><a href="mailto:' . $cs_xmlObject_team->var_cp_email . '">' . $cs_xmlObject_team->var_cp_email . '</p>';
            }
            ?>
                                           <div class="share"><a class=" addthis_button_compact"><i class="fa fa-share-square-o"></i></a></div>
                                       <?php 
        }
        ?>
                                        </div>    
                                </div>
                            </article>
                                
						<?php 
    }
    ?>
                    </div> 
                    
                    
                <?php 
    $qrystr = '';
    if ($cs_node->var_pb_team_pagination == "Show Pagination" and $post_count > $cs_node->var_pb_team_per_page and $cs_node->var_pb_team_per_page > 0) {
        if (isset($_GET['page_id'])) {
            $qrystr = "&page_id=" . $_GET['page_id'];
        }
        echo cs_pagination($post_count, $cs_node->var_pb_team_per_page, $qrystr);
    }
}
?>
                  <!-- Our Classes Close -->
				
            
</div>
コード例 #3
0
                            
							});
                     }
					
					
						</script>
                	<div class="calendar">
                        <div id='calendar'></div>
                    </div>
                	
                <?php 
        }
        ?>
                   
        <?php 
    }
    ?>
        
    </div>
   		<?php 
    $qrystr = '';
    if ($cs_node->cs_event_pagination == "Show Pagination" and $count_post > $cs_node->cs_event_per_page and $cs_node->cs_event_per_page > 0 and $cs_node->cs_event_filterables != "Yes" && $cs_node->cs_event_view != 'event-calendarview') {
        if (isset($_GET['page_id'])) {
            $qrystr = "&page_id=" . $_GET['page_id'];
        }
        echo cs_pagination($count_post, $cs_node->cs_event_per_page, $qrystr);
    }
    ?>
</div>
<?php 
}
コード例 #4
0
ファイル: index.php プロジェクト: rasyidmujahid/scalar-web
                 	<!-- Text End --> 
                 </article>
            <?php 
    }
} else {
    fnc_no_result_found();
}
?>
            <?php 
$qrystr = '';
if (isset($_GET['page_id'])) {
    $qrystr .= "&page_id=" . $_GET['page_id'];
}
// pagination start
if (isset($cs_theme_option['pagination']) and $cs_theme_option['pagination'] == "Show Pagination" and $wp_query->found_posts > get_option('posts_per_page')) {
    echo cs_pagination(wp_count_posts()->publish, get_option('posts_per_page'), $qrystr);
}
// pagination end
?>
          </div>
        </div>
		<?php 
if ($cs_layout != '' and $cs_layout != "none" and $cs_layout == 'right') {
    ?>
				<aside class="left-content col-md-3">
  				<?php 
    if (isset($cs_theme_option['cs_sidebar_right'])) {
        if (!function_exists('dynamic_sidebar') || !dynamic_sidebar($cs_theme_option['cs_sidebar_right'])) {
        }
    } else {
        if (!function_exists('dynamic_sidebar') || !dynamic_sidebar('sidebar-1')) {
コード例 #5
0
ファイル: page_profile.php プロジェクト: rauleonel/soncursos
             ?>
                                                     </article>
                                                 </div>
                                                 <?php 
         }
     } else {
         fnc_no_result_found();
     }
     wp_reset_query();
     ?>
                                     </div>
                                 </div>
                             <?php 
     if ($count_post > $cs_course_per_page) {
         $qrystr = "&action=LMS&uid=" . $uid . "";
         echo cs_pagination($count_post, $cs_course_per_page, $qrystr);
     }
 } elseif (isset($_GET['action']) && $_GET['action'] == 'profile-setting' && $current_user->ID == $uid) {
     echo '<div class="cs-section-title about-title"><h3>' . __('Ajustes', 'EDULMS') . '</h3></div>';
     ?>
                                  <!-- .post -->
                                 <div class="rich_editor_text">
                                 <!-- EDIT PROFILE STARTS HERE -->
                                 <?php 
     if (!is_user_logged_in()) {
         echo '<p class="warning">' . __('You must be logged in to edit your profile.', 'EDULMS') . '</p>';
     } else {
         if (!empty($error)) {
             echo '<p class="error form-title">' . $error . '</p>';
         } else {
             if ($flag == 'true') {
コード例 #6
0
            ?>
								</div>
                                </figcaption>
                            
                        	</figure>
                        </a>
                    </li>
                    <?php 
        }
    }
    ?>
            </ul>
             </div>
            <?php 
}
?>
         
		<?php 
// pagination start
$qrystr = '';
if ($cs_node->pagination == "Show Pagination" and $count_post > $cs_node->media_per_page and $cs_node->media_per_page > 0) {
    $qrystr = '';
    if (isset($_GET['page_id'])) {
        $qrystr = "&page_id=" . $_GET['page_id'];
    }
    echo cs_pagination($count_post, $cs_node->media_per_page, $qrystr);
}
// pagination end
?>
 </div>
 <div class="clear"></div>
コード例 #7
0
    }
    ?>
            </div>
            
        </article>
         <?php 
    if (isset($cause_status) && $cause_status == '') {
        if (isset($cs_xmlObject->cause_paypal_email) && $cs_xmlObject->cause_paypal_email != '') {
            cs_donate_button($cs_xmlObject->cause_paypal_email);
        } else {
            cs_donate_button();
        }
    }
    ?>
      <?php 
}
?>

    </div>

	 <?php 
$qrystr = '';
if ($cs_node->cause_pagination == "Show Pagination" and $post_count > $cs_node->cause_per_page and $cs_node->cause_per_page > 0) {
    if (isset($_GET['page_id'])) {
        $qrystr = "&page_id=" . $_GET['page_id'];
    }
    echo cs_pagination($post_count, $cs_node->cause_per_page, $qrystr);
}
?>

</div>
コード例 #8
0
                                            </div>
                                    	<?php 
                $no_image = '';
                $width = 250;
                $height = 250;
            }
            ?>
                                </div>
                          </div>  	
                          <script type='text/javascript'>
     						jQuery(document).ready(function(){
								post_swiper_carousal();
							});
                    </script>
                  	</div>                  
                    
                    <?php 
        }
    }
}
echo '</div>';
$qrystr = '';
if ($cs_node->cs_blog_pagination == "Show Pagination" and $post_count > $cs_node->cs_blog_num_post and $cs_node->cs_blog_num_post > 0 && $cs_node->cs_blog_view != "blog-carousel-view") {
    if (isset($_GET['page_id'])) {
        $qrystr = "&page_id=" . $_GET['page_id'];
    }
    echo cs_pagination($post_count, $cs_node->cs_blog_num_post, $qrystr);
}
// pagination end
?>
	</div>