⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 armament_produce.php

📁 Download you own three BR
💻 PHP
📖 第 1 页 / 共 2 页
字号:
              <?php } ?>
           </div><div id="d1_00" class="wy_04">------------------------------------------------------------------------------------------</div>
           
        <?php } } //}
        //武器工房二级
        //if($work_house_result['b_work_house']>=2){
     		 if($arm_list<>"") foreach ($arm_list as $i=>$m) {
                if($m['a_bigtype']=="2"){
                include("armament_produce_show.php");//调用显示部分
                if(($study_result['s_arm']<1 and $m['a_type']=="3") or 
                ($study_result['s_loricae']<1 and $m['a_type']=="4")  or 
                (($study_result['s_loricae']<2 or $study_result['s_smelt']<10) and $m['a_type']=="5")) { ?>
                <div class="d1f_001" style="margin-top:5px ">
				<span class="wy_06" style="color:red;">科技研究需达到:<?php echo $m['need_study'];?></span>
				</div>
	            <?php } ?>
           <div class="d1f_02" style="margin-left:20px; margin-top:5px ">
              <?php 
              //判断研究技术:需要“武器制造”1级、“护甲制造”1级、“护甲制造”2级和“冶炼锻造”10级
              if($study_result['s_arm']>=1 and $m['a_type']=="3" or $study_result['s_loricae']>=1 and $m['a_type']=="4" or $study_result['s_loricae']>=2 and $study_result['s_smelt']>=10 and $m['a_type']=="5") {
              include("armament_produce_from.php");//调用表单部分
              ?>
              <?php }else{ ?>
                <span class="wy_05">条件不足</span>
              <?php } ?>
           </div><div id="d1_00" class="wy_04">------------------------------------------------------------------------------------------</div>
           
        <?php } } //} 
        //武器工房三级
        //if($work_house_result['b_work_house']>=3){
     		 if($arm_list<>"") foreach ($arm_list as $i=>$m) {
                if($m['a_bigtype']=="3"){
                include("armament_produce_show.php");//调用显示部分
                if(($study_result['s_arm']<2 and $m['a_type']=="6") or 
                ($study_result['s_arm']<2 and $m['a_type']=="7")  or 
                ($study_result['s_arm']<5 and $m['a_type']=="8")              
                ) { ?>
                <div class="d1f_001" style="margin-top:5px ">
				<span class="wy_06" style="color:red;">科技研究需达到:<?php echo $m['need_study'];?></span>
				</div>
	            <?php } ?>
           <div class="d1f_02" style="margin-left:20px; margin-top:5px ">
              <?php 
              //判断研究技术:需要“武器制造”2级、“武器制造”2级、“武器制造”5级
              if($study_result['s_arm']>=2 and $m['a_type']=="6" or $study_result['s_arm']>=2 and $m['a_type']=="7" or $study_result['s_arm']>=5 and $m['a_type']=="8") {
              include("armament_produce_from.php");//调用表单部分
              ?>
              <?php }else{ ?>
                <span class="wy_05">条件不足</span>
              <?php } ?>
           </div><div id="d1_00" class="wy_04">------------------------------------------------------------------------------------------</div>
           
        <?php } } //}
        //武器工房四级
        //if($work_house_result['b_work_house']>=4){
     		 if($arm_list<>"") foreach ($arm_list as $i=>$m) {
                if($m['a_bigtype']=="4"){
                include("armament_produce_show.php");//调用显示部分
                if(($study_result['s_arm']<5 and $m['a_type']=="9") or 
                ($study_result['s_loricae']<4 and $m['a_type']=="10")               
                ){ ?>
                <div class="d1f_001" style="margin-top:5px ">
				<span class="wy_06" style="color:red;">科技研究需达到:<?php echo $m['need_study'];?></span>
				</div>
	            <?php } ?>
           <div class="d1f_02" style="margin-left:20px; margin-top:5px ">
              <?php 
              //判断研究技术:需要“武器制造”5级、“护甲制造”4级
              if($study_result['s_arm']>=5 and $m['a_type']=="9" or $study_result['s_loricae']>=4 and $m['a_type']=="10") {
              include("armament_produce_from.php");//调用表单部分
              ?>
              <?php }else{ ?>
                <span class="wy_05">条件不足</span>
              <?php } ?>
           </div><div id="d1_00" class="wy_04">------------------------------------------------------------------------------------------</div>
           
        <?php } } //}
        //武器工房五级
       // if($work_house_result['b_work_house']>=5){
     		 if($arm_list<>"") foreach ($arm_list as $i=>$m) {
                if($m['a_bigtype']=="5"){
                include("armament_produce_show.php");//调用显示部分
                if(($study_result['s_arm']<7 or $study_result['s_trajectory']<2 or $study_result['s_engine']<1 and $m['a_type']=="12") or 
                ($study_result['s_engine']<2 and $m['a_type']=="11")               
                ) { ?>
                <div class="d1f_001" style="margin-top:5px ">
				<span class="wy_06" style="color:red;">科技研究需达到:<?php echo $m['need_study'];?></span>
				</div>
	            <?php } ?>
           <div class="d1f_02" style="margin-left:20px; margin-top:5px ">
              <?php 
              //判断研究技术:需要机械技术”2级 、“武器制造”7级“|”弹道技术“2级|“机械技术”1级
              if($study_result['s_engine']>=2 and $m['a_type']=="11" or $study_result['s_arm']>=7 and $study_result['s_trajectory']>=2 and $study_result['s_engine']>=1 and $m['a_type']=="12") {
              include("armament_produce_from.php");//调用表单部分
              ?>
              <?php }else{ ?>
                <span class="wy_05">条件不足</span>
              <?php } ?>
           </div><div id="d1_00" class="wy_04">------------------------------------------------------------------------------------------</div>
           
        <?php } } //} 
        //武器工房六级
        //if($work_house_result['b_work_house']>=6){
     		 if($arm_list<>"") foreach ($arm_list as $i=>$m) {
                if($m['a_bigtype']=="6"){
                include("armament_produce_show.php");//调用显示部分
                if(($study_result['s_arm']<11 or $study_result['s_steel']<1 and $m['a_type']=="13") or 
                ($study_result['s_loricae']<9 or $study_result['s_steel']<1 and $m['a_type']=="14") or 
                ($study_result['s_loricae']<15 or $study_result['s_steel']<2 and $m['a_type']=="15")               
                ) { ?>
                <div class="d1f_001" style="margin-top:5px ">
				<span class="wy_06" style="color:red;">科技研究需达到:<?php echo $m['need_study'];?></span>
				</div>
	            <?php } ?>
           <div class="d1f_02" style="margin-left:20px; margin-top:5px ">
              <?php 
              //判断研究技术:需要”武器制造“11级|”钢铁精练“1级 、 “护甲制造”9级|“钢铁精练”1级 、“护甲制造”15级|“钢铁精练”2级
              if($study_result['s_arm']>=11 and $study_result['s_steel']>=1 and $m['a_type']=="13" or $study_result['s_loricae']>=9 and $study_result['s_steel']>=1 and $m['a_type']=="14" or $study_result['s_loricae']>=15 and $study_result['s_steel']>=2 and $m['a_type']=="15") {
              include("armament_produce_from.php");//调用表单部分
              ?>
              <?php }else{ ?>
                <span class="wy_05">条件不足</span>
              <?php } ?>
            </div><div id="d1_00" class="wy_04">------------------------------------------------------------------------------------------</div>
          
        <?php } } //} 
        //武器工房七级
        //if($work_house_result['b_work_house']>=7){
     		 if($arm_list<>"") foreach ($arm_list as $i=>$m) {
                if($m['a_bigtype']=="7"){
                include("armament_produce_show.php");//调用显示部分
	              //判断研究技术:需要“武器制造”13级|“钢铁精练”3级 、 “武器制造”17级|“钢铁精练”5级
	              if(($m['a_type']=="16" and $study_result['s_arm']<13 or $study_result['s_steel']<3) or ($m['a_type']=="17" and $study_result['s_arm']<17 or $study_result['s_steel']<5)) {?>
				  <div class="d1f_001" style="margin-top:5px ">
				  <span class="wy_06" style="color:red;">科技研究需达到:<?php echo $m['need_study'];?></span>
				  </div>
	              <?php } ?>
           <div class="d1f_02" style="margin-left:20px; margin-top:5px ">
              <?php 
              //判断研究技术:需要“武器制造”13级|“钢铁精练”3级 、 “武器制造”17级|“钢铁精练”5级
              if($study_result['s_arm']>=13 and $study_result['s_steel']>=3 and $m['a_type']=="16" or $study_result['s_arm']>=17 and $study_result['s_steel']>=5 and $m['a_type']=="17") {
              include("armament_produce_from.php");//调用表单部分
              ?>
              <?php }else{ ?>
                <span class="wy_05">条件不足</span>
              <?php } ?>
           </div>
           <div id="d1_00" class="wy_04">------------------------------------------------------------------------------------------</div>
           
        <?php } } //} 
        //武器工房八级
        //if($work_house_result['b_work_house']>=8){
     		 if($arm_list<>"") foreach ($arm_list as $i=>$m) {
                if($m['a_bigtype']=="8"){
                include("armament_produce_show.php");//调用显示部分
                if(($m['a_type']=="18" and ($study_result['s_arm']<19 or $study_result['s_trajectory']<4 or $study_result['s_engine']<3 or $study_result['s_wheel']<3)) or ($m['a_type']=="19" and $study_result['s_arm']<20 or $study_result['s_trajectory']<5 or $study_result['s_engine']<5 or $study_result['s_wheel']<5)) { ?>
                <div class="d1f_001" style="margin-top:5px ">
				<span class="wy_06" style="color:red;">科技研究需达到:<?php echo $m['need_study'];?></span>
				</div>
	            <?php } ?>
           <div class="d1f_02" style="margin-left:20px; margin-top:5px ">
              <?php 
              //判断研究技术:需要“武器制造”19级|“弹道技术”4级|“机械技术”3级|”车轮技术“3级
              //////////////////“武器制造”20级|“弹道技术”5级|“机械技术”5级|”车轮技术“5级
              if($study_result['s_arm']>=19 and $study_result['s_trajectory']>=4 and $study_result['s_engine']>=3 and $study_result['s_wheel']>=3 and $m['a_type']=="18" or $study_result['s_arm']>=20 and $study_result['s_trajectory']>=5 and $study_result['s_engine']>=5 and $study_result['s_wheel']>=5 and $m['a_type']=="19") {
              include("armament_produce_from.php");//调用表单部分
              ?>
              <?php }else{ ?>
               <span class="wy_05">条件不足</span>
              <?php } ?>
           </div>
             <?php if($i<>"18") { ?>
			  <div id="d1_00" class="wy_04">------------------------------------------------------------------------------------------</div> 
			  <?php }else{ ?>
			  <div style="padding-bottom:50px;"></div>
			  <?php } ?>
  
  <?php } }//} ?>
  
<?php }else{ ?>
	 <div id="building_description" class="task_title" style="padding-top:20px;">生产武器需先建造<a href="build.php?build_page=military_affairs" target="main" class="f">【武器工房】</a>军事设施!</div>
<?php } ?>

<!--替换区域结束-->

<?php if(!$work_house_result['b_work_house']) { ?>
<div style="padding-bottom:280px;"> </div>
<?php } ?>

</div>
<div id="mb_03"></div>

</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -