~ubuntu-branches/ubuntu/wily/opencollada/wily-proposed

« back to all changes in this revision

Viewing changes to htdocs/file_releases.php

  • Committer: Package Import Robot
  • Author(s): Matteo F. Vescovi
  • Date: 2015-05-14 17:23:27 UTC
  • Revision ID: package-import@ubuntu.com-20150514172327-f862u8envms01fra
Tags: upstream-0.1.0~20140703.ddf8f47+dfsg1
ImportĀ upstreamĀ versionĀ 0.1.0~20140703.ddf8f47+dfsg1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?php require('../simplepie.inc'); ?>
 
2
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
 
3
       "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
 
4
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
 
5
<head>
 
6
 
 
7
<script type="text/javascript">
 
8
    <!--
 
9
    if (navigator.appName.indexOf("Explorer") != -1){
 
10
        if (navigator.appVersion.indexOf("MSIE 6.0") != -1){
 
11
            document.write("<link href=\".\/css\/styleIE6.css\" rel=\"stylesheet\" type=\"text\/css\"\/>");
 
12
        }
 
13
        else{
 
14
            document.write("<link href=\".\/css\/style.css\" rel=\"stylesheet\" type=\"text\/css\"\/>");
 
15
        }
 
16
    }
 
17
    else{
 
18
        document.write("<link href=\".\/css\/style.css\" rel=\"stylesheet\" type=\"text\/css\"\/>");
 
19
    }
 
20
    -->
 
21
</script>
 
22
 
 
23
<title>COLLADA Plug-ins</title>
 
24
<meta name="description" content="COLLADA Plug-ins for Max an Maya" />
 
25
<meta name="keywords" content="COLLADA, Khronos, 3D, visualization, Max, Maya, graphics, rendering, download, bug, tracker, plugin, plug-in, sourceforge, version, current, documentation" />
 
26
<meta name="robots" content="index, follow" />
 
27
<meta http-equiv="Content-type" content="text/html;charset=iso-8859-1"/>
 
28
<link rel="alternate" type="application/rss+xml" title="RSS" href="https://sourceforge.net/export/rss2_projnews.php?group_id=136478" />
 
29
 
 
30
</head>
 
31
<body><p><a name="top"></a></p>
 
32
        <div id="wrap">
 
33
                <div id="header">
 
34
                        <div class="head_c"></div>
 
35
                        <div class="head_l"></div>
 
36
                        <div class="head_content">
 
37
                                <div id="logo">
 
38
                                        <a href="http://colladamaya.sourceforge.net/"><img src="images/collada_logo.gif" alt="COLLADA Logo"/></a>
 
39
                                </div>
 
40
                                <div id="logotxt">
 
41
                                        <h1>COLLADA Plug-ins for Maya and 3ds Max</h1>
 
42
                                </div>
 
43
                        </div>
 
44
                        <div class="head_r"></div>
 
45
                </div>
 
46
                <div id="menu">
 
47
                        <div class="main_content">
 
48
                                <div class="menu_content">
 
49
                                        <div id="navigation_l"></div>
 
50
                                                <ul id="navigation">
 
51
                                                        <!-- 
 
52
                                                        <li><a href="http://colladamaya.wiki.sourceforge.net/" title="A Documentation about COLLADA Plug-ins">Wiki</a></li>
 
53
                                                         -->
 
54
                                                        <li><a href="http://sourceforge.net/forum/?group_id=136478" title="Source Forge Forums for COLLADA Plug-ins">Forums</a></li>
 
55
                                                        <li><a href="http://sourceforge.net/project/screenshots.php?group_id=136478" title="Screenshots of COLLADA Plug-ins">Screenshots</a></li>
 
56
                                                        <li><a href="http://sourceforge.net/scm/?type=svn&group_id=254488" title="Browse the colladamaya code repository">Code</a></li>
 
57
                                                        <li><a href="http://sourceforge.net/project/showfiles.php?group_id=136478" title="Download the latest Version of COLLADA Plug-ins">Downloads</a></li>
 
58
                                                        <li><a href="http://sourceforge.net/tracker/?group_id=136478" title="Tell us a bug">BugTracker</a></li>
 
59
                                                        <li><a href="http://sourceforge.net/search/?group_id=136478&amp;type_of_search=pervasive" title="SF.net Search">Search</a></li>
 
