1 <script type="text/javascript" charset="utf8" src="/static/jquery/nailthumb/jquery.nailthumb.1.1.min.js"></script>
2 <link rel="stylesheet" href="/static/jquery/nailthumb/jquery.nailthumb.1.1.min.css" type="text/css" media="screen">
3 <div itemscope itemtype="http://schema.org/CreativeWork">
4 <h1 itemprop="name"><% this.pname %></h1>
5 <h2><% this.shortdesc %></h2>
6 <div id="project-plusone" class="g-plusone" data-size="medium" data-annotation="inline" data-width="300"></div>
7 <table class="tblproject">
9 <td valign="top" class="tb" align="right"><img itemprop="image" id="projectImage" class="projimg" style="width:1px;height:1px;" src="<%this.imageFile%>" /></td>
10 <td class="tbl5" width="400" itemprop="description"><% this.body %><br />
13 Registrar: <a href="mailto:<% this.registrar %>"><% this.registrar %></a><br />
14 <% this.gethomepage %>
20 <div id="disqus_thread"></div>
21 <script type="text/javascript">
22 var disqus_shortname = 'beagleboard-project';
24 var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
25 dsq.src = 'http://' + disqus_shortname + '.disqus.com/embed.js';
26 (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
29 <script type="text/javascript">
30 gapi.plusone.render("project-plusone");
32 <small><% this.gettags %></small><br />
33 <small>Projected created on: <%this.updatetime%></small><br />
34 <small>Submitted by: <a href="/user/<% this.registrar %>"><% this.registrar %></a></small><br />
35 <small>Last updated on: <% this.time %></small><br />
37 <div style="display:none;"><% this.updateViewCount %></div>
40 <script type="text/javascript">
42 var coolBoris = "/static/graphics/coolboris.png";
44 $(document).ready(function() {
46 if ($('#projectImage').attr("src").indexOf("this.imageFile") > -1) {
47 document.getElementById("projectImage").src = coolBoris;
50 if ($.browser.msie && (parseFloat($.browser.version) < 9 ) ) {
51 document.getElementById("projectImage").src = coolBoris;
54 $('.projimg').nailthumb({width:300, height:300, replaceAnimation:null, method:'resize', fitDirection:'top right'});