Statistics: Posted by Cristián Lávaque — August 3rd, 2011, 10:55 pm
<?php
$sticky_top = get_option( 'sticky_posts' );
$res_1 = $GLOBALS['WS_PLUGIN__']['s2member']['o'][level0_posts];
$OutputArray2 = explode(",", $res_1);
rsort( $OutputArray2 );
rsort($sticky_top);
$ArrayCount = 0;
foreach ($OutputArray2 as $OutputArray2ArrayElement){
if($OutputArray2ArrayElement <> ""){
foreach ($sticky_top as $sticky_topArrayElement){
if($sticky_topArrayElement <> "" && $OutputArray2ArrayElement == $sticky_topArrayElement){
$MemberSticky[$ArrayCount] = $OutputArray2ArrayElement;
$CurrentSticky = $OutputArray2ArrayElement;
$ArrayCount ++;
break 2;
}
};
}
};
$args = array(
'posts_per_page' => 1,
'post__in' => $MemberSticky,
'ignore_sticky_posts' => 1
);
query_posts( $args );?>
<?php rewind_posts(); ?>
<?php while (have_posts()) : the_post(); ?>
<h1><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>">
<?php the_title(); ?>
</a></h1>
<br />
<?php
if ( has_post_thumbnail() ) {
echo '<div class="homepost_thumbnail">';
the_post_thumbnail();
echo '</div>';
}
the_excerpt('Read more »'); ?>
<?php endwhile; ?>
$sticky_top = get_option( 'sticky_posts' );
$res_1 = $GLOBALS['WS_PLUGIN__']['s2member']['o'][level0_posts];
$OutputArray2 = explode(",", $res_1);
rsort( $OutputArray2 );
rsort($sticky_top);
$ArrayCount = 0;
foreach ($OutputArray2 as $OutputArray2ArrayElement) {
if($OutputArray2ArrayElement <> ""){
foreach ($sticky_top as $sticky_topArrayElement){
if($sticky_topArrayElement <> ""
&& $OutputArray2ArrayElement == $sticky_topArrayElement){
$MemberSticky[$ArrayCount] = $OutputArray2ArrayElement;
$ArrayCount ++;
break 2;
$args = array(
'posts_per_page' => 1,
'post__in' => $MemberSticky,
'ignore_sticky_posts' => 1
);
query_posts( $args );?>
<?php while (have_posts()) : the_post(); ?>
<?php endwhile; ?>
<?php rewind_posts(); ?>
Statistics: Posted by Terry — August 3rd, 2011, 10:01 am
$GLOBALS['WS_PLUGIN__']['s2member']['o'][level0_ruris]
$GLOBALS['WS_PLUGIN__']['s2member']['o'][level1_ruris]
$GLOBALS['WS_PLUGIN__']['s2member']['o'][level2_ruris]
$GLOBALS['WS_PLUGIN__']['s2member']['o'][level3_ruris]
$GLOBALS['WS_PLUGIN__']['s2member']['o'][level4_ruris]
$GLOBALS['WS_PLUGIN__']['s2member']['o'][level0_catgs]
$GLOBALS['WS_PLUGIN__']['s2member']['o'][level1_catgs]
$GLOBALS['WS_PLUGIN__']['s2member']['o'][level2_catgs]
$GLOBALS['WS_PLUGIN__']['s2member']['o'][level3_catgs]
$GLOBALS['WS_PLUGIN__']['s2member']['o'][level4_catgs]
$GLOBALS['WS_PLUGIN__']['s2member']['o'][level0_ptags]
$GLOBALS['WS_PLUGIN__']['s2member']['o'][level1_ptags]
$GLOBALS['WS_PLUGIN__']['s2member']['o'][level2_ptags]
$GLOBALS['WS_PLUGIN__']['s2member']['o'][level3_ptags]
$GLOBALS['WS_PLUGIN__']['s2member']['o'][level4_ptags]
$GLOBALS['WS_PLUGIN__']['s2member']['o'][level0_posts]
$GLOBALS['WS_PLUGIN__']['s2member']['o'][level1_posts]
$GLOBALS['WS_PLUGIN__']['s2member']['o'][level2_posts]
$GLOBALS['WS_PLUGIN__']['s2member']['o'][level3_posts]
$GLOBALS['WS_PLUGIN__']['s2member']['o'][level4_posts]
$GLOBALS['WS_PLUGIN__']['s2member']['o'][level0_pages]
$GLOBALS['WS_PLUGIN__']['s2member']['o'][level1_pages]
$GLOBALS['WS_PLUGIN__']['s2member']['o'][level2_pages]
$GLOBALS['WS_PLUGIN__']['s2member']['o'][level3_pages]
$GLOBALS['WS_PLUGIN__']['s2member']['o'][level4_pages]
Statistics: Posted by Cristián Lávaque — July 27th, 2011, 12:34 am
<div id="main">
<div id="left_column">
<div class="left_col_box"> <span class="main_titles">Featured Content</span>
<?php $args = array(
'posts_per_page' => 1,
'post__in' => get_option( 'sticky_posts' ),
'ignore_sticky_posts' => 1
);
query_posts( $args );?>
<?php rewind_posts(); ?>
<?php while (have_posts()) : the_post(); ?>
<h1><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>">
<?php the_title(); ?>
</a></h1><br />
<?php the_content('Read more »'); ?>
<br /><div class="post_details">
by <?php the_author() ?> Date: <time datetime="<?php the_time('Y-m-d') ?>" pubdate="<?php the_time('F jS, Y') ?>"><?php the_time('F jS, Y') ?></time>
<br/>
Posted in
<?php the_category(', ') ?>
| <?php the_tags('Tags: ', ', ', '<br />'); ?>
<?php edit_post_link('Edit', '', ' | '); ?></div>
<div class="clear"></div>
</div>
<?php endwhile; ?>
<div class="left_col_box"> <span class="main_titles">Recent Content</span>
<?php
// The Query
query_posts( array('posts_per_page=5','ignore_sticky_posts' => 1) );
// The Loop
while ( have_posts() ) : the_post(); ?>
<h2 style="margin-bottom: 0px;"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>">
<?php the_title(); ?>
</a></h2>
<div class="post_details">
by <?php the_author() ?> Date: <time datetime="<?php the_time('Y-m-d') ?>" pubdate="<?php the_time('F jS, Y') ?>"><?php the_time('F jS, Y') ?></time>
<br/>
Posted in
<?php the_category(', ') ?>
| <?php the_tags('Tags: ', ', ', '<br />'); ?>
<?php edit_post_link('Edit', '', ' | '); ?>
</div>
<?php endwhile;
// Reset Query
wp_reset_query();
?>
</div>
</div>
<div id="right_column">
<?php if ( is_active_sidebar( 'rcb-widget-area' ) ) : ?>
<div class="right_col_box">
<?php dynamic_sidebar( 'rcb-widget-area' ); ?>
</div>
<?php endif; ?>
</div>
</div>
<?php $args = array(
'posts_per_page' => 1,
'post__in' => get_option( 's2member_posts' ),
'ignore_sticky_posts' => 1
);
query_posts( $args );?>
<?php rewind_posts(); ?>
<?php while (have_posts()) : the_post(); ?>
Statistics: Posted by Terry — July 26th, 2011, 7:59 am