• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

PHP gen_build_pull_down函数代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了PHP中gen_build_pull_down函数的典型用法代码示例。如果您正苦于以下问题:PHP gen_build_pull_down函数的具体用法?PHP gen_build_pull_down怎么用?PHP gen_build_pull_down使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。



在下文中一共展示了gen_build_pull_down函数的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的PHP代码示例。

示例1: explode

            $objID = $m . '_' . $j;
            $level_info = explode(':', $price_levels[$i]);
            $price = $level_info[0] ? $level_info[0] : ($i == 0 ? $full_price : 0);
            $qty = $level_info[1] ? $level_info[1] : $j;
            $src = $level_info[2] ? $level_info[2] : 0;
            $adj = $level_info[3] ? $level_info[3] : 0;
            $adj_val = $level_info[4] ? $level_info[4] : '0';
            $rnd = $level_info[5] ? $level_info[5] : 0;
            $rnd_val = $level_info[6] ? $level_info[6] : '0';
            echo '<tr>' . chr(10);
            echo '  <td align="center">' . $j . '</td>' . chr(10);
            echo '  <td>' . html_input_field('qty_' . $objID, $qty, 'size="5" style="text-align:right" onchange="updatePrice(' . $m . ')"') . '</td>' . chr(10);
            echo '  <td>' . html_pull_down_menu('src_' . $objID, gen_build_pull_down($i == 0 ? $first_source_list : $price_mgr_sources), $src, 'onchange="updatePrice(' . $m . ')"') . '</td>' . chr(10);
            echo '  <td>' . html_pull_down_menu('adj_' . $objID, gen_build_pull_down($price_mgr_adjustments), $adj, 'onchange="updatePrice(' . $m . ')"') . '</td>' . chr(10);
            echo '  <td>' . html_input_field('adj_val_' . $objID, $currencies->format($adj_val), 'size="10" style="text-align:right" onchange="updatePrice(' . $m . ')"') . '</td>' . chr(10);
            echo '  <td>' . html_pull_down_menu('rnd_' . $objID, gen_build_pull_down($price_mgr_rounding), $rnd, 'onchange="updatePrice(' . $m . ')"') . '</td>' . chr(10);
            echo '  <td>' . html_input_field('rnd_val_' . $objID, $currencies->precise($rnd_val), 'size="10" style="text-align:right" onchange="updatePrice(' . $m . ')"') . '</td>' . chr(10);
            echo '  <td>' . html_input_field('price_' . $objID, $currencies->precise($price), 'size="11" style="text-align:right" onchange="updatePrice(' . $m . ')"') . '</td>' . chr(10);
            echo '  <td>' . html_input_field('margin_' . $objID, $currencies->precise('0'), 'readonly="readonly" size="6" style="text-align:right"') . '</td>' . chr(10);
            echo '</tr>' . chr(10);
        }
        ?>
		 </tbody>
		</table>
	  </div>
	  <!-- end of tabsets -->
<?php 
        $price_sheets->MoveNext();
        $m++;
    }
    echo '</div>' . chr(10);
开发者ID:siwiwit,项目名称:PhreeBooksERP,代码行数:31,代码来源:template_main.php


示例2: html_input_field

?>
</th>
    </tr>
    <tr>
	  <td align="right"><?php 
echo TEXT_ASSET_ID;
?>
</td>
	  <td><?php 
echo html_input_field('asset_id', $asset_id, 'size="17" maxlength="16"');
?>
</td>
    </tr>
    <tr>
	  <td align="right"><?php 
echo ASSETS_ENTRY_ASSET_TYPE;
?>
</td>
	  <td><?php 
echo html_pull_down_menu('asset_type', gen_build_pull_down($assets_types), isset($asset_type) ? $asset_type : 'vh');
?>
</td>
    </tr>
    <tr>
	  <td nowrap="nowrap" colspan="2"><?php 
echo '&nbsp;';
?>
</td>
    </tr>
  </table>
</form>
开发者ID:siwiwit,项目名称:PhreeBooksERP,代码行数:31,代码来源:template_id.php


示例3: html_pull_down_menu

	  <td class="main" align="right"><?php 
echo INV_ENTRY_INVENTORY_TYPE;
?>
</td>
	  <td class="main"><?php 
echo html_pull_down_menu('inventory_type', gen_build_pull_down($inventory_types), isset($inventory_type) ? $inventory_type : 'si', 'onchange="setSkuLength()"');
?>
</td>
    </tr>
    <tr>
	  <td class="main" align="right"><?php 
echo INV_ENTRY_INVENTORY_COST_METHOD;
?>
</td>
	  <td class="main"><?php 
