当前位置: 首页>>代码示例>>PHP>>正文


PHP get_required_field_wrap函数代码示例

本文整理汇总了PHP中get_required_field_wrap函数的典型用法代码示例。如果您正苦于以下问题:PHP get_required_field_wrap函数的具体用法?PHP get_required_field_wrap怎么用?PHP get_required_field_wrap使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。


在下文中一共展示了get_required_field_wrap函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: get_required_field_wrap

        echo "<span class='viewtext'>" . $formdata['isbnnumber'] . "</span>";
    } else {
        echo "<span class='viewtext'><i>No ISBN</i></span>";
    }
} else {
    echo get_required_field_wrap($requiredfields, 'isbnnumber');
    ?>

							<input type="text" name="isbnnumber" id="isbnnumber" class="textfield" size="30" value="<?php 
    if (!empty($formdata['isbnnumber'])) {
        echo $formdata['isbnnumber'];
    }
    ?>
"/>
							<?php 
    echo get_required_field_wrap($requiredfields, 'isbnnumber', 'end');
}
?>

                      	<br />
                        <a href="javascript:void(0);" class="tooltip">
                        	<img src="<?php 
print base_url();
?>
images/info.png" />
                        	<div class="note_box">
                      			To add several books, separate their ISBN numbers<br /> by commas e.g 12345, 54321
                      		</div>
                        </a>
                    </td>
                  </tr>
开发者ID:nwtug,项目名称:academia,代码行数:31,代码来源:stock_title_form_view.php

示例2: get_required_field_wrap

                    <td class="field" nowrap>
                      <?php 
if (!empty($isview)) {
    echo "<span class='viewtext'>" . $formdata['author'] . "</span>";
} else {
    echo get_required_field_wrap($requiredfields, 'author');
    ?>

                      <input type="text" name="author" id="author" class="textfield" size="30" value="<?php 
    if (!empty($formdata['author'])) {
        echo $formdata['author'];
    }
    ?>
"/>
                      <?php 
    echo get_required_field_wrap($requiredfields, 'author', 'end');
}
?>

                    </td>
                  </tr>



                  <?php 
