コード例 #1
0
			  </div>
		    </div>
		    </div>
        <!--The Main Part Of This Page Starts Here-->
        <!--The Beginning Of About div-->
	      <div class="about">
        <!--The Beginning Of Container div-->
	      <div class="container">
        <!--The Beginning Of about-md1 div-->
		    <div class="about-md1">
        <!--The Beginning Of col-md-3 col-2 div-->
			  <div class="col-md-3 col-2">
          <!--The Beginning Of My Profile Well-->
			    <div class="well">
            <p><a href="#"><?php 
echo $api->First_Name($_SESSION['user_session'], $pdo) . ' ' . $api->Last_Name($_SESSION['user_session'], $pdo);
?>
</a></p>
            <img src="images/image1.jpg" class="img-circle" height="65" width="65" alt="Avatar">
          </div>
          <!--The End Of My Profile Well-->
          <!--The Beginning Of All Discussions Well-->
          <div class="well">
            <p><a href="#"><h4>List Of Laboratories for Grade9</h4></a></p>
            <?php 
foreach ($pdo->query($sql1) as $row) {
    echo '<p><a href="discussion.php?discussionNo=' . $row['Discussion_No'] . '"><span>' . $row['Discussion_Title'] . '</span></a></p>';
}
echo '<br />';
//Pagination
if ($count > $startrow + 5) {
コード例 #2
0
        <h3 class="modal-title" id="myModalLabel" >
            <?php 
if ($message == 'block') {
    echo 'Blocking User';
}
?>
        </h3>
        </div>
        <!--Message Modal Header End Here-->
        <!--Message Modal Body Start Here-->
        <div class="modal-body">
        <div>
        <?php 
echo '<span>';
if ($message == 'block') {
    echo 'Are you sure you want to block ' . $api->First_Name($id, $pdo) . ' ' . $api->Last_Name($id, $pdo) . '?';
} else {
    if ($message == 'blocking succedded') {
        echo $api->First_Name($id, $pdo) . ' ' . $api->Last_Name($id, $pdo) . ' successfully blocked.';
    }
}
echo '</span>';
?>
        </div>
        <!--The Beginning Of Message Modal Footer-->
        <div class="modal-footer">
        <?php 
if ($message == 'block') {
    echo '<a class="btn btn-warning" href="admin.php?User_Id=' . $id . '&page=registered&message=blocking">Yes</a>';
} else {
    if ($message == 'blocking succedded') {