echo html_pull_down_menu('cost_method', gen_build_pull_down($cost_methods), isset($cost_method) ? $cost_method : 'f');
?>
</td>
	  <script> 
	/* por default, marco la opcion LIFO*/
		$("#cost_method option[value='l']").attr('selected', 'selected');

	/* si al ingresar el sku/codigo de barras, ingresan un enter (a mano o lo hace el lector), 	se ejecutará un submit del formulario para que vaya al siguiente*/
		$("#sku").keydown(function(event) {
			if (event.keyCode == '13') {
			     event.preventDefault();
			     submitToDo('create')
			   }
		});
	  </script>
    </tr>
开发者ID:jigsmaheta,项目名称:puerto-argentino,代码行数:31,代码来源:template_id.php


示例4: html_radio_field

	   </tr>
	   <tr>
		 <td><?php 
    echo html_radio_field('NewType', 'rpt') . TEXT_REPORT . ' ====&gt; ' . RW_RPT_RPTGRP;
    ?>
</td>
		 <td><?php 
    echo html_pull_down_menu('GroupName', gen_build_pull_down($ReportGroups));
    ?>
</td>
	   </tr>
	   <tr>
		 <th colspan="2">&nbsp;</th>
	   </tr>
	   <tr>
		 <td><?php 
    echo html_radio_field('NewType', 'frm') . TEXT_FORM . ' ====&gt; ' . RW_FRM_RPTGRP;
    ?>
</td>
		 <td><?php 
    echo html_pull_down_menu('FormGroup', gen_build_pull_down($FormGroups));
    ?>
</td>
	   </tr>
   <?php 
}
// end if
?>
  </table>
</form>
开发者ID:jigsmaheta,项目名称:puerto-argentino,代码行数:30,代码来源:template_id.php


示例5: html_pull_down_menu

      <td>
	    <?php 
if ($Type == 'frm') {
    if ($FieldListings['defaults']['buttonvalue'] == TEXT_NEW || $FieldListings['defaults']['buttonvalue'] == TEXT_ADD) {
        echo html_pull_down_menu('Params', gen_build_pull_down($FormEntries), $Params['index']);
    } else {
        echo $FormEntries[$Params['index']] . html_hidden_field('Params', $Params['index']);
    }
} else {
    echo html_pull_down_menu('Params', gen_build_pull_down($TotalLevels), $Params['index']);
}
?>
      </td>
	  <?php 
if ($Type != 'frm') {
    echo '<td>' . html_pull_down_menu('Align', gen_build_pull_down($FontAlign), $Params['align']) . '</td>';
}
?>
      <td align = "center">
	    <?php 
if ($FieldListings['defaults']['buttonvalue'] == TEXT_ADD) {
    echo html_icon('actions/list-add.png', TEXT_ADD, 'medium', 'onclick="submitToDo(\'add\')"');
} else {
    echo html_icon('actions/view-refresh.png', TEXT_CHANGE, 'medium', 'onclick="submitToDo(\'change\')"');
}
?>
	  </td>
    </tr>
    <tr><th id="fieldListHeading" colspan="20"><?php 
echo RW_RPT_FLDLIST;
?>
开发者ID:jigsmaheta,项目名称:puerto-argentino,代码行数:31,代码来源:template_field_setup.php


示例6: html_pull_down_menu

	    <td nowrap="nowrap"><?php 
echo TEXT_DEFAULT . ' ' . html_pull_down_menu('shipping_default_dry_ice_checked', $sel_checked, $_POST['shipping_default_dry_ice_checked'] ? $_POST['shipping_default_dry_ice_checked'] : SHIPPING_DEFAULT_DRY_ICE_CHECKED, '');
?>
</td>
	    <td><?php 
echo '&nbsp;';
?>
</td>
	  </tr>
	  <tr>
	    <td><?php 
echo CD_10_60_DESC;
?>
</td>
	    <td><?php 
echo html_pull_down_menu('shipping_default_return_service_show', $sel_show, $_POST['shipping_default_return_service_show'] ? $_POST['shipping_default_return_service_show'] : SHIPPING_DEFAULT_RETURN_SERVICE_SHOW, '');
?>
</td>
	    <td nowrap="nowrap"><?php 
echo TEXT_DEFAULT . ' ' . html_pull_down_menu('shipping_default_return_service_checked', $sel_checked, $_POST['shipping_default_return_service_checked'] ? $_POST['shipping_default_return_service_checked'] : SHIPPING_DEFAULT_RETURN_SERVICE_CHECKED, '');
?>
</td>
	    <td nowrap="nowrap"><?php 
