Ejemplo n.º 1
0
Archivo: ajax.php Proyecto: philum/cms
     req('meta');
     $ret = edit_day($id, $va);
     break;
 case "upload":
     $ret = plugin('upload', $id, $va);
     break;
 case "upimg":
     if ($id) {
         write_file('users/' . ses('qb') . '/' . $va, base64_decode($id));
     }
     break;
     //meta::new
 //meta::new
 case "metall":
     req('meta');
     $ret = meta_all($id);
     break;
 case "editag":
     req('meta');
     $ret = edit_tags($id, $va, $opt);
     break;
 case "addtag":
     req('meta');
     $ret = addtag($id, $va, $opt, $optb);
     break;
 case "deltag":
     req('meta');
     $ret = deltag($id, $va, $opt, $optb);
     break;
 case "slctag":
     req('meta');
Ejemplo n.º 2
0
?>
    </div>
    <h2><?php 
if (is_sticky()) {
    echo "<i class='fa fa-thumb-tack'></i>";
}
?>
<a href="<?php 
the_permalink();
?>
"><?php 
the_title();
?>
</a></h2>
    <div class="post-meta"> <?php 
meta_all(true, false, true);
?>
 </div>
    <?php 
rehub_format_score('small');
?>
    <?php 
if (vp_metabox('rehub_post.rehub_framework_post_type') == 'gallery') {
    ?>
    	<?php 
    $gallery_images = vp_metabox('rehub_post.gallery_post.0.gallery_post_images');
    ?>
        <?php 
    $gallery_i = 0;
    foreach ($gallery_images as $gallery_img) {
        $gallery_i++;
Ejemplo n.º 3
0
?>
</a></h3>
	    <?php 
if (rehub_option('exclude_comments_meta') == 0) {
    comments_popup_link(0, 1, '%', 'comment_two', '');
}
?>
	    <?php 
$category = get_the_category();
if ($category) {
    $first_cat = $category[0]->term_id;
}
?>
	    <div class="post-meta"> <?php 
if ($category) {
    meta_all(true, $first_cat, true);
}
?>
 </div>
	    <?php 
rehub_format_score('small');
?>
	    <p><?php 
kama_excerpt('maxchar=180');
?>
</p>
        <?php 
if (vp_metabox('rehub_post_side.disable_top_offer') != '1') {
    ?>
            <?php 
    rehub_create_btn('yes');
Ejemplo n.º 4
0
            ?>
"><?php 
            wpsm_thumb('video_narrow');
            ?>
</a></figure>
              <h3><a href="<?php 
            the_permalink();
            ?>
"><?php 
            the_title();
            ?>
</a></h3>
              <div class="post-meta"><?php 
            $category = get_the_category($post->ID);
            $first_cat = $category[0]->term_id;
            meta_all(true, $first_cat, false);
            ?>
 </div>
            </div>
        <?php 
        }
        ?>
    <?php 
    }
}
wp_reset_query();
$count = 0;
?>
 
</div>
Ejemplo n.º 5
0
                    comments_popup_link(0, 1, '%', 'comment', '');
                }
                ?>
                        <?php 
                rehub_formats_icons();
                ?>
                        <div>
                            <h3><a href="<?php 
                the_permalink();
                ?>
"><?php 
                the_title();
                ?>
</a></h3>
                            <div class="post-meta"> <?php 
                meta_all(true, $module_cats, false);
                ?>
 </div>
                        </div>
                    </div>
                </figure>
            </div>
        <?php 
            } else {
                ?>
	
            <div class="right">
                <div class="clearfix">	
                    <figure><a href="<?php 
                the_permalink();
                ?>
Ejemplo n.º 6
0
                wpsm_thumb('medium_news');
                ?>
</a>
	    		<div class="pattern"></div>
	    		<?php 
                rehub_formats_icons('full');
                ?>
	    		<?php 
                if (rehub_option('exclude_comments_meta') == 0) {
                    comments_popup_link(0, 1, '%', 'comment', '');
                }
                ?>
	        </figure>
	        <article>
				<div class="post-meta"> <?php 
                meta_all(false, $module_cats_second, false);
                ?>
 </div>	        
	            <h3><a href="<?php 
                the_permalink();
                ?>
"><?php 
                the_title();
                ?>
</a></h3> 
	            <p><?php 
                kama_excerpt('maxchar=160');
                ?>
</p>           
	        </article>
	     	<?php 
Ejemplo n.º 7
0
                        comments_popup_link(0, 1, '%', 'comment', '');
                    }
                    ?>
        					<?php 
                    rehub_formats_icons();
                    ?>
        					<div>
        						<h3><a href="<?php 
                    the_permalink();
                    ?>
"><?php 
                    the_title();
                    ?>
</a></h3>
        						<div class="post-meta"> <?php 
                    meta_all(true, $module_cats_fourth, false);
                    ?>
 </div>
        					</div>
        				</div>
        			</figure>
        		</div>      	
        	<?php 
                } else {
                    ?>
        		<div class="right">
        			<div class="clearfix">	
        				<figure><a href="<?php 
                    the_permalink();
                    ?>
"><?php 
Ejemplo n.º 8
0
Archivo: ajax.php Proyecto: philum/cms
     req('meta');
     $ret = search_date($id);
     break;
 case "upload":
     $ret = plugin('upload', $id, $va);
     break;
 case "upimg":
     if ($id) {
         write_file('users/' . ses('qb') . '/' . $va, base64_decode($id));
     }
     break;
     //meta::new
 //meta::new
 case "metall":
     req('meta');
     $ret = meta_all($id, $va);
     $tt = 'metas';
     $s = 440;
     break;
 case "slctfrm":
     req('meta');
     $ret = slct_frm($id, $va);
     break;
     //read
 //read
 case "readart":
     req('pop,spe,mod,tri,art');
     //sleep(1);
     $_SESSION['read'] = $id;
     $ret = read_msg($id, 3);
     break;