示例#1
0
 > Administrator </option>
					</select>
				<?php 
}
?>

			</div>


			<?php 
if (userIsAdmin()) {
    ?>
				<div class="profile__input-group">
					<label for="active"> User Active </label>
					<input type="checkbox" name="active" id="active" value="1" <?php 
    echo displayChekbox($user['active']);
    ?>
 />
				</div>
			<?php 
}
?>


			<div class="profile__input-group profile__other-stats">
				<span> Member Since: <?php 
echo $user['created_at'];
?>
 </span>
				<span> Last Updated on: <?php 
echo $user['updated_at'];
示例#2
0
?>
"> 


			<!-- Max Class Size -->
			<label for="maxClassSize"> Max Class Size </label>
			<input type="text" name="maxClassSize" id="maxClassSize" value="<?php 
echo $course_details['max_class_size'];
?>
 ">


			<div class="profile__input-group">
				<label for="active"> User Active </label>
				<input type="checkbox" name="active" id="active" value="1" <?php 
echo displayChekbox($course_details['active']);
?>
 />
			</div>

		</fieldset>

		<?php 
// Please do not erase the required_hp div. This is a honeypot field to help reduce spam
?>
		<div class="required_hp">
			<input type="hidden" name="hpUsername" />
		</div>

		<input type="hidden" value="<?php 
echo $course_details['course_id'];