{include file="Application/Home/View/Public/header.blade.php"}
{include file="Application/Home/View/Public/userLeft.blade.php"}
<div class="member-content">
    <div>
            <span><a href="/Home-Account/SetOdds?game=bjpk10">北京pk10</a></span>
            <span><a href="/Home-Account/SetOdds?game=xy28">幸运28</a></span>
            <span><a href="/Home-Account/SetOdds?game=jnd28">加拿大28</a></span>
    </div>
    <p class="memberMinTitle">赔率设置</p>
    <form action="" method="post" class="setFrom" id="setOddsForm" onsubmit="return regset()">
        <table border="0" cellspacing="0" cellpadding="0" class="setTable">
            {if $game eq 'bjpk10'}
                <tr class="titleTr">
                    <td class="label_ou">冠亚和</td>
                </tr>
                <tr class="trs">
                    {foreach from=$settings.chain item=foo}
                    <td >
                        <div>{$foo.lang}</div>
                        <div>
                            极大:<input type="text" name="{$foo.name}:max" value="{$foo.settings.multiple.max}" /><br/>
                            极小:<input type="text" name="{$foo.name}:min" value="{$foo.settings.multiple.min}" /><br/>
                            返水:<input type="text" name="{$foo.name}:back" value="{$foo.settings.back}" />
                        </div>
                    </td>
                    {/foreach}
                </tr>

                <tr class="titleTr">
                    <td class="label_ou">龙虎榜</td>
                </tr>
                <tr class="trs">
                    {foreach from=$settings.dragon item=foo}
                    <td >
                        <div>{$foo.lang}</div>
                        <div>
                            极大:<input type="text" name="{$foo.name}:max" value="{$foo.settings.max}" /><br/>
                            极小:<input type="text" name="{$foo.name}:min" value="{$foo.settings.min}" /><br/>
                            返水:<input type="text" name="{$foo.name}:back" value="{$foo.settings.back}" />
                        </div>
                    </td>
                    {/foreach}
                </tr>

                <tr class="titleTr">
                    <td class="label_ou">前1</td>
                </tr>
                <tr class="trs">
                    {foreach from=$settings.head_one item=foo}
                    <td >
                        <div>{$foo.lang}</div>
                        <div>
                            极大:<input type="text" name="{$foo.name}:max" value="{$foo.settings.max}" /><br/>
                            极小:<input type="text" name="{$foo.name}:min" value="{$foo.settings.min}" /><br/>
                            返水:<input type="text" name="{$foo.name}:back" value="{$foo.settings.back}" />
                        </div>
                    </td>
                    {/foreach}
                </tr>

                <tr class="titleTr">
                    <td class="label_ou">前2</td>
                </tr>
                <tr class="trs">
                    {foreach from=$settings.head_two item=foo}
                    <td >
                        <div>{$foo.lang}</div>
                        <div>
                            极大:<input type="text" name="{$foo.name}:max" value="{$foo.settings.max}" /><br/>
                            极小:<input type="text" name="{$foo.name}:min" value="{$foo.settings.min}" /><br/>
                            返水:<input type="text" name="{$foo.name}:back" value="{$foo.settings.back}" />
                        </div>
                    </td>
                    {/foreach}
                </tr>

                <tr class="titleTr">
                    <td class="label_ou">前3</td>
                </tr>
                <tr class="trs">
                    {foreach from=$settings.head_three item=foo}
                    <td >
                        <div>{$foo.lang}</div>
                        <div>
                            极大:<input type="text" name="{$foo.name}:max" value="{$foo.settings.max}" /><br/>
                            极小:<input type="text" name="{$foo.name}:min" value="{$foo.settings.min}" /><br/>
                            返水:<input type="text" name="{$foo.name}:back" value="{$foo.settings.back}" />
                        </div>
                    </td>
                    {/foreach}
                </tr>

                <tr class="titleTr">
                    <td class="label_ou">定位胆</td>
                </tr>
                <tr class="trs">
                    {foreach from=$settings.poscode item=foo}
                    <td >
                        <div>{$foo.lang}</div>
                        <div>
                            极大:<input type="text" name="{$foo.name}:max" value="{$foo.settings.max}" /><br/>
                            极小:<input type="text" name="{$foo.name}:min" value="{$foo.settings.min}" /><br/>
                            返水:<input type="text" name="{$foo.name}:back" value="{$foo.settings.back}" />
                        </div>
                    </td>
                    {/foreach}
                </tr>
            {/if}
            {if $game eq 'xy28' or $game eq 'jnd28' }
                <tr class="titleTr">
                    <td class="label_ou">波色</td>
                </tr>
                <tr class="trs">
                    {foreach from=$settings.color item=foo}
                    <td >
                        <div>{$foo.lang}</div>
                        <div>
                            倍率:<input type="text" name="{$foo.name}:multiple" value="{$foo.settings.multiple}" /><br/>
                            返水:<input type="text" name="{$foo.name}:back" value="{$foo.settings.back}" />
                        </div>
                    </td>
                    {/foreach}
                </tr>

                <tr class="titleTr">
                    <td class="label_ou">混合</td>
                </tr>
                <tr class="trs">
                    {foreach from=$settings.mix item=foo}
                    <td >
                        <div>{$foo.lang}</div>
                        <div>
                            倍率:<input type="text" name="{$foo.name}:multiple" value="{$foo.settings.multiple}" /><br/>
                            返水:<input type="text" name="{$foo.name}:back" value="{$foo.settings.back}" />
                        </div>
                    </td>
                    {/foreach}
                </tr>

                <tr class="titleTr">
                    <td class="label_ou">豹子</td>
                </tr>
                <tr class="trs">
                    {foreach from=$settings.size item=foo}
                    <td >
                        <div>{$foo.lang}</div>
                        <div>
                            倍率:<input type="text" name="{$foo.name}:multiple" value="{$foo.settings.multiple}" /><br/>
                            返水:<input type="text" name="{$foo.name}:back" value="{$foo.settings.back}" />
                        </div>
                    </td>
                    {/foreach}
                </tr>

                <tr class="titleTr">
                    <td class="label_ou">特码</td>
                </tr>
                <tr class="trs">
                    {foreach from=$settings.specialCode item=foo}
                    <td >
                        <div>{$foo.lang}</div>
                        <div>
                            倍率:<input type="text" name="{$foo.name}:multiple" value="{$foo.settings.multiple}" /><br/>
                            返水:<input type="text" name="{$foo.name}:back" value="{$foo.settings.back}" />
                        </div>
                    </td>
                    {/foreach}
                </tr>
            {/if}
            </table>
        <div>
            <button>确认</button>
        </div>
    </form>
</div>
</div>
</div>
<script src="/Public/Home/js/checkToken.js"></script>
<script src="/Public/Home/js/setOdds.js"></script>
{include file="Application/Home/View/Public/footer.php"}
