$sid = _addslashes($_SESSION['survey_id']); $sql = "SELECT COUNT(*) FROM ".$GLOBALS['ESPCONFIG']['question_table']." WHERE survey_id=${sid} AND deleted='N' AND type_id='99'"; $result = execute_sql($sql); $num_sections = 1 + $result->fields[0]; db_close($result); if(empty($_POST['section'])) $_POST['section']=1; ?> Finish at the bottom of this page.')); ?> 1) { ?>
:
0) { list($css_file) = fetch_row($result); db_close($result); echo("\n"); } } ?>
1) { # echo(' '); # } # echo (' '); # } # if($_POST['section'] != $num_sections) { # echo(' '); # } else { # echo(''); # } ?>