示例#1
0
$rowID = $_GET['rowID'];
$rID = $_GET['rID'];
$type = $_GET['type'] ? $_GET['type'] : '';
if (!isset($_GET['rowID'])) {
    echo createXmlHeader() . xmlEntry('error', 'Row ID was not passed!') . createXmlFooter();
    die;
}
if ($rID) {
    $report = get_report_details($rID);
}
$kFonts = gen_build_pull_down($Fonts);
$kFontSizes = gen_build_pull_down($FontSizes);
$kLineSizes = gen_build_pull_down($LineSizes);
$kFontColors = gen_build_pull_down($FontColors);
$kFontAlign = gen_build_pull_down($FontAlign);
$cFields = CreateCompanyArray();
$fFields = crit_build_pull_down($CritChoices);
$kFields = CreateSpecialDropDown($report);
$kTblFields = CreateFieldTblDropDown($report);
$kTables = CreateTableList($report);
$nyChoice = gen_build_pull_down($NoYesChoice);
$pFields = gen_build_pull_down($FormProcessing);
$tProcessing = gen_build_pull_down($TextProcessing);
if (!$type) {
    // use the first type of the FormEntries array since it will be shown first with a new line
    $temp = array_keys($FormEntries);
    $type = array_shift($temp);
}
$properties = new objectInfo();
$properties->type = $type;
$output = box_build($properties, $rowID);
?>
<h2 align="center"><?php 
echo TEXT_FORM_FIELD . $DisplayName . ' - ' . TEXT_PROPERTIES;
?>
</h2>
  <table align="center" border="2" cellspacing="1" cellpadding="1">
    <tr>
      <th colspan="2"><?php 
echo RW_RPT_TBLFNAME;
?>
</th>
    </tr>
    <tr>
      <td colspan="2" align="center">
	    <?php 
echo html_pull_down_menu('DataField', CreateCompanyArray(), $Params['DataField']);
?>
	  </td>
    </tr>
    <tr>
      <th colspan="2" align="center"><?php 
echo RW_RPT_STARTPOS;
?>
</th>
    </tr>
    <tr>
      <td align="center">
	    <?php 
echo TEXT_ABSCISSA . html_input_field('LineXStrt', !$Params['LineXStrt'] ? '10' : $Params['LineXStrt'], 'size="4" maxlength="3"');
?>
      </td>