AnonSec Shell
Server IP : 162.214.74.102  /  Your IP : 216.73.216.139
Web Server : Apache
System : Linux dedi-4363141.lrsys.com.br 3.10.0-1160.119.1.el7.tuxcare.els25.x86_64 #1 SMP Wed Oct 1 17:37:27 UTC 2025 x86_64
User : lrsys ( 1015)
PHP Version : 5.6.40
Disable Function : exec,passthru,shell_exec,system
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/lrsys/public_html/lrsys_projetos/sopizzas/application/views/customer/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     

Current File : /home/lrsys/public_html/lrsys_projetos/sopizzas/application/views/customer/map_view.php
<!--Content Wrapper. Contains page content -->
      <div class="content-wrapper">
        <!-- Content Header (Page header) -->
        <section class="content-header address-book">
          <h1>Find All Restaurants</h1>
        </section>
        <!-- Main content -->
        <section class="content">
            <!-- tab section -->
            <div class="nav-tabs-custom">
                <div class="tab-content no-padding">
                  <div id="home" class="tab-pane fade in active">
                    <div class="box-body">
                          <div class="table-responsive">
                              <div id="map" style="width: 100%; height: 550px;"></div>
                          </div><!-- /.table-responsive -->
                      </div>
                  </div>
              </div>
            </div>
          </div>
      </div>
    <!-- ./tab section -->
   <div class="clearfix"></div>
  </section><!-- /.content -->
 </div>




  <script src="https://maps.googleapis.com/maps/api/js?key=<?=MAP_API_KEY?>">
    </script>


<script type="text/javascript">

var locations = [
    <?php
      if (isset($RestaurantList) && is_array($RestaurantList) && count($RestaurantList) > 0) {
          foreach ($RestaurantList as $key => $value) {

            $res_name = $value ->restaurant_name;
            $res_addr = $value ->restaurant_streetaddress;
            $lat = $value ->latitude;
            $log = $value ->longitude;

    ?>

        ['<b><?php echo $res_name;  ?></b></br><?php echo $res_addr; ?>', <?php echo $lat; ?>, <?php echo $log; ?>],

    <?php } } ?>
    ];


    /*var locations = [
      ['Bondi Beach', -33.890542, 151.274856, 4],
      ['Coogee Beach', -33.923036, 151.259052, 5],
      ['Cronulla Beach', -34.028249, 151.157507, 3],
      ['Manly Beach', -33.80010128657071, 151.28747820854187, 2],
      ['Maroubra Beach', -33.950198, 151.259302, 1]
    ];*/
    //32.926395, -117.207948
//32.939305
//-117.126117


    var map = new google.maps.Map(document.getElementById('map'), {
      zoom: 12,
      center: new google.maps.LatLng(32.939305, -117.126117),
      mapTypeId: google.maps.MapTypeId.ROADMAP
    });

    var infowindow = new google.maps.InfoWindow();

    var marker, i;

    for (i = 0; i < locations.length; i++) {  
      marker = new google.maps.Marker({
        position: new google.maps.LatLng(locations[i][1], locations[i][2]),
        icon: 'https://www.qikorders.com/HalalCatering/assets/restaurant-pin.png',
        map: map
      });

      google.maps.event.addListener(marker, 'click', (function(marker, i) {
        return function() {
          infowindow.setContent(locations[i][0]);
          infowindow.open(map, marker);
        }
      })(marker, i));
    }
</script>


Anon7 - 2022
AnonSec Team