论坛风格切换切换到宽版
  • 24阅读
  • 4回复

六格算法 [复制链接]

上一主题 下一主题
离线北斗星
 

只看楼主 倒序阅读 使用道具 楼主   发表于: 2021-11-23
<p>
            <table border="0" cellpadding="0" cellspacing="0" width="100%" class="blank">
                <tbody><tr>
                    <td>
                        <div style="margin-top:-10px;line-height: 150%;font-size:13px;position:relative;margin-left:0px; width:300px; height:170px; overflow:hidden; background-repeat:no-repeat; background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASwAAACqCAYAAAAX43IEAAAC30lEQVR4nO3d0W3CMBRA0aZiJHZiJnZiJ/e3X8hqrJoL5wyArChcPUdRfIwxxhdAwPfuBQDMEiwgQ7CADMECMgQLyBAsIEOwgAzBAjIEC8gQLCBDsIAMwQIyLrsX8GqO23X3Et7OuD92L2GJVffGu1yPHUxYQIZgARm2hE8Y3fntzP3gUcMaJiwgQ7CADMECMgQLyBAsIEOwgAzBAjIEC8gQLCBDsIAMwQIyBAvIECwgQ7CADMECMgQLyBAsIEOwgAzBAjIEC8gQLCBDsIAMwQIyBAvIECwgQ7CADMECMgQLyBAsIEOwgAzBAjIuuxfA6zpu1yW/M+6PJb+z26rrwd+ZsIAMwQIybAlh0rtsbcsECyZ5prefYDHFn4xX4BkWkGHCgklnpkyvRKxhwgIyBAvIECwgQ7CADMECMgQLyBAsIEOwgAzBAjIEC8gQLCBDsIAMwQIyBAvIECwgQ7CADMECMgQLyBAsIEOwgAzBAjIEC8gQLCBDsIAMwQIyBAvIECwgQ7CADMECMgQLyLjsXgBUHLfr7iV8PBMWkCFYQIYtIUwa98fuJXw8ExaQYcKCSaseupvU/s6EBWQIFpBhSwiTzmzlvMO1hgkLyBAsIEOwgAzBAjIEC8gQLCBDsIAMwQIyBAvIECwgQ7CADMECMgQLyBAsIEOwgAzBAjIEC8gQLCBDsIAMwQIyBAvIECwgQ7CADOcSMuXMuXqOZmcVExaQYcJ64uxpvSaL9+L05v1MWECGYAEZxxhj7F4EwAwTFpAhWECGYAEZggVkCBaQIVhAhmABGYIFZAgWkCFYQIZgARmCBWQIFpDxrx/w8wE0aHm1j1CasIAMwQIyfMAPyDBhARmCBWQIFpAhWECGYAEZggVkCBaQIVhAhmABGYIFZAgWkCFYQIZgARmCBWQIFpAhWECGYAEZggVkCBaQIVhAhmABGYIFZAgWkCFYQIZgARmCBWQIFpAhWECGYAEZP+PdOcYDYaNOAAAAAElFTkSuQmCC) -12px 0px;">
                            <div style="position:absolute; left:15px; top:60px; width:64px; height:18px;{{ $lname->getNameTorF($lname->getWaiGe(),2) }}">外格 {{ $lname->getWaiGe() }}<br>({{ $lname->getYinYangWuXing($lname->getWaiGe()) }})</div>

                            {{--<div style="position:absolute; left:83px; top:8px; width:50px; height:18px; text-align:left">  1</div>
                            <div style="position:absolute; left:83px; top:44px; width:50px; height:18px; text-align:left">张 11</div>--}}
                            <div style="position:absolute; left:80px; top:68px; width:50px; height:18px; text-align:left;{{ $lname->getNameTorF($lname->getBianGe(),2) }}">变格{{ $lname->getBianGe() }}<br>({{ $lname->getYinYangWuXing($lname->getBianGe()) }})</div>
                            {{--<div style="position:absolute; left:83px; top:115px; width:50px; height:18px; text-align:left">大 3</div>--}}
                            @if ($data['type']==1)
                                @if ($lname->getNameLength()==3)
                                    <div style="position:absolute; left:150px; top:5px; width:50px; height:18px; text-align:left">  1</div>
                                    @foreach($lname->getName() as $k=>$v)
                                        @if ($k==0)
                                        <div style="position:absolute; left:150px; top:40px; width:50px; height:18px">{{ $v['namechr'] }} {{ $v['strokes'] }}</div>
                                        @endif
                                        @if ($k==1)
                                        <div style="position:absolute; left:150px; top:78px; width:50px; height:18px">{{ $v['namechr'] }} {{ $v['strokes'] }}</div>
                                        @endif
                                        @if ($k==2)
                                        <div style="position:absolute; left:150px; top:110px; width:50px; height:18px">{{ $v['namechr'] }} {{ $v['strokes'] }}</div>
                                        @endif
                                    @endforeach
                                @elseif($lname->getNameLength()==2)
                                    <div style="position:absolute; left:150px; top:5px; width:50px; height:18px; text-align:left">  1</div>
                                    @foreach($lname->getName() as $k=>$v)
                                        @if ($k==0)
                                            <div style="position:absolute; left:150px; top:40px; width:50px; height:18px">{{ $v['namechr'] }} {{ $v['strokes'] }}</div>
                                        @endif
                                        @if ($k==1)
                                            <div style="position:absolute; left:150px; top:78px; width:50px; height:18px">{{ $v['namechr'] }} {{ $v['strokes'] }}</div>
                                        @endif
                                        <div style="position:absolute; left:150px; top:110px; width:50px; height:18px;text-align:center">1</div>

                                    @endforeach
                                @else
                                    @foreach($lname->getName() as $k=>$v)
                                        @if ($k==0)
                                            <div style="position:absolute; left:150px; top:5px; width:50px; height:18px; text-align:left">{{ $v['namechr'] }} {{ $v['strokes'] }}</div>
                                        @endif
                                        @if ($k==1)
                                            <div style="position:absolute; left:150px; top:40px; width:50px; height:18px">{{ $v['namechr'] }} {{ $v['strokes'] }}</div>
                                        @endif
                                        @if ($k==2)
                                            <div style="position:absolute; left:150px; top:78px; width:50px; height:18px">{{ $v['namechr'] }} {{ $v['strokes'] }}</div>
                                        @endif
                                        @if ($k==3)
                                            <div style="position:absolute; left:150px; top:110px; width:50px; height:18px">{{ $v['namechr'] }} {{ $v['strokes'] }}</div>
                                        @endif
                                    @endforeach
                                @endif
                            @else
                                @if ($lname->getNameLength()==3)
                                    @foreach($lname->getName() as $k=>$v)
                                        @if ($k==0)
                                            <div style="position:absolute; left:150px; top:5px; width:50px; height:18px; text-align:left">{{ $v['namechr'] }} {{ $v['strokes'] }}</div>
                                        @endif
                                        @if ($k==1)
                                            <div style="position:absolute; left:150px; top:40px; width:50px; height:18px">{{ $v['namechr'] }} {{ $v['strokes'] }}</div>
                                        @endif
                                        @if ($k==2)
                                            <div style="position:absolute; left:150px; top:78px; width:50px; height:18px">{{ $v['namechr'] }} {{ $v['strokes'] }}</div>
                                        @endif
                                            <div style="position:absolute; left:150px; top:110px; width:50px; height:18px;text-align:center">1</div>
                                    @endforeach
                                @else
                                    @foreach($lname->getName() as $k=>$v)
                                        @if ($k==0)
                                            <div style="position:absolute; left:150px; top:5px; width:50px; height:18px; text-align:left">{{ $v['namechr'] }} {{ $v['strokes'] }}</div>
                                        @endif
                                        @if ($k==1)
                                            <div style="position:absolute; left:150px; top:40px; width:50px; height:18px">{{ $v['namechr'] }} {{ $v['strokes'] }}</div>
                                        @endif
                                        @if ($k==2)
                                            <div style="position:absolute; left:150px; top:78px; width:50px; height:18px">{{ $v['namechr'] }} {{ $v['strokes'] }}</div>
                                        @endif
                                        @if ($k==3)
                                            <div style="position:absolute; left:150px; top:110px; width:50px; height:18px">{{ $v['namechr'] }} {{ $v['strokes'] }}</div>
                                        @endif
                                    @endforeach
                                @endif
                            @endif
                            <div style="position:absolute; left:103px; top:145px; width:120px; height:18px;{{ $lname->getNameTorF($lname->getZongGe(),2) }}">总格 {{ $lname->getZongGe() }} ({{ $lname->getYinYangWuXing($lname->getZongGe()) }})</div>

                            <div style="position:absolute; left:215px; top:10px; width:64px; height:18px;{{ $lname->getNameTorF($lname->getTianGe(),2) }}">天格 {{ $lname->getTianGe() }}<br>({{ $lname->getYinYangWuXing($lname->getTianGe()) }})</div>
                            <div style="position:absolute; left:215px; top:50px; width:64px; height:18px;{{ $lname->getNameTorF($lname->getRenGe(),2) }}">人格 {{ $lname->getRenGe() }}<br>({{ $lname->getYinYangWuXing($lname->getRenGe()) }})</div>
                            <div style="position:absolute; left:215px; top:90px; width:64px; height:18px;{{ $lname->getNameTorF($lname->getDiGe(),2) }}">地格 {{ $lname->getDiGe() }}<br>({{ $lname->getYinYangWuXing($lname->getDiGe()) }})</div>
                        </div>
                    </td>
                    <td style="border-left:solid 1px green; padding-left:4px; text-decoration:underline; color:Gray;display:none">
                        天格数是先祖留传下来的,其数理对人影响不大。<br><br>地格数又称前运,影响人中年(36岁)以前的活动力。<br><br>人格数又称主运,是整个姓名的中心点,影响人的一生命运。<br><br>外格又称变格,影响人的社交、智慧等,其数理不用重点去看。<br><br>总格又称后运,影响人中年(36岁)以后的命运。
                    </td>
                </tr>
                </tbody></table>
            </p>
