Navigazione

    Privacy - Termini e condizioni
    © 2020 Search On Media Group S.r.l.
    • Registrati
    • Accedi
    • CATEGORIES
    • Discussioni
    • Non letti
    • Recenti
    • Hashtags
    • Popolare
    • Utenti
    • Stream
    • Interest
    • Categories
    1. Home
    2. dario.web
    3. Post
    D

    dario.web

    @dario.web

    • Profilo
    • Chi segue 0
    • Da chi è seguito 0
    • Discussioni 1
    • Post 1
    • Migliore 0
    • Gruppi 0
    Iscrizione Ultimo Accesso
    Località Aprilia Età 46
    0
    Reputazione
    1
    Post
    0
    Visite al profilo
    0
    Da chi è seguito
    0
    Chi segue
    User Newbie

    Post creati da dario.web

    • Aiuto Khoana freamwork

      Ciao Ragazzi , sono nuovo del forum..
      Complimenti forum ben fatto!
      Vorrei chiedervi se qualcuno di voi ha mai usato Khoana ...
      Sto finendo di realizzare un sito web che mi è stato appaltato, il problema è che il sito per la maggior parte del codice è stato già fatto!
      Questo è il problema .. dovrei fare un array filtrato di questa pagina..
      Aiuto please...

      <?php

      class Controller_Admin_authorized extends Controller_Admin {

      public function action_index() {
          $this->template->page_title = 'Vendite autorizzate';
          $this->template->content_template = 'grid';
          
          $this->template->grid_columns = array(
              'user.username' => array('name' => 'Username', 'width' => '13%'),
              'city.name' => array('name' => 'Città', 'width' => '13%'),
              'pack.name' => array('name' => 'Pacchetto', 'width' => '10%'),
              'price' => array('name' => 'Prezzo ?', 'width' => '8%'),
              'requested' => array('name' => 'Richiesta', 'width' => '15%'),
              'authorized' => array('name' => 'Autorizzata', 'width' => '15%'),
              'gateway' => array('name' => 'Gateway', 'width' => '13%')
               );
          $this->template->grid_editable = false;
          $this->template->grid_deletable = false;
          /*
          $this->template->actions = array(
              array('url' => URL::site('admin/pages/edit'), 'class' => 'btn-primary', 'icon_class' => 'icon-plus icon-white', 'label' => 'Aggiungi nuovo')
          );*/
          
          $transactions = ORM::factory('Transaction');
                  
          $pagination = Pagination::factory(array(
                  'total_items' => $transactions->count_all()
              )
          );
          
          $transactions = $transactions->offset($pagination->offset)->limit($pagination->items_per_page)->find_all();
          
          $this->template->grid_objects = $transactions;
          
          $this->template->pagination = $pagination;
      
      
      }
      

      }

      postato in Coding
      D
      dario.web