Example #1
0
        ?>
" class="enews" /></a> </figure>
    <div class="content">
      <h2><a href="<?php 
        the_permalink();
        ?>
" title="详细阅读 <?php 
        the_title_attribute();
        ?>
">
        <?php 
        the_title();
        ?>
        </a>
        <?php 
        newpost();
        ?>
      </h2>
      <div class="meta"> <span class="pull-left"> <i class="icon-user"></i>
        <?php 
        the_author_posts_link();
        ?>
        - <i class="icon-time"></i>
        <?php 
        the_time('Y年n月j日');
        ?>
        - <i class="icon-list"></i>
        <?php 
        the_category(', ');
        ?>
        - <i class="icon-comment"></i>
Example #2
0
<?
include 'preheader.php';
$cmd=$_GET['cmd'];

switch($cmd){
	case 'listposts':include 'icl/listposts.inc.php';listposts();break;
	case 'likepost':include 'icl/likepost.inc.php';likepost();break;
	case 'newpost':include 'icl/newpost.inc.php';newpost();break;
	case 'braintreectoken':include 'icl/braintreectoken.inc.php';braintreectoken();break;
	case 'braintreepay':include 'icl/braintreepay.inc.php';braintreepay();break;
	default: die('Unrecognized command '.$cmd);
}