"; if($_GET['division']) { //FIXME: this only works when the division form uses ID's in order or their index AND the ID's are sequential starting from 1 ?> ".i18n($r->division)."\n"; echo "Restart Division Selector"; echo "
"; echo "
"; echo "Close window\n"; } else { if(!$_GET['id']) $id=1; else $id=$_GET['id']; $q=mysql_query("SELECT * FROM projectdivisionsselector WHERE id='$id'"); $r=mysql_fetch_object($q); echo i18n($r->question); echo "
"; echo "
"; echo ""; echo "
"; echo "
\n"; if($r->no_type=="question") echo "no\">\n"; if($r->no_type=="division") echo "no\">\n"; echo ""; echo "
\n"; echo "
"; echo " "; echo "
\n"; if($r->yes_type=="question") echo "yes\">\n"; if($r->yes_type=="division") echo "yes\">\n"; echo ""; echo "
\n"; echo "
"; } echo ""; ?>