"; $header=""; $footer="
".$returnpage."
"; $templist=""; $sql=$empire->query($query); $b=0; $ti=0; $tlistvar=$temp; while($r=$empire->fetch($sql)) { $b=1; $ti++; if(empty($r[stylepic])) { $r[stylepic]="../../data/images/notemp.gif"; } //当前模板 if($r['styleid']==$addr[spacestyleid]) { $r[stylename]=''.$r[stylename].''; } $var="
".$r[stylename]."
[选定]"; $tlistvar=str_replace("",$var,$tlistvar); if($ti>=4) { $templist.=$tlistvar; $tlistvar=$temp; $ti=0; } } //模板 if($ti!=0&&$ti<4) { $templist.=$tlistvar; } $templist=$header.$templist.$footer; $public_diyr['pagetitle']='选择空间模板'; $url="首页 > 会员中心 > 选择空间模板"; require(ECMS_PATH.'e/template/incfile/header.php'); ?>