query("select gid,gname,isdefault from {$dbtbpre}enewstempgroup order by gid"); while($tgr=$empire->fetch($tgsql)) { $tgselect=""; if($tgr['gid']==$gid) { $tgname=$tgr['gname']; $tgselect=" selected"; } $tempgroup.=""; } if(empty($tgname)) { printerror("ErrorUrl",""); } if(!file_exists("../adminstyle/".$loginadminstyleid."/AdminTemp.php")) { exit(); } require("../adminstyle/".$loginadminstyleid."/AdminTemp.php"); db_close(); $empire=null; ?>