Пример #1
0
    <fieldset class="maintform">
      <legend><?php 
echo $id ? 'Id: ' . $id : 'Add a Lot';
?>
</legend>
      <ul>
        <li><label for="lot_name" class="required">Lot Name</label><br />
          <input type="text" name="lot_name" id="lot_name" class="required" 
            value="<?php 
echo $item->getLot_name();
?>
" /></li>
        <li><label for="lot_description">Lot Description</label><br />
          <textarea rows="5" cols="60" name="lot_description" 
            id="lot_description"><?php 
echo $item->getLot_description();
?>
</textarea></li>
        <li><label for="lot_image" >Lot Image File</label><br />
          <input type="text" name="lot_image" id="lot_image" 
          value="<?php 
echo $item->getLot_image();
?>
" /></li>
        <li><label for="lot_number">Lot Number</label><br />
          <input type="text" name="lot_number" id="lot_number" 
            value="<?php 
echo $item->getLot_number();
?>
" /></li>
        <li><label for="lot_price" >Lot Price</label><br />
Пример #2
0
    <fieldset class="maintform">
      <legend><?php 
echo $id ? 'Id: ' . $id : 'Add a Lot';
?>
</legend>
      <ul>
        <li><label for="lot_name" class="required">Lot Name</label><br />
          <input type="text" name="lot_name" id="lot_name" class="required" 
            value="<?php 
echo htmlspecialchars($item->getLot_name());
?>
" /></li>
        <li><label for="lot_description">Lot Description</label><br />
          <textarea rows="5" cols="60" name="lot_description" 
            id="lot_description"><?php 
echo htmlspecialchars($item->getLot_description());
?>
</textarea></li>
        <li><label for="lot_image" >Lot Image File</label><br />
          <input type="text" name="lot_image" id="lot_image" 
          value="<?php 
echo htmlspecialchars($item->getLot_image());
?>
" /></li>
        <li><label for="lot_number">Lot Number</label><br />
          <input type="text" name="lot_number" id="lot_number" 
            value="<?php 
echo (int) $item->getLot_number();
?>
" /></li>
        <li><label for="lot_price" >Lot Price</label><br />