DonatShell
Server IP : 180.180.241.3  /  Your IP : 216.73.216.252
Web Server : Microsoft-IIS/7.5
System : Windows NT NETWORK-NHRC 6.1 build 7601 (Windows Server 2008 R2 Standard Edition Service Pack 1) i586
User : IUSR ( 0)
PHP Version : 5.3.28
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  C:/AppServ/www/app/View/Elements/Pages/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : C:/AppServ/www/app/View/Elements/Pages//quick-jump-menu.ctp
<div class="row">
    <div class="col-md-8 col-md-offset-3">
        <?php echo $this->Form->label( $geographic_filter,
                    __( 'ระดับการค้นหา' ),
                    array(
                        'class' => 'col-md-3 text-right filter-label'
                    ) );
                echo $this->Form->input( $geographic_filter . '_id', array(
                    'options' => $geographic_values,
                    'label' => false,
                    'class' => 'form-control',
                    'div' => 'col-md-4',
                    'empty' => __( 'ทุกพื้นที่' )
                ) ); ?>
    </div>
</div>

<script>
    $( document ).ready( function() {
        // quick jump menu between regions
        $( '#<?php echo $geographic_filter; ?>_id' ).on( 'change', function( e ) {
            var slugs = <?php echo json_encode( $geographic_slugs ); ?>;
            var gotoSlugID = $( this ).val();
            var url = '<?php echo $this->Html->url( $geographic_filter . 's/' ); ?>' + slugs[gotoSlugID].slug;

            window.location.href = url;
        } );
    } );
</script>

Anon7 - 2022
AnonSec Team