Exemplo n.º 1
0
		                	{
		                		$femaleCheckedStr = "checked";
		                	}
		                }
		                ?>
                        <div class="fl">
                        <input type="radio" name="patient[sex]" value="1" <?=$manCheckedStr?>/> 男
                        <input type="radio" name="patient[sex]" value="0" <?=$femaleCheckedStr?>/> 女
                        <em class="red">*</em>
                        </div>
                    </div>

                    <div class="clearfix mt10">
                        <div class="fl w150 tr">患者出生日期:</div>
			            <?php $birthdayArr = explode('-', $followupCustomer->birthday);?>
			            <?php if(false == XString::isMatchDateFormat($followupCustomer->birthday) || $followupCustomer->isNull() || empty($followupCustomer->birthday)){$birthdayArr[0] = 0; $birthdayArr[1] = 0; $birthdayArr[2] = 0 ;}?>
                        <div class="fl">
                            <select name="dateyear" id="dateyear"
					        onchange="changedate('dateyear','datemonth','dateday');"
					        class="display_tip" defMSG="succ" check_function="check_dateyear">
                            <option value="">请选择...</option>
                            </select> 年
                            <select name="datemonth" id="datemonth"
				        	onchange="changedate('dateyear','datemonth','dateday');"
					        class="display_tip" defMSG="succ" check_function="check_datemonth">
                            <option value="">请选择...</option>
                            </select> 月
                            <select name="dateday" id="dateday" class="display_tip"
					        defMSG="succ" check_function="check_dateday">
                            <option value="">请选择...</option>
                            </select> 日 <em class="red">*</em>