require_once ("../class/Logger.php"); Logger::configure("../class/Logger.ini"); $phone = $_GET["phone"]; $loginPassword = $_GET["loginPassword"]; $agentCode = strval($_GET["agentCode"]); $logger = Logger::getLogger('AuthorInfo'); $logger->info("开始注册 : phone : $phone, agentCode : $agentCode"); $authorId = AuthorInfo :: Register($phone, md5($loginPassword)); if($authorId > 0) { echo "1"; if($agentCode != "") { if(AuthorInfo :: RelateAgent($authorId, $agentCode)) { //echo "绑定代理商成功"; } else { //echo "代理商编号不存在"; } } //header("Location: http://a.app.qq.com/o/simple.jsp?pkgname=com.inter.trade&g_f=995087"); } else { echo "0"; }
<h5><a href="<?php the_permalink(); ?> "><?php the_title(); ?> </a></h5> </header> <div class="entry-content"> <?php the_excerpt(__('Continue reading...', 'watertower')); ?> </div> <footer> <span>Posted: <?php the_date(); ?> </span> <span>By: <?php $authors = new AuthorInfo($post->ID); $authors->author_links_list(); ?> </span> </footer> </article> </div> </div>