echo TEXT_VALUE . ' ' . html_pull_down_menu('shipping_default_return_service', gen_build_pull_down($shipping_defaults['return_label']), $_POST['shipping_default_return_service'] ? $_POST['shipping_default_return_service'] : SHIPPING_DEFAULT_RETURN_SERVICE, '');
?>
</td>
	  </tr>
  </tbody>
</table>
</div>
开发者ID:siwiwit,项目名称:PhreeBooksERP,代码行数:30,代码来源:template_tab_general.php


示例7: html_pull_down_menu

?>
	  </td>
	  <td align="right" valign="top"><?php 
echo TEXT_REQUESTED_BY;
?>
</td>
	  <td><?php 
echo html_pull_down_menu('requested_by', gen_get_pull_down(TABLE_USERS, true, '1', 'admin_id', 'display_name'), $cInfo->requested_by);
?>
</td>
	  <td align="right"><?php 
echo TEXT_STATUS;
?>
</td>
	  <td><?php 
echo html_pull_down_menu('capa_status', gen_build_pull_down($status_codes), $cInfo->capa_status);
?>
</td>
	</tr>
	<tr>
	  <td align="right"><?php 
echo TEXT_CAPA_ID . ' ' . TEXT_ASSIGNED_BY_SYSTEM;
?>
</td>
	  <td><?php 
echo html_input_field('capa_num', $cInfo->capa_num, 'readonly="readonly"');
?>
 </td>
	  <td align="right"><?php 
echo TEXT_ENTERED_BY;
?>
开发者ID:siwiwit,项目名称:PhreeBooksERP,代码行数:31,代码来源:template_detail.php


示例8: html_pull_down_menu

    <td><?php 
echo html_pull_down_menu('search_gl_acct_from', $gl_array_list, $_SESSION['search_gl_acct_from']);
?>
</td>
    <td><?php 
echo html_pull_down_menu('search_gl_acct_to', $gl_array_list, $_SESSION['search_gl_acct_to']);
?>
</td>
  </tr>
  <tr>
    <td><?php 
echo TEXT_JOURNAL_RECORD_ID;
?>
</td>
    <td><?php 
echo html_pull_down_menu('search_main_id', gen_build_pull_down($choices), $_SESSION['search_main_id'], $params = '');
?>
</td>
    <td><?php 
echo html_input_field('search_main_from', $_SESSION['search_main_from'], $params = '');
?>
</td>
    <td><?php 
echo html_input_field('search_main_to', $_SESSION['search_main_to'], $params = '');
?>
</td>
  </tr>
 </tbody>
</table>
<div style="height:19px"><?php 
echo $query_split->display_count(TEXT_DISPLAY_NUMBER . TEXT_RESULTS);
开发者ID:siwiwit,项目名称:PhreeBooksERP,代码行数:31,代码来源:template_main.php


