<input type="hidden" value="<?php 
echo $commonName->id;
?>
" name="commonNameId">
    <input type="hidden" value="<?php 
echo $commonName->name;
?>
" name="commonNameName" id="commonNameName">
    <input type="hidden" value="<?php 
echo $type;
?>
" name="type">
    <div class="operate_area_title">关系管理界面</div>
    <div style="float:left;color:red;font-size:25px;margin-left:20px; margin-top:10px; "><span>请谨慎操作药物的关联关系</span></div>
    <div class="category">所处级别:<span>通用名(<?php 
echo OneLevelCategory::medicineDef()[$type];
?>
)</span></div>
    <div class="category-title">
    <div id="commonNameNameDiv" style="width:100%;height:100%;" value="<?php 
echo $commonName->name;
?>
" ondblclick="modifyCommonNameName(this)"><?php 
echo $commonName->name;
?>
 </div>
    </div>
    <div class="category-button"><input type="button" id="deleteCategory" value="删除" ></div>
    <?php 
if (false == $commonName->isNull()) {
    ?>
Example #2
0
echo $inspector->realname;
?>
</p>
        <p class="f14 pl20  pr20  pt5">
            <input type="button" style="width:80px" id="addWesternMedicine" value="添加西药">
            <input type="button" style="width:80px;margin-left:40px" id="addChineseMedicine" value="添加中成药">
        </p>
    </div> <form action="showdrug" method="post">
</div>
<div class="borderDiv detail-module">
    <div class="operate_area_title">药品查询展示</div>
    <div class="clearfix searchBox">
        <span class="searchSpan">中西药分类:
            <select name="type" id="categoryType" onchange="ajaxsearch4onelevel()"/>
            <?php 
foreach (OneLevelCategory::medicineDef() as $key => $value) {
    $selected = $key == $type ? "selected" : "";
    ?>
            <option value=<?php 
    echo $key;
    ?>
 <?php 
    echo $selected;
    ?>
><?php 
    echo $value;
    ?>
</option>
            <?php 
}
?>