Пример #1
0
                        <div class="col-lg-10">
                            <select class="form-control" name="training_type" id="training_type">
                                <option value=""<?php 
    option_select('', $row->training_type);
    ?>
>---- Select Training ----</option>
                                <option value="postdoc"<?php 
    option_select('postdoc', $row->training_type);
    ?>
>Postdoctoral Training</option>
                                <option value="short"<?php 
    option_select('short', $row->training_type);
    ?>
>Research Training : Short Term (<3 months)</option>
                                <option value="long"<?php 
    option_select('long', $row->training_type);
    ?>
>Research Training : Long Term (>3 months)</option>
                            </select>
                        </div>
                    </div>

                    <div class="form-group">
                        <label for="institute" class="col-lg-2 control-label">Institute<span style="color: red;">**</span></label>
                        <div class="col-lg-10">
                            <input type="text" class="form-control" name="institute" id="institute" required value="<?php 
    echo $row->institute;
    ?>
">
                        </div>
                    </div>
Пример #2
0
?>
'/>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-md-3 control-label">分公司</label>
                    <div class="col-md-4">
                        <select name="profile[branch_id]" class="form-control">
                            <?php 
foreach ($branches as $key => $value) {
    ?>
                                <option value="<?php 
    echo $value['id'];
    ?>
" <?php 
    echo option_select($value['id'], $profile->branch_id);
    ?>
 ><?php 
    echo $value['branch_name'];
    ?>
</option>
                            <?php 
}
?>
                        </select>
                    </div>
                </div>
            </div>
            <div class="form-actions fluid">
                <div class="col-md-offset-3 col-md-9">
                    <input type='submit' class="btn blue btn-lg" value='保存'/>
Пример #3
0
                                <div class="input-group">
                                    <select name="pm_time_interval" class="form-control">
                                        <option <?php 
option_select(6, $config['pm_time_interval']);
?>
 value="6">6</option>
                                        <option <?php 
option_select(15, $config['pm_time_interval']);
?>
 value="15">15</option>
                                        <option <?php 
option_select(20, $config['pm_time_interval']);
?>
 value="20">20</option>
                                        <option <?php 
option_select(30, $config['pm_time_interval']);
?>
 value="30">30</option>
                                    </select>
                                    <span class="input-group-addon">分钟</span>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="form-actions fluid">
                        <div class="row">
                            <div class="col-md-12">
                                <div class="col-md-offset-3 col-md-9">
                                    <button onclick="editsave()" id="btn_sub" class="btn green" type="button"><i class="icon-ok"></i> 保存</button>
                                </div>
                            </div>
Пример #4
0
                            <label for="country" class="col-lg-2 control-label">ประเทศ<span style="color: red;">**</span></label>
                            <div class="col-lg-10">
                                <?php 
    include 'country_array.php';
    ?>
                                <select class="form-control" name="country" id="country" required>
                                    <option value="">---- Select Country ----</option>
                                    <?php 
    foreach ($country as $key => $value) {
        ?>
                                    
                                        <option value="<?php 
        echo $value;
        ?>
"<?php 
        echo option_select($value, $row->country);
        ?>
><?php 
        echo $value;
        ?>
</option>
                                    <?php 
    }
    ?>
                                </select>
                            </div>
                        </div>

                        <div class="form-group">
                            <label for="thesis_title" class="col-lg-2 control-label">หัวข้อวิทยานิพนธ์</label>
                            <div class="col-lg-10">
Пример #5
0
                                        <div class="form-group">
                                            <label for="exampleInputEmail1">ประเทศ (country)<span style="color: red;">**</span></label>
                                            <?php 
            include 'country_array.php';
            ?>
                                            <select class="form-control" name="country" id="country" required>
                                                <option value="">---- Select Country ----</option>
                                                <?php 
            foreach ($country as $key => $value) {
                ?>
                                    
                                                    <option value="<?php 
                echo $value;
                ?>
"<?php 
                echo option_select($value, $edu->country);
                ?>
><?php 
                echo $value;
                ?>
</option>
                                                <?php 
            }
            ?>
                                            </select>
                                        </div>

                                        <div class="form-group">
                                            <label for="">Thesis / Dissertation title</label>                                         
                                            <textarea class="form-control" name="thesis_title" rows="2" id="thesis_title"><?php 
            echo $edu->thesis_title;
Пример #6
0
        echo $value;
        ?>
</option>
                            <?php 
    }
    ?>

                            <option disabled>Geophysics, Astronomy, Astrophysics</option>
                            <?php 
    foreach ($expertise['Geophysics, Astronomy, Astrophysics'] as $value) {
        ?>
                                <option value="<?php 
        echo $value;
        ?>
"<?php 
        option_select($value, $r->topic);
        ?>
>&nbsp; &nbsp; <?php 
        echo $value;
        ?>
</option>
                            <?php 
    }
    ?>

                        </select>
                    </div>
                    <div class="form-group">
                        <label for="specific_topic">Specific</label>                        
                        <input class="form-control" type="text" name="specific_topic" id="specific_topic" value="<?php 
    echo $r->specific_topic;