日期:2014-05-16 浏览次数:20499 次
<?php
$options=array('1'=>'Male','2'=>'Female');
$GLOBALS['pay_method_strings']['pay_interval_list']=array (
'' => '',
'1' => '月结',
'2' => '季度结',
'3' => '年结',
'4' => '其它',
);
$GLOBALS['app_list_strings']['type_list']=array (
'1' => '国有企业',
'2' => '事业单位',
'3' => '部队单位',
'4' => '私营企业',
'5' => '外资企业',
'6'=>'合资企业',
);
$GLOBALS['app_list_strings']['size_list']=array (
'' => '',
'1' => '100以下',
'2' => '100——500',
'3' => '500——1000',
'4' => '1000——2000',
'5' => '2000——3000',
'6' => '3000——4000',
'7' => '4000——5000',
'8' => '5000——10000',
'9' => '10000以上',
);
$GLOBALS['app_list_strings']['source_list']=array (
'' => '',
'1' => '陌生拜访',
'2' => '收购',
'3' => '公司拓展',
'4' => '代理商',
'5' => '百度',
'6'=>'集客部',
'7'=>'客户口碑',
);
$GLOBALS['app_list_strings']['status_list']=array (
'' => '',
'1' => '意向中',
'2' => '已放弃',
'3' => '试用',
'4' => '运营中',
'5' => '中止',
'6'=>'到期停止',
);
$GLOBALS['app_list_strings']['contract_status_list']=array (
'' => '',
'1' => '有',
'2' => '无',
'3' => '报备单',
);
$GLOBALS['app_list_strings']['pay_method_list']=array (
'' => '',
'1' => '现金',
'2' => '支票',
'3' => '转账(电汇)',
'4' => '其他',
);
$GLOBALS['app_list_strings']['pay_with_card_list']=array (
'' => '',
'0' => '不支持',
'1' => '企业工卡',
'2' => '其他卡',
);
?>
<div class="customers form">
<style >
.inputCSS{
float: left;
width: 250px;
size: 15px;
}
.inputRequired{
float: left;
width: 250px;
size: 15px;
}
.selectRequired
{ float: left;
width: 260px;
height: 30px;
}
.selectCSS{
float: left;
width: 260px;
height: 30px;
}
.lablediv{
float: left;
width: 400px;
}
.div{
border: 1px red solid;
}
.textareaCSS
{
cols:35;
}
.Messageerror {
background: transparent url(images/unchecked.gif) no-repeat scroll 0 0;
padding-left: 16px;
padding-bottom: 2px;
font-weight: bold;
color: #EA5200;
}
.inputerror { border: 1px solid red; }
.inputtable tr td div
{
padding:0px;
margin:0px;
}
.inputtable tr td p
{
padding:0px;
margin:0px;
}
.inputtable tr td{
vertical-align:middle
}
</style>
<?php echo $this->Form->create('Customer',array('onsubmit'=>'return submitValidate()')); ?>
<fieldset style=" border: 1px red solid;">
<legend><?php echo __('编辑客户');
echo $this->Form->input('id'); ?></legend>
<table class="inputtable">
<tr>
<td style="vertical-align:middle" >
合作方名称<font color="red">*</font>:
</td>
<td>
<?php echo $this->Form->input('name', array('class' => 'inputRequired', 'label' => false)); ?>
</td>
&l