示例9: build_form_html

 function build_form_html($action, $id = '')
 {
     global $db, $messageStack;
     global $integer_lengths, $decimal_lengths, $check_box_choices;
     $cInfo = '';
     if ($action != 'new') {
         $result = $db->Execute("select id, entry_type, field_name, description, id, params \n\t    from " . TABLE_EXTRA_FIELDS . " where id = '" . $id . "'");
         $params = unserialize($result->fields['params']);
         foreach ($params as $key => $value) {
             $result->fields[$key] = $value;
         }
         $form_array = xtra_field_prep_form($result->fields);
         $cInfo = new objectInfo($form_array);
     }
     // build the tab list
     $tab_list = gen_build_pull_down(xtra_field_get_tabs('assets'));
     array_shift($tab_list);
     if ($action == 'new' && sizeof($tab_list) < 1) {
         $messageStack->add(EXTRA_FIELDS_ERROR_NO_TABS, 'error');
         echo $messageStack->output();
     }
     $output = '<table style="border-collapse:collapse;margin-left:auto; margin-right:auto;">' . chr(10);
     $output .= '  <thead class="ui-widget-header">' . "\n";
     $output .= '  <tr>' . chr(10);
     $output .= '    <th colspan="2">' . ($action == 'new' ? TEXT_NEW_FIELD : TEXT_EDIT_FIELD) . '</th>' . chr(10);
     $output .= '  </tr>' . chr(10);
     $output .= '  </thead>' . "\n";
     $output .= '  <tbody class="ui-widget-content">' . "\n";
     $output .= '  <tr>' . chr(10);
     $output .= '	<td>' . INV_FIELD_NAME . '</td>' . chr(10);
     $output .= '	<td>' . html_input_field('field_name', $cInfo->field_name, 'size="33" maxlength="32"') . '</td>' . chr(10);
     $output .= '  </tr>' . chr(10);
     $output .= '  <tr>' . chr(10);
     $output .= '	<td colspan="2">' . INV_FIELD_NAME_RULES . '</td>' . chr(10);
     $output .= '  </tr>' . chr(10);
     $output .= '  <tr>' . chr(10);
     $output .= '	<td>' . TEXT_DESCRIPTION . '</td>' . chr(10);
     $output .= '	<td>' . html_input_field('description', $cInfo->description, 'size="65" maxlength="64"') . '</td>' . chr(10);
     $output .= '  </tr>' . chr(10);
     $output .= '  <tr>' . chr(10);
     $output .= '	<td>' . INV_CATEGORY_MEMBER . '</td>' . chr(10);
     $output .= '	<td>' . html_pull_down_menu('tab_id', $tab_list, $cInfo->tab_id) . '</td>' . chr(10);
     $output .= '  </tr>' . chr(10);
     $output .= '  <tr class="ui-widget-header">' . chr(10);
     $output .= '	<th colspan="2">' . TEXT_PROPERTIES . '</th>' . chr(10);
     $output .= '  </tr>' . chr(10);
     $output .= '  <tr>' . chr(10);
     $output .= '	<td>';
     $output .= html_radio_field('entry_type', 'text', $cInfo->entry_type == 'text' ? true : false) . '&nbsp;' . INV_LABEL_TEXT_FIELD . '<br />';
     $output .= html_radio_field('entry_type', 'html', $cInfo->entry_type == 'html' ? true : false) . '&nbsp;' . INV_LABEL_HTML_TEXT_FIELD . '</td>' . chr(10);
     $output .= '	<td>' . INV_LABEL_MAX_NUM_CHARS;
     $output .= '<br />' . html_input_field('text_length', $cInfo->text_length ? $cInfo->text_length : DEFAULT_TEXT_LENGTH, 'size="10" maxlength="9"');
     $output .= '<br />' . INV_LABEL_DEFAULT_TEXT_VALUE . '<br />' . INV_LABEL_MAX_255;
     $output .= '<br />' . html_textarea_field('text_default', 35, 6, $cInfo->text_default);
     $output .= '	</td>' . chr(10);
     $output .= '  </tr>' . chr(10);
     $output .= '  <tr>' . chr(10);
     $output .= '	<td>';
     $output .= html_radio_field('entry_type', 'hyperlink', $cInfo->entry_type == 'hyperlink' ? true : false) . '&nbsp;' . INV_LABEL_HYPERLINK . '<br />';
     $output .= html_radio_field('entry_type', 'image_link', $cInfo->entry_type == 'image_link' ? true : false) . '&nbsp;' . INV_LABEL_IMAGE_LINK . '<br />';
     $output .= html_radio_field('entry_type', 'inventory_link', $cInfo->entry_type == 'inventory_link' ? true : false) . '&nbsp;' . INV_LABEL_INVENTORY_LINK;
     $output .= '	</td>' . chr(10);
     $output .= '	<td>' . INV_LABEL_FIXED_255_CHARS;
     $output .= '<br />' . INV_LABEL_DEFAULT_TEXT_VALUE;
     $output .= '<br />' . html_textarea_field('link_default', 35, 3, $cInfo->link_default);
     $output .= '	</td>' . chr(10);
     $output .= '  </tr>' . chr(10);
     $output .= '  <tr>' . chr(10);
     $output .= '	<td>' . html_radio_field('entry_type', 'integer', $cInfo->entry_type == 'integer' ? true : false) . '&nbsp;' . INV_LABEL_INTEGER_FIELD . '</td>' . chr(10);
     $output .= '	<td>' . INV_LABEL_INTEGER_RANGE;
     $output .= '<br />' . html_pull_down_menu('integer_range', gen_build_pull_down($integer_lengths), $cInfo->integer_range);
     $output .= '<br />' . INV_LABEL_DEFAULT_TEXT_VALUE . html_input_field('integer_default', $cInfo->integer_default, 'size="16"');
     $output .= '	</td>' . chr(10);
     $output .= '  </tr>' . chr(10);
     $output .= '  <tr>' . chr(10);
     $output .= '	<td>' . html_radio_field('entry_type', 'decimal', $cInfo->entry_type == 'decimal' ? true : false) . '&nbsp;' . INV_LABEL_DECIMAL_FIELD . '</td>' . chr(10);
     $output .= '	<td>' . INV_LABEL_DECIMAL_RANGE;
     $output .= html_pull_down_menu('decimal_range', gen_build_pull_down($decimal_lengths), $cInfo->decimal_range);
     $output .= '<br />' . INV_LABEL_DEFAULT_DISPLAY_VALUE . html_input_field('decimal_display', $cInfo->decimal_display ? $cInfo->decimal_display : DEFAULT_REAL_DISPLAY_FORMAT, 'size="6" maxlength="5"');
     $output .= '<br />' . INV_LABEL_DEFAULT_TEXT_VALUE . html_input_field('decimal_default', $cInfo->decimal_default, 'size="16"');
     $output .= '	</td>' . chr(10);
     $output .= '  </tr>' . chr(10);
     $output .= '  <tr>' . chr(10);
     $output .= '	<td>';
     $output .= html_radio_field('entry_type', 'drop_down', $cInfo->entry_type == 'drop_down' ? true : false) . '&nbsp;' . INV_LABEL_DROP_DOWN_FIELD . '<br />';
     $output .= html_radio_field('entry_type', 'radio', $cInfo->entry_type == 'radio' ? true : false) . '&nbsp;' . INV_LABEL_RADIO_FIELD;
     $output .= '	</td>' . chr(10);
     $output .= '	<td>' . INV_LABEL_CHOICES . '<br />' . html_textarea_field('radio_default', 35, 6, $cInfo->radio_default) . '</td>' . chr(10);
     $output .= '  </tr>' . chr(10);
     $output .= '  <tr>' . chr(10);
     $output .= '	<td>' . html_radio_field('entry_type', 'check_box', $cInfo->entry_type == 'check_box' ? true : false) . '&nbsp;' . INV_LABEL_CHECK_BOX_FIELD . '</td>' . chr(10);
     $output .= '	<td>' . INV_LABEL_DEFAULT_TEXT_VALUE . html_pull_down_menu('check_box_range', gen_build_pull_down($check_box_choices), $cInfo->check_box_range) . '</td>' . chr(10);
     $output .= '  </tr>' . chr(10);
     $output .= '  <tr>' . chr(10);
     $output .= '	<td>' . html_radio_field('entry_type', 'date', $cInfo->entry_type == 'date' ? true : false) . '&nbsp;' . TEXT_DATE . '</td>' . chr(10);
     $output .= '	<td>&nbsp;</td>' . chr(10);
     $output .= '  </tr>' . chr(10);
     $output .= '  <tr>' . chr(10);
     $output .= '	<td>' . html_radio_field('entry_type', 'time', $cInfo->entry_type == 'time' ? true : false) . '&nbsp;' . TEXT_TIME . '</td>' . chr(10);
     $output .= '	<td>&nbsp;</td>' . chr(10);
//.........这里部分代码省略.........
开发者ID:TrinityComputers,项目名称:PhreeBooksERP,代码行数:101,代码来源:fields.php


示例10: html_checkbox_field

}
?>
		<?php 