离线北斗星

只看该作者 沙发   发表于: 2021-11-30

                    <td style="vertical-align:middle;">
                        天格:{{ $lname->getTianGe() }}</br></br>
                        地格:{{ $lname->getDiGe() }}</br></br>
                        人格:{{ $lname->getRenGe() }}
                    </td>

                    <td style="vertical-align:middle;">
                        总格:{{ $lname->getZongGe() }}</br></br>
                        外格:{{ $lname->getWaiGe() }}
                    </td>
离线北斗星

只看该作者 板凳   发表于: 2021-12-01
<table  class="table" style="width:auto;text-align: center;border:0;">
                <tr>
                    <td>
                        <table class="table" style="width:auto;text-align: center;">
                            <tr><td></td><td>繁体</td><td>拼音</td><td>康熙笔划</td><td>五行</td></tr>
                            @foreach($lname->getName() as $k=>$v)
                                <tr>
                                    <td>{{ $v['namechr'] }}</td>
                                    <td>{{ $v['fantizi'] }}</td>
                                    <td>{{ $v['pinyin'] }}</td>
                                    <td>{{ $v['strokes'] }}</td>
                                    <td>{{ $v['wuxing'] }}</td>
                                </tr>
                            @endforeach
                        </table>
                    </td>

                    <td style="vertical-align:middle;">
                        <table border="0" cellpadding="0" cellspacing="0" width="100%" class="blank">
                            <tbody><tr>
                                <td>
                                    <div style="margin-top:-10px;line-height: 150%;font-size:13px;position:relative;margin-left:0px; width:300px; height:170px; overflow:hidden; background-repeat:no-repeat; background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASwAAACqCAYAAAAX43IEAAAC30lEQVR4nO3d0W3CMBRA0aZiJHZiJnZiJ/e3X8hqrJoL5wyArChcPUdRfIwxxhdAwPfuBQDMEiwgQ7CADMECMgQLyBAsIEOwgAzBAjIEC8gQLCBDsIAMwQIyLrsX8GqO23X3Et7OuD92L2GJVffGu1yPHUxYQIZgARm2hE8Y3fntzP3gUcMaJiwgQ7CADMECMgQLyBAsIEOwgAzBAjIEC8gQLCBDsIAMwQIyBAvIECwgQ7CADMECMgQLyBAsIEOwgAzBAjIEC8gQLCBDsIAMwQIyBAvIECwgQ7CADMECMgQLyBAsIEOwgAzBAjIuuxfA6zpu1yW/M+6PJb+z26rrwd+ZsIAMwQIybAlh0rtsbcsECyZ5prefYDHFn4xX4BkWkGHCgklnpkyvRKxhwgIyBAvIECwgQ7CADMECMgQLyBAsIEOwgAzBAjIEC8gQLCBDsIAMwQIyBAvIECwgQ7CADMECMgQLyBAsIEOwgAzBAjIEC8gQLCBDsIAMwQIyBAvIECwgQ7CADMECMgQLyLjsXgBUHLfr7iV8PBMWkCFYQIYtIUwa98fuJXw8ExaQYcKCSaseupvU/s6EBWQIFpBhSwiTzmzlvMO1hgkLyBAsIEOwgAzBAjIEC8gQLCBDsIAMwQIyBAvIECwgQ7CADMECMgQLyBAsIEOwgAzBAjIEC8gQLCBDsIAMwQIyBAvIECwgQ7CADOcSMuXMuXqOZmcVExaQYcJ64uxpvSaL9+L05v1MWECGYAEZxxhj7F4EwAwTFpAhWECGYAEZggVkCBaQIVhAhmABGYIFZAgWkCFYQIZgARmCBWQIFpDxrx/w8wE0aHm1j1CasIAMwQIyfMAPyDBhARmCBWQIFpAhWECGYAEZggVkCBaQIVhAhmABGYIFZAgWkCFYQIZgARmCBWQIFpAhWECGYAEZggVkCBaQIVhAhmABGYIFZAgWkCFYQIZgARmCBWQIFpAhWECGYAEZP+PdOcYDYaNOAAAAAElFTkSuQmCC) -12px 0px;">
                                        <div style="position:absolute; left:0px; top:60px; width:64px; height:18px;">外格 {{ $lname->getWaiGe() }}<br>({{ $lname->getYinYangWuXing($lname->getWaiGe()) }})</div>

                                        {{--<div style="position:absolute; left:83px; top:8px; width:50px; height:18px; text-align:left">  1</div>
                                        <div style="position:absolute; left:83px; top:44px; width:50px; height:18px; text-align:left">张 11</div>--}}
                                        <div style="position:absolute; left:80px; top:68px; width:50px; height:18px; text-align:left;"></div>
                                        {{--<div style="position:absolute; left:83px; top:115px; width:50px; height:18px; text-align:left">大 3</div>--}}
                                        @if ($data['type']==1)
                                            @if ($lname->getNameLength()==3)
                                                <div style="position:absolute; left:150px; top:5px; width:50px; height:18px; text-align:left">  1</div>
                                                @foreach($lname->getName() as $k=>$v)
                                                    @if ($k==0)
                                                        <div style="position:absolute; left:150px; top:40px; width:50px; height:18px">{{ $v['namechr'] }} {{ $v['strokes'] }}</div>
                                                    @endif
                                                    @if ($k==1)
                                                        <div style="position:absolute; left:150px; top:78px; width:50px; height:18px">{{ $v['namechr'] }} {{ $v['strokes'] }}</div>
                                                    @endif
                                                    @if ($k==2)
                                                        <div style="position:absolute; left:150px; top:110px; width:50px; height:18px">{{ $v['namechr'] }} {{ $v['strokes'] }}</div>
                                                    @endif
                                                @endforeach
                                            @elseif($lname->getNameLength()==2)
                                                <div style="position:absolute; left:150px; top:5px; width:50px; height:18px; text-align:left">  1</div>
                                                @foreach($lname->getName() as $k=>$v)
                                                    @if ($k==0)
                                                        <div style="position:absolute; left:150px; top:40px; width:50px; height:18px">{{ $v['namechr'] }} {{ $v['strokes'] }}</div>
                                                    @endif
                                                    @if ($k==1)
                                                        <div style="position:absolute; left:150px; top:78px; width:50px; height:18px">{{ $v['namechr'] }} {{ $v['strokes'] }}</div>
                                                    @endif
                                                    <div style="position:absolute; left:150px; top:110px; width:50px; height:18px;text-align:center">1</div>

                                                @endforeach
                                            @else
                                                @foreach($lname->getName() as $k=>$v)
                                                    @if ($k==0)
                                                        <div style="position:absolute; left:150px; top:5px; width:50px; height:18px; text-align:left">{{ $v['namechr'] }} {{ $v['strokes'] }}</div>
                                                    @endif
                                                    @if ($k==1)
                                                        <div style="position:absolute; left:150px; top:40px; width:50px; height:18px">{{ $v['namechr'] }} {{ $v['strokes'] }}</div>
                                                    @endif
                                                    @if ($k==2)
                                                        <div style="position:absolute; left:150px; top:78px; width:50px; height:18px">{{ $v['namechr'] }} {{ $v['strokes'] }}</div>
                                                    @endif
                                                    @if ($k==3)
                                                        <div style="position:absolute; left:150px; top:110px; width:50px; height:18px">{{ $v['namechr'] }} {{ $v['strokes'] }}</div>
                                                    @endif
                                                @endforeach
                                            @endif
                                        @else
                                            @if ($lname->getNameLength()==3)
                                                @foreach($lname->getName() as $k=>$v)
                                                    @if ($k==0)
                                                        <div style="position:absolute; left:150px; top:5px; width:50px; height:18px; text-align:left">{{ $v['namechr'] }} {{ $v['strokes'] }}</div>
                                                    @endif
                                                    @if ($k==1)
                                                        <div style="position:absolute; left:150px; top:40px; width:50px; height:18px">{{ $v['namechr'] }} {{ $v['strokes'] }}</div>
                                                    @endif
                                                    @if ($k==2)
                                                        <div style="position:absolute; left:150px; top:78px; width:50px; height:18px">{{ $v['namechr'] }} {{ $v['strokes'] }}</div>
                                                    @endif
                                                    <div style="position:absolute; left:150px; top:110px; width:50px; height:18px;text-align:center">1</div>
                                                @endforeach
                                            @else
                                                @foreach($lname->getName() as $k=>$v)
                                                    @if ($k==0)
                                                        <div style="position:absolute; left:150px; top:5px; width:50px; height:18px; text-align:left">{{ $v['namechr'] }} {{ $v['strokes'] }}</div>
                                                    @endif
                                                    @if ($k==1)
                                                        <div style="position:absolute; left:150px; top:40px; width:50px; height:18px">{{ $v['namechr'] }} {{ $v['strokes'] }}</div>
                                                    @endif
                                                    @if ($k==2)
                                                        <div style="position:absolute; left:150px; top:78px; width:50px; height:18px">{{ $v['namechr'] }} {{ $v['strokes'] }}</div>
                                                    @endif
                                                    @if ($k==3)
                                                        <div style="position:absolute; left:150px; top:110px; width:50px; height:18px">{{ $v['namechr'] }} {{ $v['strokes'] }}</div>
                                                    @endif
                                                @endforeach
                                            @endif
                                        @endif
                                        <div style="position:absolute; left:90px; top:145px; width:120px; height:18px;">总格 {{ $lname->getZongGe() }} ({{ $lname->getYinYangWuXing($lname->getZongGe()) }})</div>

                                        <div style="position:absolute; left:200px; top:10px; width:64px; height:18px;">天格 {{ $lname->getTianGe() }}<br>({{ $lname->getYinYangWuXing($lname->getTianGe()) }})</div>
                                        <div style="position:absolute; left:200px; top:50px; width:64px; height:18px;">人格 {{ $lname->getRenGe() }}<br>({{ $lname->getYinYangWuXing($lname->getRenGe()) }})</div>
                                        <div style="position:absolute; left:200px; top:90px; width:64px; height:18px;">地格 {{ $lname->getDiGe() }}<br>({{ $lname->getYinYangWuXing($lname->getDiGe()) }})</div>
                                    </div>
                                </td>
                                <td style="border-left:solid 1px green; padding-left:10px; text-decoration:underline; color:Gray;font-size:14px;text-align:left;">
                                    天格数是先祖留传下来的,其数理对人影响不大。<br>地格数又称前运,影响人中年(36岁)以前的活动力。<br>人格数又称主运,是整个姓名的中心点,影响人的一生命运。<br>外格又称变格,影响人的社交、智慧等,其数理不用重点去看。<br>总格又称后运,影响人中年(36岁)以后的命运。
                                </td>
                            </tr>
                            </tbody></table>
                    </td>

                </tr></table>
