Location: PHPKode > projects > phpCAMALEO > common/contents/Stat_show.tpl
<?php $check[$i]=''; if($c_auto[1]==true) { $check[1]='checked'; } ?>
<table class="datatable" width="100%" border="0" cellspacing="0" cellpadding="0">
<tr><td height="20px"></td></tr>
<tr>
	<td align="center" valign="top">
		<fieldset class="sstat" style="font-size:9.5pt; margin-right:0px;"><legend class="sstat">&nbsp;<?=SS_7?>&nbsp;</legend>
			<table border="0">
			<tr>
				<td align="right"><?=SS_8?>:</td>
				<td align="left">
					<select id="form" name="opt[]" size="1">
						<option selected="<?=$opt_selected?>"><?=$opt_value?></option><?php foreach($opt_val as $key=>$val) { if($val!=$opt_value) { ?><option value="<?=$key?>"><?=$val?></option><?php }; } ?>
					</select>
				</td>
				</tr>
				<tr><td align="right"><?=SS_9?>:</td>
				<td align="left">
					<select id="form" name="from_dd[]" size="1"><?php $i=1; while($i<=31) { if($i!=$val_sel_from_dd) { ?><option value="<?=$i?>"><?=$i?></option><?php } else { ?><option selected="<?=$opt_sel_from_dd?>"><?=$val_sel_from_dd?></option><?php } $i++; } ?></select>
					<select id="form" name="from_mm[]" size="1"><?php foreach($opt_mm as $key=>$val) { if($val!=$val_sel_from_mm) { ?><option value="<?=$key?>"><?=$val?></option><?php } else { ?><option selected="<?=$opt_sel_from_mm?>"><?=$val_sel_from_mm?></option><?php } } ?></select>
					<select id="form" name="from_yy[]" size="1"><?php foreach($opt_yy as $key=>$val) { if($val!=$val_sel_from_yy) { ?><option value="<?=$key?>"><?=$val?></option><?php } else { ?><option selected="<?=$opt_sel_from_yy?>"><?=$val_sel_from_yy?></option><?php } } ?></select>
				</td>
				</tr>
				<tr><td align="right"><?=SS_10?>:</td>
				<td align="left">
					<select id="form" name="to_dd[]" size="1"><?php $i=1; while($i<=31) { if($i!=$opt_sel_to_dd) { ?><option value="<?=$i?>"><?=$i?></option><?php } else { ?><option selected="<?=$opt_sel_to_dd?>"><?=$opt_sel_to_dd?></option><?php } $i++; } ?></select>
					<select id="form" name="to_mm[]" size="1"><?php foreach($opt_mm as $key=>$val) { if($val!=$val_sel_to_mm) { ?><option value="<?=$key?>"><?=$val?></option><?php } else { ?><option selected="<?=$opt_sel_to_mm?>"><?=$val_sel_to_mm?></option><?php } } ?></select>
					<select id="form" name="to_yy[]" size="1"><?php foreach($opt_yy as $key=>$val) { if($val!=$val_sel_to_yy) { ?><option value="<?=$key?>"><?=$val?></option><?php } else { ?><option selected="<?=$opt_sel_to_yy?>"><?=$val_sel_to_yy?></option><?php } } ?></select><br />
				</td>
				</tr>
				<tr><td align="right"><?=SS_11?>:</td>
				<td align="left">
					<select id="form" name="clus[]" size="1">
						<option selected="<?=$opt_sel_clus?>"><?=$val_sel_clus?></option><?php foreach($opt_clus as $key=>$val) { if($val!=$val_sel_clus) { ?><option value="<?=$key?>"><?=$val?></option><?php }; } ?>
					</select>
				</td>
			</tr>
			</table>
		</fieldset>
		<br />
		<input type="checkbox" name="c_auto[1]" value="Auto" <?=$check[1]?>> <?=SS_12.' '.$_SESSION[auto_delay].' '.SS_13?>
		<input class="button_sml" type="submit" name="submit" value="Ok">
		<?=$feedback_str?>
	</td>
</tr>
</table>
Return current item: phpCAMALEO