⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ordering_stats.tmpl.php

📁 ATutor是一个学习管理系统(LCMS/LMS), 为教师和学生建立一个网络教学平台。
💻 PHP
字号:
<br/><table class="data static" summary="" style="width: 95%" rules="cols"><thead><tr>	<th scope="col" width="40%"><?php echo _AT('question'); ?></th>	<?php for ($i=0; $i<$this->num_choices; $i++): ?>		<?php if (strlen($this->row['choice_'.$i]) > 15) { $this->row['choice_'.$i] = substr($this->row['choice_'.$i], 0, 15).'...'; } ?>		<th scope="col"><?php echo htmlspecialchars($this->row['choice_'.$i]); ?></th>	<?php endfor; ?></tr></thead><tr>	<td valign="top" rowspan="2"><?php echo $this->row['question']; ?></td>	<?php for ($j=0; $j<$this->num_choices; $j++): ?>		<td align="center" valign="top"><?php echo (int) $this->answers[$j]; ?> / <?php echo $this->num_results; ?></td>	<?php endfor; ?></tr><tr>	<?php for ($j=0; $j<$this->num_choices; $j++): ?>		<td align="center" valign="top"><?php echo $this->num_results ? round($this->answers[$j]/$this->num_results*100) : 0; ?>%</td>	<?php endfor; ?></tr></table>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -