示例#1
0
						<input type="checkbox" id="col_y" name="col_y" value="1" <?php 
fHTML::showChecked($c->getCol_y(), 1);
?>
 />
					</label>

					<label class="check consumable_col" style="background:#CC0099;">
						<input type="checkbox" id="col_c" name="col_m" value="1" <?php 
fHTML::showChecked($c->getCol_m(), 1);
?>
 />
					</label>

					<label class="check consumable_col" style="background:#000000;">
						<input type="checkbox" id="col_c" name="col_k" value="1" <?php 
fHTML::showChecked($c->getCol_k(), 1);
?>
 />
					</label>
				</td>
			</tr>

			<tr>
				<td>&nbsp;</td>
				<td>
					<button type="submit" name="next" class="btn btn_pos" value="index"><?php 
echo $action == 'add' ? 'Add' : 'Save';
?>
</button>

					<?php 
示例#2
0
echo $m->getName();
?>
"
					maxlength="<?php 
echo $m->inspectName('max_length');
?>
" />
				</td>
			</tr>

			<tr>
				<td class="caption"><label for="colour">Colour</label></td>
				<td class="input">
					<input type="hidden" name="colour" value="0" />
					<input type="checkbox" id="colour" name="colour" value="1" <?php 
fHTML::showChecked($m->getColour(), 1);
?>
 />
				</td>
			</tr>

			<tr>
				<td>&nbsp;</td>
				<td>
					<button type="submit" name="next" class="btn btn_pos" value="index"><?php 
echo $action == 'add' ? 'Add' : 'Save';
?>
</button>

					<?php 
if ($action === 'add') {