if (SHIPPING_DEFAULT_RETURN_SERVICE_SHOW) {
    echo '<tr><td class="dataTableContent">';
    echo html_checkbox_field('return_service', '1', $pkg->return_service);
    echo SHIPPING_TEXT_RETURN_SERVICES;
    echo html_pull_down_menu('return_service_value', gen_build_pull_down($shipping_defaults['return_label']), $pkg->return_service_value, $parameters = '', $required = false);
    echo '</td></tr>';
}
?>
		<?php 
if (defined('SHIPPING_DEFAULT_LTL_CLASS')) {
    echo '<tr><td class="dataTableContent">';
    echo SHIPPING_LTL_FREIGHT_CLASS;
    echo html_pull_down_menu('ltl_class', gen_build_pull_down($ltl_classes), SHIPPING_DEFAULT_LTL_CLASS, $parameters = '', $required = false);
    echo '</td></tr>';
}
?>
	</table></td>
  </tr>
  <tr>
	<td colspan="2">&nbsp;</td>
  </tr>
  <tr>
    <th colspan="2" align="center"><?php 
echo SHIPPING_TEXT_METHODS;
?>
</th>
  </tr>
<?php 
开发者ID:jigsmaheta,项目名称:puerto-argentino,代码行数:31,代码来源:template_main.php


示例11: html_radio_field

    </tr>
    <tr>
      <td align="center">
	    <?php 
echo html_radio_field('Line', '1', $Params['Line'] == '1' ? true : false) . TEXT_STDCOLOR . '<br />';
?>
        <?php 
echo html_pull_down_menu('BrdrColor', $kFontColors, $Params['BrdrColor']);
?>
	  </td>
      <td align="center">
	    <?php 
