Title1

Title2

Title3

10. 群組

	include_once(XOOPS_ROOT_PATH."/class/xoopsformloader.php");

 

# ---- 可填寫的群組 ----
  $sign_group=(!isset($row['sign_group']))?"":explode(",",$row['sign_group']);
  # ---- 問卷管理群組 ---- 
  $adm_email_group=(!isset($row['adm_email_group']))?"":explode(",",$row['adm_email_group']);

 

 	# ---- 可填寫的群組(使用xoops內建群組選單) ---- 
  # ---- XoopsFormSelectGroup('標題', 'name', 含訪客, '預設值'(陣列), 高度 ,多選) 
  # $form=new XoopsFormSelectGroup ("", "group", false, $group, 3, true); 
	$SelectGroup_name = new XoopsFormSelectGroup("", "sign_group", false,$row['sign_group'], 10, true);
	$SelectGroup_name->addOption("", _MA_TADFORM_ANONYMOUS, false);
	$SelectGroup_name->setExtra("class='form-control'");//加入額外資訊

	$sign_group = $SelectGroup_name->render();
  # --------------------------------  
  
	# ---- 問卷管理群組(使用xoops內建群組選單) ---- 
  $SelectGroup_adm_email_group = new XoopsFormSelectGroup("", "adm_email_group", false,$row['adm_email_group'],10, true);

	$SelectGroup_adm_email_group->setExtra("class='form-control'");//加入額外資訊
	$adm_email_group_form= $SelectGroup_adm_email_group->render();