include "edit_header.php"; require_once '../common.inc.php'; $dingdan_id = $_REQUEST['did']; $jindu_id = $_REQUEST['jdid']; $com_name = get_com_name($dingdan_id); ?> <body > <center> <b><?php echo $com_name; ?> </b> <BR> <?php $rs_jindu = get_jindu($dingdan_id); //获取进度资料 if (isset($_POST['submit'])) { $jindu_hetong = trim($_POST['jindu_hetong']); $jindu_didan = trim($_POST['jindu_didan']); $jindu_fukuan = trim($_POST['jindu_fukuan']); $jindu_fahuo = trim($_POST['jindu_fahuo']); $jindu_fapiao = trim($_POST['jindu_fapiao']); $jindu_jiedan = trim($_POST['jindu_jiedan']); $jindu_id = $_REQUEST['jdid']; $dingdan_id = $_REQUEST['did']; if ($jindu_id) { $DB->db_query('UPDATE dingdan_jindu SET JD_HETONG="' . $jindu_hetong . '",JD_DIDAN="' . $jindu_didan . '" ,JD_FUKUAN="' . $jindu_fukuan . '",JD_FAHUO="' . $jindu_fahuo . '" ,JD_FAPIAO="' . $jindu_fapiao . '" , JD_JIEDAN="' . $jindu_jiedan . '" WHERE JD_ID=' . $jindu_id . ' and JD_DD_ID =' . $dingdan_id); echo "修改ok!<br>"; fowor_reload(); return false;
echo 'no,<a href="#">ADD</a>'; } break; case 'showlxr': if ($id) { $row_lxr = get_lxr($id); //获取联系人资料 $smarty->assign("lxr", $row_lxr); $smarty->display('show_lxr.tpl'); } else { echo 'no,<a href="#">ADD</a>'; } break; case 'showjd': if ($id) { $row_jd = get_jindu($id); //获取进度 $smarty->assign("jd", $row_jd); $smarty->display('show_jd.tpl'); } else { echo 'no,<a href="#">ADD</a>'; } break; case 'showbz': if ($id) { $row_bz = get_beizhu($id); //获取备注资料 $smarty->assign("beizhu", $row_bz); $smarty->display('show_bz.tpl'); } else { echo 'no,<a href="#">ADD</a>';