コード例 #1
0
ファイル: register.php プロジェクト: Bakyenga/kyengs
                  <td>Phone Number:</td>
                  <td><input name="telephone" type="text" class="textfield" id="telephone"  size="30"/></td>
                  </tr>
                <tr>
                  <td>Date Established:</td>
                  <td colspan="2"><table border="0" cellspacing="0" cellpadding="0">
                      <tr>
                        <td nowrap="nowrap"><select name="startday" id="startday" class="textfield">
                            <?php 
echo get_day_combo('', '', '', 'combo');
?>
                        </select></td>
                        <td nowrap="nowrap">&nbsp;&nbsp;
                            <select name="startmonth" id="startmonth" class="textfield">
                              <?php 
echo get_month_combo('', 'ASC', 'combo');
?>
                            </select>
                          &nbsp;&nbsp;</td>
                        <td nowrap="nowrap"><select name="startyear" id="startyear" class="textfield">
                            <?php 
echo get_year_combo('', 100, 'DESC', 'BACK');
?>
                        </select></td>
                      </tr>
                  </table></td>
                </tr>
                <tr>
                  <td valign="top">Administrator:</td>
                  <td colspan="2"><table width="100%" border="0" cellspacing="3" cellpadding="2" class="darkgreybg" >
                      <tr>
コード例 #2
0
ファイル: trucks.php プロジェクト: Bakyenga/kyengs
    if (isset($trucktire['datebought']) && trim($trucktire['datebought']) != '') {
        $selected_day = date('j', strtotime($trucktire['datebought']));
        $selected_month = date('n', strtotime($trucktire['datebought']));
        $selected_year = date('Y', strtotime($trucktire['datebought']));
    } else {
        $selected_day = '';
        $selected_month = '';
        $selected_year = '';
    }
    echo get_day_combo($selected_day, '', '', 'combo');
    ?>
                        </select></div></td>
                        <td nowrap="nowrap">&nbsp;&nbsp;
                            <select name="startmonth" id="startmonth" class="textfield">
                              <?php 
    echo get_month_combo($selected_month, 'ASC', 'combo');
    ?>
                            </select>
                          &nbsp;&nbsp;</td>
                        <td nowrap="nowrap"><select name="startyear" id="startyear" class="textfield">
                            <?php 
    echo get_year_combo($selected_year, 100, 'DESC', 'BACK');
    ?>
                        </select><?php 
}
?>
</td>
                      </tr>
                  </table><span class="textdescp">Date <?php 
if (isset($_GET['tire_id'])) {
    echo '(YY/MM/DD)';
コード例 #3
0
ファイル: invitebids.php プロジェクト: Bakyenga/kyengs
if (isset($biddetails['delivery_date']) && trim($biddetails['delivery_date']) != '') {
    $delivery_day = date('j', strtotime($biddetails['delivery_date']));
    $delivery_month = date('n', strtotime($biddetails['delivery_date']));
    $delivery_year = date('Y', strtotime($biddetails['delivery_date']));
} else {
    $delivery_day = '';
    $delivery_month = '';
    $delivery_year = '';
}
echo get_day_combo($delivery_day, '', '', 'combo');
?>
                        </select>
                        
                        <select name="deliverymonth" id="deliverymonth" class="textfield">
                              <?php 
echo get_month_combo($delivery_month, 'ASC', 'combo');
?>
                            </select>                        </td>
                            <td><select name="deliveryyear" id="deliveryyear" class="textfield">
                            <?php 
echo get_year_combo($delivery_year, 100, 'DESC', 'BACK');
?>
                        </select></td>
                          </tr>
                        </table></td>
                      <td width="144" align="right" valign="middle"></td>
                      <td colspan="2" align="left" valign="middle">&nbsp;</td>
                    </tr>