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


PHP Subject::single_subject方法代码示例

本文整理汇总了PHP中Subject::single_subject方法的典型用法代码示例。如果您正苦于以下问题:PHP Subject::single_subject方法的具体用法?PHP Subject::single_subject怎么用?PHP Subject::single_subject使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在Subject的用法示例。


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

示例1: Subject

								</p>
							</div>
							<div class="col-xs-6">
								<p align="right"><a href="<?php 
echo WEB_ROOT;
?>
admin/logout.php"
								class="btn btn-info btn-xsm"><span class="glyphicon glyphicon-log-out"></span>Log out</a></p>
							</div>
						</div>
					</div>
				</div>
		</div>
		<?php 
$subject = new Subject();
$list = $subject->single_subject($_GET['subjectId']);
?>
		<form class="form-horizontal well span9" action="controller.php?action=edit&id=<?php 
echo $list->subject_id;
?>
" method="POST">
			<fieldset>
				<legend>Subject Information</legend>
				<div class="form-group" id="subject_id">
					<div class="col-md-8">
						<label class="col-md-4 control-label" for="subject_id">Subject Number </label>
						
						<div class="col-md-8">
							<input class="form-control input-sm" id="subject_id" name="subject_id" type="text" value="<?php 
echo $list->subject_id;
?>
开发者ID:allybitebo,项目名称:ucb,代码行数:31,代码来源:view.php

示例2: isset

			                 <input class="form-control input-sm" id="studname" name="studname" readonly placeholder=
												  "Subject Description" type="text" value="<?php 
echo isset($cur) ? $cur->LNAME . ' , ' . $cur->FNAME : 'Name';
?>
">
			              </div>
			            </div>
				          </div>								

							<div class="form-group">
				            <div class="col-md-8">
				              <label class="col-md-4 control-label" for=
				              "subjcode">Subject Code</label>
						<?php 
$singlesubject = new Subject();
$cur = $singlesubject->single_subject($subjid);
?>
				              <div class="col-md-8">
				                 <input class="form-control input-sm" id="subjcode" name="subjcode" readonly placeholder=
													  "Subject Code" type="text" value="<?php 
echo isset($cur) ? $cur->SUBJ_CODE : 'Code';
?>
">
				              </div>
				            </div>
				          </div>

				          <div class="form-group">
				            <div class="col-md-8">
				              <label class="col-md-4 control-label" for=
				              "subjdesc">Subject Description</label>
开发者ID:allybitebo,项目名称:CCECourseCatalogue,代码行数:31,代码来源:studentgrades.php

示例3: Subject

<?php

$subjid = $_GET['id'];
$singlesubject = new Subject();
$object = $singlesubject->single_subject($subjid);
?>
<form class="form-horizontal well span4" action="controller.php?action=edit&id=<?php 
echo $subjid;
?>
" method="POST">

<fieldset>
	<legend>Edit Subject</legend>
										

		<div class="form-group">
        <div class="col-md-8">
          <label class="col-md-4 control-label" for=
          "subjcode">Subject Code</label>

          <div class="col-md-8">
             <input class="form-control input-sm" id="subjcode" name="subjcode" placeholder=
								  "Subject Code" type="text" value="<?php 
echo $object->SUBJ_CODE;
?>
">
          </div>
        </div>
      </div>

      <div class="form-group">
开发者ID:allybitebo,项目名称:ucb,代码行数:31,代码来源:edit.php

示例4:

<div class="container">
	<div class="panel panel-primary">
		<div class="panel-heading">
			<div class="row">
				<div class="col-xs-3"><p align="left"><a href="<?php 
echo WEB_ROOT;
?>
admin/index.php?page=2" class="btn btn-info btn-xsm"><span class="glyphicon glyphicon-home"></span>&nbsp;Home</a><p>
				</div>
				
				<div class="col-xs-9">
					<div class="col-xs-8">
						<p ><strong><h5 align="right">
						<?php 
echo $_SESSION['ACCOUNT_FNAME'] . " " . $_SESSION['ACCOUNT_LNAME'];
?>
</h5></strong></p>
					</div>
					<div class="col-xs-4">
						<div class="col-xs-6">
							<p align="left"><a href="<?php 
echo WEB_ROOT;
?>
admin/modules/subject/index.php" class="btn btn-info btn-xsm">
								<span class="glyphicon glyphicon-step-backward"></span>Back
								</a
								</p>
							</div>
							<div class="col-xs-6">
								<p align="right"><a href="<?php 
echo WEB_ROOT;
开发者ID:allybitebo,项目名称:ucb,代码行数:31,代码来源:edit.php


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