if (empty($isview)) {
    ?>

          <tr>
                    <td>&nbsp;</td>
                    <td>
开发者ID:nwtug,项目名称:academia,代码行数:31,代码来源:load_title_form_view.php

示例3: get_required_field_wrap

                    <td class="field" nowrap>
                      <?php 
if (!empty($isview)) {
    echo "<span class='viewtext'>" . $termdetails['rank'] . "</span>";
} else {
    echo get_required_field_wrap($requiredfields, 'rank');
    ?>

                      <input type="text" name="rank" id="rank" class="textfield" size="30" value="<?php 
    if (!empty($classdetails['rank'])) {
        echo $classdetails['rank'];
    }
    ?>
"/>
                      <?php 
    echo get_required_field_wrap($requiredfields, 'rank', 'end');
}
?>

                    <i style="font-size:10px">(Indicate position of class in the ascending list of classes)</i></td>
                  </tr>
                  <?php 
if (empty($isview)) {
    ?>

				  <tr>
                    <td><?php 
    if (!empty($i) || !empty($editid)) {
        ?>
<input name="editid" type="hidden" id="editid" value="<?php 
        if (!empty($i)) {
开发者ID:nwtug,项目名称:academia,代码行数:31,代码来源:class_form_view.php

示例4: get_required_field_wrap

                    <td class="field" nowrap>
                      <?php 
if (!empty($isview)) {
    echo "<span class='viewtext'>" . $formdata['quantity'] . "</span>";
} else {
    echo get_required_field_wrap($requiredfields, 'quantity');
    ?>

                      <input type="text" name="quantity" id="quantity" class="textfield" size="30" value="<?php 
    if (!empty($formdata['quantity'])) {
        echo $formdata['quantity'];
    }
    ?>
"/>
                      <?php 
    echo get_required_field_wrap($requiredfields, 'quantity', 'end');
}
?>

                    </td>
                  </tr>
                  
                  
                  <?php 
if (empty($isview)) {
    ?>

				  <tr>
                    <td>&nbsp;</td>
                    <td><input type="submit" name="saveinventory" id="login" value="Save" class="button"/></td>
                    <td>&nbsp;</td>
开发者ID:nwtug,项目名称:academia,代码行数:31,代码来源:new_inventory_view.php

示例5: get_required_field_wrap

                    <td class="field" valign="top" nowrap>
                      <?php 
if (!empty($isview)) {
    echo "<span class='viewtext'>" . $studentdetails['studentno'] . "</span>";
} else {
    echo get_required_field_wrap($requiredfields, 'studentno');
    ?>

                      <input type="text" name="studentno" id="studentno" class="textfield" size="30" value="<?php 
    if (!empty($studentdetails['studentno'])) {
        echo $studentdetails['studentno'];
    }
    ?>
"/>
                      <?php 
    echo get_required_field_wrap($requiredfields, 'studentno', 'end');
}
?>

                  <input type="hidden" name="photo" id="photo" value="" />
                    </td>
                  </tr>
                  <tr style="display:none">
                    <td nowrap="nowrap">&nbsp;</td>
                    <td>&nbsp;<?php 
if (!empty($i) || !empty($editid)) {
    ?>
<input name="editid" type="hidden" id="editid" value="<?php 
    if (!empty($i)) {
        echo decryptValue($i);
    } else {
开发者ID:nwtug,项目名称:academia,代码行数:31,代码来源:student_form_view.php

示例6: get_required_field_wrap

                    <td class="field" nowrap>
                      <?php 
if (!empty($isview)) {
    echo "<span class='viewtext'>" . $studentdetails['lastname'] . "</span>";
} else {
    echo get_required_field_wrap($requiredfields, 'lastname');
    ?>

                      <input type="text" name="lastname" id="lastname" class="textfield" size="30" value="<?php 
    if (!empty($formdata['lastname'])) {
        echo $formdata['lastname'];
    }
    ?>
"/>
                      <?php 
    echo get_required_field_wrap($requiredfields, 'lastname', 'end');
}
?>

                    </td>
                  </tr>
                  <tr>
                    <td valign="top" nowrap="nowrap" class="label" style="padding-top:13px">Date of Birth :</td>
                    <td class="field" nowrap>
                      <?php 
if (!empty($isview)) {
    echo "<span class='viewtext'>" . $formdata['dob'] . "</span>";
} else {
    ?>

                      <input type="text" name="dob" id="dob" class="textfield datepicker" size="30" value="<?php 
开发者ID:nwtug,项目名称:academia,代码行数:31,代码来源:sponsor_form_view.php

示例7: get_required_field_wrap

                    <td class="field" nowrap>
                      <?php 
if (!empty($isview)) {
    echo "<span class='viewtext'>" . $transactiondetails['amount'] . "</span>";
} else {
    echo get_required_field_wrap($requiredfields, 'amount');
    ?>

                      <input type="text" name="amount" id="amount" class="textfield" size="30" value="<?php 
    if (!empty($transactiondetails['amount'])) {
        echo $transactiondetails['amount'];
    }
    ?>
"/>
                      <?php 
    echo get_required_field_wrap($requiredfields, 'amount', 'end');
}
?>

                   </td>
                  </tr>
                  <?php 
if (empty($isview)) {
    ?>

				  <tr>
                    <td><?php 
    if (!empty($i) || !empty($editid)) {
        ?>
<input name="editid" type="hidden" id="editid" value="<?php 
        if (!empty($i)) {
开发者ID:nwtug,项目名称:academia,代码行数:31,代码来源:petty_cash_transaction_form_view.php

示例8: get_required_field_wrap

                    <td class="field" nowrap>
                      <?php 
if (!empty($isview)) {
    echo "<span class='viewtext'>" . $studentdetails['dob'] . "</span>";
} else {
    echo get_required_field_wrap($requiredfields, 'dob');
    ?>

                      <input type="text" name="fromdate" id="fromdate" class="textfield datepicker" size="30" value="<?php 
    if (!empty($formdata['fromdate'])) {
        echo $formdata['fromdate'];
    }
    ?>
"/>
                      <?php 
    echo get_required_field_wrap($requiredfields, 'dob', 'end');
}
?>

                    </td>
                  </tr>
                  <tr>
                    <td nowrap="nowrap" class="label">End Date :<?php 
echo $indicator;
?>
</td>
                    <td class="field" nowrap>
                      <?php 
if (!empty($isview)) {
    echo "<span class='viewtext'>" . $studentdetails['groupname'] . "</span>";
} else {
开发者ID:nwtug,项目名称:academia,代码行数:31,代码来源:add_sponsor_form_view.php

示例9: get_required_field_wrap

                    <td class="field" nowrap>
                      <?php 
if (!empty($isview)) {
    echo "<span class='viewtext'>" . $formdata['notes'] . "</span>";
} else {
    echo get_required_field_wrap($requiredfields, 'notes');
    ?>

                      <input type="text" name="notes" id="notes" class="textfield" size="30" value="<?php 
    if (!empty($formdata['notes'])) {
        echo $formdata['notes'];
    }
    ?>
"/>
                      <?php 
    echo get_required_field_wrap($requiredfields, 'notes', 'end');
}
?>

                    </td>
                  </tr>
                  
                  <?php 
if (empty($isview)) {
    ?>

				  <tr>
                    <td>&nbsp;</td>
                    <td><input type="submit" name="savesupplier" id="login" value="Save" class="button"/></td>
                    <td>&nbsp;</td>
                  </tr>
开发者ID:nwtug,项目名称:academia,代码行数:31,代码来源:new_supplier_view.php

示例10: get_required_field_wrap

  <tr>
  <td class='label'>Paragraph Link:</td>
  <td><input type='text' name='helplink' id='helplink' value='' size='45' class='textfield' style="padding-right:2px;"></td>
  </tr>
  
  <tr>
  <td class='label' valign='top'>Paragraph Text:</td>
  <td><textarea name='details' id='details' class='selectfield' cols='36' rows='5'></textarea></td>
  </tr>
  <tr>
    <td class='label' valign='top'>&nbsp;</td>
    <td><input type="submit" name="addhelp" id="addhelp" value="Add Content" class="bodybutton"/></td>
  </tr>
        </table>               
<?php 
echo get_required_field_wrap($requiredfields, 'details', 'end');
?>
            
                
                
                </td>
                </tr>
              


            </table></td>
            </tr>
          
        </table>
      </form>
    </div>
开发者ID:nwtug,项目名称:academia,代码行数:31,代码来源:add_help_view.php

示例11: get_required_field_wrap

 value="suspension">Suspension</option>
                            <option <?php 
    if (!empty($formdata['response']) && $formdata['response'] == 'expulsion') {
        echo 'selected="selected"';
    }
    ?>
 value="expulsion">Expulsion</option>
                            <option <?php 
    if (!empty($formdata['response']) && $formdata['response'] == 'other') {
        echo 'selected="selected"';
    }
    ?>
 value="other">Other</option>
                        </select>
                      <?php 
    echo get_required_field_wrap($requiredfields, 'response', 'end');
}
?>

                    </td>
                  </tr>
                  <tr>
                    <td valign="top" nowrap="nowrap" class="label" style="padding-top:13px">Upload File</td>
                    <td class="field" valign="top" nowrap>&nbsp;</td>
                  </tr>
                  
				  <tr>
                    <td colspan="3" valign="top" nowrap="nowrap" class="left_label" style="padding-top:13px">                    </td>
                  </tr>
                  
                  <tr>
开发者ID:nwtug,项目名称:academia,代码行数:31,代码来源:incident_form_view.php

示例12: get_required_field_wrap

</td>
                    <td class="field" nowrap>
                      <?php 
if (!empty($isview)) {
    echo "<span class='viewtext'>" . $formdata['dateborrowed'] . "</span>";
} else {
    echo get_required_field_wrap($requiredfields, 'dateborrowed');
    ?>
                      <input type="text" name="dateborrowed" id="dateborrowed" class="textfield datepicker" size="30" value="<?php 
    if (!empty($formdata['dateborrowed'])) {
        echo $formdata['dateborrowed'];
    }
    ?>
"/>
                      <?php 
    echo get_required_field_wrap($requiredfields, 'dateborrowed', 'end');
}
?>
                    </td>
                  </tr> 



  <?php 
if (empty($isview)) {
    ?>
          <tr>  
                    <td>&nbsp;</td>

                    
                    <td><input type="button" onclick="saveStock('<?php 
开发者ID:nwtug,项目名称:academia,代码行数:31,代码来源:new_borrower.php

示例13: get_required_field_wrap

                    <td class="field" nowrap>
                      <?php 
if (!empty($isview)) {
    echo "<span class='viewtext'>" . $formdata['reorderlevel'] . "</span>";
} else {
    echo get_required_field_wrap($requiredfields, 'reorderlevel');
    ?>

                      <input type="text" name="reorderlevel" id="reorderlevel" class="textfield" size="30" value="<?php 
    if (!empty($formdata['reorderlevel'])) {
        echo $formdata['reorderlevel'];
    }
    ?>
"/>
                      <?php 
    echo get_required_field_wrap($requiredfields, 'reorderlevel', 'end');
}
?>

                    </td>
                  </tr>
                  <?php 
if (empty($isview)) {
    ?>

				  <tr>
                    <td>&nbsp;</td>
                    <td><input type="submit" name="saveitem" id="login" value="Save" class="button"/></td>
                    <td>&nbsp;</td>
                  </tr>
                  <?php 
开发者ID:nwtug,项目名称:academia,代码行数:31,代码来源:new_item_view.php

示例14: get_required_field_wrap

				            <td>Subjects : </td><td>
				              <?php 
if (!empty($isview)) {
    echo "<span class='viewtext'>" . $formdata['subjects'] . "</span>";
} else {
    echo get_required_field_wrap($requiredfields, 'subjects');
    ?>

                              <input type="hidden" id="selected-reg-subjects" value="" />
				              <select multiple="multiple" name="subjects[]" id="update-reg-subjects"  class="selectfield"> <?php 
    echo get_select_options($subjects, 'id', 'subject', !empty($formadata['subjects']) ? $formdata['subjects'] : '', 'Y', 'Select Sujects');
    ?>

                    </select>
				              <?php 
    echo get_required_field_wrap($requiredfields, 'subjects', 'end');
}
?>

			              </td></tr>
                          <?php 
if (empty($isview)) {
    ?>

				          <tr>
				            <td class="label" style="padding-top:13px">&nbsp;</td>
				            <td>
                            <?php 
    if (!empty($i) || !empty($editid)) {
        ?>
<input name="editid" type="hidden" id="editid" value="<?php 
开发者ID:nwtug,项目名称:academia,代码行数:31,代码来源:registration_form_view.php

示例15: get_required_field_wrap

                    <td class="field" nowrap>
                      <?php 
if (!empty($isview)) {
    echo "<span class='viewtext'>" . $termdetails['startdate'] . "</span>";
} else {
    echo get_required_field_wrap($requiredfields, 'firstname');
    ?>

                      <input type="text" name="startdate" id="startdate" class="textfield manyyearsdatefield" size="30" value="<?php 
    if (!empty($termdetails['startdate'])) {
        echo $termdetails['startdate'];
    }
    ?>
"/>
                      <?php 
    echo get_required_field_wrap($requiredfields, 'startdate', 'end');
}
?>

                    </td>
                  </tr>
                  <tr>
                          <td class="label" style="padding-top:13px">End  Date :<?php 
echo $indicator;
?>
</td><td>
                        <?php 
if (empty($isview)) {
    ?>

                        <input type="text" name="enddate" id="enddate" class="textfield manyyearsdatefield" value="<?php 
开发者ID:nwtug,项目名称:academia,代码行数:31,代码来源:term_form.php


注:本文中的get_required_field_wrap函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。