whoami7 - Manager
:
/
proc
/
self
/
root
/
home
/
papecmvm
/
www
/
application
/
views
/
menu
/
Upload File:
files >> //proc/self/root/home/papecmvm/www/application/views/menu/menulist.php
<h4>Menu Shortcode :: <?php echo $menugroup[0]['menushortcode'];?></h4> <?php $i=0; while($i <count($menu)) { ?><!--Level Zero menu Display--> <li class="dd-item rem_<?php echo $menu[$i]['menu_content'];?>" data-id="<?php echo $menu[$i]['menu_content'];?>"> <div class="pull-right out-line"> <?php if ($menu[$i]['menu_url']!='') { echo ' <b> Custom Menu </b>'; }?> <button class="btnclick btn btn-link" type='button' value="<?php echo $menu[$i]['menu_content'];?>" > <span class="caret my-caret"></span> </button> </div> <div class="dd-handle"><?php echo $menu[$i]['menu_name'];?></div> <div class="box-body ids_<?php echo $menu[$i]['menu_content'];?>" style="display: none;"> <div class="form-group"> <label>Menu Lable</label> <input type="text" id='lable[]' class="form-control" name='lable[]' value="<?php echo $menu[$i]['menu_displayname'];?>" placeholder="Enter ..."> <input type="hidden" class="form-control" id='menu[]' name='menu[]' value="<?php echo $menu[$i]['menu_name'];?>" placeholder="Enter ..."> </div> <?php if ($menu[$i]['menu_url']!='') { ?> <div class="form-group"> <label>Menu Lable</label> <input type="text" id='urllink[]' class="form-control" name='urllink[]' value='<?php echo $menu[$i]['menu_url'];?>' placeholder="Enter ..."> </div> <?php }else{?> <input type="hidden" id='urllink[]' class="form-control" name='urllink[]' value='<?php echo $menu[$i]['menu_url'];?>' placeholder="Enter ..."> <?php }?> <button type="button" value='<?php echo $menu[$i]['menu_content'];?>' class="btn btn-default remove">Remove</button> </div> <!--Level one Dispaly--> <?php $levels=0; for ($j=$i; $j <count($menu) ; $j++) { if($menu[$i]['menu_content']==$menu[$j]['submenu']) { $levels++; } } for ($k=0; $k <$levels; $k++) { if ($k==0) {echo "<ol class='dd-list'>";} $i++; ?> <li class="dd-item rem_<?php echo $menu[$i]['menu_content'];?>" data-id="<?php echo $menu[$i]['menu_content'];?>"> <div class="pull-right out-line"> <?php if ($menu[$i]['menu_url']!='') { echo ' <b> Custom Menu </b>'; }?> <button class="btnclick btn btn-link" type='button' value="<?php echo $menu[$i]['menu_content'];?>" > <span class="caret my-caret"></span> </button> </div> <div class="dd-handle"><?php echo $menu[$i]['menu_name'];?></div> <div class="box-body ids_<?php echo $menu[$i]['menu_content'];?>" style="display: none;"> <div class="form-group"> <label>Menu Lable</label> <input type="text" id='lable[]' class="form-control" name='lable[]' value="<?php echo $menu[$i]['menu_displayname'];?>" placeholder="Enter ..."> <input type="hidden" class="form-control" id='menu[]' name='menu[]' value="<?php echo $menu[$i]['menu_name'];?>" placeholder="Enter ..."> </div> <?php if ($menu[$i]['menu_url']!='') { ?> <div class="form-group"> <label>Menu Lable</label> <input type="text" id='urllink[]' class="form-control" name='urllink[]' value='<?php echo $menu[$i]['menu_url'];?>' placeholder="Enter ..."> </div> <?php }else{?> <input type="hidden" id='urllink[]' class="form-control" name='urllink[]' value='<?php echo $menu[$i]['menu_url'];?>' placeholder="Enter ..."> <?php }?> <button type="button" value='<?php echo $menu[$i]['menu_content'];?>' class="btn btn-default remove">Remove</button> </div> <!--Level Two Dispaly--> <?php $level2=0; for ($j=$i; $j <count($menu) ; $j++) { if($menu[$i]['menu_content']==$menu[$j]['submenu']) { $level2++; } } for ($l=0; $l <$level2; $l++) { if ($l==0) {echo "<ol class='dd-list'>";} $i++; ?> <li class="dd-item rem_<?php echo $menu[$i]['menu_content'];?>" data-id="<?php echo $menu[$i]['menu_content'];?>"> <div class="pull-right out-line"> <?php if ($menu[$i]['menu_url']!='') { echo ' <b> Custom Menu </b>'; }?> <button class="btnclick btn btn-link" type='button' value="<?php echo $menu[$i]['menu_content'];?>" > <span class="caret my-caret"></span> </button> </div> <div class="dd-handle"><?php echo $menu[$i]['menu_name'];?></div> <div class="box-body ids_<?php echo $menu[$i]['menu_content'];?>" style="display: none;"> <div class="form-group"> <label>Menu Lable</label> <input type="text" id='lable[]' class="form-control" name='lable[]' value='<?php echo $menu[$i]['menu_displayname'];?>' placeholder="Enter ..."> <input type="hidden" class="form-control" id='menu[]' name='menu[]' value='<?php echo $menu[$i]['menu_name'];?>' placeholder="Enter ..."> </div> <?php if ($menu[$i]['menu_url']!='') { ?> <div class="form-group"> <label>Menu Lable</label> <input type="text" id='urllink[]' class="form-control" name='urllink[]' value='<?php echo $menu[$i]['menu_url'];?>' placeholder="Enter ..."> </div> <?php }else{?> <input type="hidden" id='urllink[]' class="form-control" name='urllink[]' value='<?php echo $menu[$i]['menu_url'];?>' placeholder="Enter ..."> <?php }?> <button type="button" value='<?php echo $menu[$i]['menu_content'];?>' class="btn btn-default remove">Remove</button> </div> </li> <?php if ($l==($level2-1)) {echo "</ol></li>";} } ?><!-- End Level Two Display --> </li> <?php if ($k==($levels-1)) {echo "</ol></li>";} }?><!-- End Level one Display --> </li> <?php $i++; }?> <!-- End Zero one Display -->
Copyright ©2021 || Defacer Indonesia