echo html_radio_field('Line', '2', $Params['Line'] == '2' ? true : false) . TEXT_CUSTCOLOR . '<br />';
echo TEXT_RED . html_input_field('BrdrRed', $Params['BrdrRed'], 'size="4" maxlength="3"');
echo TEXT_GREEN . html_input_field('BrdrGreen', $Params['BrdrGreen'], 'size="4" maxlength="3"');
echo TEXT_BLUE . html_input_field('BrdrBlue', $Params['BrdrBlue'], 'size="4" maxlength="3"');
?>
	  </td>
    </tr>
    <tr>
      <td><?php 
echo RW_RPT_LINEWIDTH;
?>
</td>
      <td><?php 
echo html_pull_down_menu('LineSize', gen_build_pull_down($LineSizes), $Params['LineSize']);
?>
</td>
    </tr>
  </table>
</form>
开发者ID:jigsmaheta,项目名称:puerto-argentino,代码行数:31,代码来源:template_TplFrmLine.php


示例12: html_pull_down_menu

// ********************  end fields tab, start page setup tab **************************
if ($report->reporttype == 'rpt') {
    ?>
<div id="tab_page">
    <table  class="ui-widget" style="border-collapse:collapse;margin-left:auto;margin-right:auto;">
	 <thead class="ui-widget-header">
      <tr><th colspan="8"><?php 
    echo PHREEFORM_PGLAYOUT;
    ?>
</th></tr>
	 </thead>
	 <tbody class="ui-widget-content">
    <tr>
      <td colspan="4" align="center">
        <?php 
    echo TEXT_PAPER . ' ' . html_pull_down_menu('papersize', gen_build_pull_down($PaperSizes), $report->page->size, 'onchange="calculateWidth()"');
    ?>
      </td>
      <td colspan="4" align="center">
	  	<?php 
    echo TEXT_ORIEN . ' ' . html_radio_field('paperorientation', 'P', $report->page->orientation == 'P' ? true : false, '', 'onchange="calculateWidth()"') . ' ' . TEXT_PORTRAIT;
    ?>
	  	<?php 
    echo ' ' . html_radio_field('paperorientation', 'L', $report->page->orientation == 'L' ? true : false, '', 'onchange="calculateWidth()"') . '  ' . TEXT_LANDSCAPE;
    ?>
	  </td>
    </tr>
    <tr  class="ui-widget-header"><th colspan="8"><?php 
    echo PHREEFORM_PGMARGIN;
    ?>
</th></tr>
开发者ID:siwiwit,项目名称:PhreeBooksERP,代码行数:31,代码来源:template_main.php


示例13: html_input_field

	  cell[0] += '<?php 
echo html_input_field('fld_wid[]', '', 'size="6" maxlength="4"');
?>
';
	  cell[0] += '<?php 
echo html_input_field('fld_hgt[]', '', 'size="6" maxlength="4"');
?>
';
	  if (document.getElementById('serialform') && document.getElementById('serialform').checked) {
	    cell[0] += '<?php 
echo str_replace("'", "\\'", html_pull_down_menu('fld_brk[]', $nyChoice, '1', ''));
?>
';
	  }
	  temp     = '<?php 
echo str_replace("'", "\\'", html_pull_down_menu('fld_type_row_TBD', gen_build_pull_down($FormEntries), '', 'onchange="boxLoad(this.value, row_TBD)"'));
?>
';
	  temp    += '<?php 
echo html_hidden_field('row_id[]', 'row_TBD');
?>
';
	  temp    += '<?php 
echo '&nbsp;' . str_replace("'", "\\'", html_icon('actions/view-fullscreen.png', TEXT_MOVE, 'small', 'style="cursor:move"', '', '', 'move_fld_row_TBD')) . '&nbsp;';
?>
';
	  temp    += '<?php 
echo str_replace("'", "\\'", html_icon('emblems/emblem-unreadable.png', TEXT_DELETE, 'small', 'onclick="if (confirm(\'' . TEXT_DELETE_ENTRY . '\')) $(this).parent().parent().remove();"')) . '&nbsp;';
?>
';
	  temp    += '<?php 
开发者ID:TrinityComputers,项目名称:PhreeBooksERP,代码行数:31,代码来源:js_include.php


示例14: html_pull_down_menu

echo TEXT_QA_INIT;
?>
</td>
	<td><?php 
echo html_pull_down_menu('qa', $yes_no_array, $qa);
?>
</td>
  </tr>
  <tr>
	<td align="right"><?php 
echo TEXT_TASK_TIME;
?>
</td>
	<td><?php 
echo html_input_field('job_time', $job_time, 'size="10" maxlength="10"');
echo html_pull_down_menu('job_unit', gen_build_pull_down($job_units), $job_unit ? $job_unit : '1');
?>
	</td>
	<td align="right"><?php 
echo TEXT_DATA_ENTRY;
?>
</td>
	<td><?php 
echo html_pull_down_menu('data_entry', $yes_no_array, $data_entry);
?>
</td>
  </tr>
  <tr>
	<td colspan="2"><?php 
echo '&nbsp;';
?>
开发者ID:TrinityComputers,项目名称:PhreeBooksERP,代码行数:31,代码来源:template_main.php


示例15: build_form_html

 function build_form_html($action, $id = '')
 {
     global $db, $project_cost_types;
     $sql = "select description_short, description_long, cost_type, cost_breakdown, inactive \r\n\t    from " . $this->db_table . " where phase_id = '" . $id . "'";
     $result = $db->Execute($sql);
     $cInfo = new objectInfo($result->fields);
     $output = '<table border="0" width="100%" cellspacing="0" cellpadding="1">' . chr(10);
     $output .= '  <tr class="dataTableHeadingRow">' . chr(10);
     $output .= '    <th colspan="2">' . ($action == 'new' ? SETUP_INFO_HEADING_NEW_PROJECT_PHASES : SETUP_INFO_HEADING_EDIT_PROJECT_PHASES) . '</th>' . chr(10);
     $output .= '  </tr>' . chr(10);
     $output .= '  <tr class="dataTableRow">' . chr(10);
     $output .= '    <td colspan="2">' . ($action == 'new' ? SETUP_PROJECT_PHASES_INSERT_INTRO : SETUP_PROJECT_PHASES_EDIT_INTRO) . '</td>' . chr(10);
     $output .= '  </tr>' . chr(10);
     $output .= '  <tr class="dataTableRow">' . chr(10);
     $output .= '    <td>' . SETUP_INFO_DESC_SHORT . '</td>' . chr(10);
     $output .= '    <td>' . html_input_field('description_short', $cInfo->description_short, 'size="17" maxlength="16"') . '</td>' . chr(10);
     $output .= '  </tr>' . chr(10);
     $output .= '  <tr class="dataTableRow">' . chr(10);
     $output .= '    <td>' . SETUP_INFO_DESC_LONG . '</td>' . chr(10);
     $output .= '    <td>' . html_input_field('description_long', $cInfo->description_long, 'size="50" maxlength="64"') . '</td>' . chr(10);
     $output .= '  </tr>' . chr(10);
     $output .= '  <tr class="dataTableRow">' . chr(10);
     $output .= '    <td>' . SETUP_INFO_COST_TYPE . '</td>' . chr(10);
     $output .= '    <td>' . html_pull_down_menu('cost_type', gen_build_pull_down($project_cost_types), $cInfo->cost_type) . '</td>' . chr(10);
     $output .= '  </tr>' . chr(10);
     $output .= '  <tr class="dataTableRow">' . chr(10);
     $output .= '    <td>' . SETUP_INFO_COST_BREAKDOWN . '</td>' . chr(10);
     $output .= '    <td>' . html_checkbox_field('cost_breakdown', '', $cInfo->cost_breakdown) . '</td>' . chr(10);
     $output .= '  </tr>' . chr(10);
     $output .= '  <tr class="dataTableRow">' . chr(10);
     $output .= '    <td>' . TEXT_INACTIVE . '</td>' . chr(10);
     $output .= '    <td>' . html_checkbox_field('inactive', '1', $cInfo->inactive ? true : false) . '</td>' . chr(10);
     $output .= '  </tr>' . chr(10);
     $output .= '</table>' . chr(10);
     return $output;
 }
开发者ID:jigsmaheta,项目名称:puerto-argentino,代码行数:36,代码来源:project_phases.php


示例16: html_input_field

		<td><?php 
echo SHIPPING_TEXT_REFERENCE_ID;
?>
</td>
		<td><?php 
echo html_input_field('purchase_invoice_id', $sInfo->purchase_invoice_id);
?>
</td>
	</tr>
	<tr>
		<td><?php 
echo SHIPPING_SERVICE_TYPE;
?>
</td>
		<td><?php 
echo html_pull_down_menu('ship_method', gen_build_pull_down($shipping_methods), $sInfo->ship_method);
?>
</td>
	</tr>
	<tr>
		<td><?php 
echo SHIPPING_TEXT_SHIPMENT_DATE;
?>
</td>
		<td><?php 
echo html_calendar_field($cal_ship);
?>
</td>
	</tr>
	<tr>
		<td><?php 
开发者ID:siwiwit,项目名称:PhreeBooksERP,代码行数:31,代码来源:template_main.php


示例17: get_report_details

}
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);
$xml .= xmlEntry("rowID", $rowID);
$xml .= xmlEntry("html", $output);
//$xml .= xmlEntry("debug", 'sizeof kFields= ' . sizeof($kFields) . ' and rowID = ' . $rowID);
$xml .= xmlEntry("message", 'Success type = ' . $type . ' and html length = ' . strlen($output));
echo createXmlHeader() . $xml . createXmlFooter();
die;
开发者ID:siwiwit,项目名称:PhreeBooksERP,代码行数:31,代码来源:box_load.php