60
                                                </ul>
 
61
                                        <div id="navigation_r"></div>
 
62
                                </div>
 
63
                        </div>
 
64
                </div>
 
65
                <div id="main">
 
66
                        <div class="main_content">
 
67
                                <div class="sidebar">
 
68
                                        <div class="sidebar_nav">
 
69
                                                <div class="nav_head">
 
70
                                                        <h3>Menu</h3>
 
71
                                                </div>
 
72
                                                <div class="nav_main">
 
73
                                                        <ul>
 
74
                                                                <li><a href="index.php" title="Project Summary">Project Summary</a></li>
 
75
                                                                <li><a href="news.php" title="News">News</a></li>
 
76
                                                                <li><a href="file_releases.php" title="File Releases">File Releases</a></li>
 
77
                                                                <li><a href="osx_installation_help/index.php" title="Mac OS X Installation">Mac OS X Installation</a></li>                                                      </ul>
 
78
                                                </div>
 
79
                                                <div class="nav_foot"></div>
 
80
                                        </div>
 
81
                                        
 
82
                                        <div class="sidebar_nav">
 
83
                                                <div class="nav_head">
 
84
 
 
85
                                                        <h3>Project Status</h3>
 
86
                                                </div>
 
87
                                                <div class="nav_main">
 
88
                                                        <ul>
 
89
                                                                <!-- <li>Status: 93%</li> -->
 
90
                                                                <li>Last release:<br/>
 
91
                                                                 
 
92
                                                                <?php
 
93
 
 
94
                                                                        $projfiles = new SimplePie();
 
95
                                                                        $projfiles->enable_cache(false);
 
96
                                                                        $projfiles->set_feed_url('http://sourceforge.net/export/rss2_projfiles.php?group_id=136478');
 
97
                                                                        $projfiles->init();
 
98
                                                                        $projfiles->handle_content_type();
 
99
                                                                        if ($projfiles->data) {
 
100
 
 
101
                                                                                $item = $projfiles->get_item(0);
 
102
                                                                                list($version, $head) =  split("released", $item->get_title());
 
103
 
 
104
                                                                                //echo $version;
 
105
 
 
106
                                                                                // if a part of the Version Sting overlaps the "Project Status"
 
107
                                                                                // Box, the whole site looks bad with IE.
 
108
                                                                                $token = strtok($version, " ");
 
109
                                                                                while ($token != false)
 
110
                                                                                {
 
111
                                                                                        if (strlen($token) >= 20) {
 
112
                                                                                                echo chunk_split($token, 20, "<br/>");
 
113
                                                                                        } else {
 
114
                                                                                                echo "$token ";
 
115
                                                                                        }
 
116
                                                                                        $token = strtok(" ");
 
117
                                                                                }
 
118
                                                                                
 
119
                                                                        }
 
120
 
 
121
                                                                ?>
 
122
 
 
123
                                                                </li>
 
124
                                                        </ul>
 
125
                                                </div>
 
126
                                                <div class="nav_foot"></div>
 
127
                                        </div>
 
128
                                        
 
129
                                        <div class="sidebar_nav">
 
130
                                                <div class="sub_single">
 
131
                                                        <h3><a href="https://sourceforge.net/project/platformdownload.php?group_id=136478" title="Download last release">Download now!</a></h3>
 
132
                                                </div>
 
133
                                        </div>
 
134
                                        
 
135
                                        <div class="sidebar_nav">
 
136
                                                <div class="nav_head">
 
137
                                                        <h3>Links</h3>
 
138
                                                </div>
 
139
                                                <div class="nav_main">
 
140
                                                        <p><a href="http://sourceforge.net"><img src="http://sflogo.sourceforge.net/sflogo.php?group_id=136478&amp;type=1" width="88" height="31" border="0" alt="SourceForge.net Logo" /></a></p>
 
141
                                                        <p><a href="http://collada.org/"><img src="images/collada_small.gif" alt="COLLADA-Logo"/></a></p>
 
142
                                                </div>
 
143
                                                <div class="nav_foot"></div>
 
144
                                        </div>
 
145
                                </div>
 
146
                                
 
147
                                <div class="content">
 
148
                                        <div class="content_inner">
 
149
 
 
150
                                                <div class="content_head">
 
