Exemple #1
0
<div id="main">
  <input type="hidden" name="hiddenField" id="hiddenField" />

<div id="left"><a href="../index2.php"><img src="../images/common/menu1.jpg" width="218" height="61" border="0" /></a><a href="index.html"><img src="../images/common/menu2.jpg" width="218" height="61" border="0" /></a><a href="../exam/index.html"><img src="../images/common/menu3.jpg" width="218" height="62" border="0" /></a><a href="../knowledge/index.php"><img src="../images/common/menu5.jpg" width="218" height="65" border="0" /></a></div>
<!-- InstanceBeginEditable name="EditRegion" -->
<div id="right_lesson">
  
  <div class="header_font2" id="header2">
  <?php 
show_lesson_header();
?>
  
  </div>
  <div id="flash_area">
<?php 
showvideo();
?>
  
  </div>
  <div id="button_content">
 <?php 
echo "<a href='viewtext.php?lesson=" . $_GET['lesson'] . "&page=1'><img src='../images/lesson/btn_content.jpg' width='80' height='25' border='0' /></a>";
?>
  </div>
  <div id="button_exam">
  <?php 
echo "<a href='../exam/register.php?lesson=" . $_GET['lesson'] . "'><img src='../images/lesson/btn_exam.jpg' width='80' height='25' border='0' /></a>";
?>
  </div>
</div>
<!-- InstanceEndEditable --></div>
}

</script>

</head>
<body onload="loadlikecounts()">
<br /><br /><br /><br /><br /><br/><br/>
<div class="container">
	<div class="row">
		<div class="col-sm-5">
				<?php 
if (isset($_GET['lid'])) {
    echo showvideo($_GET['lid']);
} else {
    echo showvideo(1);
}
?>
		</div>
		<!-- voting markup -->
		<div class="col-sm-5  col-md-offset-1">
			<form role="form">
			<fieldset>
			<legend>Ratings</legend>
				<div class="form-group">
					<img src="thumbup.png" width="30" height="30" onclick="add('w_score')">
					<img src="thumbdown.png" width="40" height="40" onclick="subtract('w_score')">
					<label for="w_score">Well Explained &nbsp;&nbsp;&nbsp;</label><input type="textarea" id="w_score" disabled class="form-control-static input-sm text-center">
				</div>
				<!-- <textarea rows="5" cols="250" id="w_score"></textarea> -->
				<div class="form-group">