示例18: html_pull_down_menu

<div id="cat_page" class="tabset_content">
  <h2 class="tabset_label"><?php 
echo TEXT_PAGE_SETUP;
?>
</h2>

  <table align="center" border="2" cellspacing="1" cellpadding="1">
    <tr><th colspan="8"><?php 
echo RW_RPT_PGLAYOUT;
?>
</th></tr>
    <tr>
      <td colspan="4" align="center">
        <?php 
echo TEXT_PAPER . ' ' . html_pull_down_menu('papersize', gen_build_pull_down($PaperSizes), $Prefs['papersize'], 'onchange="calculateWidth()"');
?>
      </td>
      <td colspan="4" align="center">
	  	<?php 
echo TEXT_ORIEN . ' ' . html_radio_field('paperorientation', 'P', $Prefs['paperorientation'] == 'P' ? true : false, '', 'onchange="calculateWidth()"') . ' ' . TEXT_PORTRAIT;
?>
	  	<?php 
echo ' ' . html_radio_field('paperorientation', 'L', $Prefs['paperorientation'] == 'L' ? true : false, '', 'onchange="calculateWidth()"') . '  ' . TEXT_LANDSCAPE;
?>
	  </td>
    </tr>
    <tr><th colspan="8"><?php 
echo RW_RPT_PGMARGIN;
?>
</th></tr>
开发者ID:jigsmaheta,项目名称:puerto-argentino,代码行数:30,代码来源:template_filter.php


