echo get_sort($deal["sort"], $deal['id']); ?> </td><td><?php echo get_toogle_status($deal["is_special"], $deal['id'], is_special); ?> </td><td><?php echo get_toogle_status($deal["is_recommend"], $deal['id'], is_recommend); ?> </td><td><?php echo get_toogle_status($deal["is_classic"], $deal['id'], is_classic); ?> </td><td><?php echo get_toogle_status($deal["is_hot"], $deal['id'], is_hot); ?> </td><td class="op_action"><div class="viewOpBox_demo"> <?php echo get_edit($deal["id"], $deal); ?> <a href="javascript: del('<?php echo $deal["id"]; ?> ')">移到回收站</a> <?php echo get_item($deal["id"], $deal); ?> <a href="javascript: pay_log('<?php echo $deal["id"]; ?> ')">发放筹款</a> <a href="javascript: deal_log('<?php echo $deal["id"]; ?> ')">项目日志</a> <?php echo get_refund($deal["id"], $deal);
echo is_ips_bill_no_admin($deal["ips_bill_no"]); ?> </td><td><?php echo get_deal_user($deal["user_id"]); ?> </td><td><?php echo format_price($deal["limit_price"]); ?> </td><td><?php echo $deal["deal_days"]; ?> </td><td><?php echo to_date($deal["create_time"]); ?> </td><td><?php echo get_edit($deal["is_edit"], $deal); ?> </td><td><?php echo get_status($deal["is_effect"]); ?> </td><td class="op_action"><div class="viewOpBox_demo"> <?php echo get_item($deal["id"], $deal); ?> <?php echo get_edit_1($deal["id"], $deal); ?> <a href="javascript: foreverdel('<?php echo $deal["id"]; ?> ')">彻底删除</a> </div><a href="javascript:void(0);" class="opration"><span>操作</span><i></i></a></td></tr><?php }
function getPricingFormula($focus, $field = 'pricing_formula', $value, $view = 'DetailView') { require_once 'modules/ProductTemplates/Formulas.php'; refresh_price_formulas(); if ($view == 'EditView' || $view == 'MassUpdate') { global $app_list_strings; $html = "<select id=\"{$field}\" name=\"{$field}\""; if ($view != 'MassUpdate') { $html .= " language=\"javascript\" onchange=\"show_factor(); set_discount_price(this.form);\""; } $html .= ">"; $html .= get_select_options_with_id($app_list_strings['pricing_formula_dom'], $focus->pricing_formula); $html .= "</select>"; $html .= "<input type=\"hidden\" name=\"pricing_factor\" id=\"pricing_factor\" value=\"1\">"; $formulas = get_formula_details($focus->pricing_factor); $html .= get_edit($formulas, $focus->pricing_formula); return $html; } return get_detail($focus->pricing_formula, $focus->pricing_factor); }