function make_pr($db) { $sql1 = "select id,name,movie_path,date_format(term, '%Y年%m月%d日') as term from practice \r\nwhere delete_flg = '0'\r\norder by create_date desc\r\nlimit 2"; $db->prepare($sql1); $arr = $db->execute(); $ret = ""; foreach ($arr as $ar) { $ret .= sprintf("<li><a href=\"s_pr.php?i=%s\">%s 様</a> <p class=\"small2\">(%sの練習風景)</p></li>\n", $ar["id"], g_name(ht($ar["name"])), ht($ar["term"])); } return $ret; }
?> ><?php echo $space['username']; ?> </a><?php g_icon($space[groupid]); ?> </h3> <p class="mtn xg1 cl"><?php $space[domainurl] = space_domain($space); ?> 已有 <a href="home.php?mod=spacecp&ac=credit"><?php echo $space['credits']; ?> </a> 个积分,用户组:<a href="home.php?mod=spacecp&ac=credit&op=usergroup"><?php g_name($space[groupid]); ?> </a> </p><?php include template('home/space_status'); ?> </td> </tr> </table> <?php if (!empty($_G['setting']['pluginhooks']['space_home_top'])) { echo $_G['setting']['pluginhooks']['space_home_top']; } if ($space['newprompt']) { ?> <ul class="mipm cl">