pictcode / app / View / Programs / index.ctp @ 48ae03cf
履歴 | 表示 | アノテート | ダウンロード (2.491 KB)
1 | b3a58ce1 | hasse | <main role="main"> |
---|---|---|---|
2 | <article class="admin"> |
||
3 | <h2> |
||
4 | <img src="/img/img_h1_admin01.png" alt="お問い合わせ - 送信完了"> |
||
5 | </h2> |
||
6 | <p>ほぞんした PictCodeの プログラムを へんしゅうしたり さくじょしたり、コピーしたりできるよ!</p> |
||
7 | <p>下のいちらんから せんたくして へんしゅうしよう!</p> |
||
8 | 1a69c38c | shiwa | |
9 | <!-- Saved Area --> |
||
10 | |||
11 | b3a58ce1 | hasse | <?php foreach ($programs as $program): ?> |
12 | <section class="save_data" id="sortable"> |
||
13 | <a name="#save_data01"> |
||
14 | <img src="/img/img_save_sample02.png" alt="タイトル"> |
||
15 | <h3><?php echo h($program['Program']['title']); ?> </h3> |
||
16 | <p><?php echo h($program['Program']['description']); ?> </p> |
||
17 | </a> |
||
18 | <ul class="actions"> |
||
19 | <li><?php echo $this->Form->postLink(__('さくじょ'), array('action' => 'delete', $program['Program']['id']), array('confirm' => __('Are you sure you want to delete # %s?', $program['Program']['id']))); ?></li> |
||
20 | <li><?php echo $this->Html->link(__('View'), array('action' => 'view', $program['Program']['id'])); ?></li> |
||
21 | <li><?php echo $this->Html->link(__('Edit'), array('action' => 'edit', $program['Program']['id'])); ?></li> |
||
22 | </ul> |
||
23 | </section> |
||
24 | <?php endforeach; ?> |
||
25 | 1a69c38c | shiwa | |
26 | <!-- Blank Area --> |
||
27 | |||
28 | b3a58ce1 | hasse | <?php |
29 | if($countprograms < 9){ |
||
30 | for($i=0 ; $i<(10-$countprograms) ; $i++){ |
||
31 | 1a69c38c | shiwa | echo ' |
32 | <section class="data"> |
||
33 | <section class="blank_data"> |
||
34 | 22fd3a57 | hasse | <a name="#save_data10"> |
35 | 1a69c38c | shiwa | <img src="/img/img_save_blank.png" alt="タイトル"> |
36 | b3a58ce1 | hasse | </a> |
37 | 22fd3a57 | hasse | <span class="blank"><a href="">あたらしく作る</a></span> |
38 | 1a69c38c | shiwa | </section> |
39 | <section class="save_data"> |
||
40 | <a name="#save_data01"> |
||
41 | <img src="/img/img_save_sample02.png" alt="タイトル"> |
||
42 | <h3>ここにタイトルが入ります</h3> |
||
43 | <p>こちらに内容が入ります。</p> |
||
44 | b3a58ce1 | hasse | </a> |
45 | 1a69c38c | shiwa | <ul> |
46 | <li><a href="delete_check">さくじょ</a></li> |
||
47 | <li><a href="play">きょうゆう</a></li> |
||
48 | <li><a href="copy">コピー</a></li> |
||
49 | </ul> |
||
50 | </section> |
||
51 | </section> |
||
52 | '; |
||
53 | b3a58ce1 | hasse | } |
54 | 1a69c38c | shiwa | } |
55 | b3a58ce1 | hasse | ?> |
56 | |||
57 | <div class="actions"> |
||
58 | <h3><?php echo __('Actions'); ?></h3> |
||
59 | <ul> |
||
60 | <li><?php echo $this->Html->link(__('New Program'), array('action' => 'add')); ?></li> |
||
61 | <li><?php echo $this->Html->link(__('List Users'), array('controller' => 'users', 'action' => 'index')); ?> </li> |
||
62 | <li><?php echo $this->Html->link(__('New User'), array('controller' => 'users', 'action' => 'add')); ?> </li> |
||
63 | </ul> |
||
64 | </div> |
||
65 | </article> |
||
66 | </main> |