Blame view

src/app/frontend/views/price_parser/sections.php 1.83 KB
ef60cd4d   Administrator   first commit
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
  <div id="static_page">
      <div class="inner"><?= $this->flash->output(); ?></div>
      <div class="inner">
          <div class="table_name header_gradient">Загрузка разделов</div>
  
          <div class="table_pages_wrapper">
  
              <form enctype="multipart/form-data" method="post" action="" id="email_event_add_edit">
  
  
                  <div class="input-group">
                      <div class="label"><label for="name">Файл с данными</label></div>
                      <div class="input"><input type="file" name="table" id="name" value=''></div>
                  </div>
  
                  <div class="input-group">
                      <input type="submit" class="news_submit float" name="save" value="Сохранить">
                  </div>
  
              </form>
  
          </div>
  
          <div class="table_pages_wrapper">
  
              <table class="table table-hover" data-url="">
                  <thead>
                  <tr>
                      <th>ID раздела</th>
                      <th>Название раздела</th>
                      <th>ID товара</th>
                      <th>Название товара</th>
                      <th>Цена</th>
                  </tr>
                  </thead>
                  <tbody id="result">
                  <?php foreach ($data as $item):?>
                      <tr>
                          <td><?=$item->parserSections->section_user_id; ?></td>
                          <td><?= $item->parserSections->section_name; ?></td>
                          <td><?= $item->parserItems->item_users_id ?></td>
                          <td><?= $item->parserItems->item_name ?></td>
                          <td><?= $item->parserItems->price ?></td>
                      </tr>
                  <?php endforeach; ?>
                  </tbody>
              </table>
  
          </div>
  
      </div>
  </div>