self.recorded_cell = string_to_xml('<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">\
  <xsl:output method="html"/>\
  <xsl:template match="/">\
    <xsl:apply-templates select="/list"/>\
  </xsl:template>\
  <xsl:template match="list">\
    <div id="{@id}">\
      <xsl:for-each select="video">\
        <div class="recorded_cell">\
          <a href="{@video_link}" class="thumblink">\
            <img src="{@photo_file}" class="thumb posr" onmouseover="rotate_image(this)" onmouseout="rotate_stop(this)"/>\
            <xsl:if test="@has_audio &gt; 0 or @high_quality &gt; 0">\
              <div class="extras">\
                <xsl:if test="@has_audio &gt; 0">\
                  <div class="audio">\
                    <img src="http://graphics.streamray.com/images/common/12x12speaker.gif"/>\
                  </div>\
                </xsl:if>\
                <xsl:if test="@high_quality &gt; 0">\
                  <xsl:choose>\
                    <xsl:when test="@high_quality = \'2\'"><div class="hq"><img src="http://graphics.streamray.com/images/common/hq.png" /></div></xsl:when>\
                    <xsl:when test="@high_quality = \'1\'"><div class="hd"><img src="http://graphics.streamray.com/images/common/hd.png" /></div></xsl:when>\
                  </xsl:choose>\
                </xsl:if>\
                <div class="clear"><img src="http://graphics.streamray.com/images/common/clear.gif"/></div>\
              </div>\
            </xsl:if>\
            <div class="length">\
              <xsl:value-of select="@formatted_length"/>\
            </div>\
          </a>\
          <div class="handle">\
            <a href="{@view_link}"><xsl:value-of select="@stream_name"/></a>\
          </div>\
          <div class="info posr">\
            <div class="date"><xsl:value-of select="substring(@date_time,6,5)"/>-<xsl:value-of select="substring(@date_time,1,4)"/></div>\
            <div class="rating">\
              <div class="stars">\
                <xsl:attribute name="class">\
                  <xsl:choose>\
                    <xsl:when test="@user_rating &gt;= \'9\'">five stars</xsl:when>\
                    <xsl:when test="@user_rating &gt;= \'7\'">four stars</xsl:when>\
                    <xsl:when test="@user_rating &gt;= \'5\'">three stars</xsl:when>\
                    <xsl:when test="@user_rating &gt;= \'3\'">two stars</xsl:when>\
                    <xsl:when test="@user_rating &gt;= \'1\'">one stars</xsl:when>\
                    <xsl:otherwise>zero stars</xsl:otherwise>\
                  </xsl:choose>\
                </xsl:attribute>\
                <img src="http://graphics.streamray.com/images/common/clear.gif"/>\
              </div>\
            </div>\
            <div class="views"><xsl:value-of select="@num_viewed"/> views</div>\
            <div class="comments"><xsl:value-of select="@num_comments"/> comments</div>\
            <xsl:if test="//@is_affiliate_manager">\
              <div class="clear fs9px posr" style="position:relative; top:14px; background:#eee;" id="{@movie_name}">\
                <a href="javascript://">\
                  <xsl:choose>\
                    <xsl:when test="@movie_status = \'new\' or @movie_status = \'failed\' ">\
                      <xsl:attribute name="onclick">ajax.send(\'/p/partners/download_shows.cgi?action=ajax_dequeue;movie_name=<xsl:value-of select="@movie_name"/>;qid=<xsl:value-of select="@movie_qid"/>;length=<xsl:value-of select="@length"/>\', function(r){var rob = eval(\'(\'+r.responseText+\')\'); receive_dequeue_data(rob, \'<xsl:value-of select="@movie_name"/>\');} ); </xsl:attribute>\
                      Remove from queue\
                    </xsl:when>\
                    <xsl:when test="@movie_status = \'converted\' or @movie_status = \'downloaded\'">\
                      <xsl:attribute name="href">http://banners.cams.com/p/partners/download_shows.cgi?site=cams&#38;action=recorded_shows&#38;this_page=banners_cams_recorded_shows&#38;key=g<xsl:value-of select="//@gpid"/>-po</xsl:attribute>\
                      Download Here\
                    </xsl:when>\
                    <xsl:when test="@movie_status = \'restrict_download\'">\
                      <xsl:comment>\
                       <!-- NOTHING NEEDED HERE : JUST SHOW BLANK -->\
                      </xsl:comment>                    </xsl:when>                    <xsl:otherwise>\
                      <xsl:attribute name="onclick">ajax.send(\'/p/partners/download_shows.cgi?action=ajax_enqueue;movie_name=<xsl:value-of select="@movie_name"/>;length=<xsl:value-of select="@length"/>\', function(r){var rob = eval(\'(\'+r.responseText+\')\'); receive_enqueue_data(rob, \'<xsl:value-of select="@movie_name"/>\');} ); </xsl:attribute>\
                      Add to Queue\
                    </xsl:otherwise>\
                  </xsl:choose>                </a>\
              </div>\
            </xsl:if>\
          </div>\
        </div>\
      </xsl:for-each>\
      <div class="clear"><img src="http://graphics.streamray.com/images/common/clear.gif"/></div>\
    </div>\
  </xsl:template>\
</xsl:stylesheet>\
')
