Exemple #1
0
                        <div class="col-xs-2" style="margin-top:10px">
                            <select class="form-control" name="reg_year">
                                <?php 
//                                $data = date("Y");
for ($i = date("Y"); $i >= 2015; $i--) {
    echo "<option value='{$i}'>{$i} </option>";
}
?>
                            </select>
                        </div>
                        <div class="col-xs-2" style="margin-top:10px">
                            running number
                        </div>
                        <div class="col-xs-1" style="margin-left:0px;">
                            <input type="text" class="form-control" autofocus name="runnum" value="<?php 
echo get_running_number($id);
?>
" >
                        </div>
                        <div class="col-xs-2 " style="margin-top:0" id="notPrint">
                            <a class="btn btn-material-teal" role="button" style="margin-top: 0px" onclick="javascript:window.open('../../print/edit.php?id=<?php 
echo $id;
?>
', '', 'nenuber=no,toorlbar=no,location=no,scrollbars=no, status=no,resizable=no,width=800,height=650,top=0,left=150 ')"><i class="mdi-action-print"></i>พิมพ์</a>
                        </div>
                    </div>

                    <div class="row">
                        <div class="col-xs-2">
                            <img id="output"
                            <?php 
Exemple #2
0
         $chinahouse_province_string = '';
     } else {
         $chinahouse_provinces = get_china($chinahouse['CHINAHOUSE_PROVINCE_ID']);
         $chinahouse_province = mysql_fetch_assoc($chinahouse_provinces);
         $chinahouse_province_string = $chinahouse_province['CHINA_STR'] . '/' . $chinahouse_province['CHINA_TH'];
     }
 } else {
     $chinahouse_name = '';
     $chinahouse_tel = '';
     $chinahouse_village_string = '';
     $chinahouse_district_string = '';
     $chinahouse_amphur_string = '';
     $chinahouse_province_string = '';
     $chinahouse_link = '';
 }
 $runnum = get_running_number($id);
 ?>
                 <br/>
                 <br/>
                 <div class="row">
                     <div class="col-xs-1">
                         <?php 
 echo $id;
 ?>
                     </div>
                     <div class="col-xs-3">
                         <?php 
 echo get_person_title_string($person['TITLE_ID']) . ' ' . get_person_name_string($id) . ' ' . get_person_surname_string($id);
 ?>
                     </div>
                     <div class="col-xs-2">