<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="{$BINGOTOPURL}/admin/css/common.css" rel="stylesheet" type="text/css" media="all">
<link href="{$BINGOTOPURL}/admin/css/content.css" rel="stylesheet" type="text/css" media="all">
<!--[if IE ]>
<link href="{$BINGOTOPURL}/admin/css/ie.css" rel="stylesheet" type="text/css" media="all">
<![endif]-->
<link href="{$CSS_PATH}" rel="stylesheet" type="text/css" media="all">
{literal}
<script src="{/literal}{$BINGOTOPURL}{literal}/js/prototype.js" type="text/javascript"></script>
<script language="JavaScript">
<!--

// -->
</script>
{/literal}
<title>選択項目&nbsp;集計結果－「{$frm_name}」</title>
</head>
<body id="pagePopup">

<div id="unitContainerMain" class="unitContainer">
	<div class="unitContentsTtl">
		<h3>選択項目&nbsp;集計結果－「{$frm_name}」</h3>
	</div>
	<div class="unitContentsBox">
		<div class="unitFlame">
			<div class="unitFlameInner" style="padding: 10px 20px;">
				<form {$qform.attributes}>
				{$qform.hidden}

{foreach from="$part" item="part1" name="part"}
{assign var=part2 value=$part1.prt_part_select}
					<table width="100%" border="0" cellspacing="0" cellpadding="0" class="selectVotesTable">
						<tr>
							<td colspan="2" style="border-right: none;"><strong>{$part1.prt_part_label}（{$part1.prt_part_sub_type_str}）</strong></td>
							<td class="w8 rt" style="border-right: none;">計&nbsp;<strong>{$part1.prt_part_total_cnt}</strong></td>
						</tr>
	{foreach from="$part2" item="part2" name="part2"}
						<tr>
							<th class="w10">{$part2.str}</th>
							<td style="border-right: none;">
								<table width="100%" border="0" cellspacing="0" cellpadding="0" class="selectVotesTableInner">
									<tr>
										{if $part2.cnt > 0}
										{assign var=graph value=$part2.cnt/$part1.prt_part_total_cnt*100}
										{else}
										{assign var=graph value=0}
										{/if}
										<td><div style="background-color: #6A9FD7; width: {$graph}%">&nbsp;</div></td>
									</tr>
								</table>
							</td>
							<td class="w8 rt">{$part2.cnt}</td>
						</tr>
	{/foreach}
					</table>
{foreachelse}
					<table width="100%" border="0" cellspacing="0" cellpadding="0" class="selectVotesTable">
						<tr>
							<td class="ct">フォームに選択項目がありません</td>
						</tr>
					</table>
{/foreach}
					
					<div class="unitContentsBtn">
						<table border="0" cellspacing="0" cellpadding="0">
							<tr>
								<td>
									<input type="button" class="bsmBtnClose" value="閉じる" onClick="window.close();">
								</td>
							</tr>
						</table>
					</div>
				</form>
			</div>
		</div>
	</div>
</div>
</body>
</html>