151
                                                        <h2><a name="file">File Releases</a></h2>
 
152
                                                        <div class="head_menu"><p><a href="#top"><img src="images/upArrow.png" alt="Top"/> Top</a> | <a href="https://sourceforge.net/export/rss2_projfiles.php?group_id=136478"><img src="images/rss.gif" title="File Releases RSS Feed" alt="rssFeed"/></a></p></div>
 
153
                                                </div>
 
154
                                                <div class="content_main">
 
155
                                                        
 
156
                                                        <?php
 
157
                                                        $projfiles = new SimplePie();
 
158
                                                        $projfiles->enable_cache(false);
 
159
                                                        $projfiles->set_feed_url('http://sourceforge.net/export/rss2_projfiles.php?group_id=136478');
 
160
                                                        $projfiles->init();
 
161
                                                        $projfiles->handle_content_type();
 
162
                                                        if ($projfiles->data) { ?>
 
163
                                                        
 
164
                                                        <?php
 
165
                                                            $max = $projfiles->get_item_quantity(5);
 
166
                                                            for ($x = 0; $x < $max; $x++) {
 
167
                                                                    $item = $projfiles->get_item($x);
 
168
                                                            ?>
 
169
                                                                <h3>
 
170
                                                                    <a href="<?php echo $item->get_permalink(); ?>">
 
171
                                                                        <?php echo $item->get_title(); ?>
 
172
                                                                    </a>
 
173
                                                                </h3>
 
174
                                                                <div class="head3_menu">
 
175
                                                                        <p>
 
176
                                                                                <a href="<?php echo $item->add_to_delicious(); ?>"><img src="images/delLogo.png" alt="Del.icio.us Logo" title="Del.icio.us" /></a> 
 
177
                                                                                <a href="<?php echo $item->add_to_digg(); ?>"><img src="images/diggLogo.gif" alt="Digg this! Logo" title="Digg this!" /></a> 
 
178
                                                                                <a href="<?php echo $item->add_to_newsvine(); ?>"><img src="images/newsvLogo.gif" alt="Newsvine Logo" title="Newsvine" /></a>
 
179
                                                                        </p>
 
180
                                                                </div>
 
181
                                                                <!-- <p><?php echo $item->get_date('j M Y'); ?></p> -->
 
182
                                                                <?php 
 
183
                                                                $camp = str_replace("&", "&amp;", $item->get_description());
 
184
                                                                
 
185
                                                                //echo '<p>'.$camp.'</p>';
 
186
 
 
187
                                                                // print file list formatted
 
188
                                                                echo '<p>';
 
189
                                                                $tokens = split("),", $camp);
 
190
                                                                $arrayLength = count($tokens);
 
191
                                                                foreach ($tokens as $i => $value) {
 
192
                                                                        if ($i == 0) {
 
193
                                                                                // first entry, print "Includes files:" in separate line.
 
194
                                                                                echo str_replace("files:", "files:<br/>", $tokens[$i]);
 
195
                                                                                if ($i == $arrayLength-1) {
 
196
                                                                                        // only one file in list.
 
197
                                                                                        echo "<br/>";
 
198
                                                                                } else {
 
199
                                                                                        echo "),<br/>";
 
200
                                                                                }
 
201
                                                                        } else if ($i == $arrayLength-1) {
 
202
                                                                                // last entry in list.
 
203
                                                                                echo "$tokens[$i]<br/>";
 
204
                                                                        } else {
 
205
                                                                                // default case.
 
206
                                                                        echo "$tokens[$i]),<br/>";
 
207
                                                                        }
 
208
                                                                }
 
209
                                                                echo '</p>';
 
210
                                                                ?>
 
211
                                                                <br/>
 
212
                                                            <?php } ?>
 
213
                                                        <?php } ?>
 
214
                                                        
 
215
                                                        
 
216
                                                </div>
 
217
                                                <div class="content_foot"></div>
 
218
 
 
219
                                        </div>
 
220
                                </div>
 
221
                        </div>
 
222
                </div>
 
223
                <div id="footer">
 
224
                        <div class="footer_content">
 
225
                                <p>Copyright &copy; 2009 NetAllied Systems GmbH
 
226
                                </p>
 
227
                        </div>
 
228
                </div>
 
229
        </div>
 
230
</body>
 
231
</html>