示例19: constant

echo constant('ACT_' . strtoupper($type) . '_SHORT_NAME') . ($cInfo->auto_type == false ? '' : ' ' . ACT_ID_AUTO_FILL);
?>
</td>
        <td><?php 
echo html_input_field('short_name', $cInfo->short_name, 'size="21" maxlength="20"', $cInfo->auto_type == false ? true : false);
?>
</td>
<?php 
if ($type == 'c') {
    ?>
        <td align="right"><?php 
    echo CONTACT_LEVEL;
    ?>
</td>
        <td><?php 
    echo html_pull_down_menu('contacts_level', gen_build_pull_down($contacts_levels), $cInfo->contacts_level ? $cInfo->contacts_level : '0');
    ?>
</td>
        <td align="right"><?php 
    echo constant('ACT_' . strtoupper($type) . '_REP_ID');
    ?>
</td>
        <td><?php 
    echo html_pull_down_menu('dept_rep_id', $sales_rep_array, $cInfo->dept_rep_id ? $cInfo->dept_rep_id : 'r');
    ?>
</td>
<?php 
} else {
    ?>
        <td align="right"><?php 
    echo constant('ACT_' . strtoupper($type) . '_REP_ID');
开发者ID:siwiwit,项目名称:PhreeBooksERP,代码行数:31,代码来源:template_general.php


示例20: html_pull_down_menu

      <td><?php 
echo TEXT_FONT;
?>
</td>
      <td><?php 
echo html_pull_down_menu('Font', gen_build_pull_down($Fonts), $Params['Font']);
?>
</td>
    </tr>
	<tr>
      <td><?php 
echo TEXT_SIZE;
?>
</td>
      <td><?php 
echo html_pull_down_menu('FontSize', gen_build_pull_down($FontSizes), $Params['FontSize']);
?>
</td>
    </tr>
	<tr>
      <td align="center">
	    <?php 
echo html_radio_field('Color', '1', $Params['Color'] == '1' || $Params['Color'] == '' ? true : false) . TEXT_STDCOLOR . '<br />';
?>
        <?php 
echo html_pull_down_menu('FontColor', $kFontColors, $Params['FontColor']);
?>
      </td>
      <td nowrap="nowrap" align="center">
	    <?php 
echo html_radio_field('Color', '2', $Params['Color'] == '2' ? true : false) . TEXT_CUSTCOLOR . '<br />';
开发者ID:jigsmaheta,项目名称:puerto-argentino,代码行数:31,代码来源:template_TplFrmBarCode.php



注:本文中的gen_build_pull_down函数示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
PHP gen_client_menu函数代码示例发布时间:2022-05-15
下一篇:
PHP gen_admin_menu函数代码示例发布时间:2022-05-15
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap