while ($row = mysql_fetch_array($result, MYSQL_ASSOC)) {
    $nikolas = $row['name'];
}
?>

<p><strong>Evaluation of <?php 
echo $nikolas;
?>
 </strong></p>
<p>&nbsp;</p>
<p>Please provide scores for the following indicators.</p>
<div style="width: 832px">
<?php 
echo "Pedagogical value";
rating_form("indicator1" . $nik);
echo "Appropriateness of the proposed learning context:";
rating_form("indicator2" . $nik);
echo "Appropriateness of the proposed target audience:";
rating_form("indicator3" . $nik);
echo "Appropriateness of presentation and/or content type:";
rating_form("indicator4" . $nik);
?>
</div>
<p>&nbsp;</p>
<p>&nbsp;</p>
Thank you for your input

  </body>

</html>
    if (!isset($_GET['update'])) {
        echo "<div class='rating_wrapper'>";
    }
    ?>
	<div class="sp_rating">
		<div class="rating">Rating:</div>
		<div class="base"><div class="average" style="width:<?php 
    echo $rating->average;
    ?>
%"><?php 
    echo $rating->average;
    ?>
</div></div>
		<div class="votes"><?php 
    echo $rating->votes;
    ?>
 votes</div>
		<div class="status">
			<?php 
    echo $status;
    ?>
		</div>
	</div>
	<?php 
    if (!isset($_GET['update'])) {
        echo "</div>";
    }
}
if (isset($_GET['update']) && isset($_GET['table'])) {
    rating_form($_GET['table']);
}
Exemplo n.º 3
0
                </div>
                <div class="clear"></div>
            </div>


   <?php 
        } else {
            ?>
            <div class="row">
                <label for="rating">Rating</label>
                <div class="rating" style='display:none' id ="ratingbar-norating">
                  You already rated this talk.
                </div>
                <div class="rating" id ="ratingbar">
                    <?php 
            echo rating_form('rating', $this->validation->rating);
            ?>
                </div>
                <div class="clear"></div>
            </div>

   <?php 
        }
        ?>

<?php 
    }
    ?>

<?php 
    if (!user_is_auth()) {
Exemplo n.º 4
0
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
	<meta http-equiv="content-type" content="text/html; charset=utf-8" />
	<meta name="Description" content="" />
	<title>ColorRating Example</title>

	<!-- Core Files.  Change the hyperlink references to reflect your site structure.  Note, this must also be updated in the ratings.js file. -->
	<link rel="stylesheet" type="text/css" href="rating/rating.css" media="screen"/>
	<script type="text/javascript" src="http://www.google.com/jsapi"></script>
	<script type="text/javascript">google.load("jquery", "1.3.2");</script>
	<script type="text/javascript" src="rating/rating.js"></script>
	<?php 
include 'rating/rating.php';
?>

</head>
<body>

	<!-- Replace 'test1' with a unique name.  Repeat this for every item you want to score. -->
	<?php 
rating_form("test1");
?>
	<?php 
rating_form("test2");
?>
	<?php 
rating_form("test3");
?>

</body>
</html>