离线北斗星

只看该作者 地板   发表于: 2021-12-01
<table  class="table" style="width:auto;text-align: center;border:0;">
                <tr>
                    <td>
                        <table class="table" style="width:auto;text-align: center;">
                            <tr><td></td><td>繁体</td><td>拼音</td><td>康熙笔划</td><td>五行</td></tr>
                            @foreach($lname->getName() as $k=>$v)
                                <tr>
                                    <td>{{ $v['namechr'] }}</td>
                                    <td>{{ $v['fantizi'] }}</td>
                                    <td>{{ $v['pinyin'] }}</td>
                                    <td>{{ $v['strokes'] }}</td>
                                    <td>{{ $v['wuxing'] }}</td>
                                </tr>
                            @endforeach
                        </table>
                    </td>
                    <td style="vertical-align:middle;">
                        <table border="0" cellpadding="0" cellspacing="0" width="100%" class="blank">
                            <tbody><tr>
                                <td>
                                    <div style="margin-top:-10px;line-height: 150%;font-size:13px;position:relative;margin-left:0px; width:300px; height:170px; overflow:hidden; background-repeat:no-repeat; background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASwAAACqCAYAAAAX43IEAAAC30lEQVR4nO3d0W3CMBRA0aZiJHZiJnZiJ/e3X8hqrJoL5wyArChcPUdRfIwxxhdAwPfuBQDMEiwgQ7CADMECMgQLyBAsIEOwgAzBAjIEC8gQLCBDsIAMwQIyLrsX8GqO23X3Et7OuD92L2GJVffGu1yPHUxYQIZgARm2hE8Y3fntzP3gUcMaJiwgQ7CADMECMgQLyBAsIEOwgAzBAjIEC8gQLCBDsIAMwQIyBAvIECwgQ7CADMECMgQLyBAsIEOwgAzBAjIEC8gQLCBDsIAMwQIyBAvIECwgQ7CADMECMgQLyBAsIEOwgAzBAjIuuxfA6zpu1yW/M+6PJb+z26rrwd+ZsIAMwQIybAlh0rtsbcsECyZ5prefYDHFn4xX4BkWkGHCgklnpkyvRKxhwgIyBAvIECwgQ7CADMECMgQLyBAsIEOwgAzBAjIEC8gQLCBDsIAMwQIyBAvIECwgQ7CADMECMgQLyBAsIEOwgAzBAjIEC8gQLCBDsIAMwQIyBAvIECwgQ7CADMECMgQLyLjsXgBUHLfr7iV8PBMWkCFYQIYtIUwa98fuJXw8ExaQYcKCSaseupvU/s6EBWQIFpBhSwiTzmzlvMO1hgkLyBAsIEOwgAzBAjIEC8gQLCBDsIAMwQIyBAvIECwgQ7CADMECMgQLyBAsIEOwgAzBAjIEC8gQLCBDsIAMwQIyBAvIECwgQ7CADOcSMuXMuXqOZmcVExaQYcJ64uxpvSaL9+L05v1MWECGYAEZxxhj7F4EwAwTFpAhWECGYAEZggVkCBaQIVhAhmABGYIFZAgWkCFYQIZgARmCBWQIFpDxrx/w8wE0aHm1j1CasIAMwQIyfMAPyDBhARmCBWQIFpAhWECGYAEZggVkCBaQIVhAhmABGYIFZAgWkCFYQIZgARmCBWQIFpAhWECGYAEZggVkCBaQIVhAhmABGYIFZAgWkCFYQIZgARmCBWQIFpAhWECGYAEZP+PdOcYDYaNOAAAAAElFTkSuQmCC) -12px 0px;">
                                        <div style="position:absolute; left:0px; top:60px; width:64px; height:18px;{{ $lname->getNameTorF($lname->getWaiGe(),2) }}">外格 {{ $lname->getWaiGe() }}<br>({{ $lname->getYinYangWuXing($lname->getWaiGe()) }})</div>

                                        {{--<div style="position:absolute; left:83px; top:8px; width:50px; height:18px; text-align:left">  1</div>
                                        <div style="position:absolute; left:83px; top:44px; width:50px; height:18px; text-align:left">张 11</div>--}}
                                        <div style="position:absolute; left:80px; top:68px; width:50px; height:18px; text-align:left;{{ $lname->getNameTorF($lname->getBianGe(),2) }}">变格{{ $lname->getBianGe() }}<br>({{ $lname->getYinYangWuXing($lname->getBianGe()) }})</div>
                                        {{--<div style="position:absolute; left:83px; top:115px; width:50px; height:18px; text-align:left">大 3</div>--}}
                                        @if ($data['type']==1)
                                            @if ($lname->getNameLength()==3)
                                                <div style="position:absolute; left:150px; top:5px; width:50px; height:18px; text-align:left">  1</div>
                                                @foreach($lname->getName() as $k=>$v)
                                                    @if ($k==0)
                                                        <div style="position:absolute; left:150px; top:40px; width:50px; height:18px">{{ $v['namechr'] }} {{ $v['strokes'] }}</div>
                                                    @endif
                                                    @if ($k==1)
                                                        <div style="position:absolute; left:150px; top:78px; width:50px; height:18px">{{ $v['namechr'] }} {{ $v['strokes'] }}</div>
                                                    @endif
                                                    @if ($k==2)
                                                        <div style="position:absolute; left:150px; top:110px; width:50px; height:18px">{{ $v['namechr'] }} {{ $v['strokes'] }}</div>
                                                    @endif
                                                @endforeach
                                            @elseif($lname->getNameLength()==2)
                                                <div style="position:absolute; left:150px; top:5px; width:50px; height:18px; text-align:left">  1</div>
                                                @foreach($lname->getName() as $k=>$v)
                                                    @if ($k==0)
                                                        <div style="position:absolute; left:150px; top:40px; width:50px; height:18px">{{ $v['namechr'] }} {{ $v['strokes'] }}</div>
                                                    @endif
                                                    @if ($k==1)
                                                        <div style="position:absolute; left:150px; top:78px; width:50px; height:18px">{{ $v['namechr'] }} {{ $v['strokes'] }}</div>
                                                    @endif
                                                    <div style="position:absolute; left:150px; top:110px; width:50px; height:18px;text-align:center">1</div>

                                                @endforeach
                                            @else
                                                @foreach($lname->getName() as $k=>$v)
                                                    @if ($k==0)
                                                        <div style="position:absolute; left:150px; top:5px; width:50px; height:18px; text-align:left">{{ $v['namechr'] }} {{ $v['strokes'] }}</div>
                                                    @endif
                                                    @if ($k==1)
                                                        <div style="position:absolute; left:150px; top:40px; width:50px; height:18px">{{ $v['namechr'] }} {{ $v['strokes'] }}</div>
                                                    @endif
                                                    @if ($k==2)
                                                        <div style="position:absolute; left:150px; top:78px; width:50px; height:18px">{{ $v['namechr'] }} {{ $v['strokes'] }}</div>
                                                    @endif
                                                    @if ($k==3)
                                                        <div style="position:absolute; left:150px; top:110px; width:50px; height:18px">{{ $v['namechr'] }} {{ $v['strokes'] }}</div>
                                                    @endif
                                                @endforeach
                                            @endif
                                        @else
                                            @if ($lname->getNameLength()==3)
                                                @foreach($lname->getName() as $k=>$v)
                                                    @if ($k==0)
                                                        <div style="position:absolute; left:150px; top:5px; width:50px; height:18px; text-align:left">{{ $v['namechr'] }} {{ $v['strokes'] }}</div>
                                                    @endif
                                                    @if ($k==1)
                                                        <div style="position:absolute; left:150px; top:40px; width:50px; height:18px">{{ $v['namechr'] }} {{ $v['strokes'] }}</div>
                                                    @endif
                                                    @if ($k==2)
                                                        <div style="position:absolute; left:150px; top:78px; width:50px; height:18px">{{ $v['namechr'] }} {{ $v['strokes'] }}</div>
                                                    @endif
                                                    <div style="position:absolute; left:150px; top:110px; width:50px; height:18px;text-align:center">1</div>
                                                @endforeach
                                            @else
                                                @foreach($lname->getName() as $k=>$v)
                                                    @if ($k==0)
                                                        <div style="position:absolute; left:150px; top:5px; width:50px; height:18px; text-align:left">{{ $v['namechr'] }} {{ $v['strokes'] }}</div>
                                                    @endif
                                                    @if ($k==1)
                                                        <div style="position:absolute; left:150px; top:40px; width:50px; height:18px">{{ $v['namechr'] }} {{ $v['strokes'] }}</div>
                                                    @endif
                                                    @if ($k==2)
                                                        <div style="position:absolute; left:150px; top:78px; width:50px; height:18px">{{ $v['namechr'] }} {{ $v['strokes'] }}</div>
                                                    @endif
                                                    @if ($k==3)
                                                        <div style="position:absolute; left:150px; top:110px; width:50px; height:18px">{{ $v['namechr'] }} {{ $v['strokes'] }}</div>
                                                    @endif
                                                @endforeach
                                            @endif
                                        @endif
                                        <div style="position:absolute; left:90px; top:145px; width:120px; height:18px;{{ $lname->getNameTorF($lname->getZongGe(),2) }}">总格 {{ $lname->getZongGe() }} ({{ $lname->getYinYangWuXing($lname->getZongGe()) }})</div>

                                        <div style="position:absolute; left:200px; top:10px; width:64px; height:18px;{{ $lname->getNameTorF($lname->getTianGe(),2) }}">天格 {{ $lname->getTianGe() }}<br>({{ $lname->getYinYangWuXing($lname->getTianGe()) }})</div>
                                        <div style="position:absolute; left:200px; top:50px; width:64px; height:18px;{{ $lname->getNameTorF($lname->getRenGe(),2) }}">人格 {{ $lname->getRenGe() }}<br>({{ $lname->getYinYangWuXing($lname->getRenGe()) }})</div>
                                        <div style="position:absolute; left:200px; top:90px; width:64px; height:18px;{{ $lname->getNameTorF($lname->getDiGe(),2) }}">地格 {{ $lname->getDiGe() }}<br>({{ $lname->getYinYangWuXing($lname->getDiGe()) }})</div>
                                    </div>
                                </td>
                                <td style="border-left:solid 1px green; padding-left:4px; text-decoration:underline; color:Gray;display:none">
                                    天格数是先祖留传下来的,其数理对人影响不大。<br><br>地格数又称前运,影响人中年(36岁)以前的活动力。<br><br>人格数又称主运,是整个姓名的中心点,影响人的一生命运。<br><br>外格又称变格,影响人的社交、智慧等,其数理不用重点去看。<br><br>总格又称后运,影响人中年(36岁)以后的命运。
                                </td>
                            </tr>
                            </tbody></table>
                    </td>

                </tr></table>
离线北斗星

只看该作者 4楼  发表于: 2021-12-03


<script>
    $(document).ready(function() {
        $("input[name='taiyang']:checked").each(function () {
            alert(this.value);
        });
        $("input[type=checkbox][checked]").each(function(){
            //由于复选框一般选中的是多个,所以可以循环输出
            alert($(this).val());
        });
        $('input[name="taiyang"][checked]').click(function(){
            //alert('111');
           // $('input[type="text"]').attr("required", "true");
        });
    });
</script>
快速回复
限100 字节
批量上传需要先选择文件,再选择上传
 
上一个 下一个