root/lang/php/GohanLog/trunk/app/views/gohans/index.thtml @ 11161

Revision 11161, 2.6 kB (checked in by kunitada, 6 years ago)
Line 
1<link rel="alternate" type="application/rss+xml" title="RSS" href="<?php print $baseurl."/rss/gohans/";?>">
2<script type="text/javascript" src="http://s.hatena.ne.jp/js/HatenaStar.js"></script>
3<script type="text/javascript">
4Hatena.Star.EntryLoader.headerTagAndClassName = ['H1','entry-title'];
5</script>
6<style type="text/css">
7<!--
8#gohan{
9border: 0px solid;
10width: 160px;
11height: 240px;
12margin-right: 30px;
13float: left;
14overflow:auto;
15}
16-->
17</style>
18
19<?php
20
21if ($pageLinks['all']) {
22    echo '<div id="pager" class="pager">Pages:&nbsp;&nbsp;' . $pageLinks['all'] . '</div>';
23}
24print "<a href='".$baseurl."/rss/gohans/'>rss</a>"
25?>
26
27<?php
28foreach ($gohans as $key => $value){
29        print "<H1 style='clear:left;' id='".$key."'><a href='/gohan/".$key."/'>".$key."</a></H1>";
30?>
31<BR>
32<BR>
33<BR>
34<!-- saved from url=(0013)about:internet -->
35<!-- amcolumn script-->
36<script type="text/javascript" src="/gohan_data/amcolumn/amcolumn/swfobject.js"></script>
37        <div id="flashcontent">
38                <strong>You need to upgrade your Flash Player</strong>
39        </div>
40        <script type="text/javascript">
41                // <![CDATA[           
42                var so = new SWFObject("/gohan_data/amcolumn/amcolumn/amcolumn.swf", "amcolumn", "640", "240", "8", "#FFFFFF");
43                so.addVariable("path", "/gohan_data/amcolumn/amcolumn/");
44                so.addVariable("settings_file", escape("/gohan_data/amcolumn/examples/amcolumn/value_indicator/amcolumn_settings.xml"));
45                so.addVariable("data_file", escape("/data/gohans/gohan/<?php print $key?>/"));
46                so.addVariable("preloader_color", "#000000");
47                so.write("flashcontent");
48                // ]]>
49        </script>
50<!-- end of amcolumn script -->
51<?php
52    print '<form method="post" action="'.$html->url('/tags/add/').'">';
53        foreach($value as $key2 => $value2){
54                print '<div id="gohan">';
55                print "<a href='/gohan_data/img/".$value2['Gohan']['filename']."'><img alt='".$value2['Gohan']['date_time_original']."' src='/thumbs/index?src=gohan_data/img/".$value2['Gohan']['filename']."&w=180&h=120'></a><BR>";
56                print $value2['Gohan']['date_time_original']."<BR>";
57        foreach($value2['Gohan']['tags'] as $key3 => $value3){
58            print $value2['Gohan']['tags'][$key3]['Tag']['name']." ";
59        }
60        print "<BR>";
61        $gohan_id = $value2['Gohan']['id'];
62        print $html->input($gohan_id."/name", array('size' => '20'));
63        print $html->hidden($gohan_id."/target_table", array('value' => 'gohans'));
64        print $html->hidden($gohan_id."/target_id",array('value' => $value2['Gohan']['id']));
65                print "</div> \n";
66        }
67    print '<BR>'."<div style='clear:left;'>".$html->submit('タグ追加')."</div>";
68    print "</form>";
69print '<BR><BR>';
70
71}
72?>
Note: See TracBrowser for help on using the browser.