Пример #1
0
                <div class="txxx_info2 m-top">
                    <span class="f_weight float_l m_left9">版本信息:</span>
                    <div class="float_l  back_color m_left12 ">
                        <div class="txxx_info3">
                            <p>  
                                <span class="color_red" id="GoodsNO_id">&nbsp;</span> <span>当前版本:</span>
                                <input type="text" class=" input input3 width250" value="<?php 
    echo date('Y-m-d H:i:s', $data['Version']);
    ?>
">
                            </p>     
                            <p class="m-top">
                                <span class="color_red" id="Pinyin_id">&nbsp;</span> <span>历史版本:</span>
                                <select id="verselect" class='select'>
                                    <?php 
    $Version = DealergoodsService::getgoodsversion($data['ID']);
    foreach ($Version as $Verk => $Verv) {
        if ($data['Version'] == $Verv) {
            echo " <option selected='selected' version='" . $Verv . "' goodsid='" . $data['ID'] . "'>" . date('Y-m-d H:i:s', $Verv) . "</option>";
        } else {
            echo " <option version='" . $Verv . "' goodsid='" . $data['ID'] . "'>" . date('Y-m-d H:i:s', $Verv) . "</option>";
        }
    }
    ?>
                                </select>
                            </p>
                        </div>
                    </div>
                    <div style="clear:both"></div>
                </div>
            <?php 
Пример #2
0
        ?>
                                <p>
                                    <span class=" m_left12">当前版本:</span>
                                    <input type="text" class=" input input3 width250" value="<?php 
        echo date('Y-m-d H:i:s', $data->Version);
        ?>
">
                                </p>
                            <?php 
    }
    ?>
                            <p class="m-top">
                                <span class="m_left12">历史版本:</span>
                                <select id="verselect" class='select' style="font-family: 宋体;">
                                    <?php 
    $Version = DealergoodsService::getgoodsversion($data->ID);
    foreach ($Version as $Verk => $Verv) {
        if ($data->Version == $Verv) {
            echo " <option selected='selected' version='" . $Verv . "' goodsid='" . $data->ID . "'>" . date('Y-m-d H:i:s', $Verv) . "</option>";
        } else {
            echo " <option version='" . $Verv . "' goodsid='" . $data->ID . "'>" . date('Y-m-d H:i:s', $Verv) . "</option>";
        }
    }
    ?>
                                </select>
                            </p>
                        </div>
                    </div>
                    <div style="clear:both"></div>
                </div>
            <?php